Pcdsoft 6 M
Pcdsoft 6 M
User Manual
PC-DSOFT6-M
~ WARNING ~
Thank you for purchasing automation equipment from Automationdirect.com®, doing business as,
AutomationDirect. 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 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 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 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 retains the exclusive rights to all
information included in this document.
~ ADVERTENCIA ~
Gracias por comprar equipo de automatización de Automationdirect.com®. Deseamos que su nuevo
equipo de automatización opere de manera segura. Cualquier persona que instale o use este equipo debe leer
esta publicación (y cualquier otra publicación pertinente) antes de instalar u operar el equipo.
Para reducir al mínimo el riesgo debido a problemas de seguridad, debe seguir todos los códigos de seguridad
locales o nacionales aplicables que regulan la instalación y operación de su equipo. Estos códigos varian de
área en área y usualmente cambian con el tiempo. Es su responsabilidad determinar cuales códigos deben
ser seguidos y verificar que el equipo, instalación y operación estén en cumplimiento con la revisión mas
reciente de estos códigos.
Como mínimo, debe seguir las secciones aplicables del Código Nacional de Incendio, Código Nacional
Eléctrico, y los códigos de (NEMA) la Asociación Nacional de Fabricantes Eléctricos de USA. Puede haber
oficinas de normas locales o del gobierno que pueden ayudar a determinar cuales códigos y normas son
necesarios para una instalación y operación segura.
Si no se siguen todos los códigos y normas aplicables, puede resultar en daños al equipo o lesiones serias a
personas. No garantizamos los productos descritos en esta publicación para ser adecuados para su aplicación
en particular, ni asumimos ninguna responsabilidad por el diseño de su producto, la instalación u operación.
Nuestros productos no son tolerantes a fallas y no han sido diseñados, fabricados o intencionados para uso
o reventa como equipo de control en línea en ambientes peligrosos que requieren una ejecución sin fallas,
tales como operación en instalaciones nucleares, sistemas de navegación aérea, o de comunicación, control
de tráfico aéreo, máquinas de soporte de vida o sistemas de armamentos en las cuales la falla del producto
puede resultar directamente en muerte, heridas personales, o daños físicos o ambientales severos (“Actividades
de Alto Riesgo”). Automationdirect.com específicamente rechaza cualquier garantía ya sea expresada o
implicada para actividades de alto riesgo.
Para información adicional acerca de garantía e información de seguridad, vea la sección de Términos y
Condiciones de nuestro catálogo. Si tiene alguna pregunta sobre instalación u operación de este equipo, o si
necesita información adicional, por favor llámenos al número 770-844-4200 en Estados Unidos.
Esta publicación está basada en la información disponible al momento de impresión. En Automationdirect.
com nos esforzamos constantemente para mejorar nuestros productos y servicios, así que nos reservamos el
derecho de hacer cambios al producto y/o a las publicaciones en cualquier momento sin notificación y sin
ninguna obligación. Esta publicación también puede discutir características que no estén disponibles en
ciertas revisiones del producto.
Marcas Registradas
Esta publicación puede contener referencias a productos producidos y/u ofrecidos por otras
compañías. Los nombres de las compañías y productos pueden tener marcas registradas y son
propiedad única de sus respectivos dueños. Automationdirect.com, renuncia cualquier interés
propietario en las marcas y nombres de otros.
PROPIEDAD LITERARIA 2014, AUTOMATIONDIRECT.COM® INCORPORATED
Todos los derechos reservados
No se permite copiar, reproducir, o transmitir de ninguna forma ninguna parte de este manual sin
previo consentimiento por escrito de Automationdirect.com® Incorprated. Automationdirect.
com retiene los derechos exclusivos a toda la información incluida en este documento. Los
usuarios de este equipo pueden copiar este documento solamente para instalar, configurar y
mantener el equipo correspondiente. También las instituciones de enseñanza pueden usar este
manual para propósitos educativos.
~ AVERTISSEMENT ~
Nous vous remercions d’avoir acheté l’équipement d’automatisation de Automationdirect.com®,
en faisant des affaires comme, AutomationDirect. 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 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, 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 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 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
2nd Edition 9/17 Added D4-454 and minor changes
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
iv
iv DirectSOFT 6 User Manual, 2nd Edition
Table of Contents
D
Chapter 7: Other Views
5
Tabbed Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
6 The Primary Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
vi
vi DirectSOFT 6 User Manual, 2nd Edition
Table of Contents
Chapter 8: Printing
Print the Current View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 1
Print the Ladder View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Other Print Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
2
Print Multiple Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5 3
Print View Common Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7 D
Using Print Preview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Print Preview Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
5
Print Preview .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9 6
Print Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
Parts of Program not Printed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
7
Program Prints “Garbage”. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10 8
DirectSOFT 6 Crashes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
Print Setup Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11
9
0
Chapter 9: S
etup & Manage Communication 1
Links
2
Establish the Communication Link . . . . . . . . . . . . . . . . . . . . 9-2
3
Setup a Serial Link. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Link Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 4
Setup an Ethernet Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 A
NetEdit3 Troubleshooting Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12
viii
viii DirectSOFT 6 User Manual, 2nd Edition
Table of Contents
Access the Trap Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-25
Use with Data View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-27
Notes:
1
2
3
D
5
6
7
8
9
1
4
A
B
C
D
Introduction
The Purpose of this Manual
1 This manual describes how to use the DirectSOFT 6 software
2 for programming and monitoring any of the DirectLogic and
compatible CPUs. This manual will not teach you how to
3 develop a relay ladder logic (RLL) program or attempt to
familiarize you with the instruction sets of the CPUs. Please
D refer to the applicable PLC user manual for the RLL instructions.
The Quick Start chapter will show the first time user how to get
5 started using DirectSOFT 6. 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
1
1
2 DL05 CPUs
Two built-in ports
DL06 CPUs
Two built-in ports
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/D4-454; max. baud = 38.4 K
1-2
1-2 DirectSOFT 6 User Manual, 2nd Edition
Chapter 1: Introduction
Supplemental Manuals
Depending on the products you have purchased, there may be
1 other manuals that are necessary to use for your application.
User Manuals
2 • DL05 User Manual s D0-USER-M
9 Technical Support
We realize that even though we strive to do our best, we may
1 have arranged our information in such a way that you cannot find
what you are looking for. First, check these resources for help in
1 locating the information:
3 • Appendices – reference material for key topics, near the end of this
manual
4 • Index – r eference for key items
You can also check our online resources for the latest product
A support information:
• Internet – the address of our website is:
B http://www.automationdirect.com
1-4
1-4 DirectSOFT 6 User Manual, 2nd Edition
Chapter 1: Introduction
Conventions Used
When the “notepad” symbol is shown in the left-hand margin, the
paragraph to its immediate right will be a special note. The word NOTE:
1
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. D
This information could prevent injury, loss of property, or even
death (in extreme cases). 5
The word WARNING: in boldface will mark the beginning of the
text. 6
7
Whenever the “lightbulb” is shown in the left-hand margin, the
paragraph to its immediate right will provide a special tip. The word 8
TIP: in boldface will mark the beginning of the text.
9
0
Menu Selections and Keystrokes
When the software requires you to use a particular keystroke or 1
menu selection, the written instructions will be in boldface type.
Combination keystrokes will be separated with a plus (+) sign. For 2
example, Ctrl + C means: Hold down the Ctrl key and press the
C key. Menu selections can also be combinations and separated 3
by a greater-than sign. For example, File > Write Program > to
Disk is a menu selection combination.
4
A
Key Topics for Each Chapter
The beginning of each chapter will list the
B
key topics that can be found in that chapter.
C
D
Notes:
1
2
3
D
5
6
7
8
9
1
1
2
3
4
A
B
C
D
1-6
1-6 DirectSOFT 6 User Manual, 2nd Edition
Chapter
Quick Start
2
In This Chapter:
Getting to Know Windows. . . . . . . . . . . . . . . . . . . . . . . 2-2
Installation of DirectSOFT 6. . . . . . . . . . . . . . . . . . . . . . 2-3
Getting Started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Welcome to DirectSOFT100 . . . . . . . . . . . . . . . . . . . . 2-12
Begin Editing a Program. . . . . . . . . . . . . . . . . . . . . . . 2-14
Establish the Communication Link. . . . . . . . . . . . . . . . 2-24
Monitor the Program . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30
Quick Start
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 CD 3
drive, and select the SetupDS6 executable.
D
5
6
7
8
9
0
Step 2: Exit all
other Windows Applications
1
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- 3
Delete keys at the same time. Close any opened applications
by selecting them and clicking on the Close button of the Task 4
Manager. Click on the OK button to proceed with the installation.
A
B
C
D
8
9 Then click on
the Next button
1
1 Step 4: Installing an Upgrade
2 If you are installing the DirectSOFT 6 upgrade version, setup will
search your PC to look for a previous version of DirectSOFT. If a
3 previous DirectSOFT version is not found, you will be prompted to
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 your desktop
2 screen to open the DSLaunch window. You can also click on
Start located in the left-hand corner of the computer monitor. Now
3 select Programs, find DirectSOFT 6, then select DSLAUNCH 6
in the drop-down window. If your computer is connected to the
D Internet, the following DSLaunch window will appear with What’s
New. What’s New will have useful information for the user from the
5 AutomationDirect website.
6 DirectSOFT
on the Web
7
8
9
1
1
2
3
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
1 From this window, additional utilities, such as, NetEdit, CTRIO WB,
2 etc., can all be launched from one central location. This is also used
to create and manage PLC programs and the communications links
3 between your personal computer and the PLC.
Notice the different areas which are pointed out in the launch
4 window.
B
C
D
Welcome to DirectSOFT100
1 NOTE: If you have purchased the full version of DirectSOFT 6, go to page
D What is DirectSOFT100?
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
1 purchase the key and enter the key code in the DirectSOFT100
dialog (it may appear often) or in the Help > About dialog.
1 • You CANNOT download a program to a PLC larger than 100 words.
• You CANNOT open an offline project larger than 100 words.
2 • You CANNOT open a program in the PLC larger than 100 words.
There are no other limitations. DirectSOFT100 is able to use
3 all of the features described in this manual. Many instances of
DirectSOFT100 can be running at one time and monitor any
4 number of data points. DirectSOFT100 is basically the same,
functionally, as DirectSOFT 6 (full version) except the ladder
A program needs to remain within 100 words.
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
open as shown on page 2-14. You can now begin to edit a program
4
following from Step 1.
A
B
C
D
1
1
2 New Project window
...click on OK
4
A
B Select the CPU Type
Offline
Toolbar
1
2 Online Edit Mode
3 Toolbar Push-pin
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
9 and 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
1 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
2 can “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
3 the 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
4 tab. If 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 located
D 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.
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
1 Closed Contact
Immediate
Contact
Negative
Differential
Contact
2 Accept
Normally Open
Normally Open
Immediate
Positive
Equal to
Edit Mode Differential
Contact
3 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
1 left 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
1 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.
3
4
A
B
C
D
Enter Y0 here
2
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
2
Step 5: Enter the End Rung 3
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 4
Instruction Browser will appear as shown in the diagram below.
This time, select Program Control located in the Coil Class A
selection window. Next, select END located in the Coils selection
window. Click on OK, then Enter. B
C
D
2
3
Accept
D buttons
5
6
7
8 Step 6: Accepting and Saving the Program
9 The program now needs to be accepted in order to be downloaded
to the PLC. As noted in the above diagram, there are two Accept
1 buttons. Click on either Accept button to compile the program.
Once the rungs are accepted with no errors, the yellow bar will
1 change to green, the Accept buttons will be grayed-out and the
Cross Reference View now shows the two elements that have been
2 programmed.
Read and
3 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,
click on the Write button. It is not necessary to save the program
1
in order to download the program to the PLC, however, it is good
practice to save your work as you edit a program. A mistake may
2
be made at times and you may want to restore the program to the
state that it was before the mistake was made. If a mistake is made
3
and you want to restore the program, click on the Read button. This
will refresh the screen with the previously saved version of your
D
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 documentation, 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
1
2
3 Step 1: Select the Port
4 The following Link Wizard dialog will appear showing a list of
communication ports. Select the port you will use (commonly
A COM1) and click 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
1
2 Since the link that was just created is the only one named in the
dialog, click on Select to initiate connecting to the PLC.
3
4
A
B
C
D
1
2
3
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
1
2
3
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
Notes:
1
2
3
D
5
6
7
8
9
1
1
2
3
4
A
B
C
D
11 Utilities, such
2 as NetEdit
13
4
A Installed
Support
B
C Communication
Links to PLCs
D
Windows-type
Menu Tree
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 1
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.
4 Locate the program to be imported by selecting Look in:, then the
5
location of the program.
6
7
8
9
0
1
2
3
4
5. Select the Files of type: to choose the correct file, such as, TIsoft
A
(*.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
name should appear in File name: area.
C
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.
3 filename.esd
filename.esx
Element documentation
(nickname, wiring information, description)
Index file for the element documentation
5 filename.lcd
filename.lcx
Ladder rung comments
Index file for the ladder rung comments
filename.lda 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
9 filename.scd
filename.scx
Stage comments
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
13 File Extension
importexport doc.namename.csv
Contents
Comma Separated Variable
4 ctrioworkbenchname.cwb
ermworkbenchname.erm
Counter I/O configuration
Ethernet remote master configuration
importexportmnemonicname.txt Text file
A
B
C
D
3-8
3-8 DirectSOFT 6 User Manual, 2nd Edition
Programming Chapter
Environment
4
In This Chapter
Offline Toolbar Components . . . . . . . . . . . . . . . . . . . . . 4-2
Online Toolbar Components . . . . . . . . . . . . . . . . . . . . . 4-5
Additional Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
The Options Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
Colors in DirectSOFT 6. . . . . . . . . . . . . . . . . . . . . . . . 4-24
The Ladder Palette . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
The Split Screen Feature. . . . . . . . . . . . . . . . . . . . . . . 4-30
The New Window Feature. . . . . . . . . . . . . . . . . . . . . . 4-31
Chapter 4: Programming Environment
5 Menu bar
6 Offline
7 Online Toolbar
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
This button is used to retrieve and open a program from the disk.
2 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
4 disk (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
C overwritten with the new project. You will be prompted to save
the project before a new Ladder View will appear. An Offline
D Project includes the 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.
Edit a Program
1
This button will turn on the Edit Mode. When the ladder view is 2
in 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
Before the edited program can be downloaded to the PLC, the
4
Accept button must be pressed. Once this is done, the program
will be compiled; in other words, the program is put into a form 5
that can be downloaded to the PLC.
Cut
6
This button is available in the Edit Mode. It allows the 7
programmer to delete a marked, or selected, rung or rungs from
the program and place it on the clipboard. 8
Copy
This button allows the programmer to copy one or more marked, 9
or selected, program rungs to the clipboard (see page 5-21).
Paste
0
Whenever rungs are cut or copied, they are stored on a
clipboard. Position the cursor where you want the rungs to go,
1
then use this button to paste the rungs currently on the clipboard
to the new location.
2
Find 3
This button is used to locate an element within a program. The
element can be selected with the cursor before using the button 4
or click on the button and enter the element to be found.
Next
A
Using this button will find the next occurrence of the element B
specified when the Find button has been used.
Browse for an Element C
This button provides a quick overview of valid element ranges
and nicknames for the current content as well as a convenient
D
way to document an element.
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
3 selection window lists fourteen toolbars and a Customize option.
The three toolbars at the top of the list are checked since they
4 are the default toolbars. The rest of the toolbars are optional,
and they can be selected if desired. Note the down arrow at the
5 end of each toolbar. 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 documents
9 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
message asks if the rung is to be deleted. If multiple rungs are 1
selected (highlighted), it will delete these rungs (See Chapter 5).
Insert
2
This button will allow rows and columns to be inserted in a rung. 3
Merge the Previous Rung
This button will merge the previous rung with the current rung.
4
Merge the Next Rung
Use this button to merge the next rung with the current rung.
5
Browse Contact 6
This button will open the Instruction Browser window ready for a
contact to be selected. 7
Browse Coil
This button opens the Instruction Browser window ready for the
8
selection of a coil. 9
Browse Boxes
Use this button to open the Instruction Browser with the box 0
instructions available for selection.
The Search Toolbar
1
The Search Toolbar only contains two command buttons, Replace 2
and GoTo.
3
4
Replace
This button will activate the replace dialog so the programmer can
A
search for an object in the program, or a range of elements and
replace them.
B
GoTo C
This button activates a Goto dialog so the programmer can enter
a rung number or addresss he wishes to view. Pressing OK will D
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,
5 or 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 can
6 be setup here.
13 PLC Tools
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).
C Setup a Password
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.
The PLC Diagnostics Toolbar
1
The buttons on the Diagnostics Toolbar will only be active when
the PC is online with the PLC.
2
3
4
I/O Diagnostics
Pressing this button will perform diagnostics on the connected 5
PLC.
Observe the Scan Time
6
Press this button to open the Scan Time dialog which allows the 7
viewing of the current, minimum and maximum scan times from
the current PLC. The scan times are continuously updated while 8
the dialog is visible.
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
3
4
A
on the features of the current PLC).
Set the Pause Bits
B
Use this button to open the Pause Bit editor which allows the C
programmer to set output pause bits.
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.
4 Pressing this button will begin the process of Initializing the Scratch
Pad Memory.
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.
11 Setup Global I/O
2 This button is used to setup the global I/O for the DL405 PLC only.
Set the Time and Date
13 Press the Calendar button to set the time and date in the PLC.
4 Set up the DV-1000
If there is a DV-1000 installed with the PLC, use this to open the
A DV-1000 setup dialog (refer to the DV-1000 User Manual for setup
instructions).
B Setup the PID Loops
The PID button will allow the programmer to setup the PID loop
C parameters.
D Select Memory Cartridge or Flash
This button will allow the programmer to select the memory type
for a DL405 PLC.
Setup Intelligent I/O
Press this button to open the Intelligent I/O setup dialog to set up
intelligent modules. The list contains configuration script for all
intelligent modules in the current PLC.
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
7 This button will open a new View Window of the current Program
8 View (e.g. Ladder, Stage, Trend, Mnemonic).
Arrange Views Cascaded
9 The Cascade button will rearrange views in a cascaded fashion.
Tile Views Horizontally
1 This button will arrange the program views in a tiled, horizontal
11 fashion.
Tile Views Vertically
2 This button will arrange the program views in a tiled, vertical
fashion.
13 Arrange Icons
4 Use this button to arrange the icons for minimized windows at the
bottom of the main window. If there is an open document window
A at the bottom of the main window, then some or all of the icons
may not be visible because they will be underneath this document
B window.
Default
C Pressing this button will restore window and toolbar positions to
their factory default layout settings.
D Close All Views
This button will close all current views.
Output Window
This button will display the Output Window.
Clear Output Window
This button will clear all messages in the Output Window.
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
7 add-on toolbar. The toolbar will
not have any icon buttons in it
8 until the programmer selects the
buttons. To do this, click on the
9 Commands tab and select the
command category.
1 Once this is done, a list of icon
11 buttons will appear to the right
of the category list. Drag the
2 commands that you wish to the
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
4 the button with offline showing will allow the programmer to connect
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:
Ladder Options
Number Rungs
1 Two choices are available here, by Address and by Rung. If
2 by 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 •N
icknames - a name given to the element by the programmer or user
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
•D
efault 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
•D
isplay 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 3
of preference. The aliases can be turned ON or OFF globally. See the
PLC User Manual for a complete list of aliases for the CPU being used. 4
•D
isplay Nicknames - when this is selected, all current or future projects
opened will display the nicknames. Selecting Display Nicknames here A
will have precedence over how this option is set for the individual views
in the other options. B
•D
isplay 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
•D
efault 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
9 Click on item
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 S the normal background color (the default
is white with 3-D Token disabled)
Uncompiled Background S color for items which are modified
1
and uncompiled 2
Unsaved to Disk Background S color for items which are
modified and unsaved to disk 3
Unsaved to PLC Background S color for items which are
modified and unsaved to the PLC 4
Disabled Background S color for views which are disabled
Selected Background S used for setting the color that appears
5
when something in the program is selected. For example, if a
range of rungs is selected (to copy, delete, etc.) the selection is
6
highlighted with a color (default is blue)
Status Background S when online status is selected, this
7
background color shows that the element is enabled (default is
aqua)
8
Status Foreground S the color the individual element addresses 9
show when they are active during status
Comments S the color used for the rung comments 0
Description S the color used for the element description
Wiring Information S the color used to indicate the wiring
1
information
Nickname S the color used to indicate the nicknames
2
Element S the color used for the element address (X10, IO000, 3
etc.)
Token S the color used for the ladder program 4
Block Cursor S the color of the cursor box in Ladder View
Box Background S the color within each instruction box.
A
B
The Default Settings
If the colors become totally disorganized, click on the Defaults
C
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
1 (Yellow)
11 Compiled, but
not written to disk
(Green)
2 Compiled, but not
13 written to PLC
(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
appearance for a computer using Windows. To open the dialog
1
window either click on View > Themes or click on the Themes
button in the View toolbar button group. The default theme is
2
Office XP.
3
4
5
6
7
8
9
0
The theme selected for the window below is the Beveled look. 1
Note 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
Accept
Normally Open Positive
Contact
1
Normally Open Equal to
Immediate
Edit Mode Contact
Contact
Differential
Contact Contact 2
3
4
5
6
Not Equal to
Contact
Less Than
Contact Browse
Coils
Wire to Output 7
Equal to/or
Greater Than
Browse
Contacts
Browse
Boxes
Wrap Wire to 8
Contact Stage
Browse
Elements
9
0
The contact buttons are self-explained. Each contact button will
place the particular element on the rung wherever the edit cursor
1
is placed.
Browse Contacts S click on this button to view the Contact dialog
2
of the Instruction Browser to select a contact of your choice. 3
Browse Coils S click on this button to view the Coil dialog of the
Instruction Browser to select a coil of your choice. 4
Browse Boxes S click on this button to view the Box dialog of
the Instruction Browser to select an Instruction Box of your choice. A
Browse Elements S 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 S clicking this button will turn the horizontal wire
between the last contact to the output ON and OFF.
D
Wire to Stage S 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
Notes:
1
2
3
4
5
6
7
8
9
1
11
2
13
4
A
B
C
D
I/O Configuration
One of the first things to be done before beginning to edit a
1 program 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
2 in the I/O configuration. The DirectLOGIC PLCs have automatic
I/O configuration, and some of the CPUs offer manual I/O
3 configuration.
To access the I/O configuration with DirectSOFT 6, the PLC
D must be connected to the PC being used and online. Open the
new program and connect the PLC to the PC. You can either
5 select PLC > Configure I/O on the Menu bar or press the I/O
Configuration button on the PLC Toolbar (the toolbar must have
6 been added to 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 configuration
7
to the PLC and to the disk. The disk and PLC icon buttons located
in the right-hand corner of the dialog allows the configuration to be
8
either saved or read. 9
WARNING: The majority of DirectLOGIC PLCs only require
automatic configuration. Do not use manual configuration unless it
0
is absolutely necessary.
1
2
3
4
A
B
C
D
3 are probably familiar with the way elements are represented. The
following table provides a complete list of the various data types and
D their meanings.
DL305C
5 Type of Data DL05/DL06/DL105
(DL330/DL340 CPU) DL205/DL350/DL405
Input Points IO X
6 Output Points IO Y
Control Relays C C
7 Stages
Timers
S
T
S
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
RIO VSP
N/A PTA
A Pointers (to another V location)
Counter current Values as
N/A PCTA
Pointers (to another V location)
B Constants
Octal Constants
K
N/A O
K
C Bit of Word
Pointer to Bit of Word
N/A
N/A
B
PB
D
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
be used with the Handheld Programmers. The actual instructions contained
D
in the CPU will reflect the actual data type, not the new reference.
5
Timer/Counter Current Values
The DL05, DL06, DL105, DL205, DL350 Use Timer Accumulator
6
Reference
and DL405 CPUs use designated V-memory
locations to hold timer and counter current
7
TA0 K100
values. The current value for Timer T0 is
stored in V0. This is not always easy to
8
remember, so DirectSOFT 6 allows you to
refer to these as either V0 or TA0 (timer
OR
9
Use V-memory Location
accumulated value for Timer 0). For example,
the accumulator for Counter 3 is in CTA3
0
V0 K100
which is easier to remember than V1003.
1
.
Accessing I/O Points as Memory Locations
2
Aliases allow you to access I/O points as
V-memory (registers in a DL305C). For
Use VX reference to I/O 3
example, input points X0 - X17 in a DL405
are stored in V40400, X20 - X37 are stored
LD
VX20
4
in V40401, etc. VX0 (the alias) can be used
instead of V40400, the V-memory location for OR
A
X0. These are on 16-point boundaries, so the Use V-memory Location
next location is VX20, VX40, VX60, etc. For
B
the DL305C, you could represent I/O points
such as IO10 - IO17 with register location
LD
V40401
C
RIO10. D
For example, you may want to read in a range of discrete input
points to get a binary pattern into the CPU accumulator. The
diagram shows two ways to reference the location.
NOTE: Check the appropriate PLC user manual for a description of the
accumulator and instructions required for this type of task.
C
lick here to see the
an entry. And the magnifying glass will
4 bring up the Element Browser, which
element browser
(or press F9)
will show the valid ranges for this field.
A The small color-coded indicators in
B each field of the input box indicate
whether the entry for that field is valid
C or not. Green is valid and red is not
valid or incomplete.
D The indicator in the upper right-hand
corner of the box indicates the validity
V
alid entry indicator
for the immediate field
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
Browse
Contacts
(F4) Coils
(F5)
Boxes
(F7) D
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 example, to enter 2
a normally opened input, press F2.
After the hot key has been pressed, 3
the Instruction Editor dialog will
appear. For the browse buttons, the
4
particular Instruction Browser will
appear so the proper selection can
A
be made.
B
C
NOTE: A complete list of the hot keys is available from the Help menu.
D
5
6
7 Press the forward slash (/) key
8
open contact.
9
1 NOTE: The forward slash can also be used to switch between OUT
Coils and OUT Boxes, as well as cycling between the various rung inline
11 comparison statements (Equal, Not Equal, Greater than, Less Than, etc…)
2 Here are two more shortcuts that can be used when entering
13 elements in your program. The first shortcut requires the Edit cursor
to be placed on the rung where a NO contact is to be entered. Type
4 the element address and enter it. The edit box will appear so you
can either enter the address or change the contact to NC.
A The other method is to double-click on the rung where the element
is to be placed. Again, the edit box will appear with a NO contact.
B Enter the address and/or change the contact to NC and press enter.
C
D
NOTE: To delete lines, press and hold Shift + Ctrl, then press the appropriate
arrow key.
11 times.
2
13 Press the F8 key
to accept the
4 program. Notice
the offset of the
A power rail.
B
C
D
1
Now, enter the rungs within
the loop offset.
2
End the offset loop by 3
entering NEXT rung.
D
5
After the program has been 6
accepted, the power rail will
show the offset. 7
8
9
0
1
2
3
4
NOTE: Refer to the PLC User Manual to learn how to use the Power Flow
instructions. Some of the instructions of this type may not be available for the A
PLC that is being used.
B
C
D
5
6 No additional contacts are
permitted after the branches
7
8
9
1
11 Deleting Connecting Lines
Deleting lines is similar to creating lines. Use the Edit > Wire >
2 Delete options on the Menu bar or the keyboard Delete key to
delete intructions and wires in all directions. A quicker method is to
13 use the Ctrl + Shift + Arrow keys to delete the lines. Below is an
example illustrating how to delete lines.
4
A
B
C
D
Deleting Rungs
When deleting one or more rungs, it is with the intention of removing
1 the rung(s) from the program entirely. Delete them by pressing the
Delete keyboard function key, or by using the Edit > Delete option
2 from the Menu bar.
First, select the rung or rungs to be deleted.
3
D
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 mode)
by using the keyboard shortcut Ctrl + C, Edit>Copy from the Menu
1
bar or the Copy button on the Offline toolbar. The original rungs
will not be altered in any way. When the rungs are copied, they are
2
placed in a temporary storage location called a clipboard. 3
D
5
6
7
8
A rung or rungs are selected
in order to be copied.
9
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 3
is 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).
1
11 Output now joins
the copied rung
2
13
4
A
B
C
D
B
C
A new Rung 4.
D
A new Rung 5.
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
4 inserted either above or below the Edit cursor position.
A
B
C The new rung is
inserted and the rungs
3 3. A
ddress s will allow a range of addresses to be entered (addresses
to be converted to rung boundaries) to perform the replacement.
6 1. M
ove s selecting this will move the documentation from the source
element to the destination element.
7 2. C
opy s this selection will copy the documentation from the source
element to the destination element.
8 3. L
eave s this will leave the documentation at the source element.
Common Mistakes
It is not uncommon to make programming errors. The fewer errors
made, the quicker a program can be completed. Here are some of
1
the more common errors.
2
Failure to Enter the Edit Mode
Some new users will typically open a project and immediately
3
try to edit a program. Remember that you must enter the Edit
Mode. Entering the Edit Mode can be done in several ways. Use
D
either Edit > Edit Mode, Ctrl + E or press the EDIT MODE button
located on the Offline toolbar and on the Ladder palette. When in
5
the Edit Mode, the cursor box will turn a solid color.
6
AND above a Join
The rule is that after a wire has been drawn down on a rung 7
of logic to “AND” a sub-rung that contains a midline output, no
additional input logic may appear on the leg of the midline output.
8
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
selected (use Shift + up or down arrows). If nothing is selected,
B
the Cut and Copy buttons will be grayed out on the Offline toolbar
and on the Menu bar.
C
D
Notes:
1
2
3
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
Documentation Selections
Most documentation refers to individual elements, therefore, it is
specific in nature. Listed below are four types of documentation 1
• Elements s the references for the individual elements, ie. X1, Y10, etc.
• Nicknames s these are alpha-numeric names that are used for the
2
various types of program elements. It is usually easier to remember the
name Start Switch than it is to remember that X1 is the input for the 3
switch.
• Descriptions s detailed description of an element. This can also be
D
used to add brief trouble-shooting steps, etc.
• Wiring s this can be used to identify panel wiring for the project.
5
6
Description
7
Wiring Info
8
Nickname
Element
9
0
1
General Documentation
2
Comments are general descriptions that are best suited for 3
descriptions of a program rung, or a section of the program.
• Rung Comments s rung comments are assigned to an individual rung. 4
•S
tage Comments s if you are using the Stage instructions, you can
also add comments that describe the contents of any stage. A
Stage
B
Comments are
in this area C
D
Rung
Comments
D
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 E, EE, ER, E.,
etc. Each button has a different function:
4 E s Moves one element forward.
EE s Moves one page forward.
A ER s Moves to the beginning of the next data type (X, Y, C, etc.)
B E — Moves to the last documentable type.
F s Moves one element back.
C FF s Moves one page back.
RF s Move to the beginning of the previous data type.
D .F s 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
11 an element.
2
13
Assign the Nickname to an Element
4 If unassigned nicknames have been used in the program, element
A references must be assigned before the program can be written
to the PLC (the PLC does not recognize nicknames, only element
B references). The Assign Nicknames dialog is used to assign
nicknames to element references. A quick way to open the dialog is
C to either press F9 (hotkey) or the Assign Nicknames button (if the
Tools toolbar is displayed). Another way is to use Tools > Assign
D Nicknames from the Menu bar. Also, if the Element Browser is
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 unassigned 7
nicknames appearing in the Source Nickname column. Select
the nickname in the list and enter the element reference for the 8
nickname in the Source Element Column.
9
0
1
2
3
4
A
The reference will be duplicated in the Result column to help avoid
accidental entries. Press Assign and and the following dialog will
B
appear as a confirmation of the element entry. C
D
B
C
D
D
5 Stage
Comment Area
6
7
8
9
1
11 In order to enter Stage comments, the cursor must be positioned
in either of the upper quadrants of the Stage view. To open the
2 comment editor, either click on the keyboard shortcut Ctrl + K,
Tools > Comment Editor on the Menu bar or press the Comments
13 button on the Tools toolbar if it is displayed. The Comment editor
can also be opened by double-clicking the left mouse button with
4 the cursor positioned in the stage comment area. Note that the
comment editor is for Stage comments.
A
B
C Stage
Comments
D
NOTE: All documentation edits are written to the documentation files when
3
they are entered/edited. 4
A
B
C
D
4
A
B File Export
Options
C
D
6
7
8
9
1
11
2
13
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 text 1
file. This could be an entire program or just a few rungs with element
nicknames and comments. Use the following illustrated steps to 2
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 B
the New 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
D
5
6
7
8 The complete imported program will appear as shown below. In this
example, all elements, element descriptions, nicknames and rung
9 comments appear in the program along with the cross reference.
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 >
B Import > 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 2
be 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 file.
5
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)
UW - unassigned word
1
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 A
it 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
A The Insert Instructions From File feature will allow the insertion
of mnemonic text files as instructions within an open project.
B Rung Comment
Mnemonic instructions
can be inserted one time
PLC type
C or several times within
a program. To use this
Ladder mnemonics
D “Wire number”
feature, there must
be an existing text file,
such as, a file written
with MS Notepad. This
file must be written in
“Nickname” mnemonic text form like
“Reference” “Element Description” the example on left. Note
that rung comments,
The Insert Instructions dialog will appear. Select the folder where
the text file is located, then select the text file to be inserted.
1 Next, choose either Insert at Beginning, End or Before Rung
Number. How the element documentation can be imported
2 involving “collisions” with existing program documentation can
also be chosen. Select Merge (.PRJ Priority) if the existing
3 project documentation is to remain unchanged. Select Merge
(.TXT Priority) if the new documentation is to overwrite the
D 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
13 instructions and documentation.
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
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, 2nd Edition
6-29
Chapter 6: Documentation
Notes:
1
2
3
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
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.
These views will help to organize and better visualize the program.
2 These additional views are Mnemonic, Stage (RLLplus), Cross
Reference (XRef), Documentation Editor, Trend and PID Views.
3 Once these views are opened, each view is easily accessed by a
tab located at the top of the display window.
D
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.
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
flowchart area of the display (refer to page 6-12 for details).
1
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
2 use a handheld programmer (HPP) to modify a DirectSOFT 6
ladder logic program. Since the HPP only uses mnemonics, the
3 Mnemonics View will prove to be useful as a guide. Just open
the Mnemonics View and print it on a printer. The hard copy can
D be carried to the PLC location. Consult the PLC User Manual
(Chapter 5) for the proper keystrokes required for entering the
5 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
Usage Mode
XRef
7
button
8
9
0
1
2
3
XRef Mode 4
The XRef Mode is the default mode when the XRef View is first
opened. When in XRef Mode, the Cross Reference Table reports A
information for all elements that meet the current Query which
determines the elements to be included in or excluded from the B
XRef and Element Usage Tables. The table is divided into four
columns: C
Element - reserved for the element ID, but will display whatever Query
is selected in the Options dialog. D
Rung - rung number where the element is used.
Address - the address where the element is located in the program.
Instruction - type of instruction that contains the element.
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.
XRef Mode
Follow Specify XRef
Rung
Next XRef
Rung
2
Ladder Cursor
Manual rebuild
3
XRef and
Element Usage D
Tables
Usage Mode Rung XRef
Previous
XRef Rung
5
6
XRef Mode s this button brings the Cross Reference table into view if
it is not in view. 7
Usage Mode s pressing this button brings the Element Usage table
into view. 8
Follow Ladder Cursor s 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 s this button transfers the current mode to a one rung mode
0
which only displays one rung in the table.
Specify XRef Rung s enabled only in the single rung view. Enter a rung
1
number or an address in the dialog pictured below, then click OK. The
2
3
4
A
program will go to and display the rung number entered. B
Previous XRef Rung s the Ladder View will display the previous rung
while only in the Rung Mode. C
Next XRef Rung s the Ladder View will display the next rung while in
only the Rung Mode. D
Manual Rebuild XRef and Element Usage Tables s manual rebuild
for 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
1 in 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
Table
11
2
13
Usage Mode Toolbar
4 The Usage Mode toolbar is used to select various options for
A viewing the Element Usage table.
Limit range of elements Set usage field
B Select the
to the current PLC. display length.
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 1
as 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 whenever 3
an element is added or deleted.
D
5
6
7
8
9
0
1
2
3
4
A
B
C
D
PID View
The PID View will be useful as a PID loop tuning aid. To access
1 this view, at least one PID loop must be setup.
2 NOTE: 1 Refer to your PLC User Manual, Chapter 8, PID Loop Setup to
setup a PID loop.
3 NOTE 2: PLC View is not available until you are connected with a PLC
and at least one PID loop is configured.
D PID Setup
5 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
6 Setup toolbar (if displayed) or use PLC > Setup > PID. This will
open PID Address dialog as pictured below.
7
8
9
1
11
2
After this dialog has been completed and saved, the Setup PID
13 dialog, pictured below, is opened. The Setup PID dialog is a series
of dialogs used to setup one or more PID loops. Use the PLC User
4 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
The Trend View can be used as a debugging tool. As mentioned
1 previously, it is used to visually monitor the values of DL controller
data elements over time. It has the ability to monitor any readable
2 numeric location or any readable bit location or any constant
value. Those values are displayed on a moving graph and can be
3 logged and exported to a CSV file for importing into a third-party
application for further research.
D
Creating a new Trend View
5 A new (empty) Trend View can be created by selecting Debug >
Trend View > New from the Menu, or clicking the Trend button on
6 the Online toolbar. The following dialog is displayed prompting for
the number of Panes to initially create.
7
8
9
1
11
2 Enter the number of Panes in the Number of Panes field or use the
Up or Down arrow to set the value. Click the OK button to accept
13 or the Cancel button to abort.
A Trend View can also be created and pre-filled with the critical
4 elements by the following methods:
• R
ight-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
C The next window to appear is the Trend View Options window as
seen on following page. This window contains all of the parameters
D available for the new Trend View. Enter Starting and Ending
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
9
bit or a constant, then this causes
a secondary dialog to be displayed
0
so 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
There may be an occasion when a mistake(s) has gone unnoticed
1 while a program is being edited. The mistake(s) will be detected by
DirectSOFT 6 whenever the program is accepted (compiled), and
2 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
13 the 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-
B hand corner. 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
8
The Output window can be closed just like other windows are
closed. If you desire to open the Output window, press the Output 9
button located on the Windows toolbar if it is displayed.
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
A feature which can be used as either an editing or a debugging
1 aid is the Bookmark feature. This feature allows the programmer
to mark one or more rungs in his program if he wants to quickly
2 go to a marked rung. To use the feature, simply have the cursor
located on a rung and hold the <Ctrl> key down and press the left
3 mouse button (this will only work with the mouse button). The rung
which is bookmarked will appear in the Output window. Once the
D bookmark has been made, you can double-click on the bookmark
in the Output window and DirectSOFT will jump to that rung and
5 display it. The Output window can also be hidden by clicking on the
push-pin. The Output window can then be recalled by clicking on
6 the Output tab. Closing the Output window will clear all bookmarks.
7
8
9
1
11
2
Double-click on the
13 marked rung to quickly
display.
4
A Use the push-pin to
B hide and recall the Output
window or close the
Output window to clear all
C 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 a 1
“docked toolbar” is a view, or toolbar, that is “docked” to a specific
edge of the Programming window. Initially, the Offline toolbar is 2
docked at the top of the Programming window below the Menu bar.
The Online toolbar is also docked at the top, but below the Offline 3
toolbar. The Ladder Palette toolbar is initially docked on the right
edge of the Programming window, and the Cross Reference View D
is docked on the left edge of the window. Primary views (Ladder,
Stage, PID, Trend, etc.) appear within the “Tabbed MDI View” 5
(Multiple Document Interface) area between the various docked
views/toolbars. The primary tabbed views are shown in the diagram 6
below.
7
8
9
0
1
2
3
4
A
Viewing the example on the next page, each of these docked views/
toolbars can be docked on any edge (e.g. the XRef View can be
B
moved and docked on the right or on the bottom). Notice that the
XRef View has been unpinned and placed in a floating position.
C
In this position, the XRef View cannot be placed in a auto-hide
position by pinning it until it is back in a docked position.
D
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
8 monitors are being used). The remaining area, bounded by all of
these docked views/toobars, is where the primary MDI Views are
9 positioned.
One final user interface for dockable views is the capability to
1 group only the dockable views to create a tabbed group of multiple
docked views (e.g. 2 Data Views and the XRef View can all be
11 placed in a single tabbed group). This tabbed group can then be
docked, floated or auto-hidden as a single entity. To create this
2 tabbed group, open all of the Data Views to be placed in the group,
then drag one Data View on top of a second Data View, and so
13 forth. You can also drag the XRef View over the top of this group to
complete the single dockable, tabbed group.
4
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
DirectSOFT 6 (cascade,
Auto-
Tabbed Docked hidden
Floating
Tabbed Group
of Docked/ 2
Window Type tile, etc. like MDI to Edge Docked Auto-Hidden/
Rel 4) to Edge Floating 3
All Toolbars A A
Ladder View A A D
Stage View A A
Trend View
Documentation
A A 5
A A
Editor
PID View A A 6
Mnemonic View A A
Cross Reference/
Usage View (XRef)
A A A A 7
Data View
Output Window
A
A
A
A
A
A
A
A
8
9
* s default behavior
Note that the Docked/Floating/Auto-hidden/Tabbed Framed 0
windows can all be independently set on a frame by frame basis.
For example, you can have the Ladder Palette and the PLC Setup 1
toolbars floating on a second monitor, with the Offline and Online
toolbars being docked on the top edge; then have one Data View 2
floating and three other Data Views grouped as a docked tab to the
right side of the application; and have the Cross Reference View 3
auto-hidden, and docked on the bottom edge of the application.
However, the two different MDI Frame behaviors are exclusively 4
either/or. This means that within a DirectSOFT 6 session, all
of the MDI views behave either as individual MDI frames or as A
tabbed views, but not both at the same time. You cannot have the
Ladder View be a tabbed view and the Stage View and PID View
B
be cascaded as Individual MDI frames. All MDI Views will have
Individual behavior or Tabbed behavior.
C
D
11 • Offline toolbar, Online toolbar and PLC toolbar s Docked to the top
edge of the application, just below the Menu bar.
2 • Ladder Palette toolbar s Docked to the right edge of the application.
6
Select All to
7 print the entire
ladder logic or
9 Select each
of the types of
Select Ladder
wire size
1 documentation
to print with the
ladder logic.
11
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.
elements.
D Clear All disables
5 (unchecks) all
elements.
6 Select the
Elements to
7 print the xref
for.
8 Select the
number of
9 columns to
use for printing
1 XRef/Usage
printouts.
11
2
13
4
A
B
C
D
B data.
Nicknames - check this to show nicknames instead of element ids.
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
Settings will
8
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
close to the on-screen version as possible, including the colors. If
D a color printer is being used, there probably isn’t enough contrast
between the background and whatever is being printed. If the
5 printer is black and white, the same lack of contrast could be the
problem because DirectSOFT 6 will try to generate grayscale
6 colors to match the display colors.
One way to solve this problem is to tell DirectSOFT 6 to use
7 monochrome (black and white) for display. If the View toolbar is
displayed, press the Color button, otherwise, go to View > Color
8 Setup and click on the Monochrome button, then press OK. After
printing is complete, you can return to the Color Setup dialog to
9 restore the original setting.
Notes:
1
2
3
D
5
6
7
8
9
1
11
2
13
4
A
B
C
D
6
Setup a Serial Link
7 Connect the programming cable from the serial port of the PC to
the serial port of the PLC (see Appendix A for selecting the proper
8 cable for your PLC). If your PLC has a RUN\TERM\STOP switch,
place it in the TERM position. The Link Wizard can automatically
9 determine the majority of communication settings for the PLCs.
1
1
2
3
4
A
B Right click to
select Add Link.
C
D To establish a new link, activate the Link Wizard from the launch
window menu tree, by right-clicking on Comm Links, and then click
on Add Link in the dialog that appears.
1. The next step is to select a communications port. The window at the
top of the facing page will appear showing a list of communication
ports. For serial communication, select the port you will use
(commonly COM1) and click Next.
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
NOTE: The comm port on your PC may have to be enabled (example,
9
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
Wizard will try and detect the PLC type automatically. Click Next when
2
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 selected
the DirectLOGIC PLC family (not the DL305), the default, K-Sequence,
1 will be highlighted. The K-Sequence protocol allows you to perform write
operations to individual discrete I/O points and control relays. DirectNET
2 protocol cannot write to individual bit locations. (See Appendix A for
a list of protocols available for DirectLOGIC and compatible PLCs).
3 If your PLC has been configured with a node address other than 1, enter
that address now. Click Next when finished.
D
5
6
7
8
9
1
1
2 4. The Link Wizard will attempt to establish a communication link with the
PLC using the node address and protocol you have selected. It will try
3 the combination of 9600 Baud, and Odd Parity. If this combination is
unsuccessful, an ‘auto-baud’ sequence will be used to try and determine
4 the correct baud rate and parity combination. If these attempts are
unsuccessful, the dialogs shown at the top of the facing page will be
A displayed. You can click on the Link Editor button, and manually attempt
to adjust the port configuration. See Appendix B for further help.
B
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, 8
and a description of the link if desired. The description field allows
32 characters. Enter the name for the link and description then click
Finish to return to the DSLaunch window.
9
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 menu
1 tree under the Comm Links folder icon. When you click on the link
all of the configuration information will be displayed in the DSLaunch
2 window. The status field is color-coded to help easily identify the link
status.
3 Green s link is enabled (it is active and you can use it).
Yellow s a link becomes inactive while that specific link is being edited
D using the Link Editor.
5 Red s communication error, i.e., the link has been broken or the PLC has
lost power. DirectSOFT 6 will automatically attempt to re-establish
the link.
6
7
8
9
1
1
2
3
4
A
B
C
D
2
3
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,
press the Setup button to make the adjustments. The following
9
dialog will appear. 0
1
2
3
4
A
B
C
The configuration for the module selected in the Devices field D
will 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
The first series of examples were performed in Windows 2000
1 and will illustrate how to configure a modem connected to
your PC. The examples may differ depending on the Windows
1 operating system being used.
4 will 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.
1
2
3
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
accessing the modem.
0
1
2
3
4
A
B
C
D
5
6
7
8
9
1
1 Right click to
3
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
configuration. Follow the steps below:
0
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
1
2
3
D
5
6
7
8
a.
Select the communication protocol to use. Refer to the chart
9 in Appendix A for a breakdown of the various CPUs and which
protocols are supported on which ports.
1 b. If the PLC has been given a node Address other than 1, enter the
new address.
1 If necessary, adjust the Timeouts and Retries, however, the
c.
default values should be the best choice.
2 6. Click the Accept button to save the link configuration. The following
dialog will appear. If Yes is pressed, DirectSOFT 6 will dial the
3 modem and attempt to verify that it can indeed communicate with the
PLC connected to the other modem using the defined parameters
4 in the link. DirectSOFT 6 will hangup after the connection has been
made. If No is pressed, the link configuration will simply be saved to
A disk.
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
3
D
5
6
7 Selecting Run will use the link to connect to the PLC.
DirectSOFT 6 will connect to the PLC and search it for a
8 program. If a program is found in the PLC, it will be displayed
in the programming window without a program name. Also, the
9 displayed program will not have any documentation showing
because the documentation is stored with the project on disk and
1 not in the PLC.
NOTE: Double-clicking on the link name will also connect to the PLC.
1 Clicking on Error Log... will open the Link Info window
2 displaying all communication errors which have occurred on the
link along with active information for the link.
3
4
A
B
C
D
Going Online
Once the program has been edited and the communications link has
1 been setup, it is time to go online with the PLC and load the program.
C
D
11 • Data View windows are independent of projects, and can be used for
multiple projects.
2 Open a New Data View Window
A new Data View window can be opened in any one of three ways;
13 the menu bar Debug > Data View > New, the keyboard shortcut
4 Ctrl + Shift + F3 or the Data button on the Online toolbar.
•W
rite Current Edit to PLC s the data value for one element can
be entered in the Edits column and written to the PLC with this
1 button.
•W
rite All Edits to PLC s 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 as shown
4 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, and
C experimenting with the General Settings will determine what works
best for you.
D
Click on the bit button to be changed and a selection window for that
button will appear as shown in the diagram below. Make a selection,
1 such as the light bulb, by clicking on it. The indicator will appear in the
button and also on the Data View.
2
3
Click on
D Status On
button to
5 change the
indicator.
6
7
8 Indicator
selection
window.
9
10
11
2
13
4
A
B
C Indicator is
in buttons
D
13
4
A Bit changed to
B Data Format
Types
Binary (16 bits)
C
D
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
2 it again, and then hold down Ctrl + Enter and control relays will
be entered until the Enter key is released. If there is an element
3 that has been entered previously in Data View, click on the
element nickname or reference, then use the Ctrl + Enter keys
D as mentioned above. The elements will be entered in sequence
below the starting point and any elements that were below the
5 start point will be pushed down below that point.
6
7 Click on an
element, then
8 press Ctrl + Enter
to make sequential
9 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,
A then use 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
C spreadsheet pasting, be aware that the pasting operation will
overwrite any field that has been selected prior to the paste.
D Consequently, it is preferred to paste the data into an empty field.
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 Status
4 column indicates the Pause Bit is set for that output.
A
B
C
D
Pause Bits set Pause Buttons
D The Data View window can be used to make dynamic changes to I/O
and change data values stored in memory. The status of an I/O point
5 is performed by using the dynamic edit buttons, and the data values
are changed by typing new values in the Edit column. Both types of
6 edit take effect only when they are written to the PLC.
The dialog will open with either a default reference or the reference
that was double-clicked on showing in the Element window.
D
5
6 Change Current
Press the Write
to PLC button.
Value to ON.
7
8
9
10
11
2
13
4 Current Value
now reads ON
A
B
C
D
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
D upper right-hand corner of the editor. A dialog will appear for the
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 8
up 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 9
the Write to PLC button to update the PLC. The Memory Editor
will not update the data being viewed automatically. To view 10
data 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 2
enter 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
3
data. Use the 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
B
C To use the Test Operations, open the Test Operations window by
selecting the Test button from the Debug toolbar. The PLC must
D be in the Test Program Mode. The PLC can be placed in the Test
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.
7
Single Step
8
Stop PLC Scan
9 Single Scan Multiple Scans
10
11
2
13
4
A
B
C
D
Trap Monitor
Access the Trap Monitor 1
The DL06, DL250-1, DL260, DL450 and DL454 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
the Debug toolbar, if it is displayed, or use Debug > Trap Monitor
5
on the Menu bar. The Trap Monitor can only by used in the Test
Run Mode. If the PLC is not in Test Run, a message will appear
6
to ask you if it is safe to switch the PLC to Test Run mode. Select
the “Switch to....” button. Another dialog will appear and ask if you
7
are sure it’s okay to switch to Test Run. Once the PLC is placed in
Test Run, the dialog shown below will appear. A definition of the
8
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
above address.
2
3
This area is read
only and will display
the data for the
Press this
button to change
4
trapped element. the format of the
Element Value to A
be read.
B
C
The Trap Monitor can be used as shown above by entering the D
element address and the element reference to read the data in
the 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.
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
the values of DL controller data elements over time. The Trend
1
View can monitor any readable numeric location or any readable
bit location or any constant value.
2
The Trend View logs the values of the controller elements on each
pane of the Trend. Those values are displayed on a moving graph.
3
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 7
on 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.
10 • C
TRL + scrolling upward will zoom into the area by decreasing the
Time Scale
11 • C
TRL + scrolling downward will zoom out of the area by increasing
the Time Scale.
2 Left-clicking the mouse will take a snapshot of all the values on
13 all 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 6
options at the top of the View.
Trend View Options - opens the Trend View Options dialog to specify 7
the controller elements that will be included in the Trend and to choose
how those elements will be displayed on the Trend. When this button is 8
clicked, the last pane that had focus will be selected (highlighted) when
the Trend View Options menu comes up. 9
Toggle Historical Mode - stops the real-time (live) update of the trend
displays and adds a scroll bar to the bottom of the trend panel that 10
allows the user to scroll backwards in time through all of the data that
is 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. 4
Export Range - is used to export the values that are currently stored for
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 view
D
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.
3
D Time Scale - sets the overall amount of time to be displayed in all of
the panes.
5 The Time Scale can be set to the following:
6 - 500ms
- 1 Second
7 - 5 Seconds
- 10 Seconds
- 20 Seconds
8 - 30 Seconds
- 45 Seconds
9 - 1 Minute (default)
- 2 Minutes
10 - 5 Minutes
- 7 Minutes
11 - 10 Minutes
- 30 Minutes
- 1 Hour
2 The Time Scale value is set by the following methods:
13 • Clicking on the Time Scale icon at the desired interval location
• Clicking on the Time Scale icon at the desired location then use the
4 arrow keys or the mouse scroll wheel to decrease or increase the
value
A • Clicking and holding the slider and dragging left to decrease and
right to increase the value
B
C
D
Notes
1
2
3
D
5
6
7
8
9
10
11
2
13
4
A
B
C
D
6 H0-ECOM(100)
Port 1 D2-DSCBL
10/100 BASET
RS-232
RJ45 CAT 5E
RJ12 6P6C
7 Port 2 D2-DSCBL-1
RS-232
RS-422 HD15
RS-485
8 DL06 D2-DSCBL RS-232
RS-232
RJ12 6P6C
D0-DCM
9 D2-DSCBL-1 RS-422
RS-485
HD15
1 H0-ECOM(100)
Port 1 D2-DSCBL
10/100 BASET
RS-232
RJ45 CAT 5E
RJ12 6P6C
D2-230 RS-232
11 D2-DCM D3-DSCBL-2
RS-422
DB-25
A D2-250(-1)
D2-260
Port 2 D2-DSCBL-1 RS-422
RS-485
HD15
RS-232
B D2-DCM
H2-ECOM(100)
D3-DSCBL-2
RS-422
10/100 BASET
DB-25
RJ45 CAT 5E
C D3-330 D3-232-DCU
Port 1
D3-DSCBL-2
D3-DSCBL-1
RS-232
RS-232
DB-25
RJ14 4P4C
D3-340
D Port 2
Port 1
D3-DSCBL-1
D2-DSCBL
RS-232
RS-232
RJ14 4P4C
RJ12 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
Notes:
• To convert an RS-232 cable to USB, purchase part number USB-RS232.
7
• To connect to RS-485 with USB, purchase part number USB-485M. 8
• EA-MG-PGM-CBL is a USB alternative for the D2-DSCBL.
- Do not use EA-MG-PGM-CBL with SureStep stepper drives. 9
• F
or RS-232/RS-422 use cable part number L19772-100.
• F
or RS-485 use cable part number L19827-100. 0
• F
or Ethernet, Category 5E cable is recommended as a minimum.
1
2
3
4
A
B
C
D
5 H0-ECOM(100)
Port 1 • • •
• H0-ECOM100
6 Port 2
•
•
•
•
•
•
•
7 DL06 •
•
•
•
•
•
D0-DCM
8 • • •
•
9 H0-ECOM(100)
Port 1 • • •
• H0-ECOM100
D2-230 • •
1 D2-DCM
• •
slave only
Port 1 • • •
11 Port 2 • • •
D2-240 • •
2 D2-DCM
H2-ECOM(100)
• •
slave only
• H2-ECOM100
13 Port 1 •
•
•
•
•
•
4 D2-250(-1)
D2-260
Port 2 • • •
•
• •
A D2-DCM
• •
slave only
H2-ECOM(100) • • H2-ECOM100
B D3-330 D3-232-DCU
Port 1
•
•
D3-340
C Port 2
Port 1
•
• •
•
•
D D3-350
Port 2
•
•
•
•
•
•
• • •
• •
D3-DCM slave only
• •
2
3 , D4-454
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
A with a firewall (particularly with SP2), then you must do one of the
following:
B 1. Turn the firewall OFF
3 2. C
reate an exception for CSMAIN.EXE application (located in the BIN
folder under your DirectSOFT folder)
D 3. C
reate an exception for port #0x7070 (28784) for both TCP and UDP
protocols, which is the port number that all of our Ethernet devices
4 - If you are using a DL105, they tend to be a bit more sensitive
to marginal cables and electrical noise. Try a new cable,
especially if you can use the same setup successfully when
A talking to other DL PLCs (e.g. DL205).
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. 5
You 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 8
updates 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
of the manufacturer of your converter for details.
1
- Try disabling all resources in the .INI file. 2
• “Transport protocol error”
his means you are using Ethernet as a link and it timed out. This is
T 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?).
- Using wrong cable (crossover instead of straight-through or
A
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
environment.
C
- ECOM not seated properly. It should be flush with other cards
or filler caps.
D
- If your PC has two or more NICs (Network Interface Cards),try
one of these options:
se the Pic a Nic feature to select the network card that the
-U
PLC is connected to.
- Reprioritize
your NICs by going to Advanced Settings. This is
different depending on which Windows OS you have:
A If you have Windows XP:
(1) Start -->Control Panel.
B (2) Double-click on the “Network Connections” icon.
(3) O
n the menu at the top, select Advanced -->
3 Advanced Settings...
D
If you have Windows Vista:
(1) Start --> Control Panel.
5 (2) D
ouble-click on the “Network & Sharing Center”
icon.
6 (3) A
t the left of this window, click on “Manage
network connections.”
7 (4) P
ress the <ALT> key to make a menu appear at
the top of this window.
8 (5) O
n the menu at the top, select Advanced -->
Advanced Settings...
9 If you have Windows 7/8/10:
1 (1) S
tart -->Control Panel (Windows 8; in Desktop
View move the cursor to the right hand side of the
11
screen then at the bottom select Control Panel.).
(2) Select “Network and Intranet” at the top.
2 (3) D
ouble-click on the “Network & Sharing Center”
icon.
13 (4) P
ress the <ALT> key to make a menu appear at
the top of this window.
4 (5) O
n the menu at the top, select Advanced -->
Advanced Settings...
A Once you have the Advanced Settings pulled up, then it
is the same for all Windows OSs:
B (1) O
n the “Adapters and Bindings” tab, in the top
window, select the connection you are using.
C (2) U
se the green arrows at the right to move this
connection to the top of the list.
D (3) P
ress <OK> and close Network Connections
window.
(4) You may have to reboot your PC.
9 (2) M
ake sure IPX protocol is loaded (see DirectSOFT
FAQ0183 for installing protocols) for the NIC you are
using.
1 - Microsoft ActiveSync could be using the COM port.
A
(2) Double-click on the “Network Connections” icon.
(3) O
n the menu at the top, select Advanced -->
B
Advanced Settings...
If you have Windows Vista:
C (1) Start --> Control Panel.
(2) D
ouble-click on the “Network & Sharing Center”
D icon.
(3) A
t the left of this window, click on “Manage
network connections.”
(4) P
ress the <ALT> key to make a menu appear at
the top of this window.
(5) O
n the menu at the top, select Advanced -->
Advanced Settings...
-
We have found that RSLogix (Allen-Bradley) software
interferes with the PC’s communcations over serial ports
(e.g. COM1). So if doing a serial link and you get this error,
A it could be due to this software. Make sure that this software
is not running in the background, or that it does not run in
B the Terminate Stay Ready (TSR) fashion.
- Increase the link’s Retries and Timeout values; especially if
3 using a modem link.
D - If using a modem link, make sure that both the Compression
and Error Correction are turned OFF.
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/10
• 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.
(3)
In the left column under Utilities, double-click DS400.ini (or
DS500.ini, or DS600.ini). This will open the file in NotePad text
editor.
(4) Make the edits; save the file and exit.
A
(5) Restart DSLaunch (or DirectSOFT). B
• Another option to try if the steps above do not work:
(1) Close DirectSOFT. 3
(2) Click Start button.
(3) I n the Search programs and files box, type in DS400.ini (or
D
DS500.ini, or DS600.ini). 5
(4) Click on the search result and edit that file; save the file and exit.
(5) Restart DSLaunch (or DirectSOFT). 6
7
Windows Vista
Windows Vista has some extra protection features, so the above 8
procedures may not work depending on its settings. Windows Vista
has a feature called UAC (User Access Control) that is, by default, 9
turned on. However, it is possible to turn this feature off, and this
dramatically affects the editing of the .INI file. 0
To modify the UAC setting:
(1) Use the Windows Start button: Start -->Control Panel.
1
(2) Click on User Accounts. 2
(3) Click on Turn UAC ON/OFF. This will tell you if this feature is ON
or OFF. Depending on this setting go to the proper section below 3
(UAC=ON or UAC=OFF).
UAC = ON
4
With UAC=ON, the security measures of Windows Vista create A a
virtual store copy of your .INI file and redirect DirectSOFT to use this
copy instead of the one that is normally stored in the C:\Windows B
folder.
• If you have DirectSOFT v3, v4, v5.0 or v5.1 then you will have to C
find this file manually and edit it:
(1) Close DirectSOFT and DSLaunch. D
(2)
Use Windows Explorer to browse to: c:\Users\<username>\
AppData\Local\VirtualStore\Windows\
(3) Find the DS300 (or DS400, or DS500, or DS600.INI) file and
open it with NotePad.
UAC = OFF
6 Regardless of the version of DirectSOFT, this procedure has to
be used:
7 (1) Close DirectSOFT and DSLaunch.
8 (2) Use the Windows Start button: Start -->Run…
(3) Type in ds300.ini (or ds400.ini, or ds500.ini, or ds600.ini)
9 and press OK. This will open the file in NotePad text editor.
(4) Make your edits; save the file and exit.
1 (5) Restart DSLaunch (or DirectSOFT).
11
Other Editable Parameters
2 The following parameters can be added (or adjusted) in the
DS600.INI (DS300.INI / DS400.INI / DS500.INI) file.
13 • C
OMxEnable: Enable, disable, add or delete serial COM port
4
resources for links.
• ModemEnable: Enable or disable serial modem resource.
A
links.
• EthernetEnable: Enable or disable Ethernet resources for
B • A
utosense: Enable or disable the autosensing of links on
startup. (Once links have been created, they are validated
C each time you start DSLaunch).
• D
ump: Causes link to output serial connection debug
D information to a file for troubleshooting links. This feature is
used in conjunction with DBWin32 logger.
• P
ROGRAM COLORS: Modify default program colors. The
parameter numbers and colors are not defined in a user-
friendly manner. Therefore this should only be used to fix a
problem.
A
• U
DPPortNumEnable: Enable or disable UDP port numbering
parameter for links.
B
• PROJECT PATH: Modify default project path. 3
• LadderPalette: Enable or disable ladder logic palette.
• UseLargeBtns: Modify toolbar button size. D
• BACKUP PATH: Modify default backup project path.
• RTSxDelay: Modify serial RTS timing control.
5
• O
nTheWeb: Enable, disable the DSLaunch’s “DirectSOFT
on the Web” feature.
6
• INFLOOPTIMEOUT: Set DirectSOFT’s internal loop timeout
value as a protection against infinite loops that can cause
7
crashes. This number is the maximum number of loops
allowed to do an internal operation in DirectSOFT. Under
8
normal conditions, this number will never be reached. But
in cases where there could be very large databases, this
9
number may need to be increased to allow DirectSOFT
more loops to complete a certain operation. 0
1
2
3
4
A
B
C
D
Parameter Heading in
Syntax Notes Example
Name File
x = COM port number
A COMxEnable [devasync.dll] COMxEnable=y y = 0 (to disable) COM5Enable=1
1 (to enable)
B x = 0 (to disable)
ModemEnable [devasync.dll] ModemEnable=x ModemEnable=1
3 1 (to enable
x = 0 (to disable)
EthernetEnable [devether.dll] EthernetEnable=x EthernetEnable=1
D [Comm
1 (to enable)
8 UDPPortNum
Enable2
[devether.dll]
UDPPortNum
Enable=x
x = 0 (to disable)
1 (to enable
UDPPortNumEnable=1
9 PROJECT
PATH
[PATHS]
PROJECT
PATH=x
x = <folder path>
PROJECT PATH=c:\
MyProjects
x = 0 (to turn off)
1 LadderPalette3 [SETUP] LadderPalette=x
1 (to turn on)
LadderPalette=1