DSoft6 User Manual
DSoft6 User Manual
DSoft6 User Manual
User Manual
PC-DSOFT6-M
WARNING
Thank you for purchasing automation equipment from Automationdirect.com®. We want your new
automation equipment to operate safely. Anyone who installs or uses this equipment should read this
publication (and any other relevant publications) before installing or operating the equipment.
To minimize the risk of potential safety problems, you should follow all applicable local and national
codes that regulate the installation and operation of your equipment. These codes vary from area to
area and usually change with time. It is your responsibility to determine which codes should be
followed, and to verify that the equipment, installation, and operation is in compliance with the latest
revision of these codes.
At a minimum, you should follow all applicable sections of the National Fire Code, National
Electrical Code, and the codes of the National Electrical Manufacturer's Association (NEMA). There
may be local regulatory or government offices that can also help determine which codes and standards
are necessary for safe installation and operation.
Equipment damage or serious injury to personnel can result from the failure to follow all applicable
codes and standards. We do not guarantee the products described in this publication are suitable for
your particular application, nor do we assume any responsibility for your product design, installation,
or operation.
Our products are not fault-tolerant and are not designed, manufactured or intended for use or resale
as on-line control equipment in hazardous environments requiring fail-safe performance, such as in
the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control,
direct life support machines, or weapons systems, in which the failure of the product could lead
directly to death, personal injury, or severe physical or environmental damage ("High Risk Activities").
Automationdirect.com specifically disclaims any expressed or implied warranty of fitness for High
Risk Activities.
For additional warranty and safety information, see the Terms and Conditions section of our catalog.
If you have any questions concerning the installation or operation of this equipment, or if you need
additional information, please call us at 770-844-4200.
This publication is based on information that was available at the time it was printed. At
Automationdirect.com we constantly strive to improve our products and services, so we reserve the
right to make changes to the products and/or publications at any time without notice and without any
obligation. This publication may also discuss features that may not be available in certain revisions of
the product.
Trademarks
This publication may contain references to products produced and/or offered by other companies.
The product and company names may be trademarked and are the sole property of their respective
owners. Automationdirect.com disclaims any proprietary interest in the marks and names of others.
Copyright 2014, Automationdirect.com Incorporated
All Rights Reserved
No part of this manual shall be copied, reproduced, or transmitted in any way without the prior,
written consent of Automationdirect.com Incorporated. Automationdirect.com retains the exclusive
rights to all information included in this document.
AVERTISSEMENT
Nous vous remercions d'avoir acheté l'équipement d'automatisation de Automationdirect.comMC. Nous
tenons à ce que votre nouvel équipement d'automatisation fonctionne en toute sécurité. Toute personne qui
installe ou utilise cet équipement doit lire la présente publication (et toutes les autres publications pertinentes)
avant de l'installer ou de l'utiliser.
Afin de réduire au minimum le risque d'éventuels problèmes de sécurité, vous devez respecter tous les codes
locaux et nationaux applicables régissant l'installation et le fonctionnement de votre équipement. Ces codes
diffèrent d'une région à l'autre et, habituellement, évoluent au fil du temps. Il vous incombe de déterminer les
codes à respecter et de vous assurer que l'équipement, l'installation et le fonctionnement sont conformes aux
exigences de la version la plus récente de ces codes.
Vous devez, à tout le moins, respecter toutes les sections applicables du Code national de prévention des
incendies, du Code national de l'électricité et des codes de la National Electrical Manufacturer's Association
(NEMA). Des organismes de réglementation ou des services gouvernementaux locaux peuvent également vous
aider à déterminer les codes ainsi que les normes à respecter pour assurer une installation et un fonctionnement
sûrs.
L'omission de respecter la totalité des codes et des normes applicables peut entraîner des dommages à
l'équipement ou causer de graves blessures au personnel. Nous ne garantissons pas que les produits décrits dans
cette publication conviennent à votre application particulière et nous n'assumons aucune responsabilité à
l'égard de la conception, de l'installation ou du fonctionnement de votre produit.
Nos produits ne sont pas insensibles aux défaillances et ne sont ni conçus ni fabriqués pour l'utilisation ou la
revente en tant qu'équipement de commande en ligne dans des environnements dangereux nécessitant une
sécurité absolue, par exemple, l'exploitation d'installations nucléaires, les systèmes de navigation aérienne ou de
communication, le contrôle de la circulation aérienne, les équipements de survie ou les systèmes d'armes, pour
lesquels la défaillance du produit peut provoquer la mort, des blessures corporelles ou de graves dommages
matériels ou environnementaux («activités à risque élevé»). La société Automationdirect.com nie toute garantie
expresse ou implicite d'aptitude à l'emploi en ce qui a trait aux activités à risque élevé.
Pour des renseignements additionnels touchant la garantie et la sécurité, veuillez consulter la section Modalités
et conditions de notre documentation. Si vous avez des questions au sujet de l'installation ou du
fonctionnement de cet équipement, ou encore si vous avez besoin de renseignements supplémentaires,
n'hésitez pas à nous téléphoner au 770-844-4200.
Cette publication s'appuie sur l'information qui était disponible au moment de l'impression. À la société
Automationdirect.com, nous nous efforçons constamment d'améliorer nos produits et services. C'est pourquoi
nous nous réservons le droit d'apporter des modifications aux produits ou aux publications en tout temps, sans
préavis ni quelque obligation que ce soit. La présente publication peut aussi porter sur des caractéristiques
susceptibles de ne pas être offertes dans certaines versions révisées du produit.
Marques de commerce
La présente publication peut contenir des références à des produits fabriqués ou offerts par d'autres entreprises.
Les désignations des produits et des entreprises peuvent être des marques de commerce et appartiennent
exclusivement à leurs propriétaires respectifs. Automationdirect.com nie tout intérêt dans les autres marques et
désignations.
Copyright 2014, Automationdirect.com Incorporated
Tous droits réservés
Nulle partie de ce manuel ne doit être copiée, reproduite ou transmise de quelque façon que ce soit sans le
consentement préalable écrit de la société Automationdirect.com Incorporated. Automationdirect.com
conserve les droits exclusifs à l'égard de tous les renseignements contenus dans le présent document.
MANUAL REVISIONS
Publication History
Issue Date Description of Changes
1st Edition 10/14 Original issue
TABLE OF CONTENTS
Chapter 1: Introduction
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
The Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Who Can and Should Use DirectSOFT 6 . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Only One DirectSOFT 6 Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
Supplemental Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
2 Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-27
3 Prevent Documentation Loss . . . . . . . . . . . . . . . . . . . . . . .6-28
Save Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-28
PLUS
Troubleshooting RLL vs. RLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-4
9 Stage Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-5
1 Mnemonic View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-6
Handheld Progammer Aid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-6
11 Cross Reference (XRef) View . . . . . . . . . . . . . . . . . . . . . . . .7-7
2 XRef Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-7
13 Change the XRef Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-8
XRef Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-9
4 Usage Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-10
Usage Mode Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-10
A XRef DB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-11
B PID View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-12
PID Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-12
C Trend View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
D Creating a new Trend View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
Output Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-16
Bookmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-18
View Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-19
Chapter 8: Printing
Print the Current View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-2
1
Print the Ladder View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-2 2
Other Print Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
Introduction
1 The Purpose of this Manual
This manual describes how to use the DirectSOFT 6 software for
2 programming and monitoring any of the DirectLogic and compatible
CPUs. This manual will not teach you how to develop a relay
3 ladder logic (RLL) program or attempt to familiarize you with
the instruction sets of the CPUs. Please refer to the applicable
D PLC user manual for the RLL instructions. The Quick Start chapter
will show the first time user how to get started using DirectSOFT 6.
5 The balance of the manual will detail all of the programming tools
made available to the user.
6 Who Can and Should Use DirectSOFT 6
7 If you have a PLC belonging to the DirectLOGIC CPU family, you
can use DirectSOFT 6 to manage your existing ladder logic
8 programs and to create new ones. The families of PLCs that
currently exist under this description are shown below.
9 DirectLOGIC PLC Family
1
11
2 DL05 CPUs
Two built-in ports
DL06 CPUs
Two built-in ports
13 Max. baud = 38.4 K Max. baud = 38.4 K
4 DL105 CPUs
One built-in port
A Fixed baud = 9.6 K
DL205 CPUs
One built-in port D2-230; fixed baud = 9.6 K
B Two built-in ports D2-240; max. baud = 19.2 K
Two built-in ports D2-250(-1)/260 max baud =38.4 K
C
D DL305 CPUs
D3-330 requires D3-232-DCU; max. baud = 19.2 K
Two built-in ports D3-340/350; max. baud = 38.4 K
DL405 CPUs
Two built-in ports D4-430/440; max baud = 19.2 K
Four built-in ports D4-450; max. baud = 38.4 K
Supplemental Manuals
Depending on the products you have purchased, there may be other
1 manuals that are necessary to use for your application.
User Manuals
2 • DL05 User Manual Ҁ D0-USER-M
3 • DL06 User Manual Ҁ D0-06USER-M
• DL105 User Manual Ҁ D1-USER-M
D • DL205 User Manual Ҁ D2-USER-M
• DL305 User Manual Ҁ D3-USER-M
5 • DL350 User Manual Ҁ D3-350-M
6 • DL405 User Manual Ҁ D4-USER-M
Conventions Used
When the “notepad” symbol is shown in the left-hand margin, the 1
paragraph to its immediate right will be a special note. The word NOTE:
in boldface will mark the beginning of the text. 2
3
When the “exclamation mark” symbol is shown in the left-hand
margin, the paragraph to its immediate right will be a warning. This D
information could prevent injury, loss of property, or even death (in
extreme cases).
The word WARNING: in boldface will mark the beginning of the text.
5
6
Whenever the “lightbulb” is shown in the left-hand margin, the paragraph
to its immediate right will provide a special tip. The word TIP: in boldface
7
will mark the beginning of the text. 8
9
Menu Selections and Keystrokes
When the software requires you to use a particular keystroke or
0
menu selection, the written instructions will be in boldface type.
Combination keystrokes will be separated with a plus (+) sign. For
1
example, Ctrl + C means: Hold down the Ctrl key and press the C
key. Menu selections can also be combinations and separated by a
2
greater-than sign. For example, File > Write Program > to Disk is
a menu selection combination.
3
4
Key Topics for Each Chapter
A
The beginning of each chapter will list the
key topics that can be found in that B
chapter.
C
D
7 • 512Mb RAM
• 50Mb available hard drive disk space.
8 • CD-ROM or DVD drive
• At least one unused serial communications port,
9 USB with USB-to-serial adapter, 10base-T or 10/100
Ethernet Network Card when using Hx-ECOM or Hx-ECOM100
1 • 1024 x 768 resolution color SVGA monitor
11 Power Supply
It is recommended that the computer which DirectSOFT 6 operates
2 on has some form of power surge protection. A quality surge
protector will protect your computer from most surges and spikes;
13 however, an uninterruptible power supply (UPS) will provide the
best protection. A UPS provides isolation between the AC power
4 source and the computer. It also has a battery backup for blackout
and brownout conditions.
A DirectSOFT 6 Package Contents
B Now is the time to review the contents of your DirectSOFT 6
software package. you should have the following items:
C • CD ROM
• Programming User Manual
D
Installation of DirectSOFT 6
Step 1: Load the CD 1
DirectSOFT 6 Programming Software for DirectLOGIC PLCs is
available on the AutomationDirect CD. To install DirectSOFT 6,
2
insert the AutomationDirect CD into your PC’s CD drive. Select
“Open folder..” when autoplay dialog appears, or navigate to the
3
CD drive, and select the SetupDS6 executable. D
5
6
7
8
9
0
1
Step 2: Exit all other Windows Applications
The dialog below issues a reminder to exit all other Window
2
applications. If you are unsure of the programs that may be
running, open the Task Manager by pressing the Ctrl-ALT-Delete
3
keys at the same time. Close any opened applications by selecting
them and clicking on the Close button of the Task Manager. Click
4
on the OK button to proceed with the installation.
A
B
C
D
8
9 Then click on
the Next button
1
11 Step 4: Installing an Upgrade
If you are installing the DirectSOFT 6 upgrade version, setup will
2 search your PC to look for a previous version of DirectSOFT. If a
previous DirectSOFT version is not found, you will be prompted to
13 enter a valid product key code from a previous version of DirectSOFT.
4
A
B
C
D
4
A
B
C
D
Getting Started
1 Before beginning to edit a program, you need to open
DirectSOFT 6. Click on the DirectSOFT 6 icon located on
2 your desktop screen to open the DSLaunch window. You
can also click on Start located in the left-hand corner of the
3 computer monitor. Now select Programs, find DirectSOFT 6, then
select DSLAUNCH 6 in the drop-down window. If your computer is
D connected to the Internet, the following DSLaunch window will
appear with What’s New. What’s New will have useful information
5 for the user from the AutomationDirect website.
6 DirectSOFT
on the Web
7
8
9
1
11
2
13
4
A
B
C
D
2 Utilities, such
3 DirectSOFT
Programming
as NetEdit3
D
5 Installed
Support
6
7 Communication
8 Links to PLCs
Windows-type
9 Menu Tree
1
11 From this window, additional utilities, such as, NetEdit, CTRIO WB,
etc., can all be launched from one central location. This is also used
2 to create and manage PLC programs and the communications links
between your personal computer and the PLC.
13 Notice the different areas which are pointed out in the launch
4 window.
Welcome to DirectSOFT100
1 NOTE: If you have purchased the full version of DirectSOFT 6, go to page
2-14, Begin Editing a Program.
2 If you have loaded the free version of DirectSOFT 6, you should
3 know what you can and cannot do with the software.
What is DirectSOFT100?
D The DirectSOFT100 software is provided as a solution for small
5 applications and to assist in your decision to purchase the full
DirectSOFT 6 programming software. There are, of course,
6 limitations to the use of DirectSOFT100. The following is what you
can and cannot do with the software:
7 • You CAN create a program from scratch, and it can be as large as you
want it to be.
8 • You CAN save programs larger than 100 words to disk, but you CANNOT
write it to the PLC.
9 • You CAN convert DirectSOFT100 version to the full version if you
purchase the key and enter the key code in the DirectSOFT100
1 dialog (it may appear often) or in the Help > About dialog.
B
C
D
Using DirectSOFT100?
To begin a project, double-click on DirectSOFT 6 Programming
under Applications on the menu tree. The following Welcome to 1
DirectSOFT100 window will appear.
2
Click here to
begin a project. 3
D
5
6
7
8
9
0
1
2
3
Click on Run DirectSOFT100 and the New Project dialog will 4
open as shown on page 2-14. You can now begin to edit a
program following from Step 1. A
B
C
D
1
11
2 New Project window
...click on OK
4
A
B Select the CPU Type
After clicking on OK, the next window to appear is the Ladder View
with a Tip of the Day dialog box as seen below. The Tip of the Day
dialog will appear each time a new project is started, and each 1
time an existing project is opened. If it is not desired to have this
dialog “pop-up” as mentioned, simply click off the check mark 2
preceding “Show tips at startup”. The tips dialog can always be
opened by clicking on Help > Tip of the day on the main menu 3
bar. More tips can be read by clicking on the Next button. After
clicking on the Close button the new Program display window will D
be totally in view.
5
6
7
8
9
Show tips at startup
0
1
2
3
4
Regular users of DirectSOFT will note that the new programming
A
window looks a bit different than previous DirectSOFT
programming software. The “Online” and “Offline” toolbars have
B
the same layout as previous DirectSOFT programming windows
but a crisp new look for the button icons. Notice that some of the
C
toolbar icons are grayed-out and some of the icons are not. The
available icons in the online toolbar will be visible. As a program is
D
edited, more of the grayed-out icons will become visible. The online
toolbar is grayed-out and will remain this way until the PC is
connected to the PLC. See Chapter 4 for more toolbar features.
Offline
Toolbar
1
2 Online Edit Mode
Push-pin
3 Toolbar Cursor buttons
D
Ladder Palette Bar
5
6
7
8 By default, there are two windows that will be in view when a new
project is opened. One is the Cross Reference View on the left and
9 the other is the Ladder View on the right. The Cross Reference
View is one of the dockable views in DirectSOFT 6 which also
1 includes Data Views and the Output window. These views can be
docked to any edge of the Programming Window or they can be
11 undocked and “float” to any part of the screen, even onto a different
display if you have multiple monitors. If the view is docked, you can
2 “auto-hide” the view by clicking on the push-pin in the upper right-
hand corner of the view. The view will auto-hide to the left of the
13 Ladder View with the name of the view on the tab. To bring the view
from auto-hide, hold the mouse cursor over the name in the tab. If
4 the view is not needed, click on the X located to the right of the
push-pin to close the view. See Chapter 7 to learn more about
A views.
B Notice the Ladder Palette Bar located to the right of the Ladder
View. The element buttons are grayed-out unless the Edit Mode has
C been activated. To activate the Ladder Palette, click on either EDIT
Mode button; one is located on the Offline toolbar and one is
D located at the top of the Ladder Palette. This palette can be
repositioned anywhere on the screen by “grabbing” it with the
mouse pointer at the top of the palette and dragging it to a new
position. The Ladder Palette contains the buttons that access the
rung elements and operations commonly used when editing ladder
logic programs.
The diagram below shows a newly opened Display window with the
Cross Reference View in the auto-hide position and the Ladder
View in full view. 1
2
3
Cross Reference View
in auto-hide position D
5
6
7
8
9
It is good practice to leave the Cross Reference View open while
editing your program. The rung elements are added to the Cross 0
Reference View as the program is accepted.
Accepting a program will be discussed later in this chapter.
1
NOTE: The Cross Reference View can be retrieved by going to View on 2
the Menu Bar and select it from the drop-down menu, then click on the
push-pin to keep it in view. 3
Step 2: Select Edit Mode 4
The ladder View has two viewing modes; the Display Mode and
the Edit Mode. When a new program or an existing program is
A
opened, the Ladder View will be in the Display Mode which is only
a viewing mode. A program cannot be edited in this mode. In order
B
to edit a program, you must be in the Edit Mode. To enable the
Edit Mode, either click on the Edit Mode button on the Offline
C
toolbar or click on the Edit Mode button on the Ladder Palette Bar.
You will know when the Edit Mode is active when the cursor box
D
becomes solid, a box appears around the Edit Mode buttons and
the elements in the Ladder Palette are highlighted (see diagram on
the next page).
1
2
3 Edit Mode
(solid cursor box)
D
5
6
7
8 The Ladder Palette (shown below) may not be exactly like the one
you have on your computer screen. The elements shown in the
9 palette will depend on which CPU your PLC is using. This example
shows the elements common to most of the CPUs.
1 Normally Closed
Normally Immediate
11 Closed Contact Contact
Negative
Differential
Contact
2 Accept
Normally Open
Normally Open
Immediate
Positive
Equal to
Edit Mode Differential
Contact
13 Contact Contact Contact
4
A
B
C
Not Equal to Less Than
D Contact Contact Browse
Coils
Wire to Output
Equal to/or Browse Browse
Greater Than Wrap Wire to
Contacts Boxes
Contact Stage
Browse
Elements
The element will be entered and the cursor will move to the next
entry position. A yellow vertical bar will appear to the left of the left
1 of Rung 1. The yellow bar indicates that an instruction (or
instructions) has been entered, but the program has not been
2 accepted (compiled).
3
D
5
6 Yellow
colored bar
7 indicates the
rung has not
been
8 accepted.
9
1 Step 4: Enter an Output Element
Now, move the cursor to the end of the rung, positioned over the
11 NOP. Click on the Browse Coils button on the Ladder Palette. The
Instruction Browser will appear with the Standard Coil selected
2 as the default. Click OK to enter the standard coil. Keep in mind
that one of the other output coils could have been selected.
13
4
A
B
C
D
The Instruction Browser will be replaced with the element entry box.
The default address, C0, will be highlighted. Enter Y0 and notice
the valid entry indicator is green for a proper entry. Either click on 1
the (冑) or press the Enter key to enter the output coil.
2
Enter Y0 here
3
Rung 1 has now been programmed. This rung can be downloaded D
to the PLC except for one missing rung. All programs must be
terminated with an END Coil rung. 5
6
7
8
9
0
1
Step 5: Enter the End Rung 2
To program this rung, position the cursor so it is over the NOP at
the end of Rung 2, and click on the Browse Coils button. The 3
Instruction Browser will appear as shown in the diagram below.
This time, select Program Control located in the Coil Class
4
selection window. Next, select END located in the Coils selection
window. Click on OK, then Enter.
A
B
C
D
The below diagram shows the two rungs that have been
programmed. This is a basic program that can be downloaded to
1 your PLC. Additional rungs can be programmed, but you can go
ahead and accept the program
2
3
Accept
D buttons
5
6
7
8
9 Step 6: Accepting and Saving the Program
The program now needs to be accepted in order to be downloaded
1 to the PLC. As noted in the above diagram, there are two Accept
buttons. Click on either Accept button to compile the program. Once
11 the rungs are accepted with no errors, the yellow bar will change to
green, the Accept buttons will be grayed-out and the Cross
2 Reference View now shows the two elements that have been
programmed.
13 Read and
Write buttons
4
A
B
Green bar
C indicates the rung
has been accepted.
D Programmed
elements now
appear in the Cross
Reference View
Notice that the two Read and Write buttons located to the left of the
Offline toolbar are enabled and no longer grayed-out. The program
can now be saved to the PC’s disk. To write the program to disk, 1
click on the Write button. It is not necessary to save the program
in order to download the program to the PLC, however, it is good 2
practice to save your work as you edit a program. A mistake may
be made at times and you may want to restore the program to the 3
state that it was before the mistake was made. If a mistake is
made and you want to restore the program, click on the Read D
button. This will refresh the screen with the previously saved
version of your program. 5
NOTE: When the program is saved by clicking on Write (only to disk), the
ladder program is all that is saved. Once you have edited a program and
6
have included total documentaion, you will want to save all that you have
done. This is accomplished by selecting File > Save Project > to disk. You
7
can also click on Backup to accomplish the same thing with the addition of
a Backup file. For more detail about documenting and saving the project 8
refer to Chapter 6.
9
0
1
2
3
4
A
B
C
D
8
9
1
11
2
13 Step 1: Select the Port
The following Link Wizard dialog will appear showing a list of
4 communication ports. Select the port you will use (commonly
COM1) and click
A Next.
DirectSOFT 6 will
B automatically find any
communications ports
C that are shown in the
Windows Device
D Manager. If a port is
not shown please
close all DirectSOFT
6 windows and restart
the program.
D
5
6
7
8
9
1
11 Since the link that was just created is the only one named in the
2 dialog, click on Select to initiate connecting to the PLC.
13
4
A
B
C
D
After clicking on the Use Disk button, the programming window will
look a bit different. Notice that the icon buttons in the Online
1 Toolbar are no longer grayed-out. The indicators at the bottom of
the window tell you that the PLC is okay, the PC is online with the
2 PLC and the PLC is in Program Mode. At this point the program
has not been written to the PLC. You will also notice the two left
3 most buttons on the Online toolbar (Read PLC and Write PLC) are
highlighted. To write the program to the PLC, select Write PLC. A
D pop-up indicator will appear to let you know that the program is
being written to the PLC.
5
6
7
8
9 Read PLC and
Click on the Mode
button to change the
Write PLC PLC mode
1 buttons
11
2
13
4
A After the program has been written to the PLC, all that needs to be
done is to place the PLC in the RUN Mode. Click on the Mode
B button on the Online toolbar. This will bring the PLC Modes dialog
window into view. Click on Run, then OK and the PLC will be in the
C RUN Mode.
5
6
7
8
Background color
9 to indicate power
flow (I/O On).
1
11
2
13
4
The program editing and testing is now complete. The example
A program is the most simple program that can be written. You can
add to this program by inserting rungs before the END rung (Rung
B 2) or by deleting the END rung and continuing to edit additional
rungs. Do not forget to end your program with an END rung.
C
D
11
Utilities, such
2 as NetEdit
13
4
A Installed
Support
B
C Communication
Links to PLCs
D
Windows-type
Menu Tree
5
6
7
8
9
1
11
2
13
4 Enter the New Project Information
A The New Project dialog box is used to define several things.
• New Project Name Ҁ enter a name for your project (up to 32 characters
B - no extension).
• Family Ҁ select the DirectLOGIC PLC family (or compatible) you will be
C using.
• Type Ҁ select the CPU you are using from the available list. Remember,
D different PLCs use similar instructions, but they are still different in some
ways. For this reason, it is extremely important that you specify the
correct CPU.
• Browse Ҁ you can keep the default project path,
c:\DirectSOFT6\projects, or use the Browse button to either select a
project not shown on the menu tree or a different folder with the project
listed in it.
Importing Projects
You may already have TISOFT or Logicmaster programs stored
on your PC’s hard drive or on a disk. You may also have projects
that were exported from DirectSOFT version 5. Use the following
procedure to import these programs. 2
1. Open the New Project dialog as described on the previous page.
2. When the New Project dialog appears, click on the Cancel button.
3
The programming window will remain on the screen.
3. Click on File on the toolbar, then select Import > Program. The
D
Import Program dialog will appear as shown below. 5
4 Locate the program to be imported by selecting Look in:, then the
location of the program. 6
7
8
9
0
1
2
3
4
A
5. Select the Files of type: to choose the correct file, such as, TIsoft
(*.vpu). B
6. Select the program to be imported (up to 32 characters with no
extension) from the location where the program is found. The file C
name should appear in File name: area.
7. Either enter a name for the project in the New Project: area or use
D
the Browse button to select the name from a location of your choice to
store the project.
8. Click on the Open button to start the import process. An indicator
window will appear to let you know that the program is being imported.
After the program has been imported, it will appear as a normal
DirectSOFT 6 program.
5 filename.lcx
filename.lda
Index file for the ladder rung comments
Connects rung comments to correct rung no.
Online only: connects to correct rung number
6 filename.ldo
filename.pid
(temporary until saved offline to *.lda)
PID documentation
7 filename.prj
filename.prt
Contains the ladder program
Print settings
8 filename.rd
filename.rf
305 R-memory data
305 R-memory editor format
filename.scd Stage comments
9 filename.scx Index file for stage comments
filename.tls PLC parameters, I/O configuration, pause bits
1 filename.vd
filename.vf
V-memory data
V-memory editor format
11 filename.wsp
filename.xml
Position of program windows, colors, etc.
Docking pane layouts
2 Files Associated with DirectSOFT 6 Project Files
File Extension Contents
13 importexport doc.namename.csv Comma Separated Variable
ctrioworkbenchname.cwb Counter I/O configuration
4 ermworkbenchname.erm Ethernet remote master configuration
importexportmnemonicname.txt Text file
A
B
C
D
5 Menu bar
6 Offline Toolbar
7 Online Toolbar
8
The toolbars are movable, or floating. By selecting the toolbar and
9 dragging it with the mouse, the toolbar can be located wherever the
programmer wishes to place it on the desktop.
1
Offline Toolbar
11 Read from Disk
2 This button is used to retrieve and open a program from the disk.
The program will appear in the Ladder View.
13 Write to Disk
The ladder logic program will be saved to the .prj project file on disk
4 (not the entire project). It is a good practice to save your work
frequently. This helps prevent data losses in the event of a system
A problem, such as a power failure.
New Offline Project
B This button will begin a new project offline. This button can be used
with a project already open. The project will not be overwritten with
C the new project. You will be prompted to save the project before a
new Ladder View will appear. An Offline Project includes the
D program, as well as other types of data, like V-Memory and
documentation.
Open a Project
This will open an existing project. A project can be opened when an
existing project is already open. You will first be prompted to save
your project, then the project that has been selected will be opened.
Backup to File
Click on this button to make a backup copy of your project.
1
Edit a Program
This button will turn on the Edit Mode. When the ladder view is in
2
Edit Mode, the edit cursor will be a solid block on the screen. Click
the Edit Mode button again to toggle back to Display Mode.
3
Accept the Program 4
Before the edited program can be downloaded to the PLC, the
Accept button must be pressed. Once this is done, the program will 5
be compiled; in other words, the program is put into a form that can
be downloaded to the PLC. 6
Cut
This button is available in the Edit Mode. It allows the programmer
7
to delete a marked, or selected, rung or rungs from the program and 8
place it on the clipboard.
Copy 9
This button allows the programmer to copy one or more marked, or
selected, program rungs to the clipboard (see page 5-21). 0
Paste
Whenever rungs are cut or copied, they are stored on a clipboard.
1
Position the cursor where you want the rungs to go, then use this
button to paste the rungs currently on the clipboard to the new
2
location. 3
Find
This button is used to locate an element within a program. The 4
element can be selected with the cursor before using the button or
click on the button and enter the element to be found. A
Next
Using this button will find the next occurrence of the element
B
specified when the Find button has been used. C
Browse for an Element
This button provides a quick overview of valid element ranges and D
nicknames for the current content as well as a convenient way to
document an element.
6 Help
7 This button will open the Help menu window.
8
9
1
11
2
13
4
A
B
C
D
Additional Toolbars
1 In addition to the default Offline and Online toolbars, other toolbars
can be activated and used if desired. To view additional toolbars
2 click on View > Toolbars and select the toolbar or toolbars that
would assist you with editing your program. The Toolbar selection
3 window lists fourteen toolbars and a Customize option. The three
toolbars at the top of the list are checked since they are the default
4 toolbars. The rest of the toolbars are optional, and they can be
selected if desired. Note the down arrow at the end of each toolbar.
5 This down arrow allows the programmer to customize the toolbar by
adding or removing buttons.
6
7 Add or Remove
Buttons
8
9
1
11
2
13
4
A
After selecting the file toolbar, it will be added to the Ladder View
B window beneath the Online toolbar as shown in the diagram below.
This toolbar can be moved to any location of the programmer’s
C preference by dragging it with the mouse arrow.
D
Added Toolbar
8 Print All
Use this button to allow the programmer to print all of the
9 documents that are selected.
Setup
1 This button will open the printer setup dialog.
11 Properties
This button will show the project properties.
2 Exit
This button will allow the programmer to exit the project. If the
13 project has not been saved, a pop-up window will remind the
programmer to save the project, otherwise, the project will close.
4 The Edit Toolbar
A The Edit Toolbar is only active in the Edit Mode. It duplicates some
of the main menu Edit commands.
B
C
D Undo
Use this button to undo the changes to the current rung that has
been edited and not yet compiled. The edit cursor must be on the
rung to be restored when the undo button is clicked on.
Delete
The Delete button will delete the element under the edit cursor. If
there is no element under the cursor to be deleted, a pop-up 1
message asks if the rung is to be deleted. If multiple rungs are
selected (highlighted), it will delete these rungs (See Chapter 5). 2
Insert
This button will allow rows and columns to be inserted in a rung.
3
Merge the Previous Rung 4
This button will merge the previous rung with the current rung.
Merge the Next Rung
5
Use this button to merge the next rung with the current rung. 6
Browse Contact
This button will open the Instruction Browser window ready for a 7
contact to be selected.
Browse Coil
8
This button opens the Instruction Browser window ready for the
selection of a coil.
9
Browse Boxes 0
Use this button to open the Instruction Browser with the box
instructions available for selection. 1
The Search Toolbar 2
The Search Toolbar only contains two command buttons, Replace
and GoTo. 3
4
Replace A
This button will activate the replace dialog so the programmer can
search for an object in the program, or a range of elements and
B
replace them.
C
GoTo
This button activates a Goto dialog so the programmer can enter a D
rung number or addresss he wishes to view. Pressing OK will
display the cursor on the desired rung/address.
2
3 Customize
4 This button allows the programmer to display or hide the various
Toolbars, to modify the commands that appear on each Toolbar, or
5 to create your own Custom Toolbars.
Themes
6 Use this button to select from a variety of User Interface Themes
that will give DirectSOFT 6 a new look and feel. You can chose
7 themes, such as, the Office XP theme, the Office 2003 theme, the
Mac theme, et al.
8 Colors
9 Use this button to activate a Color Setup dialog so the programmer
can select different colors for various items in DirectSOFT 6, such
1 as, the background for the Ladder View.
Zoom In
11 This button will increase the size of the current program view.
2 Zoom Out
This button will decrease the size of the current program view.
13
4
A
B
C
D
2
3
4
Connect to PLC
5 This button will allow the programmer to connect the PC to the PLC
over a communication link. If a link has not been established, one
6 can be setup here.
Disconnect from PLC
7 Use this button to disconnect the PC from the PLC.
8 Link Info
This button will open the Link Info dialog which will provide a quick
9 overview of the current link's status and allows the programmer to
edit and set the activation state of the link.
1 Offline Setup (PLC)
11 This button allows the configuration of the PLC type while offline.
Memory Map
2 Use this button to open the current PLC Memory Map.
PLC Tools
13 This button will open the Hardware Tools list. The programmer can
4 select a software tool to run from this list as long as it has been
installed.
A Configure I/O
This button will open the Configure I/O window that displays the
B current configuration of the installed PLC I/O (Chapter 5).
Setup a Password
C This button will allow the programmer to set a password in the PLC
D to protect the program from unauthorized access.
Clear Memory
This button is for clearing the memory in the PLC.
PLC to Disk
This button will allow the programmer to copy the configuration data
from the PLC to disk.
Disk to PLC
This button will allow the copying of the configuration data from the
disk to the PLC. 1
The PLC Diagnostics Toolbar
The buttons on the Diagnostics Toolbar will only be active when the
2
PC is online with the PLC. 3
4
I/O Diagnostics 5
Pressing this button will perform diagnostics on the connected PLC.
Observe the Scan Time
6
Press this button to open the Scan Time dialog which allows the
viewing of the current, minimum and maximum scan times from the
7
current PLC. The scan times are continuously updated while the
dialog is visible.
8
View Error Messages 9
The messages button will open a window that displays System
Errors and Fault Messages which have occurred. 0
The PLC Setup Toolbar 1
Some of the buttons on the PLC Setup Toolbar can be used offline,
but all of the buttons can be used with the PLC online (depending 2
on the features of the current PLC).
3
4
A
Set the Pause Bits
B
Use this button to open the Pause Bit editor which allows the
programmer to set output pause bits.
C
Setup Overrides D
This button will open the PLC Override editor.
Name the Memory Cartridge
This will open the Memory Cartridge dialog used to set a name in
the current memory cartridge in the PLC.
5 Select I/O
This button is used to determine which I/O Config will be read from
6 the PLC on power up.
Check I/O
7 This button is used to turn on or off the I/O Config check when the
PLC powers up.
8 D0-DCM Port Setup
9 This button is used to setup the D0-DCM communication ports.
Secondary Port Setup
1 Press this button to setup the PLC Secondary Communication Ports.
Trap Monitor
This button will open a dialog which allows the programmer to trap
1 element values at specific addresses rather than after a scan (see
page 10-25).
2 The Window Toolbar
3 The Window Toolbar duplicates the window option from the main
menu. This toolbar may be helpful if the window views need to be
4 changed often.
5
6 New Window
This button will open a new View Window of the current Program
7 View (e.g. Ladder, Stage, Trend, Mnemonic).
8 Arrange Views Cascaded
The Cascade button will rearrange views in a cascaded fashion.
9 Tile Views Horizontally
This button will arrange the program views in a tiled, horizontal
1 fashion.
11 Tile Views Vertically
This button will arrange the program views in a tiled, vertical fashion.
2 Arrange Icons
Use this button to arrange the icons for minimized windows at the
13 bottom of the main window. If there is an open document window at
4 the bottom of the main window, then some or all of the icons may
not be visible because they will be underneath this document
A window.
Default
B Pressing this button will restore window and toolbar positions to their
factory default layout settings.
C Close All Views
The Customize window will allow the programmer to select all the
toolbars he wishes to use, or to customize a personal toolbar. When
1 a toolbar is checked (clicked on) it will be added to the programming
window immediately. To create your personal toolbar click on New
2 and name the toolbar. “My toolbar” is the name given to a custom
toolbar in the diagram below.
3
4
5
6 The toolbar will be added to the
programming window as an add-on
7 toolbar. The toolbar will not have
any icon buttons in it until the
8 programmer selects the buttons. To
do this, click on the Commands
9 tab and select the command
category.
1 Once this is done, a list of icon
buttons will appear to the right of
11 the category list. Drag the
commands that you wish to the
2 personal toolbar.
13
4
A
B
C Personal Toolbar
Communication/Link Information
This status button is active when the PLC is offline or online. The
1 button displays the PLC status and the communication link name.
Clicking this button will open the Communication/Link Information
2 window. The window will show the communication error messages.
It is also possible to edit the communication link if it becomes
3 neccesary. If the PLC is offline, it will indicate that here. Clicking on
the button with offline showing will allow the programmer to connect
4 the PLC to the PC.
5 PLC Mode
This status button indicates the operational mode of the PLC. Not
6 only does this button indicate the PLC Mode but it also allows the
programmer to use this button like the Mode button in the online
7 toolbar. Clicking on this button will allow the person to change the
mode of the PLC.
8 Program Memory Usage
9 This box indicates the amount of relay ladder program memory that
is available and how much has been used. The format is: memory
1 used/total memory available. If the available memory is exceeded,
an asterisk (*) will appear beside the amount used. Here are some
11 examples:
• For a DL06 CPU with program memory of 00003/07680 indicates that 3
2 words have been used out of a total of 07680.
Ladder Options
Number Rungs
1 Two choices are available here, by Address and by Rung. If by
2 Address is chosen, the actual decimal address for the first
instruction in each rung will be located in the left margin of the
3 ladder view, starting with zero. If number by Rung is chosen, the
rungs will be numbered beginning with the number one. The
4 remaining rungs will be numbered sequentially, two, three, four, etc.
The default selection is by Rung.
5 Documentation
This section of the dialog allows you to select the types of
6 documentation that will appear in the Ladder Logic program. A
check mark in the box preceding the option will select the option to
7 appear in the program. The following choices are available:
• Elements - the element type and reference number (X1, Y3, C10, etc.)
8 • Nicknames - a name given to the element by the programmer or user
(clamp, switch, etc.)
9 • Wiring Info - a descriptive tag for keeping track of wiring (Blue 027)
1 • Descriptions - notes attached to individual elements (gate open, clamp
up)
11 • Comments - note attached to the rung, i.e. This is the start of the
Wash Process for Section 9 in Building 10
2 Misc. Options
The only option availble here is 3-D Tokens. Leaving this option
13 checked will leave the Ladder View the way it appears when it is
first opened (default), that is, with a three dimensional effect on the
4 Ladder View. When this option is unchecked, the Ladder View will
have a white background and black rungs. This will not affect the
A colors of the displayed views.
Global Options
The options available with the Global tab affect the current and all
new projects that are opened during any session. 1
2
3
4
5
6
7
8
9
Selecting the Global Options
• Default View - the view that is highlighted in the Default View window 0
when the OK button is selected will be the default view that appears
whenever a project is opened. 1
• Display Aliases - Aliases are alternate names given to certain elements
or addresses. For example, TA0 is an alias for a timer accumulator data 2
starting at V0. It is much more meaningful to use the aliases rather than
the counterpart memory address notations. But in the end, it is a matter
of preference. The aliases can be turned ON or OFF globally. See the
3
PLC User Manual for a complete list of aliases for the CPU being used. 4
• Display Nicknames - when this is selected, all current or future projects
opened will display the nicknames. Selecting Display Nicknames here
will have precedence over how this option is set for the individual views
A
in the other options. B
• Display Toolbar Text - this option allows the user to hide or display the
text for each button in the Toolbars. When the text is hidden, the buttons
reduce in size.
C
• Default Docking Position - this option allows the user to choose the D
position relative to the Ladder View that any Views opened (Data View,
XRef View, etc.) will reside in.
Colors in DirectSOFT 6
1 Colors are used in DirectSOFT 6 for personal appearance and for
certain information. This will be a discussion of how and where
2 colors are used.
Select New Colors
3 The programmer can setup the colors that he prefers for the
4 projects to be developed. The selected colors will remain the same
for each project. To open the Color Setup window, click on View >
5 Color Setup or click on the Color button in the View toolbar button
group. The Color Setup will appear like the dialog below.
6
7 Click on the
8 desired color
Click on item
9 to select for a
color change Letters match
1 documentation
selections
11 Vertical bars
match
2 highlighting for
selected rungs,
13 uncompiled, etc.
Color Selections
Normal Background 앥 the normal background color (the default is
white with 3-D Token disabled) 1
Uncompiled Background 앥 color for items which are modified and
uncompiled
2
Unsaved to Disk Background 앥 color for items which are modified
and unsaved to disk
3
Unsaved to PLC Background 앥 color for items which are modified 4
and unsaved to the PLC
Disabled Background 앥 color for views which are disabled 5
Selected Background 앥 used for setting the color that appears
when something in the program is selected. For example, if a range
6
of rungs is selected (to copy, delete, etc.) the selection is highlighted
with a color (default is blue)
7
Status Background 앥 when online status is selected, this
background color shows that the element is enabled (default is
8
aqua) 9
Status Foreground 앥 the color the individual element addresses
show when they are active during status 0
Comments 앥 the color used for the rung comments
Description 앥 the color used for the element description 1
Wiring Information 앥 the color used to indicate the wiring 2
information
Nickname 앥 the color used to indicate the nicknames 3
Element 앥 the color used for the element address (X10, IO000,
etc.) 4
Token 앥 the color used for the ladder program
Block Cursor 앥 the color of the cursor box in Ladder View
A
Box Background 앥 the color within each instruction box. B
The Default Settings C
If the colors become totally disorganized, click on the Defaults
button to restore the colors to the DirectSOFT 6 default settings.
D
Monochrome
Selecting the Monochrome button will set all colors to black with a
white background.
8
9 Color Bars
Uncompiled (Yellow)
1 Compiled, but not
11 written to disk
(Green)
13 (Blue)
4
A
B
C
D
Select a Theme
The Themes dialog allows the programmer to select the look of the
DirectSOFT 6 programming window, much like selecting the 1
appearance for a computer using Windows. To open the dialog
window either click on View > Themes or click on the Themes 2
button in the View toolbar button group. The default theme is Office
XP. 3
4
5
6
7
8
9
0
The theme selected for the window below is the Beveled look. Note
1
the darkened outlines of the menu buttons. 2
3
4
A
B
C
D
9
1
11
2
13
4
A
B Be Familiar with the Ladder Palette
The Ladder palette is very helpful when first learning to use
C DirectSOFT 6. The hot keys can be learned while using the Ladder
palette. The hot keys are labeled on the element keys. Using the hot
D keys may be quicker for many programmers. The hot keys appear in
the “Tool Tip” whenever the cursor is over the element button.
NOTE: The Ladder palette which appears on your computer screen may be
different than what is shown in this manual. The tools that appear are
dependent upon the type of CPU being used.
Normally Closed
Normally Immediate Negative
Closed Contact Contact Differential
Contact
1
Accept
Normally Open Positive
Edit Mode
Normally Open
Contact
Immediate Differential Equal to
Contact
2
Contact Contact
3
4
5
6
Not Equal to Less Than 7
Contact Contact Browse Wire to Output
Equal to/or Browse
Coils
Browse
8
Greater Than Wrap Wire to
Contact
Contacts Boxes
Browse
Stage 9
Elements
0
The contact buttons are self-explained. Each contact button will
place the particular element on the rung wherever the edit cursor is 1
placed.
Browse Contacts 앥 click on this button to view the Contact dialog 2
of the Instruction Browser to select a contact of your choice.
Browse Coils 앥 click on this button to view the Coil dialog of the
3
Instruction Browser to select a coil of your choice.
Browse Boxes 앥 click on this button to view the Box dialog of the
4
Instruction Browser to select an Instruction Box of your choice. A
Browse Elements 앥 click on this button to view the Element
Browser which will allow you to select from various types of B
memory addresses (X0, Y0, V2000, etc.). This can be used to edit
Nicknames, Wiring info or Descriptions of Elements. C
Wire to Output 앥 clicking this button will turn the horizontal wire
between the last contact to the output ON and OFF. D
Wire to Stage 앥 click on this button to draw a powerflow transition
between a contact and a Stage box instruction.
D Different
parts of the
program can
be viewed
I/O Configuration
One of the first things to be done before beginning to edit a program
1 is to view the I/O addressing for the PLC being used. Consult the
user manual for the PLC that is being used to assist in the I/O
2 configuration. The DirectLOGIC PLCs have automatic I/O
configuration, and some of the CPUs offer manual I/O configuration.
3 To access the I/O configuration with DirectSOFT 6, the PLC must
D be connected to the PC being used and online. Open the new
program and connect the PLC to the PC. You can either select PLC
5 > Configure I/O on the Menu bar or press the I/O Configuration
button on the PLC Toolbar (the toolbar must have been added to
6 the display window).
7
8
9
1
11
2
13
4
A
The Configure I/O dialog pictured on the facing page will appear
B showing the automatic I/O configuration (by default). If a CPU is
being used that can be manually configured and the configuration
C needs to be changed, click on the “A” next to the slot that is to be
manually addressed. The “A” will change to an “M” to allow the
D address to be changed.
1
Save to PLC
2
Select
manual
3
configuration Read from PLC
D
5
6
After the manual configuration has been set, save the
7
configuration to the PLC and to the disk. The disk and PLC icon 8
buttons located in the right-hand corner of the dialog allows the
configuration to be either saved or read. 9
WARNING: The majority of DirectLOGIC PLCs only require automatic
configuration. Do not use manual configuration unless it is 0
absolutely necessary.
1
2
3
4
A
B
C
D
5 Type of Data
DL305C DL05/DL06/DL105
(DL330/DL340 CPU) DL205/DL350/DL405
Input Points IO X
6 Output Points IO Y
Control Relays C C
7 Stages S S
Timers T T
8 Timer current
Counters
TCA
CT
TA
CT
9 Counters current
Remote I/O Points
TCA
IO
CTA
GX/GY
1 Data Registers
Pointers (to another V location)
R
N/A
V
P
Special Relays Uses special C locations SP
11 Input Points as Registers RIO VX
Output Points as Registers RIO VY
2 Control Relays as Registers RC VC
Timer Status Bits as Registers N/A VT
13 Counter Status Bits as Registers
Remote I/O as Registers
N/A
RIO
VCT
VGX/VGY
4 Special Relays as Registers
Timer current Values as Pointers
RIO VSP
C Bit of Word
Pointer to Bit of Word
N/A
N/A
B
PB
Aliases
Chapter 4 briefly mentioned the use of aliases to make some data
references easier to understand. By default, they are displayed 1
when you type their counterpart. If it is desired not to have the
aliases shown when editing a program, they can be turned off in 2
the Global dialog in the Options menu. Below are examples which
show how aliases are used. 3
NOTE: These references are only used within DirectSOFT. They cannot D
be used with the Handheld Programmers. The actual instructions
contained in the CPU will reflect the actual data type, not the new
reference.
5
Timer/Counter Current Values Use Timer Accumulator
6
The DL05, DL06, DL105, DL205, DL350 and
Reference
7
DL405 CPUs use designated V-memory TA0 K100
locations to hold timer and counter current 8
values. The current value for Timer T0 is stored
in V0. This is not always easy to remember, so OR 9
DirectSOFT 6 allows you to refer to these as Use V-memory Location
either V0 or TA0 (timer accumulated value for 0
Timer 0). For example, the accumulator for V0 K100
Counter 3 is in CTA3 which is easier to 1
remember than V1003.
Accessing I/O Points as Memory Locations
2
Aliases allow you to access I/O points as V- Use VX reference to I/O
3
memory (registers in a DL305C). For example,
input points X0 - X17 in a DL405 are stored in LD
VX20
4
V40400, X20 - X37 are stored in V40401, etc.
VX0 (the alias) can be used instead of V40400, A
the V-memory location for X0. These are on 16- OR
point boundaries, so the next location is VX20, Use V-memory Location B
VX40, VX60, etc. For the DL305C, you could
represent I/O points such as IO10 - IO17 with LD C
register location RIO10. V40401
5
6
7
8
9
1
11 The expanded Instruction Editor dialog
has a check mark, an X and Click here to close and
accept the entry
2 magnifying glass in the upper left-hand
corner. The check mark (冑) is used for Click here to close without
13 accepting an entry. The (X) is used for
closing without accepting an entry. And
accepting
6
7
8 Ladder
Palette
9
1
11
2
13
4 Opening the Instruction Browser
A Some instructions do not have an element button on the Ladder
palette. To enter one of these instructions, click on the appropriate
B browser button on the palette and select an instruction. There are
three buttons on the palette for browsing the contact, coil and box
C instructions. Clicking on any of the browse buttons will open the
Instruction Browser, as shown on the facing page. This will allow
D selection of the correct instruction from the available lists. The
particular browser that appears is dependent on the button that is
clicked. Once a selection has been made and the OK button is
pressed, the Instruction Editor will appear to have the appropriate
information entered.
1
2
Browse Browse
3
Contacts
(F4)
Browse
Coils
Boxes
(F7)
D
(F5)
5
6
Entering Instructions with Hot Keys 7
When the cursor is moved to one
of the Ladder palette buttons, a 8
Tool Tip will appear. The Tool Tips
provide a brief description of the 9
button and the associated hot key
for that button. 0
You can enter an instruction by
pressing the hot key which 1
corresponds to the type of
instruction to be entered. For
2
example, to enter a normally
opened input, press F2. After the
3
hot key has been pressed, the
Instruction Editor dialog will appear.
4
For the browse buttons, the
particular Instruction Browser will
A
appear so the proper selection can
be made.
B
C
NOTE: A complete list of the hot keys is available from the Help menu.
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
8
9
NOTE: The forward slash can also be used to switch between OUT Coils
1 and OUT Boxes, as well as cycling between the various rung inline
comparison statements (Equal, Not Equal, Greater than, Less Than, etc…)
11
2 Here are two more shortcuts that can be used when entering
elements in your program. The first shortcut requires the Edit cursor
13 to be placed on the rung where a NO contact is to be entered. Type
the element address and enter it. The edit box will appear so you
4 can either enter the address or change the contact to NC.
The other method is to double-click on the rung where the element
A is to be placed. Again, the edit box will appear with a NO contact.
Enter the address and/or change the contact to NC and press enter.
B
C
D
NOTE: To delete lines, press and hold Shift + Ctrl, then press the
appropriate arrow key.
2
13 Press the F8 key
4 to accept the
program. Notice
the offset of the
A power rail.
B
C
D
1
Now, enter the rungs within 2
the loop offset.
13
4
A
B A preset cannot be entered for DL330/DL340
Timers/Counters CT674-CT677. Leave the
C preset field blank.
4 (not shown).
A NOTE: The letter “b” can be entered in either lower case or upper case.
The end result will be an upper case “B” appearing in the program.
B Using Floating Point Math
C Small, low-end PLCs typically allow the use of integers, but do not
allow the use of math containing decimal places. The second type
D of math just mentioned is called “floating point” math. If the
processor for your PLC supports floating point math i.e., DL06,
DL250-1, DL260 and DL450, it’s a good idea to learn the
conventions used for entering the floating point math elements and
parameters. Refer to the user manual for the PLC which you are
using.
Deleting Rungs
When deleting one or more rungs, it is with the intention of removing
the rung(s) from the program entirely. Delete them by pressing the
2 Delete keyboard function key, or by using the Edit > Delete option
from the Menu bar.
3 First, select the rung or rungs to be deleted.
5
6
7
8
9 Then, press the Delete key, and the rung or rungs will be removed.
1
11
2
13
4
A
B
C
D
Copying Rungs
A selected rung or rungs can be copied and pasted to another
location in your program (or to another open program in Edit 1
mode) by using the keyboard shortcut Ctrl + C, Edit>Copy from
the Menu bar or the Copy button on the Offline toolbar. The 2
original rungs will not be altered in any way. When the rungs are
copied, they are placed in a temporary storage location called a 3
clipboard.
D
5
6
7
8
A rung or rungs are selected 9
in order to be copied.
0
1
The copied rungs are held on the clipboard until pasted to the new
2
location with Edit > Paste from the Menu bar, the Paste button on
the Offline toolbar or Ctrl + V (keyboard shortcut). The clipboard is
3
updated whenever a different rung is copied; in other words, the
clipboard will only hold one copy at a time.
4
A
B
C
D
The above example shows the copied rung pasted from the
clipboard to a new rung location in the program (Rung 4).
2
3
Unconditional Output
5
6
7 When pasting the copied rung, the unconditional output will be
8 joined to the copied rung. The following example shows the output
now being controlled by a conditional input, which was not the intent
9 of the original program.
1
11 Output now joins
the copied rung
2
13
4
A
B
C
D
13 are to be
merged.
B
C
D A new Rung 4.
A new Rung 5.
5
6
Current position.
7 Insert row After Cursor.
Note: The cursor grays out
8 when the dialog appears.
9
1
11 Add new
instruction here.
2
13 Inserting a rung is done in the same manner as inserting a row,
except select Rung in the Insert dialog. A new blank rung is inserted
4 either above or below the Edit cursor position.
A
B
C The new rung is
inserted and the rungs
D are renumbered. Rung 2
is ready to be edited.
Common Mistakes
It is not uncommon to make programming errors. The fewer errors 1
made, the quicker a program can be completed. Here are some of
the more common errors. 2
Failure to Enter the Edit Mode 3
Some new users will typically open a project and immediately try
to edit a program. Remember that you must enter the Edit D
Mode. Entering the Edit Mode can be done in several ways. Use
either Edit > Edit Mode, Ctrl + E or press the EDIT MODE button 5
located on the Offline toolbar and on the Ladder palette. When in
the Edit Mode, the cursor box will turn a solid color. 6
AND above a Join 7
The rule is that after a wire has been drawn down on a rung of
logic to “AND” a sub-rung that contains a midline output, no 8
additional input logic may appear on the leg of the midline output.
9
Can not add input
0
logic here.
1
2
3
4
Forgetting to Select Rungs
A
In order to Cut or Copy a rung or rungs, the rungs must be B
selected (use Shift + up or down arrows). If nothing is selected,
the Cut and Copy buttons will be grayed out on the Offline toolbar C
and on the Menu bar.
D
Documentation Selections
Most documentation refers to individual elements, therefore, it is
specific in nature. Listed below are four types of documentation 1
• Elements Ҁ the references for the individual elements, ie. X1, Y10,
etc. 2
• Nicknames Ҁ these are alpha-numeric names that are used for the
various types of program elements. It is usually easier to remember the
3
name Start Switch than it is to remember that X1 is the input for the
switch. D
• Descriptions Ҁ detailed description of an element. This can also be
used to add brief trouble-shooting steps, etc.
5
• Wiring Ҁ this can be used to identify panel wiring for the project. 6
Description
7
Wiring Info
8
Nickname
Element
9
0
1
General Documentation
Comments are general descriptions that are best suited for
2
descriptions of a program rung, or a section of the program. 3
• Rung Comments Ҁ rung comments are assigned to an individual rung.
• Stage Comments Ҁ if you are using the Stage instructions, you can 4
also add comments that describe the contents of any stage.
A
Stage
B
Comments are
in this area C
D
Rung
Comments
5
6
7
8
9
1
11
Using the Scroll Buttons
2 There are scroll command buttons (arrowheads) located at the top
13 of the editor. They are shown (both directions) as , , R, 앚,
etc. Each button has a different function:
4 Ҁ Moves one element forward.
Ҁ Moves one page forward.
A R Ҁ Moves to the beginning of the next data type (X, Y, C, etc.)
앚Ҁ Moves to the last documentable type.
B Ҁ Moves one element back.
C Ҁ Moves one page back.
R Ҁ Move to the beginning of the previous data type.
D 앚 Ҁ Moves to the beginning of the first documentable point.
5 is entered (red
indicator remains on).
6 The nickname is
7 accepted without
being linked to an
element.
8 Click OK
9
Dialog appears when
1 a nickname is entered
without being linked
to an element.
11
2
13 Assign the Nickname to an Element
4 If unassigned nicknames have been used in the program, element
references must be assigned before the program can be written to
A the PLC (the PLC does not recognize nicknames, only element
references). The Assign Nicknames dialog is used to assign
B nicknames to element references. A quick way to open the dialog is
to either press F9 (hotkey) or the Assign Nicknames button (if the
C Tools toolbar is displayed). Another way is to use Tools > Assign
Nicknames from the Menu bar. Also, if the Element Browser is
D open, nickname information can be assigned by clicking on the
Assign Nicknames button in the Element Browser and the Assign
Nicknames dialog will appear as shown on the facing page.
1
2
3
D
5
Click here to open the Assign Nicknames dialog.
6
The Assign Nickname dialog will appear with the list of 7
unassigned nicknames appearing in the Source Nickname
column. Select the nickname in the list and enter the element 8
reference for the nickname in the Source Element Column.
9
0
1
2
3
4
The reference will be duplicated in the Result column to help avoid
A
accidental entries. Press Assign and and the following dialog will
appear as a confirmation of the element entry.
B
C
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
2 3. Use the Ctrl + C keys to copy the text or the Ctrl + X keys to cut the
text.
13 4. Locate the rung where the information is to be pasted (Use Previous,
Next or Goto).
4 5. Position the cursor where the text is to be pasted and click the left
mouse button, then press Ctrl +V to paste the text.
A 6. The Delete key can also be used to delete text.
B
C
D
5 Stage
Comment Area
6
7
8
9
1 In order to enter Stage comments, the cursor must be positioned in
11 either of the upper quadrants of the Stage view. To open the
comment editor, either click on the keyboard shortcut Ctrl + K,
2 Tools > Comment Editor on the Menu bar or press the Comments
button on the Tools toolbar if it is displayed. The Comment editor
13 can also be opened by double-clicking the left mouse button with the
cursor positioned in the stage comment area. Note that the
4 comment editor is for Stage comments.
A
B
C Stage
Comments
D
4
A
B File Export
Options
C
D
2
3
5
6
7
8
9
1
Export Element Documentation
11 Element information can be exported from a project to a .csv file.
2 The following illustrations will show the steps to use to export the
documentation. Press the Export Element Documentation button on
13 the File toolbar or select File > Export > Element Documentation
to export the documentation.
4
A
B
C
D
Importing a Program
There may be a time when it is necessary to import a DirectSOFT
6 program which has been previously edited and exported as a 1
text file. This could be an entire program or just a few rungs with
element nicknames and comments. Use the following illustrated 2
steps to guide you through the import procedure.
3
D
5
6
7
8
9
0
1
2
File Toolbar 3
4
Begin by opening the New
Project dialog from the A
DirectSOFT 6 Launch window
(page 3-4). Cancel the New B
Project dialog, then either
select File > Import > C
File Import Program or press the Import
Program button on the File toolbar if it is D
displayed.
2
3
5
6
7
The complete imported program will appear as shown below. In this
8 example, all elements, element descriptions, nicknames and rung
comments appear in the program along with the cross reference.
9
1
11
2
13
4
A
B
C
D
6
7
8
9
1
11
2
13
4 To import element
A documentation, select
File > Import >
B Element
Documentation or
C press the Import Doc
button on the File
D toolbar. The window
shown here will
appear.
Select the folder and the .csv file to be imported. Notice the Import
Method box located on the right side of the window.
There are three import methods to select: Merge (.PRJ priority), 1
Merge (.CSV priority) and Delete existing. Selecting one of the
three methods will determine the course of action which will be 2
taken if the currently open project and the imported file have
duplicate nicknames. 3
If .PRJ priority is selected, the nicknames in the imported file will be
added to the project file. If there are duplicates, the nickname in the D
project file will be kept.
If .CSV priority is selected, the nicknames will be added to the project
5
file. If there are duplicate nicknames, the import file will overwrite the
ones in the project file. 6
If Delete existing is selected, all of the element documentation of the
open project will be deleted, then it will be rebuilt with the contents of the
7
.csv file.
Press the Open button to execute the import.
8
NOTE: If the following element types are imported, they will appear in the 9
DirectSOFT 6 documentation editor with “ “ under the element type
column: 0
UB - unassigned bit
UBY - unassigned byte (useful only for R memory in the DL305) 1
UW - unassigned word
UDW - unassigned double-word
UU - unassigned unknown (used for uninitialized types, should never be
2
used)
3
Once the element documentation is imported, the Documentation
editor will be updated with the imported information. This can be 4
verified by opening the Documentation editor from Tools on the
Menu bar, the Documentation Editor button on the Tools toolbar if it A
is displayed or use Ctrl + D. When the elements are created or if
they are already used in the program, the element will be updated B
with the new information.
C
D
5
6
7
8
9
1 Also select the Import Method to use. Merge (.PRJ priority) if the
current project is to remain in place when the import is executed. If
11 comment matching occurs, a message will appear asking which one
to update, the imported file or the existing file. Selecting Merge
2 (.TXT priority) will allow the imported comments to overwrite the
existing ones. Delete Existing will delete the current comments and
13 update with the imported comments.
Insert Instructions
4 The Insert Instructions From File feature will allow the insertion of
A mnemonic text files as instructions within an open project.
Mnemonic instructions can be inserted one time or several times
B Rung Comment
within a program. To
use this feature, there
PLC type
C must be an existing
text file, such as, a file
Ladder mnemonics
D “Wire number”
written with MS
Notepad. This file must
be written in mnemonic
text form like the
example on left. Note
“Nickname” that rung comments,
“Reference” “Element Description” element descriptions,
The Insert Instructions dialog will appear. Select the folder where
the text file is located, then select the text file to be inserted. Next,
choose either Insert at Beginning, End or Before Rung Number.
How the element documentation can be imported involving
2 “collisions” with existing program documentation can also be
chosen. Select Merge (.PRJ Priority) if the existing project
3 documentation is to remain unchanged. Select Merge (.TXT
Priority) if the new documentation is to overwrite the existing
documentation in the program. If the program element
documentation is not to be changed, select Ignore Element
5 Documentation. Press the Open button to execute the instruction.
6
7
8
9
1
11
2 The DirectSOFT 6 Ladder view now displays the inserted
instructions and documentation.
13
4
A
B
C
D
Restore
One option which the Insert Instructions function has that can be
useful is the Restore feature. Each time the Insert Instructions is 1
executed, a backup copy of the entire program is made before the
insert occurs. If an error is made, i.e. wrong code, just press the 2
Restore button and the program will be restored to its original
state.
3
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
NOTE: The Write to Disk button on the Offline toolbar only saves
the ladder logic program.
Backup Project
The backup feature is another way to save your project. Selecting
File > Backup Project on the Menu bar or pressing the Backup 1
button on the Offline toolbar will open the following dialog asking if
the project is to be saved. Press the OK button to save the project. 2
3
D
5
6
The following Backup Project dialog will appear, the project can
7
be saved with the default date/time stamp or rename the folder. A
different drive can also be selected to save the project.
8
9
0
Date and Time Stamp 1
2
3
4
A
B
The last backup method is to use the export program feature as
explained previously. This method will save a program to a text file. C
One advantage of the text file is that the program or comments can
be edited without using DirectSOFT 6. D
Close all other applications that may be running to allow as much
free RAM as possible. This not only lessens chances of memory
conflicts, but also allows DirectSOFT 6 to run much faster.
Consider printing a hard copy of the program at longer intervals. If
your computer breaks down or you lose all of the data due to a disk
crash, you will at least have a hard copy of the program.
DirectSOFT 6 User Manual, 1st Edition 6-29
CHAPTER
OTHER VIEWS
7
In This Chapter
Tabbed Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-2
Stage (RLLplus) View . . . . . . . . . . . . . . . . . . . . . . . . . .7-4
Mnemonic View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-6
Cross Reference (XRef) View . . . . . . . . . . . . . . . . . . . .7-7
PID View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-12
Trend View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
Output Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-16
Bookmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-18
View Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-19
Chapter 7: Other Views
Tabbed Views
Using the Ladder View to create ladder logic programs has been
1 discussed to this point. There are other views that are output only.
2 These views will help to organize and better visualize the program.
These additional views are Mnemonic, Stage (RLLPLUS), Cross
3 Reference (XRef), Documentation Editor, Trend and PID Views.
Once these views are opened, each view is easily accessed by a
D tab located at the top of the display window.
The Primary Views
5 Ladder, Stage, Mnemonics, XRef and Trend Views are the
primary views in DirectSOFT 6, and can be accessed by selecting
6 the View submenu from the Menu bar and then selecting the view
of your choice with the mouse cursor. When a new project is
7 started, the Ladder and XRef Views appear as the default (refer to
page 2-12). The Stage and Mnemonic Views can only be opened
8 from the View submenu or by right-clicking when the mouse cursor
is in any open View and selecting a different View from the Local
9 Menu. The Trend View can be opened from the View submenu or
from the Trend button on the Online Toolbar.
1
11
2
Tabs
13
4 Primary Views
A
B
C It is possible to open the Stage, Mnemonic and Trend Views along
D with the Ladder View by selecting the views one at a time from the
View submenu, thus providing a Multi-Tabbed Interface (MTI) view.
Once the views are open, you can switch from view to view by
clicking on the appropriate tab in the display window. The Stage
View also displays the Ladder View in the lower part of the view,
therefore, it may not be necessary to open the Ladder View. This
choice is left to the programmer.
B
Flowchart Stage Comments
C
D
Ladder Logic
part of the program by opening the Ladder View and tile the two
views (refer to page 4-30). The right-hand corner view contains
the stage comments. These comments are synchronized with the 1
flowchart area of the display (refer to page 6-12 for details).
Stage Components 2
If the flowchart area of the Stage View is being viewed and there
is an uncertainty of what a component means, click on the
3
component and the corresponding equivalent in ladder logic will
come into view. Help (F1) can also be consulted for more clarity.
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
Mnemonic View
1 Handheld Progammer Aid
There may be times when a DirectSOFT 6 user will need to use a
2 handheld programmer (HPP) to modify a DirectSOFT 6 ladder logic
program. Since the HPP only uses mnemonics, the Mnemonics
3 View will prove to be useful as a guide. Just open the Mnemonics
D View and print it on a printer. The hard copy can be carried to the
PLC location. Consult the PLC User Manual (Chapter 5) for the
5 proper keystrokes required for entering the mnemonic instructions.
6
7
8
9
1
11
2 NOTE: There are no display options for the Mnemonic View.
13
4
A
B
C
D
XRef Toolbar
The Cross Reference View has a toolbar to move quickly to
different locations and views in a program. The available buttons 1
can be seen in the illustration below.
Follow Specify XRef Next XRef
2
XRef Mode Rung Rung
Ladder Cursor
3
Manual rebuild
XRef and
Element Usage
D
Usage Mode Rung XRef
Previous
Tables
5
XRef Rung
XRef Mode Ҁ this button brings the Cross Reference table into view if it
6
is not in view. 7
Usage Mode Ҁ pressing this button brings the Element Usage table into
view. 8
Follow Ladder Cursor Ҁ when the XRef View is enabled, the rung
information will be placed at the top line of the table for any rung where 9
the ladder cursor is positioned.
Rung XRef Ҁ this button transfers the current mode to a one rung mode 0
which only displays one rung in the table.
Specify XRef Rung Ҁ enabled only in the single rung view. Enter a rung 1
number or an address in the dialog pictured below, then click OK. The
program will go to and display the rung number entered. 2
3
4
A
Previous XRef Rung Ҁ the Ladder View will display the previous rung
while only in the Rung Mode.
B
Next XRef Rung Ҁ the Ladder View will display the next rung while in
only the Rung Mode.
C
Manual Rebuild XRef and Element Usage Tables Ҁ manual rebuild for D
elements either added or deleted later in a program. This button will be
inactive unless Auto Rebuild is not selected in the XRef DB dialog (see
page 7-11).
Usage Mode
The Usage Mode is selected to display the Element Usage Table in
1 the current Cross Reference View. The Element Usage Table
displays all elements that meet the current Query. The table is an
2 effective way to see which points have been used, which points are
free and whether or not they have been used in a range. The
3 elements are shown in groups of 8, 10 or 16 bits as determined by
the current Usage Field Size setting
D
5
Usage
6 Mode
7
8 Usage Mode
Selected
9
1 Element Usage
11 Table
2
13 Usage Mode Toolbar
4 The Usage Mode toolbar is used to select various options for
viewing the Element Usage table.
A Limit range of elements Set usage field
to the current PLC. display length.
B Select the
XRef Mode
C
D Usage Table Follow Toggle element Rebuild XRef
select button Ladder Cursor references to and Element
read left to right Usage Tables
or right to left.
XRef DB
There is another tab on the Options dialog that can be used for
setting up the Query for the XRef View. It is the XRef DB tab as 1
seen in the dialog below. This dialog opens with the default
selections as shown. In most cases, this dialog should remain as 2
is. The Auto Rebuild may be the only selection to be disabled if it
is desired to manually update the Cross Reference View 3
whenever an element is added or deleted.
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
PID View
1 The PID View will be useful as a PID loop tuning aid. To access this
view, at least one PID loop must be setup.
2 NOTE: Refer to your PLC User Manual, Chapter 8, PID Loop Setup to
3 setup a PID loop.
NOTE: PLC View is not available until you are connected with a PLC and at
D least one PID loop is configured.
5 PID Setup
6 To setup a PID loop, the PC must be connected to a PLC which is
online. To begin, either press the PID button located on the PLC
7 Setup toolbar (if displayed) or use PLC > Setup > PID. This will
open PID Address dialog as pictured below.
8
9
1
11
2
13 After this dialog has been completed and saved, the Setup PID
dialog, pictured below, is opened. The Setup PID dialog is a series
4 of dialogs used to setup one or more PID loops. Use the PLC User
Manual as a guide to setup the loop(s).
A
B
C
D
Once a PID loop has been setup, open the PID View by selecting it
from the View submenu on the Menu bar. A Data View can also be
open to assist in tuning the PID loop(s). 1
2
3
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
Trend View
1 The Trend View can be used as a debugging tool. As mentioned
previously, it is used to visually monitor the values of DL controller
2 data elements over time. It has the ability to monitor any readable
numeric location or any readable bit location or any constant value.
3 Those values are displayed on a moving graph and can be logged
and exported to a CSV file for importing into a third-party application
D for further research.
Creating a new Trend View
5 A new (empty) Trend View can be created by selecting Debug >
6 Trend View > New from the Menu, or clicking the Trend button on
the Online toolbar. The following dialog is displayed prompting for
7 the number of Panes to initially create.
8
9
1
11
Enter the number of Panes in the Number of Panes field or use the
2 Up or Down arrow to set the value. Click the OK button to accept or
the Cancel button to abort.
13 A Trend View can also be created and pre-filled with the critical
elements by the following methods:
4 • Right-clicking anywhere in a Data View and selecting Trend All.
A • Highlighting a range of elements in a Data View, then right-click
and select Trend Selection.
B
The next window to appear is the Trend View Options window as
C seen on following page. This window contains all of the parameters
available for the new Trend View. Enter Starting and Ending
D elements, desired display characteristics and historical options in
this window.
1
2
3
D
5
6
7
8
If the element to be added is not a bit
9
or a constant, then this causes a
secondary dialog to be displayed so
0
that the Format and Size can be
determined. Once determined, the OK
1
button will accept the selections. An
example Trend View is shown below.
2
3
4
A
B
C
D
Output Window
1 There may be an occasion when a mistake(s) has gone unnoticed
while a program is being edited. The mistake(s) will be detected by
2 DirectSOFT 6 whenever the program is accepted (compiled), and
displayed in the Output window as shown below.
3
D Edit cursor will
move to the error
5 rung.
6
7
8
9
Double-click on the
1 error message
11 The Output window will appear below the view being displayed, in
this case, the Ladder View. Each mistake or error message will be
2 listed. Double-clicking on the error in the Output window will move
the edit cursor to the error rung in the ladder view. Once all of the
13 errors are corrected, the program can be compiled. The error
messages in the Output window will disappear but the window will
4 remain in view as can be seen in the diagram on the facing page.
In the diagram above, notice the push-pin in the upper right-hand
A corner of the Output window. Clicking on this push-pin will auto-hide
the window, and a tab will be displayed in the lower left-hand corner.
B More about auto-hide and dockable views will be discussed
beginning on page 7-19.
C
D
Output
tab
1
2
3
D
5
6
7
The Output window can be closed just like other windows are
8
closed. If you desire to open the Output window, press the Output
button located on the Windows toolbar if it is displayed.
9
If the Output window is displayed with error messages, it can be 0
cleared by pressing the Clear Output button located next to the
Output button on the Windows toolbar. 1
2
3
4
A
B
C
D
Bookmark
1 A feature which can be used as either an editing or a debugging aid
is the Bookmark feature. This feature allows the programmer to
2 mark one or more rungs in his program if he wants to quickly go to a
marked rung. To use the feature, simply have the cursor located on
3 a rung and hold the <Ctrl> key down and press the left mouse
button (this will only work with the mouse button). The rung which is
D bookmarked will appear in the Output window. Once the bookmark
has been made, you can double-click on the bookmark in the Output
5 window and DirectSOFT will jump to that rung and display it. The
Output window can also be hidden by clicking on the push-pin. The
6 Output window can then be recalled by clicking on the Output tab.
Closing the Output window will clear all bookmarks.
7
8
9
1
11
2
13 Double-click on the
marked rung to
quickly display.
4
A
Use the push-pin to hide
B and recall the Output
window or close the Output
C window to clear all
bookmarks.
View Terminology
The terms “docked view” and “floating view” have been used in
this manual and will be clarified in this section. A “Docked View” or
1
a “docked toolbar” is a view, or toolbar, that is “docked” to a
specific edge of the Programming window. Initially, the Offline
2
toolbar is docked at the top of the Programming window below the
Menu bar. The Online toolbar is also docked at the top, but below
3
the Offline toolbar. The Ladder Palette toolbar is initially docked on
the right edge of the Programming window, and the Cross
D
Reference View is docked on the left edge of the window. Primary
views (Ladder, Stage, PID, Trend, etc.) appear within the "Tabbed
5
MDI View" (Multiple Document Interface) area between the
various docked views/toolbars. The primary tabbed views are
6
shown in the diagram below. 7
8
9
0
1
2
3
4
A
Viewing the example on the next page, each of these docked B
views/toolbars can be docked on any edge (e.g. the XRef View
can be moved and docked on the right or on the bottom). Notice C
that the XRef View has been unpinned and placed in a floating
position. In this position, the XRef View cannot be placed in a D
auto-hide position by pinning it until it is back in a docked position.
1
2
3
D
5
6
7 All docked views/toolbars can also be Floating views/toolbars, and
float outside the application frame (very handy if multiple monitors
8 are being used). The remaining area, bounded by all of these
docked views/toobars, is where the primary MDI Views are
9 positioned.
1 One final user interface for dockable views is the capability to group
only the dockable views to create a tabbed group of multiple docked
11 views (e.g. 2 Data Views and the XRef View can all be placed in a
single tabbed group). This tabbed group can then be docked,
2 floated or auto-hidden as a single entity. To create this tabbed
group, open all of the Data Views to be placed in the group, then
13 drag one Data View on top of a second Data View, and so forth. You
can also drag the XRef View over the top of this group to complete
4 the single dockable, tabbed group.
A
B
C
D tabbed group
of dockable
views
The following table lists all of the different views/toolbars and all of
the possible frame behaviors:
Window Frame Behaviors 1
Individual
MDI Auto-
DirectSOFT 6 (cascade, Tabbed Docked hidden Floating
Tabbed Group
of
2
Window Type tile, etc. like MDI to Edge Docked Docked/Auto-
Rel 4) to Edge Hidden/Floating 3
All Toolbars 冑* 冑
Ladder View 冑 冑* D
Stage View 冑 冑*
Trend View
Documentation
冑 冑* 5
冑 冑*
Editor
PID View 冑 冑*
6
Mnemonic View 冑 冑*
Cross Reference/ 冑* 冑 冑 冑
7
Usage View (XRef)
Data View
Output Window
冑*
冑*
冑
冑
冑
冑
冑
冑
8
* Ҁ default behavior 9
Note that the Docked/Floating/Auto-hidden/Tabbed Framed
windows can all be independently set on a frame by frame basis.
0
For example, you can have the Ladder Palette and the PLC Setup
toolbars floating on a second monitor, with the Offline and Online
1
toolbars being docked on the top edge; then have one Data View
floating and three other Data Views grouped as a docked tab to
2
the right side of the application; and have the Cross Reference
View auto-hidden, and docked on the bottom edge of the
3
application. 4
However, the two different MDI Frame behaviors are exclusively
either/or. This means that within a DirectSOFT 6 session, all of A
the MDI views behave either as individual MDI frames or as
tabbed views, but not both at the same time. You cannot have the B
Ladder View be a tabbed view and the Stage View and PID View
be cascaded as Individual MDI frames. All MDI Views will have C
Individual behavior or Tabbed behavior.
D
2
13
4 In this dialog, you can set the range to print all or any part of the
A ladder logic by either selecting All, Rungs or Addresses to be
printed. Select any or all of the ladder documentation to print with
B the ladder logic. The Miscellaneous settings allows the level of
zoom to print and the selection of the number of columns to print,
C also, the Pen Size allows the selection of the thickness of the pen
used to draw wires, contacts, coils and boxes on high resolution
D printers.
D elements.
7 Elements to
print the xref
for.
8 Select the
9 number of
columns to use
for printing
1 XRef/Usage
printouts.
11
2
13
4
A
B
C
D
C
D
8
9
1
11
2
13
4
A
B
C
D
Print Preview
After pressing the OK button, the Print Preview will appear using
the full computer screen. Use the Page buttons at the top of the 1
display to scroll through the program. One Page can also be
selected and switched back to two page when desired. If the 2
displayed program does not appear the way you want to, press the
Settings button to return to the setup to make corrections. Once
3
the program preview looks the way you want it to look, press the
Print button.
D
Print button
Page buttons 5
6
7
8
Settings will
return to the
Print Preview
9
Setup
0
1
2
3
4
A
B
C
D
Print Troubleshooting
1 Parts of Program not Printed
If the program looks good in Print Preview but some parts do not
2 appear on the program printout, there may be a problem with the
color setup. When generating the data sent to the printer,
3 DirectSOFT 6 will attempt to make the program printout look as
D close to the on-screen version as possible, including the colors. If a
color printer is being used, there probably isn’t enough contrast
5 between the background and whatever is being printed. If the printer
is black and white, the same lack of contrast could be the problem
because DirectSOFT 6 will try to generate grayscale colors to
6 match the display colors.
7 One way to solve this problem is to tell DirectSOFT 6 to use
monochrome (black and white) for display. If the View toolbar is
8 displayed, press the Color button, otherwise, go to View > Color
Setup and click on the Monochrome button, then press OK. After
9 printing is complete, you can return to the Color Setup dialog to
restore the original setting.
1 Program Prints “Garbage”
11 As a general rule, if the Ladder View looks correct in Print Preview
but the program printout shows “garbage”, the first thing to suspect
2 is the printer driver being used. Look on the printer manufacturer’s
website for the latest driver for the printer, then download it and
13 install it on the computer. Once this is done, print one page of the
program in Print Preview to be sure that the problem has been
4 corrected.
DirectSOFT 6 Crashes
A If DirectSOFT 6 crashes whenever Print or Print Preview is
B selected, there may be a corrupted printer setting file in DirectSOFT
6. Each project has a printer settings file that is generated whenever
C a new project is created. It will reside in the project folder, and will
have an extension of .prt.
D To correct this, close DirectSOFT 6 and delete this file by using
Windows Explorer. Reopen DirectSOFT 6 and try the print operation
again.
NOTE: The COMM ports shown in the window below are those which
DirectSOFT 6 will attempt to use. Simply because a COMM port is shown
in the list does not mean the port actually exists on the PC. Open
Windows Control Panel and verify that a port exists in Device Manager. 1
2
3
D
5
6
7
8
9
NOTE: The comm port on your PC may have to be enabled (example,
COM5). See Appendix B, DS600.ini File 0
2. The next window will show a list of PLC Families. Select the PLC
family by clicking on the appropriate choice. If you are unsure of the
1
PLC family but know which communications protocol to use, select
“Not Sure”. If you are using a DirectLOGIC compatible PLC, the Link 2
Wizard will try and detect the PLC type automatically. Click Next when
you are finished. 3
4
A
B
C
D
3. Now, to choose the protocol and node address. In this step, you will see
a choice of either DirectNET or K-Sequence. Assuming you have
1 selected the DirectLOGIC PLC family (not the DL305), the default, K-
Sequence, will be highlighted. The K-Sequence protocol allows you to
perform write operations to individual discrete I/O points and control
2 relays. DirectNET protocol cannot write to individual bit locations. (See
Appendix A for a list of protocols available for DirectLOGIC and
3 compatible PLCs).
If your PLC has been configured with a node address other than 1, enter
D that address now. Click Next when finished.
5
6
7
8
9
1
11
2
4. The Link Wizard will attempt to establish a communication link with the
13 PLC using the node address and protocol you have selected. It will try
the combination of 9600 Baud, and Odd Parity. If this combination is
4 unsuccessful, an ‘auto-baud’ sequence will be used to try and determine
the correct baud rate and parity combination. If these attempts are
A unsuccessful, the dialogs shown at the top of the facing page will be
displayed. You can click on the Link Editor button, and manually
B attempt to adjust the port configuration. See Appendix B for further help.
C
D
1
2
3
D
5
6
7
5. If the Link Wizard is successful in communicating with the PLC, the
following window will prompt you to enter a unique link name, and a
8
description of the link if desired. The description field allows 32
characters. Enter the name for the link and description then click
9
Finish to return to the DSLaunch window.
0
1
2
3
4
A
B
C
D
Link Status
After creating a link, the name of the link will be displayed in the
1 menu tree under the Comm Links folder icon. When you click on
the link all of the configuration information will be displayed in the
2 DSLaunch window. The status field is color-coded to help easily
identify the link status.
3 Green Ҁ link is enabled (it is active and you can use it).
D Yellow Ҁ a link becomes inactive while that specific link is being edited
using the Link Editor.
5 Red Ҁ communication error, i.e., the link has been broken or the PLC has
lost power. DirectSOFT 6 will automatically attempt to re-establish
6 the link.
7
8
9
1
11
2
13
4
A
B
C
D
2
13
4
A
B
C
D NOTE: If the dialog is blank, use the drop down list to select the specific
Network Adapter (NIC) that the PLC is connected to. If the list is still blank
after selecting the specific Network Adapter, then you will need to use
NetEdit 3 to set up the ECOM module.
If the ECOM module has been setup using NetEdit 3, the Link
Wizard dialog will display the information as shown in the sections
named Module List and Address Mode.
The Module List will display the Ethernet modules that are found 1
on the network, sorted by their Ethernet address. The Ethernet
addresses displayed are unique 12 digit addresses assigned to 2
the Ethernet module at the factory. The ECOM module will have a
label with the assigned address printed on it. When a device 3
address is selected in the Module List, the current configuration for
the selected device is displayed in all fields of the dialog.
D
The Address Mode section displays the module information that
was setup using NetEdit 3. There are three module identifiers
5
shown: Module Id, Name, IP address and Ethernet address. Any
one of these identifiers can be chosen so the DirectSOFT 6 can
6
locate the Ethernet module on the network. 7
NOTE: It is important to have a unique identifier for the Address Mode on
the network. 8
If for some reason you want to change the module’s configuration, 9
press the Setup button to make the adjustments. The following
dialog will appear. 0
1
2
3
4
A
B
C
The configuration for the module selected in the Devices field will D
appear. The fields that are not grayed out can be changed. Be
cautious not to duplicate any of the information when making
changes.
4
A
B
C
D
6. The successfully created link will be listed with all other links in the
DSLaunch menu tree in the Comm Links folder.
1
2
3
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
9 Modem Setup
1 The first series of examples were performed in Windows 2000 and
will illustrate how to configure a modem connected to your PC. The
11 examples may differ depending on the Windows operating system
being used.
2 1. Install the modem if not already installed. Refer to the modem’s
documentation for installation information. If the modem is to be used
13 for other devices, it will need to be installed a second time.
2.Once the modem has been successfully installed, the properties will
4 need to be edited. In the Windows Start field, select Settings > Control
Panel.
A
B
C
D
3. Select Phone and Modem Options. A dialog with all available modems
installed will appear.
4. Choose the Modems tab, then click on Properties at the bottom. 1
2
3
D
5
6
7
8
9
0
5. Choose 9600 as the Maximum Port Speed. 1
2
3
4
A
B
C
D
1
2
3
D
5
6
7
8
9
1 7. Make Port speed 9600 and choose None for Flow Control.
11
2
13
4
A
B
C
D
8. Click on the Advanced tab and choose 8 Data bits., None for Parity
and 1 Stop bits.
1
2
3
D
5
6
7
8
9
9. Click OK until all dialogs are closed. This will setup your Windows
driver so DirectSOFT 6 can use the Windows TAPI control when 0
accessing the modem.
1
2
3
4
A
B
C
D
5
6
7
8
9
1
11
Right click to
2 select Add Link.
13
4 2. Select Modem as the device, then click the Next button.
A
B
C
D
3. The Configure Link dialog should now be in view. First, choose the
PLC family and CPU type. Click once on the appropriate PLC Family
and a list of available CPUs for that family will appear in the PLC Type
window for your selection. Also, give the link a name and description.
1
2
3
D
5
6
7
8
9
4. Click the Port tab on the dialog to display the port configuration dialog.
This dialog is used to setup the port to match the modem’s 0
configuration. Follow the steps below:
a. Select Modem in the Devices column. 1
b. Select the modem type that was configured in the Windows modem
setup. The can be verified or modified by clicking on the Properties
2
button or a new modem can be setup by clicking on the Add button.
c. Enter the dialing information for the modem.
3
4
A
B
C
D
7. After the link has been successfully setup, the newly configured Modem
link will be listed on the DSLaunch tree under Comm Links in the
DSLaunch window. The DSLaunch window will display all the
information for the link whenever the link is selected.
1
2
3
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
Clicking on Edit Link... will open the Configure Link dialog which
was used whenever the link was setup. Click on the link to be
edited, make the necessary changes then press the Accept 1
button.
2
3
D
5
6
7
8
9
There may be a time when it becomes necessary to delete a
Comm Link. To delete a link, click Delete Link... and the Delete 0
Link dialog will open, like the one below, showing the link name
and description to verify that the link is not used any longer. To 1
delete the link, click on Delete!.
2
3
4
A
B
C
D
Going Online
1 Once the program has been edited and the communications link
has been setup, it is time to go online with the PLC and load the
2 program.
Connect the PLC
3 With the Ladder View displayed in the Programming window, either
D press the Connect button on the PLC toolbar (if it is displayed) or
use PLC > Connect from the Menu bar. Select the communications
5 link from the Select Link dialog, then select Use Disk from the
Online/Offline Differences dialog (refer to pages 2-22 to 2-24).
6 This will load the program into the PLC. The PLC will be in the
Program Mode after DirectSOFT 6 completes the download. Press
7 the PLC Mode button on the Online toolbar and click on Run in the
PLC Modes dialog to place the PLC online.
8 To disconnect from the PLC, simply press the Disconnect button on
the PLC toolbar or use PLC > Disconnect from the Menu bar.
9 Select Yes when asked Are you sure?, then you will be free to
shut down.
1 Use the Project Folder
11 Once a project has been saved to disk, the project name will appear
on the menu tree in the Project Folder. To open the project,
2 double-click on its name. When the programming window is
displayed, you can go online following the process just discussed.
13 Use the Link
4 You can also connect to the PLC by using the communications link.
Make sure that a cable is connected to the PLC, then select the link
A name from the menu tree and double-click on it. If there is a
program in the PLC, it will be displayed in the Programming window
B when it appears. Notice that the name of the program is UNTITLED
[Ladder View]. The PLC does not store the program name or other
C documentation in its memory. All of the program documentation is
stored on disk in the PC.
D
8 • Data View is also conveniently docked by default, and can be set to auto-
hide by clicking on the push-pin. Multiple Data Views can be tabbed
9 together as one dockable or floating window.
• Use Data View to monitor the program all views (ladder, stage,
10 mnemonic) on the same screen.
• The Data View window can be saved by name.
11 • Data View windows are independent of projects, and can be used for
multiple projects.
2 Open a New Data View Window
13 A new Data View window can be opened in any one of three ways;
the menu bar Debug > Data View > New, the keyboard shortcut
4 Ctrl + Shift + F3 or the Data button on the Online toolbar.
1
2
3
D
5
6
7
A Closer Look 8
Data Format Format Size Clear Edits
Write All 9
Edits to PLC
10
Select 1
Edits
Mode Edits Column 2
Write
Current Edit
3
to PLC
4
A
B
A closer look at Data View will show the basic components.
• Select Edits Mode Ҁ enables/disables the Edits column. When
C
the column is enabled, Edits can be written to the PLC. The Edits
column is not available when disabled.
D
• Data Format Ҁ change the format (bit, binary, Octal, decimal, etc.)
displayed in the Status column for a selected row.
• Format Size Ҁ choose the selected Data Format displayed in the
Status column(1, 16, 32, WORD, etc.).
• Clear Edits Ҁ this will clear all data entries from the Edits column.
• Write Current Edit to PLC Ҁ the data value for one element can
be entered in the Edits column and written to the PLC with this
1 button.
• Write All Edits to PLC Ҁ multiple data values can be entered in
2 the Edits column and written to the PLC.
D
5
6
7
8
9
10
11
The Data View window can be customized for a particular user or
2 users. To customize Data View, click on the Data View window, then
use View > Options on the menu bar, press the Options button on
13 the Offline toolbar or right-click in the Data View and choose
Options. The Options dialog will open with the Data View tab in view
4 as shown above.
The dialog will open with default selections checked in the General
A Settings in the Display 1 tab. More settings are continued in the
Display 2 tab. Checking Col 1 shows display format may be
B beneficial at times. This will show the display format to the right of
the element in the first column. Not all requirements are the same,
C and experimenting with the General Settings will determine what
works best for you.
D
6
7
8 Indicator
selection
window.
9
10
11
2
13
4
A
B
C Indicator is
in buttons
D
B Data
Format Types
Binary (16 bits)
C
D
Clear Edits
Current Value
to PLC
Write Multiple
Values to PLC
10
1
2
3
4
A
B
C
WARNING: I/O points can be turned on by using the Override D
buttons. Caution must be taken when forcing I/O to prevent accidental
harm to personnel and equipment.
Auto-increment
Auto-increment is a feature that can be used to enter elements
1 sequentially. For instance, if a group of control relays , C10, C11,
C12 and C13 are to be monitored, enter C10 then click on it again,
2 and then hold down Ctrl + Enter and control relays will be entered
until the Enter key is released. If there is an element that has been
3 entered previously in Data View, click on the element nickname or
reference, then use the Ctrl + Enter keys as mentioned above. The
D elements will be entered in sequence below the starting point and
any elements that were below the start point will be pushed down
5 below that point.
6
7
8 Click on an
element, then
9 press Ctrl + Enter
to make sequential
entries.
10
11
2
13 Editing Entries
4 Editing the entries can only be accomplished by using the standard
keyboard shortcuts. Click on the element to be edited, then use
A either Ctrl + C or Ctrl + X to copy or cut the element. Ctrl + V is
used to paste the element.
B WARNING: Because Data View follows the conventions of spreadsheet
pasting, be aware that the pasting operation will overwrite any field
C that has been selected prior to the paste. Consequently, it is preferred
to paste the data into an empty field.
D Elements can be deleted from a Data View at any time. Select the
item by clicking on it, then either use the Delete key, Edit > Delete,
the Delete button on the Edit toolbar or right-clicking on the element
then select Delete in the pop-up menu. The deleted elements are
not placed on the clipboard, therefore lost.
7
8
9
10
11
2 To set the Pause Bit for an output, click on the respective pause
button (letter P). Click on the blank button to turn the pause feature
13 Off. When in the Off mode, the Pause Bit is not set and the output
will turn off on the transition to Test Program. The letter ‘P’ in the
4 Status column indicates the Pause Bit is set for that output.
A
B
C
D
Pause Bits set Pause Buttons
The dialog will open with either a default reference or the reference
that was double-clicked on showing in the Element window.
10
11
2
13
4
A
B Select the Locations to View
C To use the Memory Editor, first use the Find button located in the
upper right-hand corner of the editor. A dialog will appear for the
D entry of the memory address to begin the range to be viewed or
edited and press OK.
NOTE: The Memory Editor cannot be used to access bit registers (I/O as
registers or V-memory). For example, R600 is entered to access Timer 600
in a DL305 system, or V1000 to access Counter 0 actual value in a DL05
PLC.
1
Enter
memory Find
2
address for button
start of range
to view.
3
D
Entering V1000 for the memory range will display the alias CTA0. 5
The alias could have also been entered. Notice the Format area
where the default, BCD/Hex, has been automatically selected. 6
This is the proper format for the actual counter value. If the user
wishes to view it in a different format, simply click on one of the 7
formats shown to change the default. Also, the data size can be
selected in the same manner. How the data is viewed is strictly up 8
to the user. Any one of the sixteen data fields can be selected to
enter data. Once new data is entered in the data field, press the 9
Write to PLC button to update the PLC. The Memory Editor will
not update the data being viewed automatically. To view data 10
being updated, press the Read from PLC button. Press this
button each time you wish to view data being updated. 1
There may be times when a block of memory will be need to be
setup with data and saved for use during debugging. Simply enter 2
the data in each data field to be written to the PLC. After entering
the data, press the Write to Disk button to save the data. Use the 3
Read from Disk to re-enter the data in memory.
Read from Disk and Write to Disk buttons.
4
A
B
Read from PLC and Write to PLC buttons. C
Data fields
D
7
8
9
10
11
If the PLC is in the Run Mode when Test is selected, the CPU will
2 still be scanning the program and Test RUN will be displayed in the
PLC Mode Indicator at the bottom of the program display window.
13
4
Stop PLC
A Scan button
B
To use the Test Operations, open the Test Operations window by
C selecting the Test button from the Debug toolbar. The PLC must be
in the Test Program Mode. The PLC can be placed in the Test
D Program Mode from the above window by clicking on the Stop PLC
Scan button which will be the only button highlighted in the window
when in Test Run. The Test Program Mode can also be entered
from the Program Mode by opening the PLC Modes window and
selecting Test.
Breakpoint
6 Start PLC Scan
7
8 Single Step
10
11
2
13
4
A
B
C
D
Trap Monitor
Access the Trap Monitor 1
The DL06, DL250-1, DL260 and DL450 uses an additional
diagnostic tool called a Trap Monitor. The Trap Monitor is used to
2
trap (capture) element data at a specific address rather than after
a scan. The Trap Monitor can be a useful tool if you wish to look at
3
some ladder logic in the Test Run mode. An example might be to
check a math routine to see if it is working properly.
D
To use the Trap Monitor, either press the Trap button located on 5
the Debug toolbar, if it is displayed, or use Debug > Trap Monitor
on the Menu bar. The Trap Monitor can only by used in the Test 6
Run Mode. If the PLC is not in Test Run, a message will appear to
ask you if it is safe to switch the PLC to Test Run mode. Select the 7
“Switch to....” button. Another dialog will appear and ask if you are
sure it’s okay to switch to Test Run. Once the PLC is placed in 8
Test Run, the dialog shown below will appear. A definition of the
basic components will be helpful before using the Trap Monitor. 9
This is the address
of the trapped 10
element (not the
Enable trap push-
pins shown in
rung number). 1
The element
disabled position.
trapped at the 2
above address.
3
This area is read
only and will display
the data for the
Press this button
to change the
4
trapped element. format of the
Element Value to A
be read.
B
C
The Trap Monitor can be used as shown above by entering the
element address and the element reference to read the data in the D
read only area of the dialog. The address can be left alone while the
element reference is being changed if it is necessary to read the
Element Value at that address. Or, the Address can be incremented
or decremented leaving the Element Value alone to check the data
at different addresses.
Another way to use the Trap Monitor is to enable the two Trap push-
pins. When the pins are enabled, the Address can be incremented
1 or decremented while observing the Element located at the new
Address. The read-only data will also change.
2
3
D
5
6
7
8
9
If you want to “step” through a program area to check the data in
10 V-memory locations, just leave the Trap Monitor dialog as shown
above, then place the ladder program cursor over the element (box)
11 with the memory reference in it. You can then read the data in the
read only area.
2
13
4
A
B
C
D
7
8
9
10
11
2
13
4
A
B
C
D
Trend View
As mentioned in Chapter 7, Trend View is used to visually monitor 1
the values of DL controller data elements over time. The Trend
View can monitor any readable numeric location or any readable 2
bit location or any constant value.
The Trend View logs the values of the controller elements on each 3
pane of the Trend. Those values are displayed on a moving graph.
The Trend View also provides a historical mode which lets the D
programmer view all of the data that is currently stored for each of
the data points on the display. The logged data values can also be 5
exported to a CSV file for importing into a third-party application
for further research. 6
A new (empty) Trend View can be created by selecting Debug >
Trend View > New from the Menu, or clicking the Trend button on 7
the Online toolbar. Enter the number of Panes in the Number of
Panes field or use the Up or Down arrow to set the value. Click
8
the OK button to accept or the Cancel button to abort.
9
NOTE: Refer to the DirectSOFT 6 help file for more information on
configuration options and features of Trend View. 10
Using the Trend View 1
Once a Trend View has been created and its display options have
been configured, the Trend will begin collecting data for each of
2
the controller elements on each of the panes and displaying the
data in graphical form as seen below.
3
4
A
B
C
D
2 Left-clicking the mouse will take a snapshot of all the values on all
13 the Panes on the Trend at the time where the crosshair was located,
then present the data on a snapshot dialog.
4
A
B
C
D
Clicking the Copy Contents to Clipboard button will copy the data
displayed on the snapshot dialog to the Windows clipboard, which
can then be pasted into any other Windows application for further
processing.
1
2
3
D
5
Looking at the above Trend View, notice the following menu
options at the top of the View.
6
Trend View Options - opens the Trend View Options dialog to specify the
controller elements that will be included in the Trend and to choose how
7
those elements will be displayed on the Trend. When this button is
clicked, the last pane that had focus will be selected (highlighted) when
8
the Trend View Options menu comes up.
Toggle Historical Mode - stops the real-time (live) update of the trend
9
displays and adds a scroll bar to the bottom of the trend panel that
allows the user to scroll backwards in time through all of the data that is
10
currently stored for each of the data points on the displays. The data
gathering for each data point on the trend displays will continue while the 1
Trend View is in historical mode. When the Trend View is in historical
mode the tab name will have the word [HISTORICAL] added to it. 2
Clicking the button again will re-enable the real-time (live) update of the
trend displays and the trend graphs will be updated with all of the data 3
that was gathered while the displays were in historical mode.
Export Range - is used to export the values that are currently stored for
4
each data point on the trend. All of the accumulated data points or only
the data points between two user-selected time stamps can be exported. A
Synchronize with Other Trend Views - is used to synchronize the time
frame and the starting time stamp of multiple Trend Views so that all
B
synchronized views will display the same start time and the same
amount of time. C
Click the Sync button to display a list of the available Trend Views.
Select the Views from the list that are to be synchronized with the current D
view then click the Synchronize button.
Begin Recording - click this button to begin the recording session. The
button face will change from a red circle to a black square with Stop as its
new name and the word [RECORDING] will be displayed in the dialog's
tab. Clicking this button again will stop the recording and a Save As dialog
will prompt for the filename in which to save the recorded data.
2 • Clicking on the Time Scale icon at the desired location then use the
arrow keys or the mouse scroll wheel to decrease or increase the value
13 • Clicking and holding the slider and dragging left to decrease and right to
increase the value
4
A
B
C
D
Notes:
1
2
3
D
5
6
7
8
9
10
11
2
13
4
A
B
C
D
8 DL06 D2-DSCBL
RS-485
RS-232 RJ11 6P6C
RS-232
9 D0-DCM
D2-DSCBL-1 RS-422 HD15
RS-485
1 H0-ECOM(100)
Port 1 D2-DSCBL
10/100 BASET
RS-232
RJ45 CAT 5E
RJ11 6P6C
11 D2-230
D2-DCM D3-DSCBL-2
RS-232
RS-422
DB-25
2 Port 1
Port 2
D2-DSCBL
D2-DSCBL
RS-232
RS-232
RJ11 6P6C
RJ11 6P6C
D2-240 RS-232
13 D2-DCM
H2-ECOM(100)
D3-DSCBL-2
RS-422
10/100 BASET
DB-25
RJ45 CAT 5E
4 Port 1 D2-DSCBL RS-232
RS-232
RJ11 6P6C
A D2-250(-1)
D2-260
Port 2 D2-DSCBL-1 RS-422
RS-485
HD15
RS-232
B D2-DCM D3-DSCBL-2
RS-422
DB-25
H2-ECOM(100) 10/100 BASET RJ45 CAT 5E
C D3-330 D3-232-DCU D3-DSCBL-2 RS-232 DB-25
Port 1 D3-DSCBL-1 RS-232 RJ14 4P4C
D3-340
D Port 2
Port 1
D3-DSCBL-1
D2-DSCBL
RS-232
RS-232
RJ14 4P4C
RJ11 6P6C
RS-232
Port 2 D3-DSCBL-2 RS-422
D3-350
RS-485 DB-25
RS-232
D3-DCM D3-DSCBL-2
RS-422
D DL05
D0-DCM
•
•
•
•
•
•
•
5 H0-ECOM(100) • H0-ECOM100
Port 1 • • •
6 Port 2
•
•
•
•
•
•
7 DL06 • •
•
•
• • •
8 D0-DCM
• • •
•
9 H0-ECOM(100) • H0-ECOM100
Port 1 • • •
1 D2-230
D2-DCM
•
•
•
•
slave only
11 Port 1
Port 2
•
•
•
•
•
•
D2-240 • •
2 D2-DCM
• •
slave only
H2-ECOM(100) • H2-ECOM100
13 Port 1 • • •
• • •
4 D2-250(-1)
Port 2 • • •
•
D2-260
A D2-DCM
•
•
•
•
slave only
H2-ECOM(100) • • H2-ECOM100
B D3-330 D3-232-DCU •
Port 1 •
C D3-340
Port 2 •
Port 1 • • •
D Port 2
•
•
•
•
•
•
D3-350
• • •
• •
D3-DCM slave only
• •
2
3
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
Communications Resources
If you are using an ECOM and have Windows XP on your PC with a
A firewall (particularly with SP2), then you must do one of the
B following:
1. Turn the firewall OFF
3 2. Create an exception for CSMAIN.EXE application (located in the BIN
folder under your DirectSOFT folder)
D 3. Create an exception for port #0x7070 (28784) for both TCP and UDP
protocols, which is the port number that all of our Ethernet devices use
5 for communication.
You can control which communications resources on your PC you
6 want to let DirectSOFT use by altering the DirectSOFT initialization
file (DS600.INI):
7 Startup
8 Using the resources enabled in the .INI file, DirectSOFT's
CommServer tries to find PLCs on startup. If it finds any, it creates
9 DirectSOFT links to them. If it finds none, it opens without creating
links. While using the communication resources on your PC during
1 startup, one of the following events/messages will occur:
• DirectSOFT comes up normally.
11 • "Error connecting to PLC!" or "No response from PLC!"
2 This means DirectSOFT found the resource on your PC OK, but it had
trouble connecting to the PLC.
13 - Check cabling or other physical devices outside of the PC.
- If you are using a DL105, they tend to be a bit more sensitive to
4 marginal cables and electrical noise. Try a new cable, especially if
you can use the same setup successfully when talking to other DL
A PLCs (e.g. DL205).
- On a DL305 system make sure the power supply is capable of
B supplying enough power for the DCU. If the PLC base is old, then
you may need to replace it in order to get communications to work
C or try external power for the DCM.
- Microsoft ActiveSync could be using the COM port.
D • "Error: cannot access comm port. The port may not be present or
another app may be using it"
This means DirectSOFT can't gain access to the COM port because
something else is using it.
- Check to see if anything else is using COM port, (Start --> Control
Panel --> Administrative Tools --> Services) for example:
i) RSLogix
ii) PDA Software (Palm Pilot, Pocket PC, etc.)
iii) GPS Software A
iv) Digital Camera Software
v) IR (infrared) Drivers
B
vi) Microsoft ActiveSync 3
vii) Palm OS HotSync
viii) Harmony Services
D
- Sometimes if upgrading operating systems (e.g. Windows 2K to
Windows XP) the COM ports can become dysfunctional. You
5
may have to disable all COM ports in the BIOS and then
reinstall the upgrade and re-enable the ports in the BIOS. 6
- If using a USB-to-Serial converter or a USB Port Replicator, its
driver may not act like a regular COM port. (DirectSOFT
7
"thinks" it is talking to a regular COM port). If this is the case
there is no immediate fix. Host Engineering periodically updates 8
DirectSOFT attempting to compensate for these kinds of driver
problems. 9
- If using a USB-to-Serial converter, sometimes it is very
important that you load the driver first, before connecting the 0
device itself. In fact, in some cases if this is done in the wrong
order it takes special steps to fix the problem. See the website 1
of the manufacturer of your converter for details.
- Try disabling all resources in the .INI file. 2
• "Transport protocol error"
This means you are using Ethernet as a link and it timed out. This is
3
commonly due to one or more of the following issues:
- Bad cabling; check all cables to make sure they are OK (e.g.
4
Are they susceptible to noise due to bad shielding, etc?). A
- Using wrong cable (crossover instead of straight-through or vice
versa). Make sure that the Link light is ON; this means that the
cable electrical connection is good.
B
- The cable is running through a very electrically noisy C
environment.
- ECOM not seated properly. It should be flush with other cards or D
filler caps.
- If your PC has two or more NICs (Network Interface Cards),try
one of these options:
- Use the Pic a Nic feature to select the network card that the
PLC is connected to.
D - If using a modem link, make sure that both the Compression and
Error Correction are turned OFF.
5 • "Knowledge base mismatch"
Message means the CPU picked for the link is not supported in the
6 installed version of DirectSOFT.
• "Error attempting to access unlocked device"
7 This is caused when trying to reconnect to a PLC after DirectSOFT
disconnected from it improperly. Solution is normally to either try again,
8 or power cycle the PLC.
- To prevent this from happening in the future, either:
9 - Use the PLC -->Disconnect from DirectSOFT before unplugging
1 the cable to the PLC.
- Close DirectSOFT before unplugging the cable to the PLC
11 • Goes offline by itself after using the link.
We have found the only remedy for this strange behavior is to uninstall
2 DirectSOFT and then reinstall it.
• Get a PLC password prompt; but the PLC doesn't have a password.
13 This is caused by data errors in the communication. The problem is
electrical noise either due to an excessively noisy environment, or a bad
4 cable (e.g. shielding going bad).
9
1 Editing the DSxxx.ini file
PICK THE GROUP OF INSTRUCTIONS BELOW THAT BEST
11 APPLIES TO YOUR PC.
If you have Windows Vista, skip to the heading Windows Vista
2 below. If not, read the information under the heading “Windows XP
and Windows 7/8.”
13
4 Windows XP and Windows 7/8
• If you have DirectSOFT v3, then the .INI file must be searched for
A and manually edited. The easiest way to do this is:
(1) Close DirectSOFT and DSLaunch.
B (2) Use the Windows Start button: Start -->Run…
C (3) Type in ds300.ini and press OK. This will open the file in
NotePad text editor.
D (4) Make the edits; save the file and exit.
(5) Restart DSLaunch (or DirectSOFT).
• If you have DirectSOFT v4, v5 or v6, then the easiest way to edit
this file is:
(1) Close DirectSOFT.
(2) Start DSLaunch.
7 UDPPortNum
Enable2
[devether.dll] UDPPortNum
Enable=x
x = 0 (to disable)
1 (to enable)
UDPPortNumEnable
=1
PROJECT PROJECT PROJECT
8 PATH [PATHS] PATH=x x = <folder path> PATH=c:\MyProjects
x = 0 (to turn off)
9 LadderPalette3 [SETUP] LadderPalette=x
1 (to turn on)
x = 0 (use small buttons)
LadderPalette=1
INDEX
A Entries 10-8
Options 10-4
Auto-increment 10-12 Documentation Editor 6-4
AutoSense=0 B-12 Docked View 7-19
DSxxx.ini B-10
B DSLaunch window 3-2
Bookmark 7-18 Dump B-10
C E
Cable Diagrams A-6 ECOM 9-7
Colors in DirectSOFT 6 4-24 element references 10-8
Communication Link 2-24 End Coil 5-17
Link Wizard 2-24 End Rung 2-21
Protocol and Node Address 2-25, 9-4 Error Log 9-22
Select Link 2-24 Ethernet link 9-7
Compare Programs 2-27 Exporting 6-14
Connecting Lines 5-19 Element Documentation 6-16
Copy or Save Existing Files 3-7 Program Documentation 6-14
Current Value 10-17 Rung Comments 6-18
D F
Data Types 5-4 Floating View 7-19
Aliases 5-5
Data View 10-2 I
Documentation 10-7 I/O Configuration 5-2
Editing Entries 10-12 Importing 6-14
A Program 6-19 P
Element Documentation 6-22
Program Comments 6-24 Pause Bits 10-14
Importing Projects 3-5 PID View 7-12
Input Element 2-19 PLC Modes 2-28
Insert Instructions 6-24 Power Flow 5-14
Install Software 2-3 Primary Views 7-2
Installing an Upgrade 2-4 Product Key Code 2-4
Instruction Browser 5-8 Protocol and Node Address 2-25, 9-4
Instruction Editor 5-6
R
L Rung comments 6-9
Ladder Palette 4-28, 5-8 Rungs 5-21
Link Status 9-6 Copying 5-23
Link Wizard 2-24, 9-2 Cut and Paste 5-25
Deleting 5-22
M Merge 5-26
Selecting 5-21
Menu Bar 5-10
Modem Setup 9-14 S
N Saving the Program 2-22
Software License Agreement 2-5
New Project 3-4
Split Screen 4-30
New Window 4-31
Stage comments 6-12
Nicknames 6-6
Start a New Project 2-14, 3-4
Assign 6-6
Ladder Palette 4-28, 5-8
Element 6-6
Tip of the day 2-15
O Startup Issues B-2
Status Bar Components 4-19
Options Dialog 4-21, 6-2 Supported Cables A-2
Documentaion 6-3
Supported Protocols A-4
Documentation Editor 6-4
System Requirements 2-2
Global Options 4-23
Ladder Options 4-22 T
Output Element 2-20
Output Window 7-16 Themes 4-10, 4-27
Override Bits 10-15 Toolbar Components 4-2
U
Usage Mode 7-10
USB-to-Serial Devices B-9
X
XRef Query 7-8
XRef Toolbar 7-9