Home

A-2

image

Contents

1. 2 New Data View Using this button will open a Data View window see Chapter 10 Change Value This button will open the Change Value window to allow the programmer to change element status values etc PLC Mode This button opens the Mode window to display the current mode of the PLC and to allow the Mode of the PLC to be changed Choices are Run Program and Test e BR U System Information Use this button to open a window with the version status and error information about the PLC Syntax This button will run a Syntax check of the PLC and a Duplicate I O check Toolbar Options This arrow will allow the programmer to add or delete buttons from the toobar also will view additional buttons that would not fit on the display screen DirectSOFT 5 User Manual 1st Edition 4 5 Chapter 4 Programming Environment Additional Toolbars In addition to the default Offline and Online toolbars other toolbars can be activated and used if desired To view additional toolbars click on View Toolbars and select the toolbar or toolbars that would assist you with editing your program The Toolbar selection window lists fourteen toolbars and a Customize option The three toolbars at the top of the list are checked since they are the default 4 toolbars The rest of the toolbars are optional and they can be selected if desired Note the down arrow at the end of each toolbar This down arrow allows the programmer
2. 1 Y OnineDSCEL EENNENENNNNE 00016702048 05 0001 001 005 10 8 DireciSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring AN been entered while Online with Status enabled It really doesn t matter if entries are made in the Element column with the PLC Online or Offline Status On or Status Off Entries can be made with the PLC Offline then it can be placed Online later to monitor the program Whenever a Data View window is opened it appears to the left of the Ladder View see the example on the facing page Keep in mind that the Data View can be repositioned and resized to make room for a larger Ladder View like the example below The Data View position in the example may be radical but it may be more convenient for the user EE DirectSOFT 5 Programming intro File Edit Search View Tools PLC Deb DEL NAMEN EN isa E zi AORA pin Element Status BI w2 A Start OFF alue e Info Cl OFF X Ladder View V1400 0 For Help press F1 For Help press F1 Online DSCBL DRA 00016702048 05 DireciSOFT 5 User Manual 1st Edition 10 9 Chapter 10 Debugging and Monitoring li Data Format and Size There are two small fields located in the top left hand corner of the Data View window The one on the left is the Data Format field which displays the element type when it is selected in the Element column If th
3. 9 12 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links az KK la T L LT LTLTCTCTC 6T GC O V C v V OFN666N N N C 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 Phone And Hodem Options Ed Dialing Rules Modems Advanced The following modems are installed Attached To si Com Windows Modem PCI ADI COM3 Add Remove Properties 9 Cancel 5 Choose 9600 as the Maximum Port Speed 3Com Windows Modem PCI ADI Properties General Diagnostics Advanced Port COR Speaker volume Df LED High Maximum Part Speed Dial Control v wait for dial tone before dialing cancel DirectSOFT 5 User Manual 1st Edition 9 13 Chapter 9 Setup amp Manage Communication Links E MMMMMMM 6 Select the Advanced tab and click on Change Default Preferences 3Com Windows Modem PCI ADI Properties General Diagnostics Advanced Extra Settings Extra initialization commands Advanced Port Settings Change Default Preferences cancel 7 Make Port speed 9600 and choose None for Flow Control 3Com Windows Modem PCI ADI Default Preferences General Advanced Call preferences Disconnect a call if idle for more than Muna Cancel the call if not connected within 60 SECS Data Connec
4. DirectSOFT 5 User Manual 1st Edition 2 25 Quick Start After clicking on the Use Disk button the programming window will look a bit different Notice that the icon buttons in the Online Toolbar are no longer grayed out The indicators at the bottom of the window tell you that the PLC is okay the PC is online with the 2 PLC and the PLC is in Program Mode At this point the program has not been written to the PLC You will also notice the two left most buttons on the Online toolbar ReadP and WriteP are highlighted To write the program to the PLC select WriteP A pop up indicator will appear to let you know that the program is being written to the PLC File Edit Search View Tools PLC Debug Window Help ge T EDIT Open A sE IEEE uei R alx Ladder View a y OK Online DSCBL 06 Program 00003707630 06 0004 001 0UT 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 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 RUN Mode PLC Modes Curent PLC Mode PROGRAM t Program C Test Cancel Help 2 26 DirectSOFT 5 User Manual 1st Edition Quick Start Notice the green indicator at the bottom of the Ladder View It shows the PLC is now in the Run Mode How do you know that your program works The best way is to monitor the progr
5. llle 2 2 Installation of Direct SOFT 5 2 3 Getting Started 00 0 aaa 2 8 Welcome to DirectSOFT100 2 10 Begin Editing a Program LLL 2 12 Establish the Communication Link 2 22 Monitor the Program a 2 28 Quick Start Getting to Know Windows Direct sOFT 5 Programming Software runs under 32 bit Windows operating systems 98 2000 NT XP It s a good idea to understand the operating system for your computer Recommended System Requirements Check the following system requirements when choosing your PC configuration e Pentium Celeron CPU 1 Ghz or greater e Windows 98 2000 XP Home and Pro NO DOS OS 2 Macintosh Linux or Unix versions or 16 bit versions 512Mb RAM Dm e 20Mb available hard drive disk space 33 Mb for a s AE LN complete installation e CD ROM or DVD drive e At least one unused serial communications port USB with USB to serial adapter 10base T or 10 100 Eternet Network card e 1024 x 768 resolution color SVGA monitor Power Supply It is recommended that the computer which DirectSOFT 5 operates on has some form of power surge protection A quality surge protector will protect your computer from most surges and spikes however an uninterruptible power supply UPS will provide the best protection A UPS provides isolation between the AC power source and the computer It also has a
6. 0 0 0 0 cee 4 28 The Split Screen Feature 4 30 Split Screen Bar 2 one e ewan oe ee pe Br EGRE ede ee See ERE 4 30 The New Window Feature 4 31 Chapter 5 Edit a Program I O Configuration leelerrreee 5 2 Referencing Program Elements 5 4 WAT AV METRI 5 4 PIIASCS pA NO MG NANG eset eee NMNG dee eee eee bee GD EN ENSE EE AA 5 5 Timer Counter Current Values lel 5 5 Accessing I O Points as Memory Locations 5 5 DirectSOFT 5 User Manual 1st Edition Table of Contents IV Entering Program Instructions 5 6 The Instruction Editor usa edd ex cans iE E UERSATERRENEFERLTEERE ERES 5 6 Using the Ladder Palette 0 0 0 cc ees 5 8 Opening the Instruction Browser a 5 8 Shortcuts for Entering Instructions 5 11 Entering NO and NC Contacts a 5 12 Entering Instructions in Parallel 0 5 13 Entering Power Flow Instructions llle 5 14 Entering Special Case Elements llle 5 16 Ei EG EP PEP AA AA 5 17 Setting and Resetting a Bit aa 5 18 Using Floating Point Math maa nG aha Baw 25 o08ca edeu Dex Dec Nak was 5 18 Drawing Deleting Connecting Lines 5 19 Drawing the Lines zuo mca TERSESSTESSES AE 5 19 Create Midline Outputs llle 5 20 Deleting Co
7. Chapter 5 Edit a Program Be ma aaa Using the Ladder Palette The Ladder Palette is always in view whenever the programming window is open in DirectSOFT 5 The palette becomes active when the Edit Mode button is pressed The palette is initially docked to the right of the Ladder view but when the palette is floating it can be positioned anywhere on the programming screen Using the Ladder palette is one of several ways to enter instructions First place the edit cursor on the rung where an element is to be placed Then click on the appropriate instruction on the Ladder palette If one of the contact buttons the top ten buttons on the palette a 5 dialog box will appear to enter the parameters Ladder Palette Opening the Instruction Browser Some instructions do not have an element button on the Ladder palette To enter one of these instructions click on the appropriate browser button on the palette and select an instruction There are three buttons on the palette for browsing the contact coil and box instructions Clicking on any of the browse buttons will open the Instruction Browser as shown on the facing page This will allow selection of the correct instruction from the available lists The particular browser that appears is dependent of 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 5 8 Direci
8. DireciSOFT 5 Crashes If DirectSOFT 5 crashes whenever Print or Print Preview is selected there may be a corrupted printer setting file in DirectSOFT 5 Each project has a printer settings file that is generated whenever a new project is created It will reside in the project folder and will have an extension of prt To correct this close DirectSOFT 5 and delete this file by using Windows Explorer Reopen DirectSOFT 5 and try the print operation again 8 10 DirectSOFT 5 User Manual 1st Edition Chapter 8 Printing na Another reason for DirectSOFT 5 crashing whenever Print or Print Preview is selected may be from corrupted global printer settings files There are two files located in DirectSOFT 5 Program Bin sub folder named PrntSrv rst and Program opt These files can be deleted from the directory after closing DirectSOFT 5 Locate the two files by using Windows Explorer After deleting the files reopen DirectSOFT 5 and try the print operation Print Setup Dialog The Print Setup dialog deserves to be mentioned Print Setup can be invoked by either using File gt Print Setup or pressing the Setup button on the File toolbar The dialog that appears will be the Properties dialog for the printer being used If necessary printer settings can be made here as well as choosing the page layout which includes Landscape and Portrait orientation Ca hp photosmart 7350 series Properties FE 8 Quality Layout Features Color Servi
9. DirectSOFT 5 User Manual 1st Edition 6 27 Chapter 6 Documentation E Prevent Documentation Loss The documentation which is created with DirectSOFT 5 is stored on disk Each time a project is opened with DirectSOFT 5 there are multiple project files opened Apply the same precautions to your project as you would with any other database package to avoid data loss Backing up the project files is the best insurance to prevent loss Any time changes are made to a project make a copy of the project before starting If something goes wrong the original will remain intact and unchanged There are four different methods to preserve a project as a program is created and after the project has been completed The four methods are Save Project to disk Save Project As Backup Project and Export Program Save Project oave Project to Disk should be used to save your project often Your entire project i e program and all documentation will be saved to the drive that is being worked from usually the C drive From the Menu bar select File gt Save Project gt to Disk or press Ctrl S keyboard shortcut To save a project to a different folder than the one being worked from or to save a project to a floppy disk select File Save Project As from the Menu bar The save as window will appear so the folder or the floppy disk drive can be selected where the project is to be saved Name the project press the Save button and the e
10. To access the I O configuration with DirectSOFT 5 the PLC must be connected to the PC being used and online Open the new program and connect the PLC to the PC You can either select PLC 5 gt Configure I O on the Menu bar or press the I O Configuration button on the PLC Toolbar the toolbar must have been added to the display window a Direct50FT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help il ES Disconnect M iM EEY Ga QU T P Read Write hess Open l l A Cr rune owz Obs Zoom Ga Help TI PE 2 hut Status Value kal Memory Map Ladder View Ctrl 5hift R Clear PLC Memory y Copy config data from PLC to Disk Ya Copy config data from Disk to PLC El Y Configure 10 Information OK Online DSCBL 06 Program 00000707680 06 0001 001 001 The Configure I O dialog pictured on the facing page will appear showing the automatic I O configuration by default If a CPU is being used that can be manually configured and the configuration 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 address to be changed 5 2 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Read from disk Save to disk Configure 1 0 NewlD OldID Description In Base 03 03 I0 Base CPU 4 41 0 060D2 CPU V 1 50 Power Supply DE 06E X D0 060D2 P 5 AC Sa
11. Address 1 Parity Odd Link Editor Back Cancel oince the link that was just created is the only one named in the dialog click on Select to initiate connecting to the PLC Select Link Links M Link Enabled 2 24 DirectSOFT 5 User Manual 1st Edition Quick Start DirectSOFT 5 automatically compares the currently open program with the program stored in the PLC The following Online Offline Differences dialog box will appear This dialog asks which copy of Online Offline Differences E There are differences between the online and offline programs Select source of program to view NOTE This operation only loads the selected program into memory It does NOT overwrite the program not selected To write the program select write Program or Save Project and specify the desired destination Use Disk Details Cancel the ladder logic program is to be viewed the copy in the PLC or the copy on the PC Since we are dealing with a new program select the Use Disk button The Use Disk button is used whenever you have made a change to a program in the PC and you are going online to load it into the PLC If the Details button is pressed a side by side comparison of the program in the PLC and the program on the PC will appear such as the Compare Programs dialog seen below The program selection can also be made from this dialog Compare Programs OUT YU Program sizes different
12. DirectSOFT 5 User Manual 1st Edition f 10 29 PPENDIX A PROTOCOLS AND CABLE DIAGRAMS In This Appendix Cables and Protocols A 2 Programming Cable Diagrams A 6 Appendix A Cables and Protocals Diagrams Cables and Protocols protocol is requireds Supported Cables DirectLOGIC CPUs provide many communication port possibilities therefore it is helpful to know which programming cable and Family CPU or other device Port Cable Direct OGIC DLO5 DLO5 all versions Port 1 D2 DSCBL Port 2 D2 DSCBL HO ECOM Only one Ethernet HO ECOM100 Only one Ethernet DirectLOGIC DLO6 DLO6 all versions Port 1 D2 DSCBL Port 2 D2 DSCBL 1 HO ECOM Only one Ethernet HO ECOM100 Only one Ethernet DirectLOGIC DL105 DL105 all versions Only one D2 DSCBL DirectLOGIC DL205 DL230 Port one D2 DSCBL DL240 Top port D2 DSCBL Bottom port D2 DSCBL DL250 1 Top port D2 DSCBL Bottom port D2 DSCBL 1 DL260 Top port D2 DSCBL Bottom port D2 DSCBL 1 D2 DCM Only one D3 DSCBL 2 H2 ECOM Only one Ethernet H2 ECOM100 Only one Ethernet DirectLOGIC DL305 DL330 DL330P Requires DCU D3 DSCBL 2 DL340 Top port D3 DSCBL 1 Bottom port D3 DSCBL 1 D3 DCM O
13. Rng qAmd s Wsiruciior sa buttons mor Cr el Ladder Palette Bar ms By default there are two windows that will be in view when a new project is opened One is the Cross Reference View on the left and the other is the Ladder View on the right The Cross Reference View is one of the new dockable views in DirectSOFT 5 which also includes Data Views and the Output window These views can be docked to any edge of the Programming Window or they can be undocked and float to any part of the screen even onto a different display if you have multiple monitors If the view is docked you can auto hide the view by clicking on the push pin in the upper right hand corner of the view The view will auto hide to the left of the Ladder View with the name of the view on the tab To bring the view from auto hide hold the mouse cursor over the name in the tab If 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 views Notice the Ladder Palette Bar located to the right of the Ladder View The element buttons are grayed out unless the Edit Mode has been activated To activate the Ladder Palette click on either EDIT Mode button one is located on the Offline toolbar and one is located at the top of the Ladder Palette This palette can be repositioned anywhere on the screen by grabbing it with the mouse pointer at the top of the palette and dragging it to a n
14. b If the PLC has been given a node Address other than 1 enter the new address c If necessary adjust the Timeouts and Retries however the default values should be the best choice 6 Click the Accept button to save the link configuration The following dialog will appear If Yes is pressed DirectSOFT 5 will dial the modem and attempt to verify that it can indeed communicate with the PLC connected to the other modem using the defined parameters in the link DirectSOFT 5 will hangup after the connection has been made If No is pressed the link configuration will simply be saved to disk Attention ER 2j Link i configured to use a modem Connect modem to validate link settings 9 18 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links 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 S3 DSLaunch File View Help F6 DirectSOFT 5Faia cm e 3f Utilities V gt eg IMA u Visit Automatior D LO 6 EP BA Visit Host Engir E CTRIO WB 2 CTRIO WB 2 CTRIO WB 2 CTRIO WB 2 fH ERM Workben 0 0 0 0 e 53 DBWin32 Logg DNLoader aive NetEdit 3 Calculator 0 0 0 0 0 0 Oe I Version d DS500ini 2 4 Projects D d06 pid exampl bd D di05 pid exampl D ds5 gstintro prj oS
15. 5 nu prag prj D il example pi Dp D rllplus example D test D5 prj pid prj 3 example 1 pri D example I prj backup autosa 82g Comm Links a DSCBL 06 UNTEN 9 b DirectSOFT 5 User Manual 1st Edition 9 19 Chapter 9 Setup amp Manage Communication Links II Comm Link Options There are several link options available after a link is setup The link options dialog is opened by right clicking on the link name which is to be accessed The available options are shown in the dialog below Hun Error Log E dit Link Delete Link Selecting Run will use the link to connect to the PLC DirectSOFT 5 will connect to the PLC and search it for a program If a program is found in the PLC it will be displayed in the programming window without a program name Also the displayed program will not have 9 any documentation showing because the documentation is stored with the project on disk and not in the PLC NOTE Double clicking on the link name will also connect to the PLC Clicking on Error Log will open the Link Info window displaying all communication errors which have occurred on the link along with active information for the link Link Info D iptiam escription Hep Status Active Edit Aer rate zec Completed fers Ret Count Error Count 3 fou 1 1 Error Log Time Error Extended Error 12 2b 2 05b 10 No response trom PLC Li ne I Link Enabled 9 20 DirectSOFT 5 Use
16. DirectSOFTs Programming Software User Manual PC DSOFT5 M WARNING Thank you for purchasing automation equipment from Automationdirect com We want your new automation equipment to operate safely Anyone who installs or uses this equipment should read this publication and any other relevant publications before installing or operating the equipment To minimize the risk of potential safety problems you should follow all applicable local and national codes that regulate the installation and operation of your equipment These codes vary from area to area and usually change with time It is your responsibility to determine which codes should be followed and to verify that the equipment installation and operation is in compliance with the latest revision of these codes At a minimum you should follow all applicable sections of the National Fire Code National Electrical Code and the codes of the National Electrical Manufacturer s Association NEMA There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards We do not guarantee the products described in this publication are suitable for your particular application nor do we assume any responsibility for your product design installation or operation Our produc
17. Element Description Comments tied to output coil Rung Comments tied to rung Descriptions Logicmaster Source Documentaion No Match DirectSOFT 5 Documentation Nicknames Nicknames Names Description Comments Comments Coil Labels No Match 3 6 DirectSOFT 5 User Manual 1st Edition Chapter 3 Managing Projects Copy or Save Existing DirectSOFT Files The question often arises as to what is needed when copying existing DirectSOFT files to a different memory area or directory using the DOS command line syntax or any type of file manager If you are a first time user of DirectSOFT 5 and have no existing files to transfer then you may skip this page and read it later E By default projects are stored originally in the Projects subdirectory however they can reside in areas other than the default projects subdirectory It really does not matter where they are stored the method for copying or saving these existing files to another area is the same in each case If you look where the projects have been stored you will notice the main file for the project will always have a prj extension after its root filename but there are other files with the same root filename This can be a little confusing to new users This is due to the fact that DirectSOFT 5 performs a filename creation behind the scenes and you don t get involved with the initial storage except to indicate the
18. The Help Toolbar duplicates the Help menu accessed from the main menu Use this button to open the Help window PLC Instruction Matrix This button will open the PLC vs Instruction Set Matrix window Getting Started The Start button will open the Help window to provide help to get started using DirectSOFT 5 Tip of Day This button will open the Tip of the Day window to provide a helpful tip Unlock This button will convert DirectSOFT100 to full version using Purchased Product Keycode About This button will display the DirectSOFT 5 about box Help Topic Index 4 The Custom Toolbar DirectSOFT 5 has many toolbars to select and if you select too many you probably won t have much room on the monitor to effectively edit a program The customize toolbar feature may be well suited for your use Click on Customize at the bottom of the Toolbars menu to open the Customize toolbar window shown below Customize Toolbars Commands Toolbars Ladder Palette Bar iF ile Bar GE dit Bar Search Bar ie Bar i Tools Bar amp PLC Bar Debug Bar amp window B ar Help Bar Close Help DirectSOFT 5 User Manual 1st Edition 4 17 Chapter 4 Programming Environment cow TIP A quick way to open the Customize Toolbar dialog is to right click on A any of the Toolbars in view This will access the Toolbars menu then select Customize The Customize window will allow the programmer to select all the too
19. UB Visit AutomationDir HA Visit Host Engineer CTRIO WB 2 Dire CTRIO WB 2 Offl B ERM Workbench 53 DBWin32 Logger DNLoader NetEdit 3 Calculator 2 Version aA DS500 ini Projects D di06 pid example p gt di05 pid example p D ds5 qs intro prj nu prog prj 5 il example pri D rliplus example prj D test D5 prj pid pr D example 1 prj D example l prj Right click to select Add Link Select the communications port that the PLC is connected to Modern support cannot be configured from the Link Wizard To select modem support you must use the manual configuration dialog by selecting Link Editor below Link Editor Cancel 9 16 DireciSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links 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 Configure Link Name Modem Link Description PLC Port Protocol PLC Family PLC Type DirectLogic Series DirectLogic 06 Seres DirectLogic 105 Series DirectLogic 205 Series DirectLogic 305 Series DirectLogic 405 Series Terminator 1 0 Seres Unspecihed Cancel Help Auto 4 Click the Port tab on the dialog to d
20. it will delete these rungs SeeChapter 5 Insert This button will allow rows and columns to be inserted in a rung Merge the Previous Rung 4 This button will merge the previous rung with the current rung Merge the Next Rung Use this button to merge the next rung with the current rung Browse Contact This button will open the Instruction Browser window ready for a contact to be selected Browse Coil This button opens the Instruction Browser window ready for the selection of a coil Browse Boxes Use this button to open the Instruction Browser with the box instructions available for selection The Search Toolbar The Search Toolbar only contains two command buttons Replace and GoTo Replace This button will activate the replace dialog so the programmer can search for an object in the program or a range of elements and replace them GoTo This button activates a Goto dialog so the programmer can enter a rung number or addresss he wishes to view Pressing OK will display the cursor on the desired rung address DirectSOFT 5 User Manual 1st Edition H 9 Chapter 4 Programming Environment The View Toolbar The View Toolbar has three buttons two of which are from View on the Menu bar Sam E Candz Color Customize 4 This button allows the programmer to display or hide the various Toolbars to modify the commands that appear on each Toolbar or to create you own Custom Toolbars Theme Use this button to
21. Control relay used to signal press is in automatic mode Automatic mode co Switch on operator panel selects one Confirms that the Control relay used to cycle or automatic conveyor actually signal that press is in operation moved forward one cycle mode Blue 007 Blue 006 one cycle switch index conveyor 1 cycle mode K4T END pa 0001 001 0UT Offline For Help press F1 00047707680 440 Control relay used to Control relay used to a MODE C3 a UTE _ program can be viewed Chapter 4 Programming Environment The New Window Feature Another handy feature of DirectSOFT 5 is the New Window feature This feature is used to open two or more Ladder Views of the same program Having two or more views open at once can be helpful when programming a lengthy program or to view two different parts of a program simultaneously To open a new window click on Window New Window You will know that there are two windows open by observing the two Ladder View tabs To place the two 4 views side by side click on Window gt Tile Vertically The two views will be displayed like shown in the diagram below If the Window toolbar group is shown on the programming window simply click on the NewWn button then the TileVrt button If desired the two views can also be arranged tiled horizontally Notice that the split screen feature has been used in the diagram below Ladder View 1 has the split screen
22. Getting Started llel l 2 8 Welcome to DirectSOFT 100 2 10 Begin Editing a Program 2 12 Table of Contents 5 Establish the Communication Link 2 22 Connect the PC to the PLC 0 0 ee III 2 22 Monitor the Program 2 28 Chapter 3 Managing Projects Get Started Using DirectSOFT 5 3 2 Understanding the Launch Window aaa 3 2 Create a New Project l 3 4 NCW PIOLO paawa aa NMA nes ANAN BAGO NEY DAA xdg ROS NKO NA 3 4 Enter the New Project Information llle 3 4 Importing Projects lreles e 3 5 Program Documentation Mapping from TISOFT and Logicmaster 3 6 Copy or Save Existing DirectSOFT Files 3 7 Chapter 4 Programming Environment Offline Toolbar Components 4 2 Offline Toolbar CPC 4 2 Online Toolbar Components 4 5 Online Toolbar i 4dc08 ee bid eed ow eee eo ee a 4 5 Additional Toolbars 4 6 The File Toolbar au waaa eee ee eee WG KAKAI awe og omn wide ROS 6h RD NG 4 7 The Edit Toolbar lllllellllelee eee eas 4 8 The Search Toolbar darc dde ara AG KGG Om do ia eg 4 9 The VIEW Toolbar 23 2d a uode qi 3 BANA MAKA de E o KA ee KAM BG
23. Mnemonics and XRef Views are the primary views in DirectSOFT 5 and can be accessed by selecting the View submenu from the Menu bar and then selecting the view of your choice with the mouse cursor When a new project is started the Ladder and XRef Views appear as the default refer to page 2 12 The Stage and Mnemonics Views can only be opened 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 Menu x12 XT B1400 3 RST ko Aa x5 Y4 im cf our ross Re XRef View FE v Status Bar emen xD Options mes ng X5 X6 a ET 2 9 1 0 a 19 1 1 T B1400 3 dt dt dt ET dt dt iE 3E 3E it iE Hi 3E E E EE E E XB Y5 hmm cf our ER 00022 00026 06 It is possible to open the Stage and Mnemonic Views along 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 7 2 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views y DocEd A new DirectSOFT 5 feature is to have the Documentation Editor open as a tabbed view while editi
24. NOP Insert instructions from mnemonic text file into current program Offline 00020 07680 06 0005 001 001 DirectSOFT 5 User Manual 1st Edition 6 25 Chapter 6 Documentation mmm The Insert Instructions dialog will appear Select the folder where the text file is located then select the text file to be inserted Next choose either Insert at Beginning End or Before Rung Number How the element documentation can be imported involving collisions with existing program documentation can also be chosen Select Merge PRJ Priority if the existing project documentation is to remain unchanged Select Merge TXT Priority if the new documentation is to overwrite the existing documentation in the program If the program element documentation is not to be changed select Ignore Element Documentation Press the Open button to execute the instruction Insert Instructions z 3 Insert At Documentation Import Me Beginni C Merge PRJ Priority s omputer etwork Places older C Merge TXT Priority Before e gnore Element tt Documentation Number Iv Ignore Stage Comments File name E xample text Files of type Monic txt lt c documents and settingssgary hawkinson desktop example text txt y 1 IZ E lt a rl example tex a pes 1 7 rll tex it uu My Documents ung comments a v The DirectSOFT 5 Ladder view now displays the inserted instructions and documentation EE DirectSOFT
25. The contact buttons are self explained Each contact button will place the particular element on the rung wherever the edit cursor is placed Browse Contacts click on this button to view the Contact dialog of the Instruction Browser to select a contact of your choice Browse Coils click on this button to view the Coil dialog of the Instruction Browser to select a coil of your choice Browse Boxes click on this button to view the Box dialog of the Instruction Browser to select an Instruction Box of your choice Browse Elements click on this button to view the Element Browser which will allow you to select from various types of memory addresses XO YO V2000 etc This can be used to edit Nicknames Wiring info or Descriptions of Elements Wire to Output clicking this button will turn the horizontal wire between the last contact to the output ON and OFF Wire to Stage click on this button to draw a powerflow transition between a contact and a Stage box instruction DirectSOFT 5 User Manual 1st Edition 4 29 14 30 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment The Split Screen Feature There may be times when more than one part of the same program needs to be viewed DirectSOFT 5 has a split screen feature that allows the programmer to split the program horizontally into two panes Split Screen Bar To use the split screen feature there is a bar Split Screen bar located
26. e Data View Data4 Docked to the left edge of the application e Data Views Data2 and Data3 Docked as a Group MTI to the left edge of the application with Data3 currently selected e Data View Data5 Auto hidden docked Data View that is docked to the left edge of the application e XRef View Floating XRef View that is floating outside the borders of the DirectSOFT 5 application window e PLC Setup Floating toolbar that is floating outside the borders of the DirectSOFT 5 application window DirectSOFT 5 User Manual 1st Edition 7 19 HAPTER 8 PRINTING In This Chapter Print the Current View 00 0000 eee eee eee 8 2 Print Multiple Views 2 0 0 0 0 0c ee eee eee 8 5 Print View Common Setup 0000005 8 Using Print Preview 0 0 0 eee eee 8 8 Print Troubleshooting llle 8 10 Chapter 8 Printing rn LL aaa Print the Current View A printout of the program can be very useful when developing a program A printout will provide a full view of whatever view is displayed in the DirectSOFT 5 programming window Print the Ladder View To print the Ladder View use the Print dialog to select the printing options To open the Print dialog either select File 5 Print on the Menu bar press the Print button on the File toolbar if it is displayed or use the keyboard shortcut Ctrl P The Print dialog will appear like the one shown bel
27. going to it s File Connection Settings menu NOTE Other software such as GPS RSLogix IR drivers and digital ES cameras might cause this problem also DirectSOFT 5 User Manual 1st Edition B 5 INDEX A Auto increment 10 12 AutoSense 0 B 4 C Cable Diagrams A 6 Colors in DirectSOFT 5 4 24 Color Bars 4 25 Color Setup 4 26 Communication Link 2 20 Link Wizard 2 20 Protocol and Node Address 2 21 Select Link 2 20 Compare Programs 2 23 Connecting Lines 5 19 Copy or Save Existing Files 3 7 Current Value 10 17 D Data Types 5 4 Aliases 5 5 Data View 10 2 Documentation 10 7 Editing Entries 10 12 Entries 10 8 Options 10 4 DirectSOFT 5 User Manual 1st Edition Index devasync dll B 2 Documentation Editor 7 3 DS500 ini B 2 DSLaunch window 3 2 Dump 1 B 5 ECOM 9 7 element references 10 17 End Coil 5 17 End Rung 2 17 Error Log 9 20 Ethernet link 9 7 Exporting 6 14 Element Documentation 6 16 Program Documentation 6 14 Rung Comments 6 18 I O Configuration 5 2 Importing 6 14 A Program 6 19 Element Documentation 6 22 Program Comments 6 24 Importing Projects 3 5 Input Element 2 15 o Index a Insert Instructions 6 24 Install Software 2 3 Installing an Upgrade 2 4 Instruction Browser 5 8 Instruction Editor 5 6 L Ladder Palette 4 28 5 8 Link Status 9 6 Link Wizard 9 2 Menu Bar 5 10 Modem Setup 9 12 New Project 3 4 Project Files 3 8 New Window 4 31 Nickna
28. press complete release clamp 1 cycle mode Conveyor delay Part Counter x TJ M 4 gt Hrll example Ready Tools Data Window Help Adobe PDF SF om n4 ho sh r10 B 7 U E E i i start switch on operator panel Limit that detects part in fixture Confirms that the clamp is locked Confirms that the clamp is unlocked Lower arbor limit Upper arbor limt Confirms that the conveyor actually moved forward switch on operator panel selects one cycle or automatic operation Stop Switch on operator panel Clamp to hold part in place Output for downard movement of the arbor Motor starter for conveyor motor Control relay used to signal press is in automatic mode Control relay showing that the part has been pressed Control relay that controls the releasing of the fixture clamp Control relay used to signal that press is in one cycle mode Delay timer for conveyor self resetting parts counter to count number of parts made After importing a program the element information can be imported next To do this select File Import Element Documentation or press the Import Element Doc button on the File toolbar The following window will appear Select the folder and the csv file to be Import Documentation Look in Es Desktop SE My Network Places o Share to web Upload Folder RLL element doc 2 ill example text iu ill text i rl example EZ i rl example Import Method Merge PRJ p
29. 075 0003 001 0UT Step 6 Accepting and Saving the Program 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 buttons Click on either Accept button to compile the program Once the rungs are accepted with no errors the yellow bar will change to green the Accept buttons will be grayed out and the Cross Reference View now shows the two elements that have been programmed Read and Write buttons a DirectSOFT 5 Programming Example Ladder View File Edit Search View Tools PLC Debug Window Help EDIT N me eee o Sd M3 ite hu x MODE La s OP si Fra z X alx Ladder View Programmed elements now appear in the Cross Green bar Reference View indicates the rung has been accepted 0003 001 0UT 2 20 DirectSOFT 5 User Manual 1st Edition 00004 07680 06 Quick Start 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 in order to download the program to the PLC however it is good 2 practice to save your work as you edit a program A mistake may be made at times and you may want to restore the program to the state that it was before the mistake was made If a mistake is made and you want to restore the pro
30. 100 words to disk but you CANNOT write it to the PLC e You CAN convert DirectSOFT 100 version to the full version if you purchase the key and enter the key code in the DirectSOFT100 dialog it may appear often or in the Help About dialog e You CANNOT download a program to a PLC larger than 100 words e You CANNOT open an offline project larger than 100 words e You CANNOT open a program in the PLC larger than 100 words There are no other limitations DirectSOFT100 is able to use all of the features described in this manual Many instances of DirectSOFT100 can be running at one time and monitor any number of data points DirectSOFT100 is basically the same functionally as DirectSOFT 5 full version except the ladder program needs to remain within 100 words Welcome to Direct50FT 100 Welcome to the Direct 0FT 100 version of Direct SOFT 5 Programming Direct 50OFT 100 supports a maximum program length of 100 words IF you create a program longer than 100 words Direct50OFT 100 will allow Vou bo save it to disk but vou cannot re open this project with Direct50FT 100 You may purchase a key to unlock the full version by calling us at 1 800 633 0405 Better vet if you have access to the Internet come visit us on our web site at VW Automation rect com E Unlock Full Version 2 10 DirectSOFT 5 User Manual 1st Edition Quick Start Using DirectSOFT100 To begin a project double click on DirectSOFT 5 Programmi
31. Automationdirect com disclaims any proprietary interest in the marks and names of others Copyright 2006 Automationdirect com Incorporated All Rights Reserved No part of this manual shall be copied reproduced or transmitted in any way without the prior written consent of Automationdirect com Incorporated Automationdirect com retains the exclusive rights to all information included in this document A AVERTISSEMENT 4 Nous vous remercions d avoir achet l quipement d automatisation de Automationdirect comMC Nous tenons ce que votre nouvel quipement d automatisation fonctionne en toute s curit Toute personne qui installe ou utilise cet quipement doit lire la pr sente publication et toutes les autres publications pertinentes avant de l installer ou de l utiliser Afin de r duire au minimum le risque d ventuels probl mes de s curit vous devez respecter tous les codes locaux et nationaux applicables r gissant l installation et le fonctionnement de votre quipement Ces codes diff rent d une r gion l autre et habituellement voluent au fil du temps Il vous incombe de d terminer les codes respecter et de vous assurer que l quipement l installation et le fonctionnement sont conformes aux exigences de la version la plus r cente de ces codes Vous devez tout le moins respecter toutes les sections applicables du Code national de pr vention des incendies du Code national de l lectricit et des co
32. Conventions Used A SNZ EB af When the notepad symbol is shown in the left hand margin the paragraph H to its immediate right will be a special note The word NOTE in boldface will mark the beginning of the text When the exclamation mark symbol is shown in the left hand margin the paragraph to its immediate right will be a warning This information could prevent injury loss of property or even death in extreme cases The word WARNING in boldface will mark the beginning of the text Whenever the lightbulb is shown in the left hand margin the paragraph to its immediate right will provide a special tip The word TIP in boldface will mark the beginning of the text Menu Selections and Keystrokes When the software requires you to use a particular keystroke or menu selection the written instructions will be in boldface type Combination keystrokes will be separated with a plus 4 sign For example Ctrl C means Hold down the Ctrl key and press the C key Menu selections can also be combinations and separated by a greater than sign For example File Write Program to Disk is a menu selection combination Key Topics for Each Chapter The beginning of each chapter will list the key topics that can be found in that SF a C h apte r GETTING STARTED N 1 DirectSOFT 5 User Manual 1st Edition 1 5 CHAPTER 2 Quick START In This Chapter Getting to Know Windows
33. E Forgetting to Select Rungs In order to Cut or Copy a rung or rungs the rungs must be selected use Shift up or down arrows If a nothing is selected the Cut and Copy buttons will be grayed out on the Offline toolbar and on the Menu bar DirectSOFT 5 User Manual 1st Edition Bl 5 3 APTER DOCUMENTATION In This Chapter Turn Documentation On and Off 6 2 Using the Documentation Editor 6 4 Documenting and Assigning Nicknames 6 6 Entering Rung Comments a 6 9 Entering Stage Comments 6 12 Importing and Exporting sss 6 14 Prevent Documentation Loss 6 28 Chapter 6 Documentation O_o ooo Turn Documentation On and Off Documentation is the text associated with the components and structure of a DirectSOFT 5 program which is added for greater clarity It may refer to the elements wiring rungs or stages All documentation options are turned ON by default when the Options dialog is first opened The Options Dialog DirectSOFT 5 allows the programmer to turn ON OFF the documentation in each available view A quick way to open the Options dialog is to place the mouse cursor in the displayed view 6 and right click the mouse A pop up window will appear with Options as one of the selections Select Options and the dialog will appear like the one shown below When the dialog opens the
34. E DirectSOFT 5 Programming intro File Edit Search View Tools PLC Debug Window Help H E EDIT NG Ke poy mal P du e a TUN Find pai Opts End Help Ladder View Ladder View 2 4b x E Ladder Vie 0 x A wl _On Split Screen _1Second CNT SP4 CTO M T For Help press F1 Offline 00014 07680 06 0001 001 0UT DirectSOFT 5 User Manual 1st Edition 4 3 1 CHAPTER 5 EDIT A PROGRAM In This Chapter O Configuration a 5 2 Referencing Program Elements 5 4 Entering Program Instructions 5 6 Shortcuts for Entering Instructions 5 11 Drawing Deleting Connecting Lines 5 19 selecting Rungs for Deleting Cutting or Copying 5 21 Deleting Rungs llle 5 22 Copying Rungs 20000 ee ee 5 23 Cut and Paste Rungs 5 25 Merge Combine Rungs 5 26 Inserting Columns Rows and Rungs 5 27 Using Search and Replace 5 29 Common Mistakes leen 5 31 Chapter 5 Edit a Program AAAA I O Configuration One of the first things to be done before beginning to edit a 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 in the I O configuration The DirectL OGIC PLCs have automatic I O configuration and some of the CPUs offer manual I O configuration
35. Edition 4 15 Chapter 4 Programming Environment Trap Monitor This button will open a dialog which allows the programmer to trap element values at specific addresses rather than after a scan see page 10 25 The Window Toolbar 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 New Window This button will add a new Ladder View of the current Ladder View Arrange View Cascaded The Cascade button will rearrange views in a cascaded fashion Tile Views Horizontally This button will arrange the Ladder Stage Views in a tiled horizontal fashion Tile Views Vertically This button will arrange the Ladder Stage Views in a tiled vertical fashion Arrange Icons Use this button to arrange the icons for minimized windows at the bottom of the main window If there is an open document window 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 window Default Pressing this button will restore window and toolbar positions to their factory default layout settings 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 4 16 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment The Help Toolbar
36. Ev p7 lil New Project View Help Version New Project Name mum i Browse l Cancel ex Help Simatic TI 405 Enter the New Project Information The New Project dialog box is used to define several things e New Project Name enter a name for your project up to 32 characters no extension e Family select the DirectLOGIC PLC family or compatible you will be using Type select the CPU you are using from the available list Remember different PLCs use similar instructions but they are still different in some ways For this reason it is extremely important that you specify the correct CPU e Browse you can keep the default project path c DirectSOFT5 projects or use the Browse button to either select a project not shown on the menu tree or a different folder with the project listed in it 3 4 DirectSOFT 5 User Manual 1st Edition Chapter 3 Managing Projects Importing Projects You may already have TISOFT or Logicmaster programs stored on your PC s hard drive or on a disk You may also have projects that were exported from DirectSOFT version 4 Use the following procedure to import these programs 1 Open the New Project dialog as described on the previous page 3 2 When the New Project dialog appears click on the Cancel button The programming window will remain on the screen 3 Click on File on the toolbar
37. Local Menu Choose the XRef tab and make the Query selections in the Documentation section to be displayed in the Element column Press OK after making the selections Options Global Ladder Stage Ref Apply options to AllOpen Views Iw New Views Display Mode Documentation Usage Options f Full Ref W Elements Reverse Usage C Rung Ret v Nicknames Iw Use PLC Ranges C Usage Table v Wiring Into Usage Field Size W Descriptions Ce i C 10 1B Cancel Help The other two sections located in the dialog Display Mode and Usage Options contain options that can be selected on the XRef View toolbar 7 8 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views XRef Toolbar The Cross Reference View has a toolbar to move quickly to different locations and views in a program The available buttons can be seen in the illustation below Specify XRef Previous XRef Mode Rung XRef Rung Manual rebuild EE XRef and HEE E E 4 Element Usage Usage Mode Rung XRef Next XRef Rung XRef Mode this button brings the Cross Reference table into view if it is 7 Tables not in View Usage Mode pressing this button brings the Element Usage table into view Rung XRef this button transfers the current mode to a one rung mode which only displays one rung in the table Specify XRef Rung enabled only in the single rung view Enter a rung number or an address in the dialog pic
38. View click on the element nickname or reference then use the Ctrl Enter keys as mentioned above The elements will be entered in sequence below the starting point and any elements that were below the start point will be pushed down below that point s a3 _ 3 Mel Element Status Edits Ea Start OFF Click on an cio OFF element then press Ctrl Enter C11 OFF to make sequential le OFF entries OFF For Help press F1 Editing Entries Editing the entries can only be accomplished by using the standard keyboard shortcuts Click on the element to be edited then use either Ctrl C or Ctrl X to copy or cut the element Ctrl V is used to paste the element pasting be aware that the pasting operation will overwrite any field that has been selected prior to the paste Consequently it is preferred to paste the data into an empty field WARNING Because Data View follows the conventions of spreadsheet Elements can be deleted from a Data View at any time Select the item by clicking on it then either use the Delete key Edit 5 Delete the Delete button on the Edit toolbar or right clicking on the element then select Delete in the pop up menu The deleted elements are not placed on the clipboard therefore lost 10 12 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring e a m mms aaa An editing feature that can be useful is the ability to select more than one
39. View Window A new Data View window can be opened in any one of three ways the menu bar Debug Data View New the keyboard shortcut Ctrl Shift F3 or the Data button on the Status toolbar By default the Data View windows are assigned names Data1 Data2 etc consecutively This name can be changed for the current view using the Options dialog The following diagram is an example of a newly opened Data View L Element Status EN EN EN m 10 2 DrecrS0FT5User Manual 1st Editon 0000000 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring A Closer Look A closer look at Data View will show the basic components Write All Edits to PLC Data Format Clear Edits Datal x eS h E i Select Element Status Edits a Edits Start Switch DFF Mode Reset OFF CTAD 0 al Write Current Edit Ta to PLC R Iz For Help press F1 e Select Edits Mode enables disables the Edits column When the column is enabled Edits can be written to the PLC The Edits 10 column is not available when disabled e Data Format change the format bit binary Octal decimal etc displayed in the Status column for a selected row Format Size choose the selected Data Format displayed in the Status column 1 16 32 WORD etc Clear Edits this will clear all data entries from the Edits column e Write Current Edit to PLC the data value for one element c
40. When some dialogs open for input they automatically use a default element address For example if the Cancel 5 Ladder palette button for a normally t Red indicators show not complete open contact is used the Instruction Accep Green Editor dialog box appears with CO as Indicators the default This is changed to another siia vaig address or nickname that meets the program requirements Click on the to accept the entry the X or ESC to cancel the entry or on the element browser button magnifying glass to browse through the available element addresses or nicknames or press Enter to accept the entry Multiple Parameter Instructions Some instructions such as timers counters and comparative boolean contacts require more than one element parameter For example for a CTAO K5 timer enter the timer number and a preset value For a comparative boolean contact enter the memory location and the value to be compared When the Instruction Editor dialog box e appears for these instructions the cursor appears in the first operand field Do not press Enter when you complete this entry Press the Tab key or click on the second field for the next entry For example if entering a comparative contact make the first entry and then press the Tab key to make the next entry To return to the first field press the Shift Tab keys DirectSOFT 5 User Manual 1st Edition 5 7 1st Operand 2nd Operand
41. a text file in comma separated variable text format Export Rung Comments This button will allow the programmer to export the active ladder 4 logic rung comments in text form Preview the Program Use this button to display the current view as it would appear in printed format Once previewed the program can be printed Print This will allow the printing of the current view and selected documents Print All Use this button to allow the programmer to print all of the documents that are selected Setup This button will open the printer setup dialog Property This button will show the project properties Exit This button will allow the programmer to exit the project If the project has not been saved a pop up window will remind the programmer to save the project otherwise the project will close The Edit Toolbar The Edit Toolbar is only active in the Edit Mode It duplicates some of the main menu Edit commands Oey ASAE 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 4 8 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment 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 multible rungs are selected highlighted
42. aaa 10 2 Change Value Dialog Lus 10 16 Using the Memory Editor 10 20 Test Mode Operations for Debugging 10 22 Trap Monitor sack 2299 33929292 3 995224 525 10 25 Stack Monitor DL440 Only 10 26 Check DirectSOFT 5 File Revision 10 27 Chapter 10 Debugging and Monitoring a n Monitor with Data View Chapter 2 Quick Start described how to edit a program and go online with the PLC There was also a discussion on how to monitor the status of the program This chapter will discuss more monitoring and debugging features of DirectSOFT 5 Using Data View Using the Status to monitor a program is very useful The Data View window is more useful since you can do much more in one view The Data View window has more advantages such as View status of elements Read and write data values Multiple Data Views can be open at the same time e Since they float they can be placed at convenient locations Data View is also conveniently docked by default and can be set to auto hide by clicking on the push pin Multiple Data Views can be tabbed together as one dockable or floating window Use Data View to monitor the program all views ladder stage mnemonic on the same screen e The Data View window can be saved by name e Data View windows are independent of projects and can be used for multiple projects Open a New Data
43. available for these PLCs offering Bit of Word include all of the STR AND OR and OUT instructions and all SET and RST instructions Notice SET and RST examples shown below the letter b precedes the memory location where the bit is to be manipulated in some way After the V memory address of the word use a decimal point 5 and a number between 0 and 15 zero being the least significant bit to designate which bit is to be set For example b1400 3 is the fourth bit of V1400 Enter the letter b followed by the memory Ladder View RE address of the word containing the bit to be turned ON Use a decimal point plus a value between 0 and 15 to designate which bit to turn ON i e B1400 3 is the fourth bit of V1400 Ignore the second field X malh Jer And to reset the bit Use the same decimal point convention with the RST instruction X Sc D T T The same convention is used for the STR AND OR and OUT instructions not shown JE NOTE The letter b can be entered in either lower case or upper case The end result will be an upper case B appearing in the program Using Floating Point Math Small low end PLCs typically allows the use of integers but do not allow the use of math containing decimal places The second type of math just mentioned is called floating point math If the processor for your PLC supports floating point math i e DLOG DL250 1 DL260 and DL450 it s a good
44. battery backup for blackout and brownout conditions DirectSOFT 5 Package Contents Now is the time to review the contents of your DirectSOFT 5 software package you should have the following items e CD ROM e Programming User Manual 2 2 DirectSOFT 5 User Manual 1st Edition Quick Start Installation of DirectSOFT 5 Step 1 Load the CD DirectSOFT 5 for PLCs Server Software is available on the 2 AutomationDirect Product Showcase CD To install DirectSOFT 5 insert the AutomationDirect CD into your PC s CD drive The CD should start automatically and open the Install Software window shown below 4 Macromedia Flash Player 6 HG Jeg N ote s File View Control Help If the DirectSOFT 5 CD does not start automatically go to the Windows START Instali Purehased button select RUN and type Demo Software EAADC catalog exe O Er Change the letter E above ap wem to match your CD drive Then click on OK and the amp aan program will start Step 2 Select the Install Software Option The DirectSOFT 5 Install Software window offers all the options available with this CD To install DirectSOFT 5 select the Install Purchased Software option indicated on the figure above The following message dialog will appear This dialog issues a reminder to exit all other Window applications If you are unsure of the programs that may be running open the Task Manager by pressing the Ctrl ALT Delete key
45. code from a previous version of DirectSOF T DirectSOFT 5 Programming InstallShield Wizard Please enter your valid Product Password Keycode to run this setup Leave this field empty to install DirectS OFT 100 or to update an existing DirectS OFT 5 installation Click here to proceed with the DirectSOFT 5 installation 2 4 DirectSOFT 5 User Manual 1st Edition Quick Start Step 5 License Agreement The wizard displays the Software License Agreement shown below Read the agreement and select accept the terms of the license agreement Click Next to continue with the installation If you do not accept the license agreement cancel the installation DirectSOFT 5 Programming InstallShield Wizard B License Agreemen t Please read the following license agreement carefully DirectSOFTS License Agreement m IMPORTANT BEFORE OPENING THIS PACKAGE AND USING THIS SOFTWARE YOU SHOULD CAREFULLY READ THIS AGREEMENT The enclosed DirectSOFT5 computer software program the Software is the property of Automationdirect com inc or its suppliers Before installing this package carefully read this Agreement If you do not accept the terms and conditions of this Agreement you should return the enclosed Software and any accompanying items including any a manuals release notes binders etc unopened to Automationdirect com for a full i refund 1 LICENSE Subject to the terms and conditions of this Agree
46. displays the current configuration of the installed PLC I O Chapter 5 Setup a Password This button will allow the programmer to set a password in the PLC 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 I O configuration from the PLC to disk 4 12 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment 3 Disk to PLC This button will allow the copying of the configuration data from the disk to the PLC The PLC Diagnostics Toolbar The buttons on the Diagnostics Toolbar will only be active when the PC is online with the PLC PLC Diagnostics Pressing this button will perform diagnostics on the connected PLC Observe the Scan Time Press this button opens the Scan Time dialog which allows the viewing of the current minimum and maximum scan times from the current PLC The scan times are continuously updated while the dialog is visible View Error Messages The messages button will open a window that displays System Errors and Fault Messages which have occurred The PLC Setup Toolbar 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 AU 4 pause Owride m RAR i m Set the Pause Bits Use this button to open the Pause Bit editor which allows the programmer to set
47. fe NG pai Opts sa sae Help ea E Cut Ctrl D Cut Copy Paste Find ut rie ax Copy Ctrl C aj Paste Ctrl si Delete 61400 3 SET na Insert Merge B1400 3 Select RST 0 YO x2 x1 OUT x4 x11 igi Contact x1 lgi Coil 5 lg Box F7 Wire b SRE EditMode CtrE X Cut the selection to the Clipboard Offline 00024 07680 06 0002 001 001 The copied rungs are held on the clipboard until they are pasted using one of the methods just mentioned or Ctrl V The clipboard is updated whenever a different rung is copied in other words the clipboard will only hold one copy at a time a DirectSOFT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help st EDIT d X Ny ot ay o T tj i dist Ss a d PUDE Paste Dna pag Opts 22 pr Help bd Ladder View x12 1 SET KO x1 x2 x10 x14 YO 2 m OUT x12 x4 x13 x11 B1400 3 RS B1400 3 APY X T XT T The above example shows the copied rung pasted from the clipboard to the next rung location in the program Rung 4 DirectSOFT 5 User Manual 1st Edition 5 23 Chapter 5 Edit a Program rungs are pasted This is only true for pasting a rung to an WARNING When using Stage instructions be careful where copied unconditional output that follows a Stage box Confirms that clamp has securely locked the part in place Blue 002 Clamp Locked x42 Press Down s3 Uncondi
48. how and where colors are used Select New Colors The programmer can setup the colors that he prefers for the projects to be developed The selected colors will remain the same for each project To open the Color Setup window click on View Color Setup or click on the Color button in the View toolbar button group The Color Setup will appear like the dialog below The colors are changed by selecting the usage Normal Background Comment etc under Selection then click on the color in the Colors palette The Sample area below the Color palette has a color bar that will change as the colors are selected Rows of text will also change color for each type of documentation selected These are the rows of Cs Ds Ws etc Color Setup x Selection Normal Background Uncompiled Background Unsaved ta Disk Background Unsaved to PLC Background Disabled Background Selected Background Click on item Status Background Click on the desired color to select for a Vii Foreground ommernt color change Description Wiring Info Nickname Element Token Letters match documentation selections Vertical bars match highlighting for selected rungs uncompiled etc OF Cancel Defaults 4 24 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment Color Selections Normal Background the normal background color the default is white with 3 D Token disabled Selected Background used for s
49. idea to learn the conventions used for entering the floating point math elements and parameters Refer to the user manual for the PLC which you are using 5 18 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Drawing Deleting Connecting Lines A WARNING As you read this section pertaining to connecting lines be aware that elements that have not been connected will be deleted when compiling you program How to compile all edits is discussed at the end of this chapter Drawing the Lines Most programs contain a wide variety of rungs with complex series and parallel element connecitons Most any networks can be built by connecting the contacts outputs etc with horizontal and vertical lines Enter these lines refer to Page 5 13 by using the Ctrl key and the arrow keys For example press Ctrl to draw a vertical line from top to bottom or press Ctrl to draw a horizontal line from left to right Below is an example network containing combinations of series parallel elements Ladder View B1400 3 RST DirectSOFT 5 User Manual 1st Edition 5 19 Chapter 5 Edit a Program Create Midline Outputs There are times when you need to use a diagram that is often referred to as a midline output There are no special procedures required Enter the contacts and outputs as normal and use the Ctrl and arrow keys to draw the connecting lines Below is an example of how a midline output would appea
50. in place the machine begins the pressing operation Control relay used to signal press is in Limit that detects part automatic mode in fixture Automatic made part present K1 e a 6 8 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation Entering Rung Comments Each rung in a DirectSOFT 5 program can have associated comments Unlike some programming packages from other vendors the comments are not tied to the outputs Instead the comments remain with the rung where the comments are added regardless if other rungs are deleted before a commented rung To edit a comment the cursor must be on the rung to where it is to be added Now either press the keyboard shortcut Ctrl K Tools gt Comment Editor on the Menu bar or press the Edit Comments button on the Tools toolbar if it is displayed The Edit Comments dialog shown below will appear 6 Edit Comments Ru ng Hung 2 I the Press is i automatic mode and a part is in place the machine begins Comment the pressing operation Comments are Free form The appropriate comment can be added as necessary The Ladder view is a full screen editor therefore backspacing the entire comment is not necessary to fix a spelling error Instead position the cursor over the word to be edited and double click the left mouse button to highlight the word then type in the corrected word Selecting Rungs for Comments Once you have edited a rung comment you can use th
51. in the launch window NOTE Also see DSLAUNCH comments in Chapter 3 2 8 DirectSOFT 5 User Manual 1st Edition Quick Start If you have been using previous versions of DirectSOFT Programming Software you will see that the DSLaunch window looks much like it always has Differences are noted in the below descriptions Applications These are the applications currently installed in E DirectSOFT5 They are visible in the Menu tree under the Applications folder icon and are linked to applications that have been designed for launch from DirectSOFT 5 For example to create a new program double click the DirectSOFT 5 Programming name Utilities Several utilities are available under this folder icon If you have already installed available utilities such as NetEdit CTRIO Workbench etc these will be shown here You will notice that there are three new utilities available a shortcut to Microsoft Calculator that comes with Microsoft Windows a direct link to the AutomationDirect website and a direct link to the Host Engineering website Shortcuts to your favorite utilities can also be added by adding them to the Utililities section of the DS500 ini file Projects These are the programs which are created in DirectSOFT 5 A project is the collective name for your program and all of its documentation When you create a new project or work on an existing project you will see it listed in the Menu Tree under the Projec
52. in the right hand corner of the Ladder View To split the screen position the cursor over the Split Screen bar then press and hold the left mouse button When a parallel bar appears move it down to bring the split screen into view and size the screen to your convenience E DirectSOFT 5 Programming rllexmp2 Ladder View File Edit Search View Tools PLC Debug Window Help T da EDIT NN Ko luma any P dad OPen MODE Find pra Opts sa mae Help g Ladder View Start switch on signal that press is in Stop Switch on signal press is in operator panel one cycle mode operator panel automatic mode Blue 000 Blue 008 start switch 1 cycle mode stop switch Automatic mode x40 C3 x50 co x 3c m a g m OUT Control relay used to signal press is in automatic mode Automatic mode I The diagram below illustrates the split screen Notice that the lower pane is showing a different rung than the upper pane E DirectSOFT 5 Programming rllexmp2 Ladder View File Edit Search View Tools PLC Debug Window Help Ti ae EDIT A Kalma ny l P dud Open MODE Find x Opts s2 A Help Ladder View 4bx EDIT Control relay used to Control relay used to a MODE Maly JINX x Start switch on signal that press is in Stop Switch on signal press is in operator panel one cycle mode operator panel automatic mode Blue 000 Blue 008 start switch 1 cycle mode stop switch Automatic mode x40 C3 x50
53. ini file devasync dll dump 1 COM1Enable 1 COM2Enable 1 COMSEnable 1 COM4Enable 1 ModemEnable 1 COM8Enable 0 COM7Enable 0 COM6Enable 0 COM5Enable 0 devether dll EthernetEnable 1 UDPPortNumEnable 1 B 2 DirectSOFT 5 User Manual 1st Edition Appendix B Communications Troubleshooting A Setting any of the entries to a value of O will prevent DirectSOFT 5 from using it A value of 1 will enable it so Direct SOFT 5 can use it The value for these entries should be set so they match the resources that are physically present in the PC and are available for DirectSOFT 5 to use B WARNING It is normally not necessary to make any change to the DS500 ini file unless the user is trying to solve a communication problem with DirectSOFT 5 Save the ds500 ini file if changes are made Enable Dump 1 Dumpz1 located in the devasync dll section of the DS500 ini file is used to enable some low level communications debugging for serial and modem connections DBWin32 a debugging aid for Windows NT 95 is used to view the debugging information DBWin32 is found by going to DSLaunch and then double clicking on DBWin32 Logger in the Utilities folder in the DSLaunch Menu tree This will open the DBWin32 dialog If this is used it can be enabled by changing the semicolon to a colon at the beginning of dump 1 This example shows dump 1 enabled devasync dll dump 1 COM1Enable 1 COM2Enable 1 COMSEnable 1 COM4
54. is Windows NT 4 0 2000 Pro all XP versions the only Transport option available is Winsock With Windows 98 either Winsock or IPX interrupt can be chosen e f UDP IP is chosen as the Transport Protocol the PLC ECOM module IP address must be changed from its default of 255 255 255 255 before communication will occur The following dialogs are used for this Link Wizard pm 3 Select the transport layer IP Interrupt is commonly used with older OO 5 based Novell networks IE can only be used with IPs Winsock is the preferred transport It supports UDP YIP and IF Transport C rsen Ba Winsock Select the transport protocol Be sure the protocol you select Is installed in Windows Transport Protocol iv Px C UDPAP Cancel Back 4 Direct SOFT 5 will use the specified Transport and Transport Protocol to scan the network for any Ethernet module on the network After the scan is complete the following dialog will be displayed Link Wizard Select the device and addressing mode Using module ID is easiest and can be selected with the switches an the module Please nate the ethernet address ig unique to each module and cannot be changed Module List 00 EU 62 20 52 66 Address Mode Module ID i C Name HO ECOM10O0 C IF address 00 100 0 10 C Ethemet address 00 E0 62 20 52 66 Cancel Type D5 Query Setup Link Editor Back NOTE I the dialog is b
55. is to be exported to enter the program name and click the Save button Export Program Save in E Desktop o ee E TT Documents Ej iu Computer oh Mu Network Places 5 Share ta V eb Upload Folder File name ilexmp2 bd Save as type Manic F bt Cancel The following dialog will appear so options can be selected and saved Export Options rllexmp 2 txt E part Program Range From C Address Range C Bung Range Include Hung Comments 4 4 Include Element Documentation x Include Stage Comments x Include RHung amp ddress Comments Options m Expand l Boxes E lement Nicknames Parameter Delimiters f Use Element Hames f Use Spaces C Use Nicknames C Use Tabs cancel Click the OK button to save the program to a text file DirectSOFT 5 User Manual 1st Edition 6 15 Chapter 6 Documentation ee The text file can be opened with Notepad or equivalent word processor The Notepad example below shows what can be exported Note the Rung Comments and the Element Comments amp j ill text Notepad File Edit Format Help Rung 1 Address O BEGIN COMMENT Rung 1 This rung determines if the press is in one cycle or continuous run mode This is line 2 This is line 3 END STR x40 OR CO Rung 2 If the Press is in automatic mode and a part is in place the machine begins the pressing operation END d Rung 3 controls the fixture clam
56. of a structured program that can be viewed as a flowchart when the otage View is enabled A program flowchart may be easier to follow than a comparable ladder logic program Troubleshooting RLL U5 vs RLL The old saying can t see the forest because of all the trees often holds true in ladder logic programming Some RLL programs may contain many interlocks and complex rungs It may be difficult to follow the logical flow of activity and the relationships between different parts of the program This is where Stage programming can be better than ladder logic programming As a ladder logic program is edited with stages DirectSOFT 5 will translate the RLL into the equivalent Stage View using much more compact and easy to follow flow diagrams EE NOTE Consult the PLC User Manual Chapter 7 to learn how to incorporate Stage Instructions in a ladder logic program An illustration of a Stage View is shown below The flowchart area is shown in the upper left part of the display while a ladder logic area is shown in the lower half of the display The two windows are synchronized in other words when the flowchart is activated with the cursor the ladder logic will scroll to the same position in the program This can aid with troubleshooting the program When testing a program online with a PLC status ON both the flowchart and the ladder logic will track each other showing the power flow and transitions as they occur It is possible to lo
57. output pause bits Setup Overrides 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 DirectSOFT 5 User Manual 1st Edition 4 13 Chapter 4 Programming Environment The PLC Setup Toolbar cont d Set the Retentive Memory Range This button will open a Retentive Range dialog to configure the retentive memory for the current PLC Set the Watch Dog Timer Pressing this button will allow the programmer to view edit the watch dog time out value for the current PLC 4 Initialize Scratch Pad Pressing this button will begin the process of Initializing the Scratch Pad Memory Select I O This button is used to determine which I O Config will be read from the PLC on power up I O Check This button is used to turn on or off the I O Config check when the PLC powers up DO DCM Port Setup This button is used to setup the DO DCM communication ports Secondary Port Setup Press this button to setup the PLC Secondary Communication Ports Setup Global I O This button is used to setup the global I O for the DL405 PLC only Set the Time and Date Press the Calendar button to set the time and date in the PLC Set up the DV 1000 If there is a DV 1000 installed with the PLC use this to open the DV 1000 setup dialog refer to the DV 1000 User Manual for setup instructions Setup the PID Loops The PID b
58. save the project before a new Ladder View will appear Open a Project This will open an existing project A project can be open 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 4 2 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment Backup to File Click on this button to make a backup copy of your project Edit a Program EDIT This button will turn on the Edit Mode When the ladder view is 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 Accept the Program Before the edited program can be downloaded to the PLC the Accept button must be pressed Once this is done the program will be compiled in other words the program is put into a form that can be downloaded to the PLC Cut This button is available in the Edit Mode It allows the programmer ut to delete a marked or selected rung from the program and place it on the clipboard Copy This button allows the programmer to copy one or more marked or CoP selected program rungs to the clipboard see page 5 21 Paste Whenever rungs are cut or copied they are stored on a clipboard Position the cursor where you want the rungs to go then use this button to paste the rungs currently on the clipboard to the new location Find This button is used to locate an
59. status can be controlled when the PLC transitions from Test Run to Test Program The ability to hold output states is useful since it allows key system I O points to be maintained The Pause Bit is set to maintain the output status and the Pause Bit is turned off to allow the PLC to turn off the output on the transition to Test Program mode The Pause Bit option is selected for outputs in the Data View Options tab as seen below The On Off Pause buttons will then show on the Data View Global Ladder Stage Apple options to M Curent view New Views Display 1 Display 2 Doc Mlode General Settings Bit Display Settings Col shows display format On Off Status On I Status Bits Show Toolb na Pause Bits Pe LC Show Status Line Show Column Headers OverideBis 2 Show Grid Lines Swap bytes for text display 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 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 column indicates the Pause Bit is set for that output C Direct 50FT54Projects 4D ata3 dta sf a MNE Element Status Edits Start Switch OFF Reset OFF Start OFF P FT jJ E C1 OFF ran err CTAD 0 0 B 2 OFF P ce Ato 10 14 DirectSOFT 5 User Manual 1st Edition Chapter 10
60. the PLC except for one missing rung All programs must be terminated with an END Coil rung a DirectSOFT 5 Programming Example Ladder View File Edit Search View Tools PLC Debug Window Help t u E MODE re 4 E pas pers nd Er ia X alx Ladder View 4bx maala M KO Rung Address Instructior 1 M 00001 07680 06 Step 5 Enter the End Rung 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 Instruction Browser will appear as shown in the diagram below This time select Program Control located in the Coil Class selection window Next select END located in the Coils selection window Click on OK then Enter E point e main progra andthe EU ot enter the Ru nG xac gs oner the End in ontact is kah DireciSOFT 5 User Manual 1st Edition 2 19 Quick Start The below diagram shows the two rungs that have been programmed This is a basic program that can be downloaded to your PLC Additional rungs can be programmed but you can go 2 ahead and accept the program a DirectSOFT 5 Programming Example Ladder View File Edit Search View Tools PLC Debug Window Help EDIT NG S Kalmo nnay mal P hs g M xis MODE ent Ls se Opis sod pr Help B Xx Ladder View ma 5 1 1 1 Rung Address instructior gt zs ov a ink click to Connect Link In PLC Comm Link Indicator Click to Connect Link Info Ine DOD02
61. the current stage in the Stage View Title Use this button to allow the programmer to Edit the title for the project Compare This button provides a window so the programmer can compare the current program with another program on disk or with the program in the PLC Insert Instructions This button is used to insert instructins from a Mnemonic text file into the current program optionally including element documentation DirectSOFT 5 User Manual 1st Edition 4 11 Chapter 4 Programming Environment The PLC Toolbar The PLC toolbar duplicates the some of the features found on the PLC menu menu bar Connect to PLC 4 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 be setup here Disconnect from PLC Use this button to disconnect the PC from the PLC Link This button will open the Link Info dialog which will provide a quick overview of the current link s status and allows the programmer to edit and set the activation state of the link Setup PLC This button allows the configuration of the PLC type while offline Display Memory Map Use this button to open the current PLC Memory Map List Configuration Tools This button will open the Hardware Tools list The programmer can select a software tool to run from this list as long as it has been installed I O Configuration This button will open the Configure I O window that
62. then select Import 5 Program The Import Program dialog will appear as shown below 4 Locate the program to be imported by selecting Look in then the location of the program such as on a diskette in the PC s drive A Import Program Look in 24 356 Floppy amp File name Files af type New Project UNTITLED Browse 5 Select the Files of type to choose the correct file such as Tlsoft vpu 6 Select the program to be imported up to 32 characters with no extension from the diskette or other media where the program is found The file name should appear in File name area 7 Either enter a name for the project in the New Project area or use 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 5 program DirectSOFT 5 User Manual 1st Edition 3 5 Chapter 3 Managing Projects Program Documentation Mapping from TISOFT and Logicmaster Although most of the documentation will have a counterpart in DirectSOFT 5 some of the documentation will not The following table shows what is imported what is not and the DirectSOFT 5 counterparts TISOFT Source Documentaion DireciSOFT 5 Documentation Title Page Title Page Editor Synonyms
63. to customize the toolbar by adding or removing buttons la DirectSOFT 5 Programming EXAMPLE L Ladder View File Edit Search View Tools PLE Debug Window Help v Ladder view Ctrl L Read Write New Stage View Mnemonic view Cross Reference view Toolbars Offline Bar Status Bar Online Bar v Ladder Palette Bar P3 CUP JE Dok Yimin 1 Ci Bim y Tm a a zi E EH Ex 3 Options Themes Element MONE mu Color Setup jul Zoom In FS Zoom uk File Bar Edit Bar Search Bar View Bar Tools Bar PLC Bar PLC Diagnostics Bar PLC Setup Bar Debug Bar Window Bar Help Bar UR i ama customize After selecting the file toolbar it will be added to the Ladder View window beneath the Online toolbar as shown in the diagram below This toolbar can be moved to any location of the programmer s preference by dragging it with the mouse arrow i DirectSOFT 5 Programming EXAMPLE L Ladder View di m File Edit Search View Tools PLC Debug Window Help pi c kis sil W Ki By Ba ics pa da Setup n A M Added Toolbar ko bo PAN IL ka NA Be BR Write New Open Fin XRef View i Bix Ladder view EJ E Element Rung Address Instructior 1 8 li 1 6 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment The File Toolbar The File Toolbar duplicates the more commonly used commands from the main menu File Notice that the icon buttons are
64. used to identify panel wiring for the project Ladder View 6 Description Rung 1 This rung determines ifthe press is in ana cycle or continuous run mode This is ling 2 This is ling 3 o Control relay used to Control relay used to Wi ri ng Info Start switch on signal that press is in Stop Switch on signal press is in operator panel one Cycle mode operator panel automatic mode N ickn ame start switch cycle mode stop switch Automatic mode x40 C3 CD OUT Element Control relay used to signal press is in automatic mode iir mode ia a ki Kia is in automatic mode and a partis in place the machine begins General Documentation Comments are general descriptions that are best suited for descriptions of a program rung or a section of the program e Rung Comments rung comments are assigned to an individual rung e Stage Comments if you are using the Stage instructions you can also add comments that describe the contents of any stage Comments are in this area Rung Comments DirectSOFT 5 User Manual 1st Edition 6 3 Chapter 6 Documentation iam KK Using the Documentation Editor Nicknames wiring information and descriptions for program elements are entered using the Documentation Editor The editor can be accessed using Tools Documentation Editor on the Menu bar Ctrl D or by pressing the Documentation button on the Tools toolbar X Mnemonic View Ladder View Skage View Documentat
65. 0 28 DireciSOFT 5 User Manual 1st Edition Table of Contents Check DirectSOFT 5 File Revision 10 29 Appendix A Protocols and Cable Diagrams Cables and Protocols A 2 Programming Cable Diagrams A 6 AppendixB Communications Troubleshooting DS500 ini File ee B 2 DS500 ini FIC o awn ergs eae we hen eee QT PTT RTRLPPPPTEEEPPPRIT B 2 Enable DUMPET aa heed pan ees ye eee oe sere bene KATAGA mad B 3 Enable AutoSense 0 0 ne ee ee ees B 4 DlOMUID ISSUES Ha nam GMA eee dere eee aoe AA eGR oh eee ee B 4 Other Issues 0 cece ees B 5 USB to Serial Converters cece ee ee eee B 5 Microsoft ActiveSync naana naana ee ee eee B 5 DirectSOFT 5 User Manual 1st Edition IX HAPTER 1 INTRODUCTION In This Chapter Introduction 0 aaa 1 2 Conventions Used 0 00 aaa 1 5 Chapter 1 Introduction Introduction The Purpose of this Manual This manual describes how to use the DirectSOFT 5 software for programming and monitoring any of the DirectLogic and compatible CPUs This manual will not teach you how to develop a relay ladder logic RLL program or attempt to familiarize you with the instruction sets of the CPUs Please refer to the applicable PLC user manual for the RLL instructions The Quick Start chapter will show the first time user how to get started using DirectSOFT 5 The b
66. 0b one cycle Blue 07 stop switcl Blue 008 clamp Red 000 arbor dowr Red 001 conveyor Red 002 Automatic mode press complete release clamp cycle mode Conveyor delay Part Counter start switch on operator panel Limit that detects part in fixture Canfirms that the clamp is locked Canfirms that the clamp is unlocked Lower arbor limit Upper arbor limt Confirms that the conveyor actually moved forward Switch on operator panel selects one cycle or automatic operation stop Switch on operator panel Clamp to hold part in place Output for downard movement of the arbor Motor starter for conveyor motor Control relay used to signal press is in automatic mode Control relay showing that the part has been pressed Control relay that controls the releasing of the fixture clamp Control relay used to signal that press is in one cycle made Delay timer for conveyor Self resetting parts counter to count number of parts made The illustration below is the C more format showing an Excel spreadsheet with the tagname element in column C the data type in column D and element reference Address in column G EG Microsoft Excel TagDB XLS E File Edit View Insert Format Tools Data Window Help Adobe PDF Z M5 Sans Serif 10 B Z U xj W3 C D E F G DataType DataCount Retentive Address A Discrete 1 FALSE C FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ProtocollD D
67. 157 AS T TUM Usage Mode Toolbar The Usage Mode toolbar is used to select various options for viewing the Element Usage table Limit range of elements Set usage field to the current PLC display length SUUM Select the XRef Mode Usage Table Toggle element Rebuild XRef select button references to and Element Usage Tables read left to right or right to left 7 10 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views CO mm a 3 EI XRef DB There is one more tab on the Options dialog that can be used for setting up the Query for the XRef View It is the XRef DB tab as seen in the dialog below This dialog opens with the default selections as shown In most cases this dialog should remain as is The Auto Rebuild may be the only selection to be disabled if it is desired to manually update the Cross Reference View whenever an element is added or deleted Options Ladder Stage XRef XRef DB Database Quen Definition Database Options Element Classes v Auto Rebuild Iv Input Timer Acc Iw Dutput I Counter Acc v User M Sustem Iw Status lf Unassigned Element Sizes Exclusions Iw Bit Mapped I Bute Global I Word DirectSOFT 5 User Manual 1st Edition B 7 11 Chapter 7 Other Views PID View The PID View will be useful as a PID loop tuning aid To access this view at least one PID loop must be setup
68. 4 10 The Tools Toolbar uw uua uRET UTGGEREETas S2 959924 594953555 4 11 The3g EC TODA sacos x pue ESEETO aaa 408 58 EROR RCRUEG REC ER OR nd 4 12 The PLC Diagnostics Toolbar llle 4 13 The PLC Setup Toolbar amahan acu dod vend ee ANA oS modd om ond 4 13 The PLC Setup Toolbar cont d a 4 14 The Debug Toolbar n n anaana naaa IR 4 15 li DireciSOFT 5 User Manual 1st Edition Table of Contents n The Window Toolbar 4254 ax uos ac sound EXE Sn KA WALK NLANLA GGWA 4 16 The Help Toolbar AA PAA AA 4 17 The Custom Toolbar a 2 waw wet maa oem no ek eile dide nc id aes 4 17 PLC System Information 2245220 08544 SP ERES ed EE RI ENTERS 4 19 Communication Link Information l l 4 20 PLC Mode seeeee RR RR RR RR ees 4 20 Program Memory Usage llle 4 20 PLO IDE RMTPD L PO 4 20 Program Location n anaana aaa 4 20 The Options Dialog an 4 21 Ladder Options aaa 4 22 Global COONS Ka vd xag drag Ad acre Pat E RC a CR SG BA Ey AG EN 4 23 Colors in DirectSOFT 5 lees 4 24 Colors Conveying Information llle 4 25 Select New Colors aaa 4 26 The Default Settings ee ee eee 4 26 NMIOHOCHIOMIG AA nooo soe Bad se oe Pa ee eee ees 4 26 Selecta Theme 0 ccc ee ee ee ees 4 27 The Tool Palette nnan ADAN bande AG OO TTD UTILI 4 28 Be Familiar with the Ladder Palette
69. 400 3 SET AX 2 m m rp YO OUT DirectSOFT 5 User Manual 1st Edition 5 27 Chapter 5 Edit a Program a r s Insert a Row or Rung A row can be inserted to either add an instruction or a rung Inserting a row is performed the same way as inserting a column by either using Edit Insert on the Menu bar the Insert button on the Edit toolbar or the Insert keyboard function key Place the Edit cursor on the rung where the row is to be inserted and use one of the above methods to perform the insertion Make the appropriate selections on the dialog and press OK A row will appear for the instruction be added Ladder View x12 B1400 3 SET x x1 Malh Jas we Insert row After Cursor Chn Roe C sn Note The cursor does not reip e eA no i i I d out Hoa Mang show when the dialog me Coo appears 2 x1 Ha 10 m14 O 3 OUT 2 M13 Current position E O 3x2 Ladder View B1400 3 2 X see o i m m A14 Yu OUT NI Add new instruction here Inserting a rung is done in the same manner as inserting a row except select Rung in the Insert dialog A new blank rung is inserted either above or below the Edit cursor position Ladder View B1400 3 SET Ma Jada Se MOP J YO The new rung is OUT inserted and the rungs are renumberd Run
70. 5 gg penProject Ctl O pAs In PA E Pros Setup d m de ed a P ad a MU E g u Print Setup Ax Documentation Recent File Jie Exit For Help press F1 DirectSOFT 5 User Manual 1st Edition 6 19 Chapter 6 Documentation ee The Import Program dialog will appear so the program text to be imported can be selected Select a previously exported DirectSOFT 5 program to import Choose the program text file and click Open Import Program Look in C Desktop Ba Ck E j My Documents J My Computer My Network Places a Share to web Upload Folder rll text Rung comments File name d example text Files of type Monic txt Cancel c documents and settingssgary hawkinson desktop rll example tex New Project UNTITLED Browse The complete imported program will appear as shown below In this example all elements element comments nicknames and rung comments appear in the program along with the cross reference E DirectSOFT 5 Programming UNTITLED Ladder View File Edit Search View Tools PLC Debug Window Help Mal Med EDIT 47 ime A qo X gt NG pa Write M Open 2 M MODE Pcent Me Co ka Find owz ae oom Out a E 2 BJ M du Mi Juil Se ed Yalue e A AY Ref View BO ex e Ladder View Rung 1 This rung determines ifthe press is in one cycle This is line 2 This is line 3 Control rela
71. 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help sx EDIT o 4 1 P rod tel nas Sa aa Sie KA BA a ba SHE r2 gt DocEd None Comnt Title CmP9n InsIn Ladder View K5 Y4 4 H AW Rung 1 This rung determines ifthe press is in one cycle or continuous run mode This is line 2 This is line 3 Control relay used to Control relay used to Start switch on operator signal that press is in Stop Switch on operator signal press is in panel one cycle mode panel automatic mode start switch 1 cycle mode stop switch Automatic mode C3 OUT Control relay used to signal press is in automatic mode Automatic mode co For Help press F1 Offline 00025 00026 06 0006 001 001 6 26 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation SY Yo Restore One option which the Insert Instructions function has that can be useful is the Restore feature Each time the Insert Instructions is 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 Restore button and the program will be restored to its original state Insert Instructions 5 Insert At Documentation Import Me Look in E Projects ci E3 n Beginning C Merge PRJ Priority al 7 C End Before ce Ignore Element tt Documentation ung Number v Ignore Stage Comments Restore 6 File name Files of type
72. 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring CQO mm a na H e i EI Select Bits for Display The Bit Display Settings area to the right of the General Settings is only available under the Display 1 tab There are three selections for controlling or monitoring bits with the PLC in the Run Mode either one two all three or none can be selected enabled e Status Bits when this is enabled the status of the element will be shown in the Status column if Status On is enabled e Pause Bits enabling this will allow inputs or other logic to operate while disabling selected outputs e Override Bits selected I O points in Data View can be turned ON OFF if this is enabled The diagram below shows what a Data View can look like when all three Bit Display Settings are enabled Notice that the outputs are the only elements to have all three sets of data bit buttons in the Edits column Each group of bit setting buttons can have the displayed indicator changed from the default to any one of twenty selections PETER e ar a MNM 10 o ee Status Edits Star Switch OFF Reset OFF fom orr Star OFF e Cg OFF IF CTAI 0 KI ER 8 L8 ETE is in the Run Mode and Status is selected Also they will be disabled for NOTE The buttons in the Edits column will only be displayed when the PLC DirectNET links DirectSOFT 5 User Manual 1st Edition 10 5 Chapter 10 Debugging and Monitor
73. 5595 6 4 Copying Documentation Between Elements 6 5 Documenting and Assigning Nicknames 6 6 Create an Unassigned Nickname llle 6 6 Assign the Nickname to an Element a 6 6 Entering Rung Comments 6 9 Comments are Free form n annaa aaa aa 6 9 Selecting Rungs for Comments a 6 9 Using the Scroll Buttons ax e E naan hahah AKALA KARO LEMANG AA HA 6 10 Use the Editing Keys a 6 10 Move Rung Comments aa 6 11 Entering Stage Comments 6 12 Use Stage View ee rn 6 12 Comments are Free form llli eene 6 13 Selecting Stages to Comment ees 6 13 Editing the Comments suus uev suc qi sure d den AA PS 6 13 Importing and Exporting 6 14 Exporting Program Documentation llle 6 14 Export Element Documentation cece ee eee 6 16 Export Rung Comments a06deuesscgen DAA AA KG oabta see ae pA KAEO E 6 18 POKING a Programi wana kha cent 9 2 9793 93 19 221 MA 982179 2094 e oe 6 19 Importing Element Documentation 0 0000 eee eee 6 22 DirectSOFT 5 User Manual 1st Edition v Table of Contents Importing Program Comments aa 6 24 Insert Instructions uoce om oe eo LA ro 3o RR BY dE de 3 9 edo Oe ee E do x 6 24 aco M P GG a 6 27
74. 6 Documentation YY Yr Importing a Program There may be a time when it is necessary to import a DirectSOFT 5 program which has been previously edited and exported as a text file This could be an entire program or just a few rungs with element nicknames and comments Use the following illustrated steps to guide you through the import procedure Begin by opening the New Project dialog from the DirectSOFT 5 Launch window page 3 4 Cancel the New Project dialog then either select File 5 Import 5 Program or press the Import button on the File toolbar if it is displayed 8 DSLaunch File View Help Applications TU Ft DirectSOFT 5 Program EN AIT ACUMET ql Utiities MAY Ik Ll M8 Visit AutomationDirect A Visit Host Engineering i CTRIO WB 2 Direct ff CTRIO WB 2 EBC PRESS Srl fff CTRIO WB 2 PBC c n ns BB CTRIO we 2 om e mamme Bl ERM Workbench iii rA DBWin32Logger Nen CMse New Project Name DNLoader Ky Browse Cg NetEdit3 SP Ng 9 Calculator ZR Version un Nu AA DS500 ini SUZI Lil DJ Projects 9 di06 pid example p 9 di05 pid example p ds5 gs intro prj nu prog prj 5 rll example pri 9 iliplus example prj test 05 prj EY pid pri 9 example 1 prj example pri aa Comm Links Qa DSCBL 06 Wa DSCBL Simatic TI 405 For Help press F1 4 Ready a DirectSOFT 5 Programming File View Help a SKELEEI3 3 417
75. 7 Using Print Preview leeren 8 8 Print Preview Setup APA EBEN d 8 8 PIINLPIEVIEW MaTC m 8 9 Print Troubleshooting 8 10 Parts of Program not Printed llle 8 10 Program Prints Garbage ees 8 10 DirectSOFT 5 Gases m ee dre AA ER S EUR NUR EPOR AA 8 10 Print Setup Dialog AA PAA 8 11 Chapter 9 Setup amp Manage Communication Links Establish the Communication Link 9 2 Setup a Serial Link rere 9 2 Link Status P TRNREPRTTLCTCTTTTTIPPTIT r 9 6 Setup an Ethernet Link 9 7 Setup a Modem Link eres 9 12 Modem Setup aaa 9 12 Configuring the Link llli 9 16 Comm Link Options 9 20 Going on Line ee 9 22 Connect the PLC 02 RR Ren 9 22 Use the Project Folder us vx ex wa DA BLACK WAKE GN e ec ee E a 9 22 Use the Link lee RR RR RR IRR R4 9 22 Chapter 10 Debugging and Monitoring Monitor with Data View rrne 10 2 DirectSOFT 5 User Manual 1st Edition vii Vi Table of Contents Using Data View eus da Ea KA seeds Bess Heed sees Bene ee sees 10 2 Open a New Data View Window ellen 10 2 AGloser LOOK APP CHE PAPA 10 3 Data View Options aaa 10 4 Select Bits Tor Disp
76. CPU requires RS232 Data Communications Unit D3 232 DCU A 4 DirectSOFT 5 User Manual 1st Edition Appendix A Cables and Protocals Diagrams Supported Protocols DirectNET K Sequence DirectSOFT 5 User Manual 1st Edition A 5 Appendix A Cables and Protocals Diagrams Programming Cable Diagrams Pin labeling conforms to IBM DTE and DCE standards D2 DSCBL D2 DSCBL 1 DLO5 DLO6 DL105 DLO6 D2 250 Personal Computer DL205 D3 350 D4 450 Personal Computer bottom port CPU Ports RS232C R5232C 12 34 5 6b 2 3 5 1 4 6 7 8 COND BOW N 6 pin Phone Plug 6P6C 9 pin D Connector female l 9 pin D Connector female 15 pin HD connector male HA DL405 CPU Personal Computer PEG PERAN bottom port CPU Ports or SEPIA 3 TD DL205 405 DCM iii RXDI D3 DSCBL 2 DL305w DCU 4 GND RS 232 Personal Computer CON D B UI WON RS232C 12 34 2 4 pin Phone Plug 3 4P4C 9 pin D Connector female DL405 CPU 7 DL405 Slice VO D4 DSCBL programming port Personal Computer RS232C 9 pin D Connector female 25 pin D Connector male COND B U1C2 N 9 pin D Connector female 15 pin D Connector male Straight through Patch Cable 1234 5678 8 pin RJ 45 Connector 8P8C Crossover Patch Cable GRN WHT GRN WHT All Ethernet and ECOM patch cables should be Category 5 UTP Cable The diagram
77. Ctrl X keys to cut the text 4 Locate the rung where the information is to be pasted Use Previous Next or Goto 5 Position the cursor where the text is to be pasted and click the left mouse button then press Ctrl V to paste the text 6 The Delete key can also be used to delete text vvvvv f NOTE All documentation edits are written to the documentation files when they are entered edited DirectSOFT 5 User Manual 1st Edition 6 13 Chapter 6 Documentation ee _S L Importing and Exporting DirectSOFT 5 can import and export ladder programs element documentation nicknames wiring info and descriptions and rung comments from a project The Import Export data is expected to be in CSV format comma separated variables which is a popular import export text format for applications like Microsoft Excel and AutoCAD For example Microsoft Excel can be used to generate an element documentation to be imported directly into a DirectSOFT 5 project The existing element documentation can be exported to a CSV file that can be used in diagrams in an AutoCAD program Exporting Program Documentation The project must be open in order to export program documentation Three export options are available to choose from Program Element Documentation and Rung Comments The following steps will show how to export a program There are two ways to export a program either select File gt Program from t
78. DO USER M e DLO6 User Manual D0 06USER M e DL105 User Manual D1 USER M e DL205 User Manual D2 USER M e DL305 User Manual D3 USER M e DL350 User Manual D3 350 M e DL405 User Manual D4 USER M j NOTE AutomationDirect also has many associated product user manuals such as analog manuals which will assist you with your application Technical Support We realize that even though we strive to do our best we may have arranged our information in such a way that you cannot find what you are looking for First check these resources for help in locating the information Table of Contents chapter and section listing of contents in the front of this manual e Appendices reference material for key topics near the end of this manual e Index reference for key items You can also check our online resources for the latest product support information e Internet the address of our website is http www automationdirect com If you still need assistance please call us at 770 844 4200 Our technical support team will be available to work with you to answer your questions They are available Monday through Friday from 9 00 A M to 6 00 P M Eastern Standard Time If you have a comment or question about any of our products services or manuals please fill out and return the Suggestions card that was shipped with this manual 1 4 DirectSOFT 5 User Manual 1st Edition Chapter 1 Introduction
79. Debugging and Monitoring Ng Use Override Bits to Control I O DL05 06 240 250 1 260 350 450 Only O O G O G If your PLC supports Override Bits they can be set for each input and output using Data View Setting these bits allows the status of the input or output to be controlled by a programming device instead of the field device wired to the I O module It is similar to forcing an I O ON or OFF To use the Override Bits they must be enabled in the Data View Options dialog Select Override Bits just like the Pause Bits were selected Click on the Select Mode button at the top of the Data View window to view the Override Bits buttons Expand the Data View window if necessary so the buttons will show e dh BI Element Status Edis Select Start Switch Mode button PUES To set an Override Bit for an I O point click on the respective Override button with the letter O Clicking on the blank button will turn the Override feature Off The letter O in the status column indicates the Override Bit is set for that I O point DirectSOFT 5 User Manual 1st Edition 8 10 15 Chapter 10 Debugging and Monitoring Change Value Dialog WARNING Only authorized personnel should make changes to the N program elements or data values Changes made while the PLC is in Run Mode become effective immediately Throughly consider the impact of making changes in order to minimize the risk of personal injury or damage to equipmen
80. Enable 1 ModemEnable 1 COM8Enable 0 COM7Enable 0 COM6Enable 0 COM5Enable 0 DirectSOFT 5 User Manual 1st Edition B 3 Appendix B Communications Troubleshooting Enable AutoSense 0 Each created link to the PLCs will be validated each time DirectSOFT 5 is started The communication server will use the link s parity baud rate protocol and station number settings to detect the availability of the PLC This process may be lengthy because the attempts to communicate must time out if there are several links or some PLCs are not connected to a link If desired this feature can be disabled by enabling AutoSense 0 in the the Comm Server section of theDS500 ini file by changing the semicolon to a colon at the beginning of AutoSense 0 This example shows the AutoSense 0 enabled Comm Server LastDevice 769 L astProtocol 1025 AutoSense 0 Startup Issues The first time DirectSOFT 5 starts up its communication server it attempts to build links to PLCs which are found based on the resources which are enabled by DS500 ini The communications server will try to use fixed combinations of Baud rate parity and station number for both K sequence and DirectNET protocols If a PLC responds a link will be created Its the attempt to create a link that can cause a problem Most of the time if DirectSOFT 5 attempts to use a resource that physically isn t present on the PC nothing happens But this action can have adverse effects o
81. IE NOTE Refer to your PLC User Manual Chapter 8 PID Loop Setup to setup a PID loop PID Setup 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 Setup toolbar if displayed or use PLC Setup PID This will open PID Address dialog as pictured below After this dialog has x Table Start Address r j err d Humber af loops E amp TT Memon H ange I Re read PID data from PLC Update and Exit Cancel been completed and saved the Setup PID dialog pictured below is opened by using the same procedure as discribed above The Setup PID dialog is a series of dialogs used to setup one or more PID loops Use the PLC User Manual as a guide to setup the loop s xj Loop 1 Loop 2 Comment 7 12 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views m am a a e ana an Tma 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 m APECESOFT Programming 06 example pid PID view Bile Ed Seach Wew Took PC eb Windew Hep sim ool 2 ol dl AE i Pr JM Mnemonic Wew PID View Ladder view Ol ME E 1 Weld Wald vemm wepia Walls Welb Wino Ch 1 Quot Der aNG win t Aa CI Cap ROC n TF Lina Alma SP Incanon J 5 High High T Bae De Ale Hilo
82. Ladder tab is in view by default The other views can be selected by clicking on the tab at the top of the dialog Data View Global Stage Apply options to Current View New Views Number rungs Documentation Misc Options by Address W Elements iw 3D Tokens TITLE Iv Nicknames Iw wiring Info v Descriptions Comments Cancel Help The Ladder tab is showing all of the documentation types checked Leaving each selection checked turns ON that documentation type to be shown in the program Unchecking the documentation type will turn it OFF in the program Most of the Options dialog features have been discussed in Chapter 4 For turning the documentation ON OFF only the Ladder Stage and XRef tabs need to be accessed 6 2 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation RM Documentation Selections Most documentation refers to individual elements therefore it is specific in nature Listed below are four types of documentation e Elements the references for the individual elements ie X1 Y10 etc e Nicknames these are alpha numeric names that are used for the 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 switch Descriptions detailed description of an element This can also be used to add brief trouble shooting steps etc e Wiring this can be
83. Prevent Documentation Loss 6 28 Save Project oesuaaceRTaPPEATCStTUEEGG RE RES EE eee eee Pisa ees 6 28 BACKUD uu ew purae oe obs peek cheb ann seen esos eee 6 29 Chapter 7 Other Views Tabbed Views ee 7 2 The Primary Views c2 2 9 a7 doge EROR 19 BANDA MA 8 39 6 9 9o 3390 3 KAY 819 X 7 2 Stage RLLPLYS View lleeeer n rwy 7 4 Troubleshooting RLLP YS vs RLL lllelleee RIS 7 4 Stage Components c 450604e560254596455e5 4 cee Sex xh ieu 7 5 Mnemonic View 000 0c e eee eee es 7 6 Handheld Progammer Aid 204546 amma son E ND HAWK ma awe deen ou 4 7 6 Cross Reference XRef View 7 7 Ania AA 7 7 Change the XRef Query aa 7 8 AGT TOOIDAE CE UL APTEPRSaEX4gq eee 7 9 Usage ModE 242644644 45604 5644505 UM ERSS AEREA SES E TAS 7 10 Usage Mode Toolbar llle 7 10 AG DB 6 ate dene ne eea ees cae aod ese ae ay oe ee beens hoes 7 11 PID VIEW ius or 194 as be eee eee eae tween D Ri 7 12 MIBES APO AAP 7 12 Output Window eren 7 14 View Terminology eerelerenere 7 16 Chapter 8 Printing Print the Current View ennrre 8 2 Print the Ladder View 22 aa 8 2 vi DirectSOFT 5 User Manual 1st Edition Table of Contents na Other Print Views aa 8 3 Print Multiple Views lese 8 5 Print View Common Setup 8
84. Ref View over the top of this group to complete the single MTI group ai DirectSOFT 5 Programming DL06 Example PID Ladder View File Edit Search View Tools PLC Debug Window Help EDIT xS Xp v uy mul P dad e Pee Find pa Opts f A Help Ex Ladder View si fi Il Elf sl Element Status i MTI group under one tab or Help press fof Data3 dta Datal amp XRef View T For Help press F1 i 00026 07680 06 0001 001 001 DirectSOFT 5 User Manual 1st Edition 7 17 Chapter 7 Other Views E The following table lists all of the different views toolbars and all of the possible frame behaviors Window Frame Behaviors eaa Auto Tabbed Group Docked hidden of DireciSOFT 5 Window Type cascade to Edge Docked to Floating Docked Auto Edge Hidden Floating tile etc like Rel 4 All Toolbars J Ladder View Stage View Documentation Editor PID View Mnemonic View Cross Reference Usage View XRef Data View Output Window gefault behavior Note that the Docked Floating Auto hidden Tabbed Framed windows can all be independently set on a frame by frame basis For example you can have the Ladder Palette and the PLC Setup toolbars floating on a second monitor with the Offline and Online toolbars being docked on the top edge then have one Data View floating and three other Data Views grouped as a docked tab to the right sid
85. SOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Box Coil Contact Coil Standard Coil Description B rows e The Out instruction reflects the status of the rung on off and outputs the discrete on off state to the specified image register point or memory location Multiple Qut B rowse instructions referencing the same discrete location should not be used since only Co ntacts C the last Qut instruction in the program will control the physical output point See Or i Out OROUT F4 oils Browse li Boxes F7 en oem Entering Instructions with Hot Keys When the cursor is moved to one of the Ladder EDIT w palette buttons a Tool Tip will appear The Tool n mE Tips provide a brief description of the button and 5 2 NEN the associated hot key for that button CO You can enter an instruction by pressing the hot key which corresponds to the type of instruction to be entered For example to enter a normally opened input press F2 After the hot key has been pressed the Instruction Editor dialog will appear For the browse buttons the particular Instruction Browser will appear so the proper selection can be made NOTE A complete list of the hot keys is available from the Help menu DirectSOFT 5 User Manual 1st Edition 5 9 Chapter 5 Edit a Program Entering Instructions from the Menu Bar Instructions can also be entered using the Menu bar which will open the Instruction Bro
86. U EU 62 20 52 66 Tupe HO E COM 100 Moduelb 1 M arme HO ECOM100 Description Team ENET module IP Address 100 100 m Ho Quen Network E xit The configuration for the module selected in the Devices field will appear The fields that are not grayed out can be changed Be cautious not duplicate any of the information when making changes DirectSOFT 5 User Manual 1st Edition 9 9 Chapter 9 Setup amp Manage Communication Links E Refering to the Ethernet Module Setup dialog on the previous page the following Configuration fields can be changed The Module ID should be a unique numerical identifier If this field is grayed out the module ID dip switches have been set The only way to change the ID is to change the dip switches refer to your particular ECOM User Manual If the field is accessible enter a new ID e The Name field can contain up to 32 characters in length If there isn t a name in the field or the name is to be changed enter a unique name The Description field can contain any description limited to the available field e The IP Address field should only be changed whenever the network IP address is changed refer to your particular ECOM User Manual The Network Administrator should be able to provide the address After making any change press the Update Module button and the 9 changes will be written to the ECOM module The Query Network button will initiate a res
87. UNE Comm Li g Meine En uid CTRIO WB 2 PBL CTRIO WB 2 Dff Right click to elect Add Link 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 COM 1 and click Next 9 2 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links NOTE The COMM ports shown in the window below are those which DirectSOFT 5 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 Select the communications port that the PLE i connected to Modem support cannot be configured from the Link Wizard Tan To select modem support you must use the manual ki configuration dialog by selecting Link Editor below Cancel NOTE The comm port on your PC may have to be enabled example 9 COM5 See Appendix B DS500 ini File 2 he 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 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 you are finished Link Wizard EI Selec
88. able crit de la soci t Automationdirect com Incorporated Automationdirect com conserve les droits exclusifs l gard de tous les renseignements contenus dans le pr sent document MANUAL REVISIONS Please include the Manual Number and the Manual Issue both shown below when communicating with Technical Support regarding this publication Title DirectSOFT 5 Programming Software User Manual Manual Number PC DSOFT5 M Issue First Edition Issue Date 3 06 Publication History Issue Date Description of Changes 1st Edition 3 06 Original issue TABLE OF CONTENTS Chapter 1 Introduction IITFOGUGIION CE PP AA AA UR RR AA 1 2 The Purpose of this Manual cee ee ees 1 2 Who Can and Should Use DirectSOFT 5 ssls 1 2 Only One DirectSOFT 5 Version aaa 1 3 Supplemental Manuals aaa 1 4 Technical SUpport s o ooek wee BAGA seeder eee he see eh im de Gee ae AYA 1 4 Conventions Used 1 5 Menu Selections and Keystrokes llle 1 5 Key Topics for Each Chapter a 1 5 Chapter 2 Quick Start Getting to Know Windows 2 2 Recommended System Requirements llli ellen 2 2 POWOLOUDDIV Lu ess ska RP E RESEREEZqSSEM XS ERMSENEGENMETIE Ea 2 2 DirectSOFT 5 Package Contents ee eee 2 2 Installation of DirectSOFT 5 2 3
89. alance of the manual will detail all of the programming tools made available to the user Who Can and Should Use DireciSOFT 5 If you have a PLC belonging to the DirectLOGIC CPU family you can use DirectSOFT 5 to manage your existing ladder logic programs and to create new ones The families of PLCs that currently exist under this description are shown below DirectLOGIC PLC Family DLO5 CPUs DLO6 CPUs Two built in ports Two built in ports Max baud 38 4 K Max baud 38 4 K DL105 CPUs One built in port Fixed baud 9 6 K DL205 CPUs One built in port D2 230 fixed baud 9 6 K Two built in ports D2 240 max baud 19 2 K Two built in ports D2 250 1 260 max baud 38 4 K DL305 CPUs D3 330 requires D3 232 DCU max baud 19 2K Two built in ports D3 340 350 max baud 38 4 K DL405 CPUs Two built in ports D4 430 440 max baud 19 2 K Four built in ports D4 450 max baud 38 4 K 1 2 DirectSOFT 5 User Manual 1st Edition Chapter 1 Introduction Besides being easy to use DirectSOFT 5 includes the following features e Dockable Floating Views includes Cross Reference Data Views and H Output window e New look and feel new toolbar button icons new toolbars and completely configurable toolbars e Tabbed main views ladder stage documentation editor Online Status Bar is now integrated as part of the primary status bar on the bott
90. also be used with the Change Value dialog If an element with a nickname is enabled in the program when the dialog is opened the nickname will appear in the Element field An element does not need to be enabled to open the Change Value dialog If the default reference CO is displayed when the dialog is Change Value x Specify the z X element reference Element or the nickname Mr pa Value Help Curent OFF M eur C Off te On The element type will be displayed here Format Size Bit C Decimal a t Binary C Signed Dec g C Octal C Esp 5 C ECD Hes T Real 10 opened either type in the element reference or the nickname that is to be changed The dialog will always open with the Current Value displayed The displayed element will either be On or Off The Current Value can also be a memory location see below The Element field Change malag can have a memory Element location TAE Ys too mali wei The Curent Value SEIL field will display the data in memory New s zl Format Size The data types I C Decimal ES are displayed C Binary Signed Dec 2 Bytes here Octal C Exp U 4 Bytes BCDO Hex C Real DirectSOFT 5 User Manual 1st Edition 10 17 Chapter 10 Debugging and Monitoring Enter a New Value To change the state value of bit data type such as a control relay enter the reference or nickname The example diagram below has C1 entered in t
91. am has not been accepted compiled a DirectSOFT 5 Programming Example Ladder View File Edit Search View Tools PLC Debug Window Help EDIT v XN Ks ped au im ec Md EET MODE Aan Find w v 44 d ga O E Element Rung Address Instructior B x Ladder View Yellow colored bar indicates the rung has not been accepted Ei X 00001407680 06 0001 001 002 Step 4 Enter an Output Element Now move the cursor to the end of the rung positioned over the NOP Click on the Browse Coils button on the Ladder Palette The Instruction Browser will appear with the Standard Coil selected as the default Click OK to enter the standard coil Keep in mind that one of the other output coils could have been selected ion reflects the status of the rung on off and outputs the discrete ruci o the specified image register point or memory location Multiple Qut i me discrete location should not be used since only the instruction in the program will control the physical output point See Or Out 2 18 DirectSOFT 5 User Manual 1st Edition Quick Start The Instruction Browser will be replaced with the element entry box The default address CO will be highlighted Enter YO and notice the valid entry indicator is green for a proper entry Either click on the J or press the Enter key to enter the output coil 2 Enter YO here Rung 1 has now been programmed This rung can be downloaded to
92. am while the PLC is online a DirectSOFT 5 Programming example 1 Ladder View E File Edit Search View Tools PLC Debug Window Help aes EDIT NS Ko mapag nay 9 Open Jaha Find pag Opts th ae Help sles Od ME Status Yalue e Info END NOP ITIN 5 NOP Green indicating Run Mode Ha SL s vor B OK Online D5CBL O5 HERE 00003 07680 06 0004 001 0UT DirectSOFT 5 User Manual 1st Edition 2 27 Quick Start Monitor the Program There are many things that can be monitored in the relay ladder program by simply clicking on the Status button on the online toolbar The monitor mode can be turned On and Off by clicking on the status button When in the status mode the element background will change to blue by default to indicate power flow when the input element is turned on If there is power flow the output background will also change color a DirectSOFT 5 Programming example 1 Ladder View File Edit Search View Tools PLC Debug Window Help E EDIT MEVS Feet zia hg GE ajx Ladder View END Background color wo to indicate power flow I O On NOP NOP NOP NOP vil x Online DSCBL NENNEN 00003 02048 05 0004 001 001 The program editing and testing is now complete The example program is the most simple program that can be written You can add to this program by deleting the END rung Rung 2 and continuing to edit additional rungs Do not forget to end you
93. an be entered in the Edits column and written to the PLC with this button Write All Edits to PLC multiple data values can be entered in the Edits column and written to the PLC DireciSOFT 5 User Manual 1st Edition 10 3 Chapter 10 Debugging and Monitoring Data View Options The Data View window can be customized for a particular user or gt users To customize Data View click on the Data View window then ra either use View gt Options on the menu bar or press the Options Opts button on the Offline toolbar The Options dialog will open with the Data View tab in view as shown below Options Data View Global Ladder Stage Apply options to W Current view New Views Display 1 Display 2 Doc Made General Settings Bit Display Settings Col 1 shows display format Un Off w Status On jt Status Bits lf Show Toolbar F Bil I Show Statue Line aweBis Le i Show Column Headers OverdeFis 2 Iw Show Grid Lines Swap bytes for test display Cancel Help The dialog will open with default selections checked in the General Settings in the Display 1 tab More settings are continued in the Display 2 tab Checking Col 1 shows display format may be 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 experimenting with the General Settings will determine what works best for you 10 4 DirectSOFT
94. assist with debugging your program Enter the Test Mode from either the Run Mode or Program Mode by either pressing the PLC Mode button on the Online toolbar using PLC gt PLC Modes on the Menu bar or using the keyboard shortcut Ctrl Shift R The PLC Modes window shown below will appear Select Test then OK PLC Modes Current PLE Mode AUN Mew PLC Mode Aun C Program If the PLC is in the Run Mode when Test is selected the CPU will still be scanning the program and Test RUN will be displayed in the PLC Mode Indicator at the bottom of the program display window Mode est Hun Stop PLC Scan button To use the Test Operations the PLC must 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 10 22 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring V a LALLILALU AGOOZGDAAAAAAL A UUISeDE JC A ko Y UL GGkGRERPRUL L LA AOAAA AAL oASA ALLI amp NAE nepie xj Test Program Operations There are four operations available for all DirectLOGIC PLCs in the Test mode only 1 Start PLC Scan this places the PLC into the Test Run mode and will start the execution of the PLC The PLC will continue ex
95. ault location of the Online and Offline Toolbars whenever a new program is started The grayed out icon buttons become highlighted as the program is being edited Along with the toolbar icon buttons the button functions are also available from the menu bar located at the top of the program window The grayed out Online toolbar will become available once the PC is online with the PLC The toolbars a DirectSOFT 5 Programming example Ladder View 2 e f x ind M enu b ar Ele Edit iem Tools PLC Debug Window Help x maso FERE RIZ O2 ART Offline Toolbar Online Toolbar ma S dod Hm Element Rung Address Instructior 1 1 Ga NONE are movable or floating By selecting the toolbar and dragging it with the mouse the toolbar can be located wherever the programmer wishes to place it on the desktop Offline Toolbar Read from Disk This button is used to retrieve and open a project from a disk i e HD or floppy The program will appear in the Ladder View Write to Disk The ladder logic program will be saved to the prj project file on 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 problem such as a power failure New Program This button will begin a new program offline This button can be used with a project already open The project will not be overwritten with the new project You will be prompted to
96. can of the network using the Transport and Transport Protocol previously specified Press the Exit button when the changes have been completed 5 DirectSOFT 5 will attempt to communicate with the Ethernet module using the specified parameters If successful the following dialog will ask for a unique Link Name up to 16 characters and an optional Link Description up to 32 characters to be entered Press the Finish button to save the link configuration to disk Link Wizard Link settings complete Please select a unique name for the new link Link Name Enet 0E Link Description Fast link Settings PLC 06G Port Ethernet Protocol ECO M Baud Address O Parity Link Editor lt Back Cancel 9 10 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links 6 The successfully created link will be listed with all other links in the DSLaunch menu tree in the Comm Links folder Ba Enet 06 DireciSOFT 5 User Manual 1st Edition 9 11 Chapter 9 Setup amp Manage Communication Links Ho mm Setup a Modem Link aj O OU Establishing modem links have changed from the standard serial link DirectSOFT 5 uses Telephony Application Programming Interface TAPI for modem configurations The TAPI protocol allows applications to control modems or other telephony devices for operations such as dialing answering or disconnecting a connection With the TAPI prot
97. ces 1 Pages per Sheet Poster Printing J2x2 4 sheets M Show hp Preview Advanced Features Factory Settings OF Cancel Help DirectSOFT 5 User Manual 1st Edition 8 8 11 SETUP 4 MANAGE COMMUNICATION LINKS HAPTER In This Chapter Establish the Communicaions Link 9 2 Setup a Serial Link llle 9 2 Setup an Ethernet Link Less 9 7 Setup a Modem Link 0 00 eee eee 9 12 Comm Link Options llllllllllsnn 9 20 Going on Line maps a 3x ERG REEF SEX NIDA AT 9 22 Chapter 9 Setup amp Manage Communication Links E M Establish the Communicaions Link In order to download a program to the PLC a communication link must be established This section will show you procedures for setting up a serial link and an Ethernet link using the Link Wizard and the setup of a modem link Setup a Serial Link 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 cable for your PLC If your PLC has a RUN TERM STOP switch place it in the TERM position The Link Wizard can automatically determine the majority of communication settings for the PLCs 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 le View He a xr
98. ck on the keyboard shortcut Ctrl K Tools gt Comment Editor on the Menu bar or press the Edit Comments button on the Tools toolbar if it is displayed The Comment editor can also be opened by double clicking the left mouse button with the cursor positioned in the stage comment area Note that the comment editor is for Stage comments Stage View Ladder View 4 gt x m m Start stage Comment for Stage The Initial When the o two stages Start Swit operator Start 5 6 12 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation RM M J Comments are Free form A new comment can be edited immediately The appropriate comment can be added as necessary Selecting Stages to Comment Once you have edited a rung comment you can use the Page Up and the Page Down keyboard buttons to scroll to through the otages A specific Stage can be found by using the Goto button on the editor dialog After the comments have been entered press the OK button to save the comments and close the editor Editing the Comments The keyboard shortcut keys can be used to copy cut and paste 6 between rungs 1 Position the cursor at the beginning of the text to be copied or cut 2 Press and hold the left mouse button and move the cursor to highlight the text then release the button The Shift Arrow keys can also be used to highlight the text 3 Use the Ctrl C keys to copy the text or the
99. cs Print Dialog Print Mnemonic Settings FH ange Misc select the Start Address oor Select the Cancel Start Address D Daan aya and the End and number Printer Setup Address for End Address Columns of columns p panung 47 to print Help Options Printer Iv Use Default Header Begi gin page F ui ais fi Title Page Date 12721 200 Today numbering with v Printit Edit Font Anal 8 S elect Stage Print Dialog Print Stage Settings Documentation Misc Select the zoom Select the Cancel I Elements Documentation W Micknames types for printing v Wiring Info M Descriptions Options Zoom level and line thickness to print Printer Setup W Comments Page Setup Help Pen Size Printer Iw Use Default Header Title Page v Print ith Edit Begin page H al Date 12 21 200 Today numbering with Select Font Aral 8 DirectSOFT 5 User Manual 1st Edition 8 3 Chapter 8 Printing MM Cross Reference Print Dialog Check to include the Usage printout and check the Check to include the XRef printout and select the Edit the range of the current element options to be printed documentation to Set All enables be printed checks all elements Referense Settings x XRef Clear All disables IX Usage heck i Em Documentation Cancel unchecks a d x s w
100. des 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 entrainer 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 conqus ni fabriqu s pour l utilisation ou la revente en tant qu quipement de commande en ligne dans des environnements dangereux n cessitant une s curit absolue par exemple l exploitation d installations nucl aires les syst mes de navigation a rienne ou de communication le contr le de la circulation a rienne les quipements de survie ou les syst mes d armes pour lesquels la d faillance du produit peut provoquer la mort des blessures corporelles ou de graves dommages mat riels ou environnementaux activit s risque lev La soci t Automationdirect com nie toute garantie expresse ou implicite d aptitude l emploi en ce qui a trait aux activit s risque lev Pou
101. dow Help NOTE Use the Ladder Palette the hot key equivalent or select the Coil or Box Browser to enter the OUT box instruction TIP The Token Selection Editor feature in DirectSOFT 5 supports Auto Complete with a drop down list of any matching instructions For example if a TM is typed over a NOP in the output column an Auto Complete entry of TMR will appear with a list of all output instructions beginning with TM including TMR TMRA TMRAF and TMRF After the proper instruction is selected and entered the proper Instruction box will appear to be completed with all the proper information So if you forget a mnemonic Just enter the first couple of letters to see a list of possible instructions DirectSOFT 5 User Manual 1st Edition 5 11 Chapter 5 Edit a Program Entering NO and NC Contacts Another quick method for entering contacts is to use the forward slash to toggle between a normally open and a normally closed contact For example if XO was entered as a normally open contact and a normally closed contact is needed instead Position the cursor over the contact and type XO then press the key and enter Just reverse the steps to return the contact to a normally open contact AD Press the forward slash key Here are two more shortcuts that can be used when entering elements in your program The first shortcut requires the Edit cursor to be placed on the rung where a NO contact is t
102. e PLC User Manual Chapter 5 for the proper keystrokes required for entering the mnemonic instructions Ladder View Mnemonic View 0 15G al 2 STR s4 3 ANDN AU 4 JMF 51 5 JMP 5 5G 8 SIR g JMP 10 STEM 11 TMR 14 STR 15 JMF 16 5G 18 5TR 13 SET 20 STR 4 5G 23 QUT 44 5TR 25 STR Malh Je c d n r r ael C n 4 E a T o oT NOTE There are no display options for the Mnemonic View 7 6 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views CQO H M o P Cross Reference XRef View As mentioned on page 2 12 the Cross Reference XRef and Ladder Views open by default whenever a new project is started The XRef View can be closed if desired but since it is a dockable view it is a good idea to dock it if you do not want to view all the time Just click on the push pin to dock it and hover the mouse cursor over the XRef tab to bring it back into view Then click on the XRef View bar at the top to lock it in position again The XRef View has two viewing modes XRef Mode and Usage Mode XRef Mode Hal button E ES E Push pin to instruction dock the AD jr Usage Mode mue C RM Um o Lom ss lanes part present BEH ANDN x42 BEH STRN part lacked z5 BE ANDN mad BE AND E EH ANDI A45 EN 3r AND oim o X45 EH ANDN index conveyor 34 FF AND 44 EH AND xa 11 BH STR
103. e Page Up and the Page Down keyboard buttons to scroll to another rung comment to edit A specific rung can be found by using the Goto button on the editor dialog DirectSOFT 5 will only allow comments to be added to rungs which contain elements programmed in the rung Comments cannot be entered for rungs which do not contain instructions DirectSOFT 5 User Manual 1st Edition 6 9 Chapter 6 Documentation O_o Using the Scroll Buttons There are scroll command button arrowheads located at the bottom of the dialog They are shown for both directions as gt PP gt etc Each button performs a different function gt Moves to the next rung comment P Moves ahead five rung comments gt Moves to the end of the last rung comment Moves to the previous rung comment Moves back one comment 6 I4 Moves to the comment for the first rung Click on the OK button after entering the rung comments Use the Editing Keys The keyboard shortcut keys can be used to copy cut and paste between rungs 1 Position the cursor at the beginning of the text to be copied or cut 2 Press and hold the left mouse button and move the cursor to highlight the text then release the button The Shift Arrow keys can also be used to highlight the text 3 Use the Ctrl C keys to copy the text or the Ctrl X keys to cut the text 4 Locate the rung where the information is to be pasted Use Previous Next or Goto 5 P
104. e import is executed If comment matching occurs a message will appear asking which one to update the imported file or the existing file Selecting Merge TXT priority will allow the imported comments to overwrite the existing ones Delete Existing will delete the current comments and update with the imported comments Insert Instructions The Insert Instructions From File feature will allow the insertion of mnemonic text files as instructions within an open project Mnemonic instructions can be inserted one time or several times within a program To use this feature there must be an existing text file such as a file written with MS Notepad This file must be written in mnemonic text form like the example below Note that rung Example text Notepad LIBI XJ File Edit Format Help Rung 1 This rung determines if the press is in one cycle or continuous run mode This is line 2 This is Tine 3 END 33 9 33 53 Reference Nickname Wire number Comment Blue 000 start switch on operator panel stop switch eque 008 stop Switch on operator panel Automatic moda control re ay used to signal press is in automatic mode press complete Control relay showing that the part has been pressed 1 cycle mode OE relay used to signal that press is in one cycle mode Hy 6 24 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation comments element descriptions and eleme
105. e of the application and have the Cross Reference View auto hidden and docked on the bottom edge of the application However the two different MDI Frame behaviors are exclusively either or This means that within a DirectSOFT 5 session all of the MDI views behave either as individual MDI frames or as MTI frames but not both at the same time You cannot have the Ladder View be a MTI and the Stage View and PID View be cascaded as Individual MDI frames All MDI Views will have Individual behavior or MDI Views will have Tabbed behavior 7 18 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views nf Examples of the various Window Frame Behaviors are in the picture below GF DirectSOFT 5 Programming dl amp example pid Ladder View M File Edit Search iew Toole PLO Debug Window Help b LIA Ag EDIT 2 ideal 4 GE Status Value e Info fat F E For Help press F1 do D ata3 dta er Data EF x eT AL A GIF Elemen Status Edits Fg S Instruaj cj oU zu OU ine Rn 001 W70 1 R Ca Online Enet 06 00026 076850 06 0001 001 00 PLC Setup Bar T X AA SETTE PAL e Ladder View and Documentation Editor MTI View Tabbed MDI with Ladder View currently selected e Offline toolbar Online toolbar and PLC toolbar Docked to the top edge of the application just below the Menu bar Ladder Palette toolbar Docked to the right edge of the application
106. e selected element is a bit type then Bit will be displayed in the field If desired Bit can be changed to Binary by Intro data Start Switch Reset ow or o ow for o ow for o f o for o f For Help press F1 clicking on the down arrow next to the field A dialog will drop down with the available selections to chose The field to the right of the Format field is the Data Format Size field The size refers to the data length As an example Bit is equal to 1 and Word is equal to 16 bits The selection of the Data Format and Size is left up to the programmer monitoring the program Intro data pe vee zi DISTR Signed Dec Text Exponential Bit changed to H Binary 16 bits H For Help press F1 10 10 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring TT sm aaa aaa Write the Edits Debugging a program is not beneficial unless the user can change an element or enter data in a memory location Changes edits are made in the Edits column All of the edits are placed in a buffer prior to writing them to the PLC There are three buttons located at the top of the Data View window which are associated with the Edit column These buttons are pointed out in the example below The Clear Edits button will clear everything out of the Edits buffer so new edits can be entered Single edits can be entered into memory such as a counter
107. e sixteen data fields can be selected to enter data Once new data is entered in the data field press the Write to PLC button to update the PLC The Memory Editor will not update the data being viewed automatically To view data being updated press the Read from PLC button Press this button each time you wish to view data being updated There may be times when a block of memory will be need to be setup with data and saved for use during debugging Simply enter the data in each data field to be written to the PLC After entering the data press the Write to Disk button to save the data Use the Read from Disk to re enter the data in memory Read from Disk and Write to Disk buttons A lf if E Memory Editor Format Data Size t Binary f BED ez C Word 5e es ici el C Octal C Real C Double C Decimal 1 Text CTAO KT STO C ET x Ac Tan xn ee g se cue JUN E Data fields fieldsy l 5 C ETAS s D 0 a C CTA4 x D AC cra x 0 5 C CTAS x 247 tras xn g C CTAB xf Accra x Se C CTA x A C CTA17 xo 4 DirectSOFT 5 User Manual 1st Edition 10 21 Chapter 10 Debugging and Monitoring Test Mode Operations for Debugging Select Test Mode Direct LOGIC PLCs support most Test Mode operations which DirectSOFT 5 features only the DL440 and DL450 support all Test Mode operations Test Mode operations can be a useful tool for debugging programs Have Status on when using the Test Mode feature to
108. ected to be either deleted cut or copied Ladder View NG NG X2 x10 X14 NI 3 __ OUT X12 x4 x13 x11 x10 NG ci 4 TC OUT x20 X24 CO QUT TIP Use shortcuts to quickly select portions of the program Shift Home selects all rungs from the current rung to the beginning of the program Shift End selects all rungs from the current rung to the end of the program DirectSOFT 5 User Manual 1st Edition 5 2 Chapter 5 Edit a Program Deleting Rungs When deleting one or more rungs it is with the intention of removing the rung s from the program entirely Delete them by pressing the Delete keyboard function key or by using the Edit Delete option from the Menu bar First select the rung or rungs to be deleted Ladder View X x Es Et px T 5 22 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program 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 Copy by using the method most comfortable to you such as Ctrl C keyboard shortcut Ctrl Copy from the Menu bar or use the Copy button on the Offline toolbar The original rungs will not be altered in any way When the rungs are copied they are placed in a temporary storage location called a clipboard EG Direct50FT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help D N S Kin pte bu
109. ection A Docked View or a docked toolbar is a view or toolbar that is docked to a specific edge of the Programming window MDI View Multi Documentation Interface or primary views Ladder Stage PID etc float within the various docked view toolbars Initially the Offline toolbar is docked at the top of the Programming window below the Menu bar The Online toolbar is also docked at the top but below the Offline toolbar The Ladder Palette toolbar is initially docked on the right edge of the Programming window and the Cross Reference View is docked on the left edge of the window The initial views are shown in the diagram below which includes the Multi Tabbed Interface MTI views a DirectSOFT 5 Programming dl06 example pid Ladder View File Edit Search wiew Tools PLC Debug Window Help a eo E49 PID View Mnemonic View Stage View Ladder View Loop 1 Manual Loop 1 Auto KO x1 B2100 1 5 q p E SET Select PID loop 1 Auto Mode Loop 1 Auto Loop 1 Manual x1 KO B2100 0 I cm SET END NOP NOP NOP NOP m EZ Online 06dscbl Program 00026 07680 06 0008 001 001 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 moved and docked on the right or on the bottom Notice that the XRef View has been unpinned and placed in a floating position In this po
110. ecuting until the Stop PLC Scan button is pressed 2 Stop PLC Scan this places the PLC into the Test Program mode which will stop the execution of the PLC 3 Single Scan will start the execution of the PLC program for one scan and then stop execution of the program 4 Multiple Scans is used to execute the PLC program for a given number of scans Use this when in the Test mode Enter the number of scans in the entry field of the pop up window and press OK The PLC will change to Test Run mode until the given number of scans have been executed at which time the PLC will change to Test Program mode This item is only available when the PLC is in the Test mode Two additional Test Operations are only available for the DL440 and DL450 PLOs they are Breakpoint specify an instruction address at which to stop the PLC Pressing OK will execute the program until it reaches the address and then the PLC is placed into Halt Mode Use this in the Test Program mode Breakpoint will place the PLC into Test Run mode until the specified address is executed then returns the PLC to Test Halt mode Use Breakpoint only in the test mode BREAK Instruction this instruction changes the operational mode of the CPU from Run to the Test Program mode The Break instruction allows V memory and image register data to be retained where it would normally be cleared with the STOP instruction or a normal Run to Program transition see the DL405 U
111. eference or a memory location is entered in the Element field the status or value will be displayed in the New value field as well as under the Current Value By clicking on the Read from PLC button the Current Value and the New field will be updated with the current status or data DirectSOFT 5 User Manual 1st Edition 10 19 Chapter 10 Debugging and Monitoring Using the Memory Editor A WARNING Only authorized personnel should make changes to the program elements or data values Changes made while the PLC is in Run Mode become effective immediately Thoroughly consider the impact of making changes in order to minimize the risk of personal injury or damage to equipment Another debugging tool which DirectSOFT 5 features is the Memory Editor The Memory Editor can be used to view and change data in a multiple of memory locations This is especially helpful for e Entering or changing values in V memory or Data Registers for use as constants timer counter presets etc Entering text strings into a block of V memory or Data Registers Either press the Memory Editor MemEd button located on the Tools toolbar use Tools Memory Editor on the Menu bar or use the keyboard shortcut Ctrl Y The following diagaram is an example of the Memory Editor Memory E ditor Format Data Size t Binary f BCO Hex C word ew Sang t Octal t Real C Double NG m Find f Decimal C Text KZ Iw Use Nicknames From PLC
112. element within a program The element can be selected with the cursor before using the button or click on the button and enter the element to be found Next Using this button will find the next occurrence of the element specified when the Find button has been used Browse for an Element This button provides a quick overview of valid element ranges and nicknames for the current content as well as a convenient way to document an element EI BY Find DirectSOFT 5 User Manual 1st Edition 14 3 Chapter 4 Programming Environment z Display the Options Dialog Ti Using this button will display the Options Dialog which will allow the programmer to set up the different dialog views available to the programmer Zoom These buttons are used to either increase or decrease the size of the Ladder View The button increases the size of the view The Out button decreases the size of the view Sl Help This button will open the Help menu window os te DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment Online Toolbar Components The following button icons are available after the PLC is placed on line Online Toolbar Read the Program From PLC This button will read the program from the online PLC 4 Write the Program to PLC This button will write the program to the online PLC m Program Status This button will turn on the status display for the current ladder logic View
113. er Manual 1st Edition 9 5 Chapter 9 Setup amp Manage Communication Links e Link Status After creating a link the name of the link will be displayed in the menu tree under the Comm Links folder icon When you click on the link all of the configuration information will be displayed in the DSLaunch window The status field is color coded to help easily identify the link status Green link is enabled it is active and you can use it Yellow a link becomes inactive while that specific link is being edited using the Link Editor Red communication error i e the link has been broken or the PLC has lost power DirectSOFT 5 will automatically attempt to re establish the link CTRIO WB 2 EBL DSCBL 06 CTRIO WB 2 PB CTRIO WB 2 Off orkbenci cive 1 o 0 0 DB Projects Completed D di06 pid example p d05 pid example p n D ds5 gshintro prj 3 nuprog pi fo jJ 42 Version Aq DS500 ini a Comm Link Ses ie ais 9 6 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links a Setup an Ethernet Link The Ethernet link is setup using an Ethernet Communications Module ECOM installed in the PLC The DirectSOFT 5 Link Wizard is used to setup the link The Link Wizard will automatically determine the majority of the communication settings It will search for any existing connections and try to establish the link If a l
114. es are in view while the dialog is open Select the view the options are to be applied to when the OK button is pressed DireciSOFT 5 User Manual 1st Edition 10 7 Chapter 10 Debugging and Monitoring li tcc tttctctctc c ccccc e 4 6 e e cec Data View Mode Options Next to the Doc tab is the Mode tab The mode selections will determine whether the data in the Status column will be Read Only no writes or Read Write A Data View can be setup for Read Only if changes to data will not be permitted by whoever is observing it Read Write should be selected for monitoring and debugging a program Leave Safety enabled so the write operation can be confirmed Lisplay 1 Display 2 Doc Mode Read Only no writes I Confirm writes C PeadWiite Make Data View Entries first opened The first entries to be will be made in the Elements column The type of entries that can be made are element references memory addresses or nicknames For example control relay C1 or Test Output 1 are valid entries Also ROOO for a data register or V1200 for a V memory location can be entered The example below shows elements and a memory location which have 10 The columns in a new Data View window are blank whenever it is E DirectSOFT 5 Programming intro File Edit Search View Tools PLC Debug Window Help EDIT KA Ko mapa ino dud e MODE Find pis Opts Sa r Help Y mag Ail r4 BE alx Ladder View
115. etting the color that appears when something in the program is selected For example if a range of rungs is selected to copy delete etc the selection is highlighted with a color default is blue Status Background when online status is selected this 4 background color shows that the element is enabled default is aqua Status Foreground the color the individual element addresses show when they are active during status Comments the color used for the rung comments Description the color used for the element description Wiring Information the color used to indicate the wiring information Nickname the color used to Indicate the nicknames Element the color used for the element address X10 l O000 etc Token the color used for the ladder program The Default Settings If the colors become totally disorganized click on the Defaults button to restore the colors to the DirectSOFT 5 default settings Monochrome Selecting the Monochrome button will set all colors to black with a white background DirectSOFT 5 User Manual 1st Edition 4 25 Chapter 4 Programming Environment Colors Conveying Information DirectSOFT 5 uses different colors to indicate certain conditions There are color coded vertical bars located in the margin to the left of the program rungs These bars lets the programmer know what has been compiled and saved See the diagram below Uncompiled Background when a run
116. eviceName TagName 100 DEY001 PUMP NO 2 START PB 100 DEVO01 100 DEVON 100 DEYO01 100 DE v 01 100 DEYO01 100 DEV001 100 DEV001 100 DEV001 100 DEW001 100 DEV001 100 DEY001 100 DEV001 Cc PUMP NO 1 START PB PUMP NO 1 STOP PB PUMP NO 2 STOP PB SOUTH STATION CONTROL OPENED SOUTH STATION CONTROL CLODSED NORTH STATION CONTROL OPENED NORTH STATION CONTROL CLODSED PUMP NO 1 AUTO PUMP NO 2 AUTO PUMP NO 1 SPEED RPM PUMP NO 2 SPEED RPM FLOW RATE GPM Discrete Discrete Discrete Discrete Discrete Discrete Discrete Discrete Discrete Signed_int_16 Signed int 16 BCD int 16 cab oe ee aaah ee oe cab cb cb cmb M 4 gt HNTAG F Ready NOTE If unassigned nicknames are exported they will appear in the resultant text as the following types UB unassigned bit UBY unassigned byte useful only for R memory in the DL305 UW unassigned word UDW unassigned double word UU unassigned unknown used for uninitialized types should never be used DirectSOFT 5 User Manual 1st Edition 6 17 Chapter 6 Documentation mmm Export Rung Comments The program rung comments can be exported from a project to a text file and a printout can be obtained using Microsoft Notepad or equivalent word processor The following dialog will appear when either pressing the Rung Comments button on the File toolbar if it is displayed or by pressing File gt Export gt Rung Comments Select
117. ew position The Ladder Palette contains the buttons that access the rung elements and operations commonly used when editing ladder logic programs 2 1H DireciSOFT 5 User Manual 1st Edition Quick Start The diagram below shows a newly opened Display window with the Cross Reference View in the auto hide position and the Ladder View in full view E n F sal lal DinnciSOFT 5 Programming Example I ladder View E i th mds mc mag irae el H a Bg un d d E Bel ris Miu Ob Hae AH Find ma a fum e HEN tara L mie rica EI 1 NOP lt is good practice to leave the Cross Reference View open while editing your program The rung elements are added to the Cross Reference View as the program is accepted Accepting a program will be discussed later in this chapter man NOTE The Cross Reference View can be retrieved by going to View on the Menu Bar and select it from the drop down menu then click on the push pin to keep it in view Step 2 Select Edit Mode The ladder View has two viewing modes the Display Mode and the Edit Mode When a new program or an existing program is opened the Ladder View will be in the Display Mode which is only a viewing mode A program cannot be edited in this mode In order to edit a program you must be in the Edit Mode To enable the Edit Mode either click on the Edit Mode button on the Offline toolbar or click on the Edit Mode button on the Ladder Palette Bar You will Know when the Ed
118. f TAL sE se TAIO xn y C TAI x D Ac rh x 0 2j C TAZ o eE TAI x 4 C T 3 Eo HE TAI3 xf 4 C TA4 x 4c Tata xn g C TAS x n ac Tats x D 4 C TAB xfo C TAE o y C TAF x ti Acrar Eo H Select the Locations to View To use the Memory Editor first use the Find button located in the upper right hand corner of the editor A dialog will appear for the 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 DLO5 PLC 10 20 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring Format Data Size t Binary f BED Hex f Word UC Octal C Real C Double C Decimal 7 Test NG Enter memory C T address for Element 1000 TA start of range Cancel ea uH _ Canca Find Element Entering V1000 for the memory range will m the alias CTAO The alias could have also been entered Notice the Format area where the default BCD Hex has been automatically selected 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 formats shown to change the default Also the data size can be selected in the same manner How the data Is viewed is strictly up to the user Any one of th
119. file One advantage of the text file is that the program or comments can be edited without using DirectSOFT 5 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 5 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 5 User Manual 1st Edition 6 29 HAPTER OTHER VIEWS In This Chapter Tabbed Views aaa 7 2 Stage RLLPS View 5 ee ee 7 4 Mnemonic View 2 0 00 ce ee 7 6 Cross Reference XRef View 7 7 PID View 0 RR RR 7 12 Output Window aaa 7 14 View Terminology eee eee eee 7 16 Chapter 7 Other Views E L Tabbed Views Using the Ladder View to create ladder logic programs has been discussed to this point There are other views that are output only These views will help to organize and better visualize the program These additional views are Mnemonic Stage RLL YS Cross Reference XRef Documentation Editor and PID Views Once these views are opened each view is easily accessed by a tab located at the top of the display window This is a new feature with DirectSOFT 5 The Primary Views Ladder Stage
120. following Link Wizard dialog will appear showing a list of communication ports Select the port you will use commonly COM 1 and click Next Link Wizard Select the communications port that the PLC is connected to Modem support cannot be configured from the Link Wizard Fa To select modem support you must use the manual dd configuration dialog by selecting Link Editor below Link Editor Denez 2 22 DirectSOFT 5 User Manual 1st Edition Quick Start a Te eee Te Te T T T s mTTmmmaaamaaaaaa mlil Step 2 Select the PLC 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 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 you are finished Link Wizard Select the PLC product family of the PLC you wish to connect In uS IF vau are unsure but know the communications probocol it PAA uses select Mot Sure from the list PLC Families Direct Logic 305 Direct Logic 3055 DL 07172747350 Family Link Editor lt Back Mano Cancel Step 3 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 defaul
121. formation window The window will show the communication error messages It is also possible to edit the communication link if it becomes neccesary If the PLC is offline it will indicate that here Clicking on the button with offline showing will allow the programmer to connect 4 the PLC to the PC PLC Mode This status button indicates the operational mode of the PLC Not 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 toolbar Clicking on this button will allow the person to change the mode of the PLC Program Memory Usage This box indicates the amount of relay ladder program memory that is available and how much has been used The format is memory used total memory available If the available memory is exceeded an asterisk will appear beside the amount used Here are some examples e For a DLO6 CPU with program memory of 00003 07680 indicates that 3 words have been used out of a total of 07680 e For a DL230 CPU indicating the program memory with 00725 00512 This means that the amount of words used has exceeded the total program memory available see the diagram on the previous page PLC Type This box indicates the type of PLC that is being used Program Location This box indicates the position of the program cursor in the Ladder View This indicator changes with each movement of the cursor 1 20 DirectSOFT 5 User Manual 1st Editio
122. g 3 is ready to be edited 5 28 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Using Search and Replace ra Repke A very useful tool in DirectSOFT 5 is the replace feature Replace is used to replace one element reference with the reference of another element or a whole range of element addresses in a particular part of the current program or even in the entire program To access this tool use one of the following procedures Search gt Replace on the Menu bar Ctrl R Hot Key or the Search button on the Search toolbar The Replace dialog will appear as shown below which will allow you to define the search and replace procedure Heplace Object Find What thru Replace C swap With thru Add to table Update in button Upsala table table button Search Range Documentation f All C Move t Rung C Copy C Address U Leave ok Cancel Help Using the Object Section Begin by entering an element reference in the Find what field Enter an element reference in the thru field blank if there is a range of references to replace Leave this field blank if only one reference is involved Select whichever procedure is to be performed either Replace or Swap Choose replace to perform the replace function For example X1 to X12 Choose swap to swap the element references from one element to another For example X1 is swapped with X12 so X12 is now the former X1 element and X1
123. g is edited a vertical color bar default yellow appears to the left of the program as an 4 indication that the program has not been compiled accepted Unsaved to Disk Background after the program has been compiled the uncompiled bar is replaced with another bar default green to indicate that the program has not been saved the disk Unsaved to PLC Background one other color bar is used after a program has been compiled this bar indicates that the program has not been downloaded to the PLC i DirectSOFT 5 Programming example 1 File Edit Search View Tools PLC Debug Window Help Color Bars med etl ned ake ML Foot E mage 4 Uncompiled Yellow Efx Ladder View Compiled but not written to disk Green Compiled but not written to PLC Blue 4 XY Start or stop edit of this Program View Online DSCBL 06 ERE o0007 07680 06 0004 001 001 4 26 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment _ _ _ 3 Select a Theme A dialog window exclusive to DirectSOFT 5 is the Themes dialog This dialog allows the programmer to select the look of the DirectSOFT 5 programming window much like selecting the appearance for a computer using Windows To open the dialog window either click on View Themes or click on the Theme button in the View toolbar button group The default theme is Windows XP xi Beveled Fancy Gradient Apply Cancel Office 2003 Office xP Windo
124. ges are to affect other opened views or views to be opened later 4 22 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment Global Options The options available with the Global tab affect the current and all new projects that are opened during any session Ladder i Display Aliases 4 i Display Nicknames Cancel Help Selecting the Global Options Default View the view that is highlighted in the Default View window when the OK button is selected will be the default view that appears whenever a project is opened e Display Aliases Aliases are alternate names given to certain elements or addresses For example TAO is an alias for a timer accumulator data starting at VO It is much more meaningful to use the aliases rather than the counterpart memory address notations But in the end it is a matter of preference The aliases can be turned ON or OFF globally See the PLC User Manual for a complete list of aliases for the CPU being used Display Nicknames when this is selected all current or future projects opened will display the nicknames Selecting Display Nicknames here will have precedence over how this option is set for the individual views in the other options DirectSOFT 5 User Manual 1st Edition 4 23 Chapter 4 Programming Environment Colors in DireciSOFT 5 Colors are used in DirectSOFT 5 for personal appearance and for certain information This will be a discussion of
125. gram click on the Read button This will refresh the screen with the previously saved version of your program NOTE When the program is saved by clicking on the Write only to disk the ladder program is all that is saved Once you have edited a program and have included total documentaion you will want to save all that you have done This is accomplished by selecting File Save Project to disk You 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 refer to Chapter 6 DirectSOFT 5 User Manual 1st Edition 2 21 Quick Start Establish the Communication Link In order to download a program to the PLC a communication link must be established This section will step you through the 2 procedure for setting up the serial port of your PC Refer to Chapter 9 if you need to create a serial link for a modem or an Ethernet link The following procedure will step you through the process of connecting the example program to a PLC Connect the PC to the PLC Connect the programming cable from the serial port of the PC to the serial port of the PLC Turn on your PLC and be sure that the RUN TERM STOP switch on the PLC is in the TERM position Now click on PLC on the Menu Bar then select Connect from the drop down menu and the Select Link dialog will appear Since there isn t a link to chose click on Add Step 1 Select the Port The
126. he Element field To change it from Off to On simply click the On under New Like Data View the new state will not be dam written to the PLC until it is told to Do this by pressing the Write to PLC button The Current Value will change to read On Change Yalue Element Exit C1 sa Value Help Current Press the Write OFF aaa to PLC button aiue tO Mew M TT p iil c or eT Format Size Bit C Decimal g C Binary C Signed Dec E C Octal C Exp C C BbD Hes Real Change Value Element o_o Value Current ON ec Current Value EINE now reads ON C Off On Format Size Bit C Decimal E C Binary C Signed Dec J C Octal C Esp C BCO Hex Real IF NOTE To force I O use the Override editor 10 18 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring To write to a V memory location type the memory location in the Element field The value in memory will appear in the current value view To change the value enter it in the New field then press the Write to PLC button The new value is written to the V memory Change Yalue Element Exit hv2n0n sa Data will be Value Help dynamically Sa displayed 1 here Mew sm S 100 I Format Size g C Decimal g C Binary C Signed Dec f gt Bytes C Octal C Esp t 4 Butes BCO Hex C Real location The value in the memory location will be displayed under 10 Current Value When an I O r
127. he Menu bar or select the Export button on the File toolbar if it is displayed Either method used will open the Export Program dialog shown on the facing page E DirectSOFT 5 Programming rll example Ladder View File Edit Search View Tools PLC Debug Window Help New Project iy NG EY 5 pw 2 Hi cy DpenProject Cte P Eg Prewi Print PrtAll Setup Proxy Exit File Toolbar SF Close Project EDIT A Ky pot uy 7 P Save Project Find pis Opts sa r Help gt Save Project As Ji Backup Project Read Program ung determines ifthe press is in one cycle or continuous run mode Write Program Import Control relav used to Control relay used to iis in Stop Switch on signal press is in 3 de operator panel automatic mode Element Documentation mag Print Preview i amp sd Print Ctrl P ka Rung Comments le stop switch Automatic mode x50 da Print AIL 5 xx Print Setup File Export QUT Pad Properties l z i O pt i ane 1 EXAMPLE 1 PRJ dda mode 2 NU PROG PRJ amp Exit Rung 2 Ifthe Press is in automatic mode and a partis in place the machine begins the pressing operation Control relay used to signal press is in Limit that detects part automatic mode in fixture x v Artem tie moda nar nrocant For Help press F1 Offline 00047 02560 240 0001 002 002 6 14 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation In the Export Program dialog select where the program
128. here normally a relay contact or an element Click on the Normally Open Contact symbol on the palette The cursor will change to a box with an open relay contact a window with the text cursor blinking at the end of address CO highlighted and green valid entry indicators Enter the Open the Element Browser contact Pa Delete the Valid entry edit box indicators Default address If the green dot changes to red it means that the address is incorrect not valid or a wrong character For example if you typed the letter O instead of the digit O the indicator would turn red and stay red until you correct the mistake For this example enter XO over CO The valid entry indicator should be green meaning the address is correct Now either click on the check mark 4 or press the Enter key File Edit Search View Tools PLC Debug Window Help te oe M gt A New Open ax Ladder View Lv PT Ele Rung Address Instr otice the Valid entry 3 indicator will be green when a valid contact address is entered 00001 07680 06 DireciSOFT 5 User Manual 1st Edition 2 17 Quick Start The element will be entered and the coursor will move to the next entry position A yellow vertical bar will appear to the left of the left of Rung 1 Since this is not a color manual a light colored vertical bar is seen in the example The yellow bar indicates that an instruction or instructions has been entered but the progr
129. ialog then select Use Disk from the Online Offline Differences dialog refer to pages 2 22 to 2 24 This will load the program into the PLC The PLC will be in the Program Mode after DirectSOFT 5 completes the download Press the PLC Mode button on the Online toolbar and click on Run in the PLC Modes dialog to place the PLC online To disconnect from the PLC simply press the Disconnect button on the PLC toolbar or use PLC Disconnect from the Menu bar oelect Yes when asked Are you sure then you will be free to shut down Use the Project Folder Once a project has been saved to disk the project name will appear on the menu tree in the Project Folder To open the project double click on it s name When the programming window is displayed you can go online following the process just discussed Use the Link You can also connect to the PLC by using the communications link Make sure that a cable is connected to the PLC then select the link name from the menu tree and double click on it If there is a program in the PLC it will be displayed in the Programming window when it appears Notice that the name of the program is UNTITLED Ladder View The PLC does not store the program name or other documentation in its memory All of the program documentation is stored on disk in the PC 9 22 DirectSOFT 5 User Manual 1st Edition DEBUGGING AND HAPTER MONITORING In This Chapter Monitor with Data View
130. il lj Box Wire 4 5 6 Select the rung or rungs to cut Am EditMode Ctr E x10 x5 Y1 F 34 OUT x20 A24 C10 pL ft our NOP nx T ang N SN S m Cut Copy Paste Find s Opts FA Help Ctx Ctrl C chev Use the Menu bar 5 Cl er the Cut button emos SET B1400 3 RST YO OUT NOP ES 1 y Cut the selection to the Clipboard Offline 00024707680 06 0002 001 001 The cut rungs are held on the clipboard until pasted to the new location with either Edit 5 Paste from the Menu bar the Paste button on the Offline toolbar or Ctrl V a the keyboard shortcut is used The cut rungs will remain on the clipboard until pasted or a new rung is either cut or copied The clipboard will only hold one selection at a time To paste the rung or rungs to the new location place the cursor on the rung below where the rung will be inserted The rung will be inserted above the rung where the cursor was placed Cut rung is now at Rung 3 location Rung 3 has been moved to Rung 4 position and renumbered DirectSOFT 5 User Manual 1st Edition 5 25 Ef DirectSOFT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help xX pa a 2 x x LN mt Cut Copy Paste Find Pasa Opts pon Out Help 3 Cut Cox i ax Copy Ctrl C aj Paste Ctrl 4p X i Delete EDIT 25 B1400 3 400 pa na Inser
131. ill remain in view as can be seen in the diagram on the facing page In the two diagrams with the Ladder View notice the push pin in the upper right hand corner of the Output window Clicking on this push pin will auto hide the window and a tab will be displayed in the lower left hand corner More about auto hide and dockable views will be discussed beginning on page 7 16 7 14 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views e M P P MM fg DirectSOFT 5 Programming pid Ladder View File Edit Search View Tools PLC Debug Window Help x co 7zz 22 Nei Cascad oriz Vert im Si ER ENT EDIT XN Ki pot d kal P Sc Mj Mi Open PANDA in s Obts sa Help Ladder View MelAJeux x y For Help press F1 Offline 00029 07680 06 0008 001 003 The Output window can be closed just like other windows are closed If you desire to open the Output window press the Output Due button located on the Windows toolbar if it is displa yed If the Output window is displayed with error messages it can be cleared by pressing the Clear Output button located next to the Output button on the Windows toolbar y i 5 Offline 0002307660 06 Q009 007 001 DirectSOFT 5 User Manual 1st Edition 7 15 Chapter 7 Other Views lt View Terminology The terms docked view and floating view have been used in this manual and will be clarified in this s
132. illustrates the appropriate wire position in the RJ 45 connector PENDIX COMMUNICATIONS TROUBLESHOOTING In This Appendix DS500 ini File aaa B 2 Other Issues II B 5 Appendix B Communications Troubleshooting DS500 ini File It is useful to understand how DirectSOFT 5 handles the communication resources on the PC in order to communicate to the B PLC The following information is provided to help resolve PC to PLC communication problems DS500 ini File DirectSOFT 5 can connect to PLCs either by using a serial COMM port a modem or a USB to serial adapter It can also connect with Ethernet 10 100BaseT using an ECOM module installed in the PLC The user can control which PC communication resources is to be used by DirectSOFT 5 This is accomplished through entries in DS500 ini This file is located under Utilities on the DSLaunch menu tree This file can be edited with any text editor such as Notepad DirectSOFT 5 will have to be restarted if any changes are made to the DS500 ini file The sections of the DS500 ini file to be concerned with are devasync dll and devether dll These two sections are used to enable and disable the communications resources which DirectSOFT 5 uses The settings for these sections do not affect other application used by the PC which use these resources they only affect Direct SOFT 5 These sections will look like the following in the standard DS500
133. in groups divided by a gray vertical line x bon ty Y F e 2h DH Clise Save by die cm m m d d d Ew E we Prang rint PAAII Srp Promy A New Online Project Create a new project that linked to the PLC Close Project This button will close the current project A message window will pop up if the program has not been saved The program can then be saved Save Project to Disk This button will save the entire project to disk and will also create a new auto backup version of the project Save Project to PLC Use this button to save the entire project to the PLC Save As to Disk Use this button to save the active project to a different disk file Import This button will allow the programmer to import a project from a non DirectSOFT5 format Import Element Document This button allows the programmer to import a document containing nicknames wiring information and descriptions from comma separated variable csv text format Import Rung Comments This button will allow the importation rung comments in text form from a ladder logic program Export This button is used to export a project to a non DirectSOF T5 format see Chapter 6 DirectSOFT 5 User Manual 1st Edition 1 7 Chapter 4 Programming Environment Export Element Comments This button allows the programmer to export element documentation containing nicknames wiring information and descriptions in the current DirectSOFT 5 project to
134. in the output entry position pi eDu indow Help PLC Debug Wind The expanded Instruction Editor dialog cuc here to close and has a check mark an X and magnifying accept the entry glass in the upper left hand corner The check mark 4 is used for accepting an Click here to close entry The X is used for closing without Without accepting accepting an entry And the magnifying Click here to see the glass will bring up the Element element browser Browser which will show the valid or click on F9 ranges for this field The small color coded indicators in each field of the input box indicate whether the entry for that field is valid or not Green is valid and red is not valid or incomplete l l Valid entry indicator The indicator in the upper right hand for the immediate field corner of the box indicates the validity of all fields For example in order for the Master valid entry indicator indicator to turn green the box will need er all fields a valid address such as V2000 5 6 DireciSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program m a a a a a a a a 3 a DirectSOFT 5 has two basic types of instruction editor dialogs single parameter and multiple parameter The following information explain the two types of dialogs Single Parameter Instructions Most contact coil and box instructions have single parameters and are entered with the single parameter dialog
135. in the left margin of the ladder view starting with zero If number by Rung is chosen the rungs will be numbered beginning with the number one The following rungs will be numbered 4 sequentially two three four etc The default selection is by Rung Documentation This section of the dialog allows you to select the types of documentation that will appear in the Ladder Logic program A check mark in the box preceding the option will select the option to appear in the program The following choices are available Elements the element type and reference number X1 Y3 C10 etc e Nicknames a name given to the element by the programmer or user clamp switch etc Wiring Info a descriptive tag for keeping track of wiring Blue 027 Descriptions notes attached to individual elements gate open clamp up Comments note attached to the rung i e This is the start of the Wash Process for Section 9 in Building 10 Misc Options The only option availble here is 3 D Tokens Leaving this option checked will leave the Ladder View the way it appears when it is first opened default that is with a three dimensional effect on the Ladder View When this option is unchecked the Ladder View will have a white background and black rungs This will not affect the colors of the displayed views Apply the Options to By default the changed options will only affect the Current View Check All Open Views or New Views if the chan
136. indows keyboard shortcuts copy cut paste etc can be used within the editor For example if there is a lengthy description for a point and other points are similar the information can be copied The following example will demonstrate how this is accomplished 1 Position the cursor in the cell to be copied 2 Double click to highlight the information 3 Press Ctrl C to copy the information in the cell 4 Move the cursor to the element cell where the information is to be copied to Use the Find button Ctrl F shortcut or scroll 5 With the cursor in position to paste the information press Ctrl V Mnemonic view Ladder View Stage View Documentation Editor ld R4 44 4 FRE n Start Switch Blue 000 Start Switch on AU operator panel Part Fresent Blue 001 Limit that detects part in fixture Clamp Locked Blue 002 Canfirms that clamp has securely lacked the part in placa Clamp Unlocked Blue Confirms that the clamp is unlocked Lower Limit Blue Lower arbor limit Part has been pressed Upper Limit Blue Upper arbor limit Conveyor Confirm Blue Confirms that conveyor actually traveled forward One Cycle Switch Blue Switch an operator panel selects one cycle ar automatic operation A Malh Jays TO a r mal E ui al bi 3 and after the newly pasted entry This occurs because each nickname must NOTE When copying a nickname the new nickname will have a before be uniq
137. ing n sg 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 such as the light bulb by clicking on it The indicator will appear in the button and also on the Data View Click on Status On button to change the indicator Indicator Swap bytes for text display selection window ie fe of OI E ement__ _ Stowe stat Switch Reset Start Te 4 CT AT 2 Indicator is in buttons 10 6 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring CQO mm naa 8 3 5 5 m m a a AXA DLLLLLAAHLLLGDOG3 aaa Data View Documentation Options Next to the Display 2 tab is the Doc tab Select this tab to set up the documentation to be displayed on the Data View window Whatever documentation Elements Nicknames etc is to be displayed in the Element column is enabled or disabled here The current Data View window can also be renamed from Data1 Data2 Data3 etc to any name to better identify it Enter the new name for the current Data View in the Title field The name entered can contain up to 32 characters Options Data View Global Ladder Documentation Title current view only Elements Data lf Nicknames Wiring Info Descriptions Cancel Help Apply Options Notice the three boxes next to the Apply options to circled in the above diagram These box
138. ink is not present or a new link is to be established the Link Wizard will need to be activated The following steps will guide you through the link setup 1 Open the Link Wizard from the DSLaunch window Right click on Comm Links folder in the DSLaunch menu tree then select Add Link 355 DSLaunch File View Help Applications EEE DirectSOFT 5 Proc F Utilities omm ue Visit AutomationDir Es Visit Host Engineer CTRIO WB 2 Dire CTRIO WB 2 EBL CTRIO WB 2 PBI CTRIO WB 2 Offl fff ERM Workbench 53 DBWin32 Logger DNLoader 4 amp NetEdit 3 Calculator pa Version Aj DS500 ini Projects D di06 pid example p D di05 pid example p 3 ds5 qs intro prj 5 nuproa pri D Right click to I plus example pri Rm select Add Link 5 example 1 prj D example prj backuphaysave Su TEMA EE aL Add Link Ba DSCBL Read Select the communications port that the PLC is connected ta Modern support cannot be configured from the Link Wizard To select modem support you must use the manual configuration dialog by selecting Link Editor below Link Editar lt Back Cancel DirectSOFT 5 User Manual 1st Edition 9 7 Chapter 9 Setup amp Manage Communication Links e 3 he Transport and the Transport Protocol is chosen in the next dialog The Transport is nothing more than a network driver Note the following restrictions e If the Operating System
139. ion Edikor Rajaa a gt pel R BI ajel Wiring Info Start Switch Blue 000 Start Switch on Operator panel M Part Present Blue 001 Limit that detects part A in fixture Clamp Locked Blue 007 Confirms that clamp has securely locked A the part in place M Malh Jag Ejp ajdurex snd T4 d Lower Limit Blue 004 Lower arbor limit Part Had has been pressed Upper Limit Blue 005 Upper arbor limit Conveyor Canfirm Blue 006 Confirms that conveyor actually traveled A forward A One Cycle Switch Blue 007 Switch on operator panel selects one cycle or automatic operation 40 41 43 Clamp Unlocked Blue 003 Confirms that the 43 clamp is unlocked 4B 47 Using the Scroll Buttons There are scroll command buttons arrowheads located at the top of the editor They are shown both directions as gt P BR P etc Each button has a different function gt Moves one element forward p Moves one page forward PR Moves to the beginning of the next data type X Y C etc gt Moves to the last documentable type Moves one element back Moves one page back R Move to the beginning of the previous data type 4 Moves to the beginning of the first documentable point 6 8 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation RM et Copying Documentation Between Elements If it becomes necessary to use the Documentation editor all of the familiar W
140. irectSOFT 5 then select DSLaunch 5 in the drop down window The DSLaunch window shown below will appear The DSLaunch window displays all of the applications and PLCs that DirectSOFT 5 supports Understanding the Launch Window DirectSOFT 5 Programming Software is much more than a PLC programming package With the Launch Window concept utilities such as NetEdit CTRIO WB etc can all be launched from one central location The Launch Window is also used to create and manage PLC projects and the communication links between your personal computer and the PLC Notice the different areas in the Launch Window There is a menu tree very similar to what is in Windows Explorer All that you see in the menu tree can be accessed from the tree 3 DSLaunch File View Help Windows type ET Applications Menu Tree NP RN DifeetSOFTs E L4 Visit AutomationDirect LJ Visit Host Engineering HA CTRIO WB 2 DirectLogic PLC iliti CTRIO WB 2 PBC programming package Utilities such piro i ERM Workbench as N et Ed It 59 DBWin32 Logger DNLoader Programming support is installed for NetEdit 3 DirectLogic 05 Series J calculator DirectLogic 06 Series A Version DirectLogic 105 Series D5500 ini DirectLogic 205 Series B nes DirectLogic 305 Series Installed dl05 pid example pri DirectLogic 405 Series 5 dio6 pid example prj S u ppo rt D ds5 gs intro prj D rliplus2 prj 5 rll_example prj 5 rliplus example prj 5 examp
141. is the former X12 element Next enter the element reference to be replaced or swaped in the With field the thru field is read only and will be filled in as the replacement reference is entered The Add to table button is used to add the current object to the table which is used to perform multiple replacements at one time See the diagram on the following page The Update in table button is pressed if an object within the table needs to be edited This allows the replacement of the object in the table with the newly edited object DirectSOFT 5 User Manual 1st Edition 5 29 Chapter 5 Edit a Program a aaa The Search Range Section There are three range selections for the replace procedure 1 All will select the entire program as the replacement range 2 Rung will allow a certain range of rungs to be setup to perform the replacement 3 Address will allow a range of addresses to be entered addresses to be converted to rung boundaries to perform the replacement The Document Section 5 There are three ways to handle the documentation whenever elements are replaced or swapped 1 Move selecting this will move the documentation from the source element to the destination element 2 Copy this selection will copy the documentation from the source element to the destination element 3 Leave this will leave the documentation at the source element The Object Table Section The Object table shows all objects which ha
142. isplay the port configuration dialog 9 This dialog is used to setup the port to match the modem s configuration Follow the steps below a Select Modem in the Devices column b Select the modem type that was configured in the Windows modem setup The can be verified or modified by clicking on the Properties button or a new modem can be setup by clicking on the Add button c Enter the dialing information for the modem Configure Link Name Modem Link Description PLC Port Protocol Modem to use Devices 3Com windows Modem PCI AL Where you re calling County United States of Americal Iw Area Code 706 i Lise country and area codes Phone No pone 0 Your location My location Properties Cancel Help Auto DirectSOFT 5 User Manual 1st Edition 9 17 Chapter 9 Setup amp Manage Communication Links 5 Click the Protocol tab to display the communication protocol dialog The communications parameters can be defined further in this dialog Configure Link Name Modem Link Description PLC Port Protocol Protocols ad Advanced Settings Address 1 sj Timeout 800 Sms Data Timeout 20000 Sie Retries i Cancel Help Auto a Select the communication protocol to use Refer to the chart in Appendix A for a breakdown of the various CPUs and which protocols are supported on which ports
143. it Mode is active when the cursor box becomes solid a box appears around the Edit Mode buttons and the elements in the Ladder Palette are highlighted DirectSOFT 5 User Manual 1st Edition 2 15 Quick Start Di Dineci50FT 5 Programming Example Ladder View Edit Mode solid cursor box The Ladder Palette shown facing page may not be exactly like the one you have on your computer screen The elements shown in the palette will depend on which CPU your PLC is using This example shows the elements common to all the CPUs Toolbar Options Close view Edit Mode Accept Normally Open Contact Normally Closed Contact Normally Closed Immediate Normally Open Immediate Contact Contact Negative Differential Contact Positive Differential Contact Equal to Contact Equal to or Greater Than Contact Not Equal to Contact Less Than Contact Browse Contacts Browse Coils Browse Boxes Browse Elements Wire to Output Wrap Wire to Stage 2 16 DireciSOFT 5 User Manual 1st Edition Quick Start Step 3 Enter an Input Element Use the Ladder Palette to enter the first instruction of the program First click on one of the Edit Mode buttons to begin to edit your program The rectangular edit cursor will change to a solid color The edit cursor should be positioned to the far left on Rung 1 Your 2 first entry can be placed
144. item in Data View by using the method used to select rungs in the Ladder View Select the first item in the group then use the Shift Arrow keys to mark a range of items either horizontally or vertically A more simple way to mark items is to click on the first item in the range and hold the button and drag the mouse arrow over the rest of the last item to mark The marked items can then either be deleted cut copied or you can change the Data Format or Data Size of the selected items all to the same format or size Save the Data View Window Once the Data View window has been setup for debugging and monitoring a program it is a good idea to save it so it can be opened and used later If the Debug toobar is displayed click on Save the Save button and the Save dialog will open The Data View can be named something else instead of the default Data1 Data2 etc then save the Data View to the Projects folder by clicking on the Save button The Save dialog can also be opened by using Debug Data View Save from the Menu bar If a duplicate Data View is needed either use the Save As button on the Debug m ka toolbar or Debug Data View Save As form the Menu bar DirectSOFT 5 User Manual 1st Edition B 10 13 Chapter 10 Debugging and Monitoring B CC ii ee Using Pause Bits A Pause Bit can be set for each output in the Data View window By setting the Pause Bit the output
145. ka We Rung 4 Comment A new Anew Rung 4 4 QUT C11 OUT J A new Rung 5 Mor 4 5 26 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program CO M M MM Inserting Columns Rows and Rungs Inserting instructions and rungs is a simple process with DirectSOFT 5 To perform either of these features either use Edit 5 Insert on the Menu bar the Insert button on the Edit toolbar or the Insert keyboard function key When instructions or rungs are inserted the addresses and rung numbering will change Insert a Column to Add an Instruction There may be a time when you need to add an element in a rung of a program such as within a parallel connection in the rung To do 5 this a column is inserted to spread the rung out where the element is to be added In the example diagrams below a contact is to be added after XO in Rung 2 The cursor is placed over XO then the Insert feature is accessed by one of the three ways mentioned above An Insert dialog will appear asking what you want to do Make the proper selections and press OK In the example Column and After Cursor is selected Before Cursor could have been chosen It depends where you want to place the new contact Only one rung is affected in the example qb x 6140 pa 0 3 SET Mali JE Se YO OUT Current position Insert column After Cursor Note The cursor does not show when the dialog appears B1
146. lank use NetEdit 3 to setup the ECOM module 9 8 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links at JJ 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 on the network sorted by their Ethernet address The Ethernet addresses displayed are unique 12 digit addresses assigned to the Ethernet module at the factory The ECOM module will have a label with the assigned address printed on it When a device address is selected in the Module List the current configuration for the selected device is displayed in all fields of the dialog The Address Mode section displays the module information that was setup using NetEdit 3 There are three module identifiers shown Module Id Name IP address and Ethernet address Either one of these identifiers can be chosen so the DirectSOFT 5 can locate the Ethernet module on the network NOTE It is important to have a unique identifier for the Address Mode on the network 9 If for some reason you want to change the module s configuration press the Setup button to make the adjustments The following dialog will appear Ethernet Module Setup Devices Contiguration O
147. lay 7 7 saan 24h RR KPA NAKA DARI ESTE RERE E G2 10 5 Data View Documentation Options a 10 7 ADD ODIONS aaa gs needs ox ed Gand Seek ee ed ede WKS O KNA 10 7 Data View Mode Options 0 aaa 10 8 Make Data View Entries aaa 10 8 Data Format and Size ua a dee VOR 8er le hw oh oe me Poor 10 10 Write the Edits llli rn 10 11 Auto increment RTT ITIETTST TET ODIO OT DEDU WA AN NG 10 12 GING ENNES CETCTTETLILI TOT EEEa TID 10 12 Save the Data View Window ellen 10 13 SING PAUSE BUS cs aetogenees5 25420554 5444 NERES been E ES 10 14 Use Override Bits to Control I O DL05 06 240 250 1 260 350 450 Only 0 00 cee ee 10 15 Change Value Dialog 10 16 Use the Change Value Dialog 00 0 0 cee ee 10 16 Specify an Element Reference or Nickname 10 17 Enter a New Value 22 10 18 Using the Memory Editor 10 20 Select the Locations to View a 10 20 Test Mode Operations for Debugging 10 22 Select Test Mode 2 ee ee ee ees 10 22 Test Program Operations eee 10 23 The Test Operations Window 0 00 cee eee 10 24 UG PALA AA 10 25 Access the Trap Monitor a scm RR RC RR LAG Heina 10 25 Use with Data View 2 naaa ea ea 10 27 Stack Monitor DL440 Only eee 10 28 Access the Stack Monitor 0 aaa 1
148. lbars he wishes to use or to customize a personal toolbar When a toolbar is checked clicked on it will be added to the programming window immediately To create your personal toolbar click on New 4 and name the toolbar My toolbar is the name given to a custom toolbar in the diagram below The toolbar will be added to the x Toolbar name My toolbar Cancel programming window as an add on toolbar The toolbar will not have any icon buttons in it until the programmer selects the buttons To do this click on the Commands tab and select the command Customize Toolbars Commands To add a command to a toolbar select a category and drag the command out af this dialog box to a toolbar Categories Commands am Memory Editor E Documentation Editor uiu Assign Nicknames lu Comment Editor E Title Page Editor NE Compare Programs p All Commands Insert Instructions From File category Once this is done a list of icon buttons will appear to the right of the category list Drag the commands that you wish to the personal toolbar The name of the personal toolbar will also be added to the list of Toolbar menus DirectSOFT 5 Programming example 1 Ladder View File Edit Search View Tools PLC Debug Window Help n y 7t 7 w 7 GN EDIT E X x E A r pO e cy gt New Open MODE aue Find 1 end Opts doom Out Help Ab gt ns mi E RE Status Data Value e Info to DocEd Co
149. le 1 prj fa Comm Links Bay O6dscbl E Communication E Links to PLCs Ga DL260 enet 3 2 DirectSOFT 5 User Manual 1st Edition Chapter 3 Managing Projects The menu tree has four folder icons which are Applications These are the applications currently installed in DirectSOFT 5 The only installed application available is DirectSOFT 5 Programming This is the point where you start a new project e Utilities Several utilities are installed here such as ERM Workbench E CTRIO Workbench and NetEdit They are installed automatically when DirectSOFT 5 is installed e Projects This folder icon will contain the projects which are created in DirectSOFT 5 A project is the collective name for your ladder logic program and all of the documentation associated with it Newly created projects and existing projects will reside here As projects are created they are added to the end of the list e Comm Links This folder icon will contain the communication links between the personal computer and the different PLCs that you have See Chapter 9 DirectSOFT 5 User Manual 1st Edition 3 3 Chapter 3 Managing Projects Create a New Project New Program To create a new program double click on DirectSOFT 5 Programming in the Applications folder on the DSLaunch menu tree Double click here to start a new program it CTRIO WB 2 File Eum it CTRIO WB 2 e MUSAE BE GB le c
150. le the two Trap push pins When the pins are enabled the Address can be incremented or decremented while observing the Element located at the new Address The read only data will also change Trap Monitor Trap At Address ME E Element Element Value OFF i Accumulator p Power Flow Mg Master Control tes Trapped Ya If you want to step through a program area to check the data in V memory locations just leave the Trap Monitor dialog as shown above then place the ladder program cursor over the element box with the memory reference in it You can then read the data in the read only area i DirectSOFT 5 Programming example 1 Ladder View File Edit Search View Tools PLC Debug Window Help T e EDIT XN Kp po d 9 hah Open MODE Find s Opts sa r Help a Ie NGAGE X gm Ad Hk x Ladder View 1b x Trap V2006 At Address oe Element 2000 Element Value 40 Accumulator 9 Power Flow Mo Master Control Yes Trapped Yes 2s a co 4 e en r co r 5 2 i ajojn na o o J For Help press F1 y For Help press F1 OK Online DSCBL 06 TestRun 00007407680 06 0003 001 0UT 10 26 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring CQo SSS SSS Use with Data View The Trap Monitor is normally used in combination with one or more Data Views so the inputs and outputs of the Ladder Logic
151. lename pr Contains the ladder program filename prt Print settings filename rd 305 R memory data filename rf 305 R memory editor format filename scd Stage comments filename scx Index file for stage comments filename tls PLC parameters I O configuration pause bits filename vd V memory data filename vf V memory editor format filename wsp Position of program windows colors etc filename xml Docking pane layouts Files Associated with DirectSOFT 5 Project Files File Extension Contents importexport doc namename csv Comma Separated Variable ctrioworkbenchname cwb Counter I O configuration ermworkbenchname erm Ethernet remote master configuration importexportmnemonicname txt Text file 3 8 DirectSOFT 5 User Manual 1st Edition CHAPTER 4 PROGRAMMING ENVIRONMENT In This Chapter Offline Toolbar Components 4 2 Online Toolbar Components 4 5 Additional Toolbars 0 0 Aa 4 6 The Options Dialog llle 4 21 Colors in DirectSOFT 5 4 24 The Split Screen Feature 4 30 The New Window Feature Less 4 31 Chapter 4 Programming Environment Offline Toolbar Components Once the Program Window has been opened the Online and Offline toolbars are in view The diagram below shows the def
152. lete The InstallShield Wizard has successfully installed DirectSOFT 5 Programming Click Finish to exit the wizard If an Upgrade If an older DirectSOFT version is found during the installation you will be prompted to make DirectSOFT 5 the default projects folder You will then be asked if you want the existing projects copied to the DirectSOFT 5 projects folder DirectSOFT 5 User Manual 1st Edition 2 7 Quick Start Windows type Launch Menu Tree nag mmr fed z DireetSORTs 8 aee n a ma 3 ek scription omationdirect com s5 DL seres PLC CTRIO 2 POC rogram package CTRIO we 2 Clee Utilities such as NetEdit Communication Links to PLCs Getting Started Before beginning to edit a program you need to open DirectSOFT 5 If you are already familiar with sg DirectSOFT click on the DirectSOFT 5 icon located on DSLaunch 5 your desktop screen to open the DSLaunch window You can also click on Start located in the left hand corner of the computer monitor Now select Programs find DirectSOFT 5 then select DSLAUNCH 5 in the drop down window The following DSLAUNCH window will appear Installed Support From this window additional utilities such as NetEdit CTRIO WB etc can all be launched from one central location This is also used to create and manage PLC programs and the communications links between your personal computer and the PLC Notice the different areas which are pointed out
153. log will not allow a preset to be entered This Second field is intended for presets on all other timers counters and not these being discussed Once the address has been entered in the affore mentioned timers counters just press enter to close the box The preset entry will be made via the D3 TCSU thumbwheels and the preset can only be viewed on the Setpoint Unit Ladder View IX IR C180 MR N A preset cannot be entered for DL330 DL340 Timers Counters CT674 CT677 Leave the preset field blank 5 16 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program kz A TI330S TI325S and DL330P Exceptions If you have a TI330S TI325S or DL330P then the situation will be slightly different from the one explained on the previous page These CPUS do not allow presets for any of their counters timers via the edit dialog of DirectSOFT 5 It is sometimes confusing to users of previous versions DirectSOFT with other PLCs because of the preset entry The preset for the counters timers being discussed do not need a preset entry in the edit dialog The only entry to be made in the edit dialog is the counter timer address Refer to the PLC User Manual for a detailed discussion of how these timers work with their presets Ladder View 1 The TI330S TI325S DLS330P counters timers do not have a preset field End Coil All of the instruction sets DirectLOGIC PLCs and compatibles use an END coil as one of the instruction
154. lues The current value for Timer TO is E stored in VO This is not always easy to remember so DirectSOFT 5 allows you to OR refer to these as either VO or TAO timer accumulated value for Timer 0 For example the accumulator for Counter 3 is in CTA3 VO K100 which is easier to remember than V1003 z Use V memory Location Accessing O Points as Memory Locations Aliases allow you to access l O points as V memory registers in a DL305C For Use VX reference to I O example input points XO X17 in a DL405 are stored in V40400 X20 X3 are stored in LD V40401 etc VXO the alias can be used instead of V40400 the V memory location for XO These are on 16 point boundaries so the next location is VX20 VX40 VX60 etc For Use v memory Location the DL305C you could represent I O points such as 1010 1017 with register location LD RIO10 V40401 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 OR NOTE Check the appropriate PLC user manual for a description of the ES accumulator and instructions required for this type of task DirectSOFT 5 User Manual 1st Edition 5 5 Chapter 5 Edit a Program e Entering Program Instructions The Instruction Editor The Instruction Editor is a dialog used to enter element data for each type of instruction The diagram below shows the dialog
155. me 10 17 Nicknames 6 6 Assign 6 6 Flement 6 6 Source 6 7 O Options Dialog 4 21 6 2 Documentaion 6 3 Documentation Editor 6 4 Global Options 4 23 Ladder Options 4 22 Output Element 2 16 Override Bits 10 15 P Pause Bits 10 14 PID View 7 12 PLC Modes 2 24 Power Flow 5 14 Primary Views 7 2 Product Key Code 2 4 Protocol and Node Address 9 4 Rung comments 6 11 Rungs 5 21 Copying 5 23 Cut and Paste 5 25 Deleting 5 22 Merge 5 26 Selecting 5 21 S Saving the Program 2 18 Software License Agreement 2 5 Split Screen 4 30 Stage comments 6 12 Start a New Project 2 10 Ladder Palette 2 14 Tip of the day 2 11 Startup Issues B 3 Status Bar Components 4 19 Supported Cables A 2 A 4 Supported Protocols A 3 A 5 System Requirements 2 2 T Themes 4 27 Toolbar Components 4 2 Custom Toolbar 4 17 Debug Toolbar 4 15 Edit Toolbar 4 8 1 2 DirectSOFT 5 User Manual 1st Edition Index app File Toolbar 4 7 Help Toolbar 4 17 Offline Toolbar 4 2 Online Toolbar 4 5 PLC Diagnostics Toolbar 4 13 PLC Setup Toolbar 4 13 PLC Toolbar 4 12 Search Toolbar 4 9 Tools Toolbar 4 11 View Toolbar 4 10 Window Toolbar 4 16 Trap Monitor 10 25 U Usage Mode 7 10 USB to Serial Converters B 3 X XRef Query 7 8 XRef Toolbar 7 9 DirectSOFT 5 User Manual 1st Edition 1 3
156. ment when you install this software Automationdirect com grants you and you accept a non exclusive u license to use the following Software which you obtain from amp utomationdirect com The particular Software you have acquired and the type of license is specified in your purchase order as part of the part number for the item The following applies to each type of Software product and license accept the terms of the license agreement do not accept the terms of the license agreement lt Back Next gt Click here if you agree with the License Agreement s terms Step 6 Enter the Customer Information The Customer Info window requests the user name and company Enter the name of the person assigned to the DirectSOFT 5 Programming Software and the name of your company Click the Next button to continue with the DirectSOFT 5 installation DirectSOFT 5 Programming InstallShield Wizard Customer Information Please enter your information DirectSOFT 5 User Manual 1st Edition 2 5 Quick Start Step 7 Select the Type of Installation The wizard now displays the Setup Type window This window allows you to select either the Complete or the Custom type of installation Complete is the most common selection Custom allows 2 you to select the optional components you want lt is recommended that you select Complete for your DirectSOFT 5 installation Click on the Next b
157. mnt Find eed Personal Toolbar 4 18 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment Status Bar Components The PLC status information is located at the bottom of the programming window This area is divided into boxes which contain pertinent information about the PLC operation and status when the PLC is online or offline These boxes can be classified as status buttons fa DirectSOFT 5 Programming example 1 Ele Edit Search View Tools PLC Debug Window Help Em EDIT NS ge A4 a ae MODE Find owz ODts tt Help Mew Open Km y A d Ez Status Value e Info T ajx Ladder View Fab SAA l Bij Ladder View Instruct a X30 1 0 PLC System Program Information PLC Mode Memory Usage Il 4 y For Help press F1 Onlme DSCBL 06 EEENUNENNNN co00 07680 06 0001 001 001 Link PLC Type Program mm PLC System Information This status button is active whenever the PLC is online It displays OK to indicate the PLC is running without an error Clicking the button is like using the System Info button in the online toolbar It will open the PLC System Information window DirectSOFT 5 User Manual 1st Edition 4 19 Chapter 4 Programming Environment Communication Link Information This status button is active when the PLC is offline or online The button displays the PLC status and the communication link name Clicking this button will open the Communication Link In
158. n Chapter 4 Programming Environment The Options Dialog Before continuing to edit your program it is a good idea to get familiar with the DirectSOFT 5 Options Dialog This dialog actually has six dialogs within which are used to setup the appearance of each of the views available To open the dialog either click on the Options button or on View Options Each view dialog is indicated by a tab labeled Data View used to monitor and debug the program 4 Global this affects all views display of aliases or nicknames Ladder options for the ladder view e Stage options used for the stage view e XRef used to setup the cross reference view display mode documentation etc e XRef DB definitions for cross reference database queries Only the Global and Ladder options will be discussed in this chapter The other option tabs will be discussed in later chapters after adequate coverage of some of the more advanced features of DirectSOFT 5 Data View Global Stage Apply options to M Current View New Views Number rungs Documentation Misc Options C by Address M Elements jv 3D Tokens Qi ku i Nicknames i Wiring Info i Descriptions i Comments DirectSOFT 5 User Manual 1st Edition 4 21 Chapter 4 Programming Environment Ladder Options Number Rungs Two choices are available here by Address and by Rung If by Address is chosen the actual decimal address for each rung will be in located
159. n some PCs especially in situations like leaving EthernetEnable 1 on PCs without an Ethernet card installed and configured or if the IPX protocol is not installed Both DirectSOFT 5 User Manual 1st Edition Appendix B Communications Troubleshooting Other Issues USB to Serial Converters The use of USB to Serial converters has become an issue since more and more PC vendors remove serial ports from their PCs in B favor of additional USB ports In theory there shoud be not problems with this as long as the USB to Serial drivers function like a standard PC serial port There has been some changes made to the communications server to better handle these converters It is highly recommended to install the device drivers for the USB to Serial converters before attaching the converter to the PC This is common practice for all USB devices and it is important for some vendor s products Microsoft ActiveSync ActiveSync is the software used to synchronize data between the PC and a PDA running Windows CE or Pocket PC This software has an undesirable habit of attaching itself to the serial ports of the PC it s installed on in order to auto detect the presence of the PDAs The DirectSOFT 5 error dialog will show the symptom for this problem Error connecting to PLC Error cannot access comm port The port may not be present or another app may be using it The COM ports that ActiveSync has control of can be restricted by
160. nd pai aa TA Ho Ladder Palette MG IR r4 BE X T Status B x Ladder View H Ladder View Eo OUT y Start or stop edit of this Program View Online DSCBL 06 ROR 00007707680 06 0003 001 001 Be Familiar with the Ladder Palette The Ladder palette is very helpful when first learning to use DirectSOFT 5 The hot keys can be learned while using the Ladder palette The hot keys are labeled on the element keys Using the hot keys may be quicker for many programmers The hot keys appear in the Tool Tip whenever the cursor is over the element button different than what is shown in this manual The tools that appear are NOTE The Ladder palette which appears on your computer screen may be dependent upon the type of CPU being used 4 28 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment The Ladder palette shown below will be used to describe each button Ea hal d Edit Mode turn Edit Mode ON or OFF Normally Open Contact Normally Open Immediate Contact ur nr Positive Differential Contact Equal to Contact vp zz Equal to or Greater Than Contact Browse Contacts Browse Boxes ex Wire to Output Accept compiles the program Normally Closed Contact Normally Closed Immediate Contact 4 Negative Differential Contact Not Equal to Contact Less Than Contact Browse Coils Browse Elements Wrap Wire to Stage
161. ng under Applications on the menu tree The following Welcome to DirectSOFT100 window will appear 2 BS C C k h e re to i FE ovectsoF 5 Programming be g n a p roj ect us AutomationDirect J Visit Host Engineering HA CTRIO WB 2 DirectLogic PLC HA CTRIO WB 2 EBC WinPLC HR CTRIO WB 2 PBC HR CTRIO WB 2 Offline fF ERM Workbench 59 DBWin32 Logger DNLoader Welcome to the DirectSOFT100 version of DirectSOFT 5 Programming po 3 3 z DirectSOFT 100 supports a maximum program length of 100 words If you create a program longer than 100 words DirectS OFT 100 will allow 3 dios pid example prj you to save it to disk but you cannot re open this project with DD dios pid example pri DirectSOFT 100 You may purchase a key to unlock the full version by calling us at 1 800 633 0405 Better yet if you have access to the Internet come visit us on our web site at www AutomationDirect com nu prog prj D dl06 example pid prj ja Comm Links Run Direct50FT 100 Unlock Full Version sc sc Ga Enet 100 Click on Run DirectSOFT100 and the New Project dialog will open as shown on page 2 12 You can now begin to edit a program following from Step 1 DirectSOFT 5 User Manual 1st Edition B 2 11 Quick Start Begin Editing a Program You can now begin editing your program The following steps will show you the basics of editing with DirectSOFT 5 This will not be an attempt to teach you how to devel
162. ng a program Selecting the Documentation Editor tab allows easy access to the editor To open the editor either press the Documentation Editor button on the Tools toolbar if it is displayed use Tools Documentation Editor on the Menu bar or the keyboard shortcut Ctrl D One more view the PID View will be useful if a PLC with PID loops is being used This view is only available to the user after at least one PID loop has been setup Once a PID loop has been setup the PID View is opened from the View submenu on the Menu bar If all of the views are open in the Program display window at the same time the tabs will appear as in the illustration below For the experienced DirectSOFT user it is possible to arrange e kola i fy F ee wc 4 b d ixl Ladder view Stage view Mnemonic view FID view Documentation Editor Ib x EDI Store the analog input data in the V memory location for PID loop 1 PV ss MODE T begins with 247 00 l ii zzz selected views in a Multi Documentation Interface MDI look by clicking on the restore button located in the right hand corner of each view NOT the application title bar The views can then be positioned by the user for his use DirectSOFT 5 User Manual 1st Edition 7 3 Chapter 7 Other Views EL Stage RLL View Most of the DirectL OGIC PLCs support the use of RLLPLUS instructions These instructions Stage Jump etc allow the creation
163. nly one D3 DSCBL 2 DL430 DL440 Top port 15 pin D4 DSCBL Bottom port 25 pin D3 DSCBL 2 DirectLOGIC DL405 DL450 Phone jack D2 DSCBL Top port 15 pin D4 DSCBL Bottom port RS 232 D3 DSCBL 2 Bottom port RS 422 D4 DCM Only one D3 DSCBL 2 H4 ECOM Only one Ethernet Slice I O Modules Only one D4 DSCBL requires RS232 Data Communications Unit D3 232 DCU A 2 DirectSOFT 5 User Manual 1st Edition Appendix A Cables and Protocals Diagrams Supported Protocols DirectNET K Sequence ECOM MODBUS DirectSOFT 5 User Manual 1st Edition A 3 Appendix A Cables and Protocals Diagrams Cables and Protocols cont d Supported Cables CPU or other device Port Cable GE Series 1 IC610CPU105 106 Requires DCU D3 DSCBL 2 325 07 PPX 325 07 RequiresDCU D3 DSCBL 2 332 37 PPX 330 37 RequiresDCU D3 DSCBL 2 E cA od n Requires DCU D3 DSCBL 2 TI305 3309 37 PPX 330S 37 Requires DCU D3 DSCBL 2 Phone Jacks D3 DSCBL 1 lf DCU is used D3 DSCBL 2 Family 335 37 PPX 335 37 425 CPU Top port 15 pin D4 DSCBL Bottom port 25 pin D3 DSCBL 2 D4 DCM Top port 15 pin D4 DSCBL H4 ECOM Bottom port 25 pin D3 DSCBL 2 Slice I O Modules Only one D4 DSCBL N A PPX 430
164. nnecting Lines llle 5 20 Selecting Rungs for Deleting Cutting or Copying 5 21 Deleting MUNGS ssa 3 09a AA 5 22 Copying Rungs llle nnns 5 23 Cut and Paste Rungs LL 5 25 Merge Combine Rungs 5 26 Inserting Columns Rows and Rungs 5 27 Insert a Column to Add an Instruction llllssnn 5 27 Insert a Row OF HUNG us arx que 3304 82212292335 R ERd ESSE DINE 5 28 Using Search and Replace 5 29 Using the Object Section maza acd acea LANG ac 908 Bee owe GG 5 29 The Search Range Section llle 5 30 The Document Section uu a ahaha nean mk eee de Rye eee Seen 5 30 The Object Table Section l l 5 30 Common Mistakes 5 31 Failure to Enter the Edit Mode 0 ccc ees 5 31 DirectSOFT 5 User Manual 1st Edition Table of Contents m iO AND above a Join a 5 31 Forgetting to Select RUNGS s ias dear AA ERE RESTE TEE SS ns 5 31 Chapter 6 Documentation Turn Documentation On and Off 6 2 The Options Dialog 39 23099 9 29 3 259 5 2 3092 37 2 6 ogee 979978 298 HA HG ean 6 2 Documentaion Selections llle 6 3 General Documentaion llle leen 6 3 Using the Documentation Editor 6 4 Using the Scroll Buttons s 23 22 Ew mma hee ue E EP TERR TU 94
165. nt comments can be edited within the text file to be inserted The text file needs to be edited in the same format as shown with a PLC type at the beginning BEGIN the documentation and END Quotation marks are placed around each line of rung comments Of course the ladder mnemonics is also edited with the text file The element documentation must be in this form element reference element nickname wire number comment Quotation marks must be used with each entry followed by a comma If an entry is to be left blank the quotation marks must not be omitted The mnemonics text which is to be inserted can also be edited without comments like the example below Note the PLC type is at the beginning of the text fi Example text b Notepad File Edit Format Help To insert the mnemonic text in a program being edited Edit Mode either use the Tools gt Insert Instructions From File on the Menu bar or press the Insert Instructions button on the Tools toolbar if it is displayed E DirectSOFT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help 2 Memory Editor Ctrl Y M axi Documentation Editor Ctrl D p A 5 TG qs APP di Open t ke Beton NG ratan Find owz Obis Zoom Out Help mg Comment Editor Ctrl K vet Title Page Editor Ctrl T Ladder View Compare Programs NE Insert Instructions From File x mali J3YX B1400 3 RST Y4 OUT
166. ntire project will be saved a NU PRO G PRJ is Nu PRJ Examples 38 PID PR a annone PRAJ RLL Example FRJ s OLO5 PID example PRJ ss RLLPlus Example PRJ 38 DLOE Bulb PID PRJ a Test 05 PRJ s DOLOG PID example PRJ se rest PRA jaa test PH File name News Mame bul Save as lupe Direct pri iul Cancel NOTE The Write to Disk button on the Offline toolbar only saves the ladder logic program Write 6 28 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation Backup Project The backup feature is another way to save your project Selecting File 5 Backup Project on the Menu bar or pressing the Backup 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 Backup Project 2 Save Project to Disk and then copy it to the Backup Folder Cancel 6 The following Backup Project dialog will appear the project can be saved with the default date time stamp or rename the folder A different drive can also be selected to save the project Backup Project Save in CA 05 12 1631 7 07 54 Date and Time Stamp a File name Project Mame T Save as lupe Direct pri iul Cancel c Ndirecteofte sprojectssbackup snu prag stLb 1 z2 15 17 07 54 nu pr The last backup method is to use the export program feature as explained previously This method will save a program to a text
167. o be entered Type the element address and enter it The edit box will appear so you can either enter the address or change the contact to NC 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 Enter the address and or change the contact to NC and press enter 5 12 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program nf Entering Instructions in Parallel To enter instructions in parallel make normal contact entries similar to the below diagrams Two contacts have been entered on Rung 2 With the cursor located after the last contact entry press Enter The cursor will move down a space equivallent to a rung Make another contact or contact entries such as two more contacts in the ilustation below Once this is done hold down the Ctrl key and press the up arrow This will draw a line up to connect the line above Editing the rung can now be completed ET Ladder Yiew A 1 AD sd Use Ctrl up arrow to nor draw a line up 5 MOP 3 Draw Rung Lines Key Stroke Function Ctrl Up Arrow Draw a vertical line up Ctrl Up Arrow Draw a vertical line down Ctrl Up Arrow Draw a horizontal line left Ctrl Up Arrow Draw a horizontal line right NOTE To delete vertical lines press and hold the Shift Ctrl then press either the up or down arrow DirectSOFT 5 User Manual 1st Editi
168. ocol all of the modem support is centralized by the Windows operating system By using TAPI the Windows modem setup utilities will be used to configure the modem Configuring the modem in this manner should simplify the setup process and allow the selection of the most recent drivers for the modem being used NOTE If the AutomationDirect MDM TEL serial modem is being used refer to the ADC MDM TEL Modem setup folder on the DirectSOFT 5 cd that came with this manual before trying to establish a link through the modem setup Modem Setup The first series of examples were performed in Windows 2000 and will illustrate how to configure a modem connected to your PC The examples may differ depending on the Windows operating system being used 1 Install the modem if not already installed Refer to the modem s documentation for installation information If the modem is to be used for other devices it will need to be installed a second time 2 Once the modem has been successfully installed the properties will need to be edited In the Windows Start field select Settings Control Panel File Edit View Favorites Tools Help 4 GQSearch LY Folders 4 Xt zz Address 32 Control Panel P Go Accessibility amp dd R Add Remove Control Panel ptions Hardware Programs one and Modem Options Configures your telephone dialing rules and modem properties Windows Update Configures your telephone dialing rules and modem properties
169. ok at another Ladder View Stage View SIN isc Y Flowchart The Initial Stage SO is the entry point into the program Ladder Logic Hiis nthe operator presses the start sw ipei the program transitions to Vue dais ck for Pata nd the Stop Monitor art anaes Light curtain input Start Switch Light Curtain x40 x200 7 4 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views 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 Stage Components If the flowchart area of the Stage View is being viewed and there is an uncertainty of what a component means click on the component and the corresponding equivalent in ladder logic will come into view Help F1 can also be consulted for more clarity DirectSOFT 5 User Manual 1st Edition 7 5 Chapter 7 Other Views E L Mnemonic View Handheld Progammer Aid There may be times when a DirectSOFT 5 user will need to use a handheld programmer HPP to modify a DirectSOFT 5 ladder logic program Since the HPP only uses mnemonics the 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 be carried to the PLC location Consult th
170. om of the application Also each online status bar field is a button which will bring up an appropriate dialog the mouse can be floated over each of the fields to show a tool tip to show what it will do e User Interface Ul Themes allows you to give DirectSOFT 5 a certain UI feel Office XP Office 2003 Mac et al Export Data View allows you to export the information in the Data View Element and Status columns in CSV comma separated variable format for a minimal logging capability e Intelligent Boxes IBoxes are modularized parameterized blocks of ladder logic that perform common simple but also some complex PLC logic These will only download to the PLCs with the proper firmware oee the chart below for the PLCs and the supporting firmware revisions required for the new IBox instructions PLC Firmware DL05 5 10 DLOG 2 10 D2 250 1 4 60 D2 260 2 40 D4 450 3 30 Only One DirectSOFT 5 Version There is only one DirectSOFT 5 version for the DirectL OGIC PLC family All versions of DirectSOFT programming software v1 0 v4 0 can be upgraded to version 5 Also all programs created with older versions of DirectSOFT are compatible with DirectSOFT 5 DirectSOFT 5 User Manual 1st Edition 1 3 Chapter 1 Introduction Supplemental Manuals Depending on the products you have purchased there may be other manuals that are necessary to use for your application User Manuals e DLO5 User Manual
171. on 5 13 Chapter 5 Edit a Program eee Entering Power Flow Instructions There are some instructions such as Master Control Relays MLR MLS FOR NEXT loops Stage Boxes SG ISG Program Control GOTO LBL INT SBR etc that offset the power rail or are inserted in the power rail of the ladder program A common mistake among new users of DirectSOFT 5 is to try and edit the offsets using the Ctrl Arrow line connector This will not work Actually DirectSOFT 5 will automatically perform the offset whenever the program is accepted compiled This will become clear through the examples on the immediate two pages For this 5 example the FOR NEXT instruction will be used and the hot key F8 will be used to accept the program fz DirectSOFT 5 Programming nu prog Ladder View Begin by entering File Edit Search View Tools PLC Debug Window Help the first part of the wd abe AML Fett wx loop the FOR instruction Use the special relay SP1 to activate the loop Enter the parameter K8 to run the loop 8 times fa DirectSOFT 5 Programming nu prog Ladder View Press the F8 key File Edit Search View Tools PLC Debug Window Help to accept the WE NG uu ona e Hm Bum md program Notice pag the offset of the Ladder View SP1 power rail 5 14 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Ladder View Now enter the rungs within CT m the loop offset Ha 2 LDIF x34 End the offset lo
172. one cycle switch aenn EE ANDN XRef Mode The XRef Mode is the default mode when the XRef View is first opened When in XRef Mode the Cross Reference Table reports information for all elements that meet the current Query which determines the elements to be included in or excluded from the XRef and Element Usage Tables The table is divided into four columns Element reserved for the element ID but will display whatever Query is selected in the Options dialog 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 DirectSOFT 5 User Manual 1st Edition 7 1 Chapter 7 Other Views L A useful feature of the XRef Mode is to double click the left mouse button on the Rung Address or Instruction and the program will move to that location Also double clicking the left mouse button on an element will cause the Element Browser to appear Change the XRef Query The XRef Element column can contain all four types of documentation available in the Options dialog To change the Element XRef Query definition first enable the XRef View by clicking the mouse on the table Next open the Options dialog from the Menu bar using View Options or press the Options button on the Offline toolbar You can also right click anywhere in the XRef View and choose Options from the
173. onitor can only by used in the Test Run Mode If the PLC is not in Test Run a message will appear to ask you if it is safe to switch the PLC to Test Run mode Select the Switch to button Another dialog will appear and ask if you are sure it s okay to switch to Test Run Once the PLC is placed in Test Run the dialog shown below will appear A definition of the basic components will be helpful before using the Trap Monitor This is the address of the trapped Trap Monitor element not the rung number Trap At Address 5 The element Element l trapped at the above address Enable trap push pins shown in x disabled position Element Value This area is read only and will display Accumulatar the data for the trapped element Power Flow Press this button to change the format of the Master Control Trapped Element Value to be read The Trap Monitor can be used as seen above by entering the 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 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 DirectSOFT 5 User Manual 1st Edition 8 10 25 Chapter 10 Debugging and Monitoring Another way to use the Trap Monitor is to enab
174. op a control program but it will give you the basics to get started using DirectSOFT 5 so that you can edit a program Step 1 Start a New Project To begin a new project double click DirectSOFT 5 Programming under Applications in the menu tree The following window will appear The New Project window is used to enter the basic information to begin a new project Name the new project then move the cursor to the Family area and select the PLC family to match the PLC that you are using Next select the CPU type Once all of the information has been entered click on OK Keep in mind that the available mnemonics processing rules and the tool bar characteristics are tailored to the Family and Type selections that you make Use this to start a new project or to open an existing project B Ei AE pud urapi ere SOE put apad er d mirim tri LI a ip New Project window din pi pef ar LI x T m m click on OK En Ci CF hee Ag coe Eat SE Cani Select the CPU Type 2 12 DirectSOFT 5 User Manual 1st Edition Quick Start After clicking on OK the next window to appear is the Ladder View with a Tip of the Day dialog box as seen below The Tip of the Day dialog will appear each time a new project is started and each time an existing project is opened If it is not desired to have this dialog pop up as mentioned sim
175. op by E entering NEXT rung CN 4 NOP After the program has been accepted the power rail will show the offset Ladder View SP SP nm 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 PLC that is being used DirectSOFT 5 User Manual 1st Edition 5 15 Chapter 5 Edit a Program a eee Entering Special Case Elements Some elements are special because they do not follow the usual rules i e 330S Timers Counters DL330 DL340 CT674 CT677 or they are entered in perhaps different ways than one might expect This will be discussed on this page and the following page If you have a DL330 DL340 or compatible PLC then you know the counters timers CT674 through CT677 cannot take software presets in the same manner as all its other built in counters timers These counters timers are designed to have their presets entered via an 5 external hardware device D3 TCSU Timer Counter Setpoint Unit Preset values cannot be entered for CT674 CT677 via the timer counter entry dialog This presents a unique situation for DirectSOFT 5 because for these two CPUs DirectSOFT 5 will always show two input fields timer counter address and preset for all of its timers counters and makes no exception for these special cases The element can be entered in the ladder logic but the second field is ignored in the editor dialog The edit dia
176. or Stage program can be controlled The Trap Monitor is useful to look at math operations in a program The format for the values being read can be specified Decimal Hex or Octal Press the button in the lower right had corner of the dialog to open another dialog to set the format Set Trap Monitor Format Display Format t Decimal Hes Hex Cancel C Octal DirectSOFT 5 User Manual 1st Edition 10 27 Chapter 10 Debugging and Monitoring B DD ee Stack Monitor DL440 Only Access the Stack Monitor Monitors PLC accumulator and data stack Either use the Debug sTest Mode Operations 5Breakpoint dialog or the BREAK instruction to monitor the PLC accumulator and data stack at a specific address Access the Stack Monitor by either pressing the Stack button located on the Debug toolbar or by selecting Debug 5 Stack Monitor from the Menu bar This feature is used most frequently with segments of programming which require debugging math operations 10 28 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring CQO SSS SSL Check DirectSOFT 5 File Revision DirectSOFT 5 has a quick and easy method of looking at the various versions of the files which comprise the software This feature may never be used however this may be useful in the future as additional features are added in upgrade packages new products etc Open the Version Browser by double clicking on Ve
177. ory in the DL305 UW unassigned word UDW unassigned double word UU unassigned unknown used for uninitialized types should never be used Once the element documentation is imported the Documentation editor will be updated with the imported information This can be verified by opening the Documentation editor from Tools on the Menu bar the Documentation Editor button on the Tools toolbar if 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 with the new information DirectSOFT 5 User Manual 1st Edition 6 23 Chapter 6 Documentation iM Q ee us SS SSS Importing Program Comments Exported program comments are imported like the element documentation as described on the previous two pages To do this select File 5 Import Rung Comments on the Menu bar or press the Import Rung Comments button on the File toolbar The following window will appear Select the folder and the txt file to be Import Comments r s Import Method Ekis Conadh Merge LERU Priority C Merge LIXT Priority etwork Places are to we oad Folder Cr C Delete Existing tll example tex ill tex NG Rung ts 6 ez c documents and settings4gary hawkinson desktop rung comments txt Files of type Ladder Comment T ext 7 txt imported Also select the Import Method to use Merge PRJ priority if the current project is to remain in place when th
178. osition the cursor where the text is to be pasted and click the left mouse button then press Ctrl V to paste the text 6 The Delete key can also be used to delete text 6 10 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation aai Move Rung Comments O O OO Rung comments can easily be moved from one rung to another with DirectSOFT 5 This feature is useful after one or more rungs have been inserted by a handheld programmer or by another computer which did not have the documentation files available The Move comment feature can be used to match the comment s with the correct rung s Comments can be moved for a single rung or a group of rungs To move comments click on the Move button on the dialog The window will appear within the dialog Comment Far rung number 2 Hung 2 IF the Press is in automatic made and a part is in place the machine begins the pressing operation Move Comments Source Number to do E Mumbai 1 C All Source gt End Destination Units Bb 8 f Rung Number C Address Cancel Fill in the appropriate fields to specify the source and destination for moving a comment e Source This is the beginning of the group of comments to be moved Enter the rung number or address of the rung with the comments to move Destination Enter the rung number or address of the rung to move the comments to e Number to Move Chose All or enter the number of comments
179. ouma BOO a Ref Low 0 pm p n d s Telim Lise in Matted C Chsed Losp Limit Cycle T haan Lies Sina Atana Slat lanang 2 E 4 5 h H a m 11 13 A 16 17 19 EJ T ZA 4 jor zu zu 30 En i 34 W He 15 Mon Jan 23 11 15 03 2006 Nae Bi j Di HM PA ouo DirectSOFT 5 User Manual 1st Edition 7 13 Chapter 7 Other Views All gat Output Window There may be an occasion when a mistake s has gone unnoticed while a program is being edited The mistake s will be detected by Direct SOFT 5 whenever the program is accepted compiled and displayed in the Output window as shown below a Direct50FT 5 Programming pid Ladder View File Edit Search View Tools PLC Debug Window Help mm i e 2 r3 rm Defauk Oubut CrOu SERA EDIT y NT 7 EDIT Oc a rite New OPen Accept Ladder View Edit cursor will move to the error position g connection es Warning Unconnected instruction was discarded E Missing connection Y 00029 07680 06 0007 001 0UT The Output window will appear below the view being displayed in this case the Ladder View Each mistake or error message will be listed Double clicking on the error in the Output window will move the edit cursor to the error in the ladder view Once all of the errors are corrected the program can be compiled The error messages in the Output window will disappear but the window w
180. ow In this dialog you can set the range to Print Select All to Ladder Settings Hange Documentation Misc print the entire E Foon ladder logic or a I Elements ho gt o Cea 8 select the M Nicknames Columns Printer Setup Rung to print M W inglno I Descriptions Page Setup I Comments Select each of Select Ladder Wap the types of Options wire size documentation Printer hp photosmart 7 390 series on Nell v Use Default to print with the Header Begin page ladder logic mcer Uie FEES Date 12 21 200 Teday numbering wt E itid Edit Print W Edi Font Aral 8 Select print all or any part of the ladder logic by either selecting All Rungs or Addresses to be printed Select any or all of the ladder documentation to print with the ladder logic The Miscellaneous settings allows the level of zoom to print and the selection of the number of columns to print also the Pen Size allows the selection of the thickness of the pen used to draw wires contacts coils and boxes on high resolution printers 8 2 DirectSOFT 5 User Manual 1st Edition Chapter 8 Printing Other Print Views There are three additional current view print dialogs Mnemonics Stage and Cross Reference Each dialog is a bit different than the Ladder dialog as noted in the following diagrams Each view must be enabled in view in the programming display to open the Print Views Mnemoni
181. p that clamps the part in place STRN x42 OR Y40 ANDN C2 ANDN v42 OUT v40 BEGIN ELEMENT DOC x11 process x uu x40 start switch Blue 000 Start switch on operator panel XAl part present Blue OO1 Limit that detects part in fixture 4 Export Element Documentation Element information can be exported from a project to a csv file The following illustrations will show the steps to use to export the documentation Press the Export Element Documentation button on the File toolbar or select File Export Element Documentation to export the documentation Export Documentation Save Im CO Projects r Content Format ie Standard Format Element Mickname Wiring Info Description C C morelT M Tag Name Nickname Value Tupe Element KEPDirect Server Format Standard Format PLUS Usage Information File mame There are three different formats to select from to export Standard C more and KEPDirect Server formats All formats generate a csv file in spreadsheet form 6 16 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation This is a standard format showing an Excel spreadsheet with the element reference in column A the nickname in column B wiring information in column C and comments in column D Istart switt Blue 000 part preser Blue 001 part locker Blue 07 part unlock Blue 003 lower limit Blue O04 Upper limit Blue 005 index cony Blue 0
182. ply click off the check mark preceding E Show tips at startup The tips dialog can always be opened by clicking on Help Tip of the day on the main menu bar More tips can be read by clicking on the Next button After clicking on the Close button the new Program display window will be totally in B x Ladder view Gl spl F 9 Did you know From DSLaunch if a project you want to open is not listed below the Projects folder you can browse your computer by right clicking on the Projects folder and selecting Browse Show tips at startup M Show tips at startup 00000 02048 05 Regular users of DirectSOFT will note that the new programming window looks a bit different than previous DirectSOFT programming software see diagram on the next page This is the default look whenever a new project is started The Online and Offline toolbars have the same layout as previous DirectSOFT programming windows but a new look for the button icons Notice that some of the toolbar icons are grayed out and some of the icons are not The available icons in the online toolbar will be visible As a program is edited more of the grayed out icons will become visible The online toolbar is grayed out and will remain this way until the PC is connected to the PLC See Chapter 4 for more toolbar features DirectSOFT 5 User Manual 1st Edition 2 13 Quick Start amp mm pu cau P rm kaka zi F ina Of ferm ml Hele a ush pin EESTI Edit Mode
183. py z o to 2 te INUTIL INA PT TY Save Project KUD A amp ex CWE C te Fmd esc Browz Obts oom Out Help tg Save Project As A Backup Project a Read Program Write Program d Progam Export gt ix Element Documentation B Print Preview Mi Bung Comments i Properties Hecent File Exit Ofie 00047 02560 240 DirectSOFT 5 User Manual 1st Edition 6 21 Chapter 6 Documentation ee Importing Element Documentation To import program documentation a project must be open This project can be the one currently open The typical method for importing element documentation is to import a csv file which has been previously exported It is possible to generate element documentation using a spreadsheet such as Microsoft Excel or Corel Quattro Pro but it is important to follow the correct import format The standard format is in soreadsheet form which should be setup in columns similar to the the example below element reference in column A the nickname in column B wiring information in column C and element comments in column D Microsoft Excel rll example csv ei File Edit wiew Insert Format E da w ir B start switc Blue 000 part preser Blue 001 part locker Blue 002 part unlock Blue 003 lower limit Blue O04 Upper limit Blue 005 index cony Blue O06 one cycle Blue 007 stop switcl Blue 008 clamp Red 000 arbor dowr Red 001 conveyor Red 002 Automatic mode
184. r midline connecting point and the output See Compiling Errors at the end of this chapter 5 X Ladder View x12 NOTE There cannot be any additional logic on the rung between the No additional contacts are permitted after the branches Deleting Connecting Lines Deleting lines is similar to creating lines Use the Edit 5 Wire 5 Delete options on the Menu bar or the keyboard Delete key to delete intructions and wires in all directions A quicker method is to use the Ctrl Shift Arrow keys to delete the lines Below is an example illustrating how to delete lines Ladder View X12 In this example use Ctrl Shift lt to delete the instruction to the left of the cursor along with the connection wire 5 20 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program i Selecting Rungs for Deleting Cutting or Copying While developing the program there will be times when you will want to make revisions or correct mistakes Also there may be times when a rung needs to be moved cut and paste to another location in the program Or there may be a rung or rungs that you want to duplicate or repeat several times copy and paste The next three pages will illustrate how to do these tasks The first step to cut copy or delete a rungs is to select them with the Shift Arrow keys The selected rungs will be highlighted default color is blue The following screen shows an example where a rung is sel
185. r program with an END rung 2 28 DirectSOFT 5 User Manual 1st Edition Quick Start The following picture is an example of how you might continue with your program Note the Cross Reference View and the Data View Chapters 9 and 10 will explain how to use these views DirectSOFT 5 Programming intro Ladder View E File Edit Search View Tools PLC Debug Window Help rd e p v S AN f i f E X a e i New Open Badap C gt ee Data Cross Reference Yiew Ladder Yiew Ba E I e1 Element Rung Address Instruction 4 O X pa _1Second SP4 nx _FirstScan SPO a ecome gt worn gt D Element Status Edits a CTAD ADD 2000 CTAD OUT or Help press F1 wonn1 z 4 y or Help press F1 Offline 00014 07680 06 DirectSOFT 5 User Manual 1st Edition 2 29 HAPTER 3 MANAGING PROJECTS In This Chapter Get Started Using DirectSOFT 5 3 2 Create a New Project 0 000 aaa 3 4 Importing Projects 0 a 3 5 Copy or Save Existing DirectSOFT Files 3 7 Chapter 3 Managing Projects Get Started Using DirectSOFT 5 To open DirectSOFT 5 double click on the DirectSOFT 5 icon which was installed on your desktop screen during 5 the installation of the software You can also click on Start DSteunchs located in the left hand corner of the computer monitor Once you do this select Programs find D
186. r Manual 1st Edition Chapter 9 Setup amp Manage Communication Links Clicking on Edit Link will open the Configure Link dialog which was used whenever the link was setup Click on the link to be edited make the necessary changes then press the Accept button Configure Link Name Modem Link Description PLC Port Protocol PLC Family PLC Type DirectLogic 05 Series DirectLogic 06 Senes DirectLogic 105 Series DirectLogic 205 Series DirectLogic 305 Series DirectLogic 405 Series Terminator I O Series Unspecified Cancel Help Auto There may be a time when it becomes necessary to delete a Comm 9 Link To delete a link click Delete Link and the Delete Link dialog will open like the one below showing the link name and description to verify that the link is not used any longer To delete the link click on Delete Delete Link Delete comm link Mame D5CBL Description DirectSOFT 5 User Manual 1st Edition 9 21 Chapter 9 Setup amp Manage Communication Links i MMMMM Going on Line Once the program has been edited and the communications link has been setup it is time to go online with the PLC and load the program Connect the PLC With the Ladder View displayed in the Programming window either press the Connect button on the PLC toolbar if it is displayed or use PLC Connect from the Menu bar Select the communications link from the Select Link d
187. r des renseignements additionnels touchant la garantie et la s curit veuillez consulter la section Modalit s et conditions de notre documentation Si vous avez des questions au sujet de l installation ou du fonctionnement de cet quipement ou encore si vous avez besoin de renseignements suppl mentaires n h sitez pas nous t l phoner au 770 844 4200 Cette publication s appuie sur l information qui tait disponible au moment de l impression la soci t Automationdirect com nous nous efforgons constamment d am liorer nos produits et services C est pourquoi nous nous r servons le droit d apporter des modifications aux produits ou aux publications en tout temps sans pr avis ni quelque obligation que ce soit La pr sente publication peut aussi porter sur des caract ristiques susceptibles de ne pas tre offertes dans certaines versions r vis es du produit Marques de commerce La pr sente publication peut contenir des r f rences des produits fabriqu s ou offerts par d autres entreprises Les d signations des produits et des entreprises peuvent tre des marques de commerce et appartiennent exclusivement leurs propri taires respectifs Automationdirect com nie tout int r t dans les autres marques et d signations Copyright 2006 Automationdirect com Incorporated Tous droits r serv s Nulle partie de ce manuel ne doit tre copi e reproduite ou transmise de quelque facon que ce soit sans le consentement pr al
188. riority C Merge CSY priority C Delete existing ET Rung comments File name Files of type RLL element doc T Comma Delimited csv t t Cancel c documents and settings4gary hawkinson desktop rll element Help 6 22 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation JU imported Notice the Import Method box located on the right side of the window There are three import methods to select Merge PRJ priority Merge CSV priority and Delete existing Selecting one of the three methods will determine the course of action which will be taken if the currently open project and the imported file have duplicate nicknames 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 project file will be kept If CSV priority is selected the nicknames will be added to the project file If there are duplicate nicknames the import file will overwrite the ones in the project file 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 csv file Press the Open button to execute the import NOTE If the following element types are imported they will appear in the DirectSOFT 5 documentation editor with 858 under the element type column UB unassigned bit UBY unassigned byte useful only for H mem
189. root filename and directory path A frequently asked question is which of these files do need when making the storage transfer Copying or saving the filename prj will be insufficient to truly transfer the total project Not all of the files are necessary to recreate the program but if you eliminate any of them you may lose some important documentation and indexing information The table shown on the following page lists the different file extensions and what they contain The safest choice is to save or copy all files for a project having the same root filename regardless of the different file extensions see the table on the next page DirectSOFT 5 User Manual 1st Edition 3 7 Chapter 3 Managing Projects ses DirectSOFT 5 Project Files File Extension Contents dataviewname ata Data views are not associated with one single project but can be shared among multiple projects filename dv DV1000 setup filename esd Element documentation nickname wiring information description filename esx Index file for the element documentation filename inf Project information filename cd Ladder rung comments filename lcx Index file for the ladder rung comments filename lda Connects rung comments to correct rung no filename ldo Online only connects to correct rung number temporary until saved offline to Ida filename pid PID documentation fi
190. rotocol you have selected It will try the combination of 9600 Baud and Odd Parity If this combination is unsuccessful an auto baud sequence will be used to try and determine the correct baud rate and parity combination If these attempts are unsuccessful the dialog shown at the top of the facing page will be displayed You can click on the Link Editor button and manually attempt to adjust the port configuration See Appendix B for further help 9 4 DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links Link Wizard KI The system was unable to determine the corect settings to establish a link with the PLE fou may choose to Exit the link wizard Back up change some wizard selections and try again Go to the manual configuration dialog E Cancel Link Editar Back 5 If the Link Wizard is successful in communicating with the PLC the following window will prompt you to enter a unique link name and a 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 Link Wizard Link settings complete Please select a unique name for the new link Link Name DSCBL 06 Link Description Serial Port COM Protocol K Sequence Baud 9600 Address 1 Parity Odd Link Editor Back Cancel DirectSOFT 5 Us
191. rsion located under Utilities on the DSLaunch menu tree File View Help 2 77 Applications DirectSOFT 5 Programming nf Utilities BA Visit AutomationDirect Ho Visit Host Engineering CTRIO WB 2 DirectLogic PLC CTRIO WB 2 EBC winPLC CTRIO wB 2 PBC CTRIO WB 2 Offline fff ERM Workbench S DB Win32 Logger DNLoader NetEdit 3 App Information Calculator EXE DLL Version Browser for Direct5OFT 5 products EE Version DirectSOFT 5 Element Server File Name Cemain exe rd DS500 ini DirectSOFT 5 Programming Ub Projects DirectSOFT 5 Version Browser Version S D 027 dl0B pid example prj Global Modules Description PLC communications server 3 di 5 pid example prj D ds5 qs intro prj D nu prog prj ill example pri Modules Module Information tllplus_example prj A amp zunc Device Handler test 05 prj Comm Server Kerel File Mame Devssync dll pid pri ann a erra Library Veron a example 1 prj rectLogic nver Ubject i D example pr Direct MET Protocol Handler Type Device Handler ECOM Protocol Handler Target App DirectSOFT 5 Communications Server Ethernet Device Handler Apn Vers 50027 K Sequence Protocol Handler Bhie Mes 3 backuphautosaveyexample 15 D 05 example prj 80g Comm Links Ba DSCBL 06 Vc TIP A simple way to check the DirectSOFT 5 version is to open a project e program and select Help About
192. s This may be a bit different for new users of DirectLOGIC PLCs The END coil is a marker to designate the end of a program Every DirectSOFT 5 program must have this instruction Like all coils the END coil is found in the Coil Instruction Browser oome programmers get confused at first and look for the END coil under the Standard Coil category and they fail to find it The END coil is located under the Program Control category since in ends the rogram p g Instruction Browser Box Coil Contact Coil Coil Class END All Coils pom The END coil is found under Program Control and not SER under the Standard Control category Description END End Coil The End instruction marks the termination point of the normal program scan amp n End instruction is required at the end of the main program body If the End instruction is omitted an error will occur and the CPU will not enter the Run Made Data labels subroutines and interrupt routines are placed after the End instruction The End instruction is not conditional therefore no input contact is allowed DirectSOFT 5 User Manual 1st Edition 5 17 Chapter 5 Edit a Program a eee Setting and Resetting a Bit Several PLCs in the DirectLOGIC family have a feature that allows setting and resetting individual bits This is commonly called Bit of Word The PLCs which support this feature includes the DLO5 DLO6 DL250 1 and DL450 The DirectSOFT 5 instructions
193. s to another V location N A Special Relays Uses special C locations Input Points as Registers RIO Output Points as Registers RIO Control Relays as Registers RC Timer Status Bits as Registers N A Counter Status Bits as Registers N A VCT Remote I O as Registers RIO VGX VGY Special Relays as Registers RIO VSP Timer current Values as Pointers to another V location N A PTA Counter current Values as N A Pointers to another V location Constants K Octal Constants N A Bit of Word N A Pointer to Bit of Word N A 5 4 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Aliases Chapter 4 briefly mentioned the use of aliases to make some data references easier to understand By default they are displayed 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 the Global dialog in the Options menu Below are examples which show how aliases are used wo X NOTE These references are only used within DirectSOFT 5 They cannot be used with the Handheld Programmers The actual instructions contained in the CPU will reflect the actual data type not the new reference 5 Timer Counter Current Values The DLO5 DLO6 DL105 DL205 DL350 and Use Timer Accumulator DL405 CPUS use designated V memory babalang locations to hold timer and counter current TAO K100 va
194. s at the same time Close any opened applications by selecting them and clicking on the Close button of the Task Manager Click on the Next button to proceed with the installation DirectSOFT 5 Programming InstallShield Wizard Before continuing with this Setup program please be sure to disable any anti virus software Jj and insure that you have Administrator privileges if installing on Windows NT4 2000 XP DirectSOFT 5 User Manual 1st Edition 2 3 Quick Start Step 3 Enter the Product Key Code From this window enter the Product Key that was e mailed to you or phone 1 800 633 0405 and get the Product Key from either sales or technical support if you did not receive it This software package E is protected by this Product Key code Only licensed users that have a Product Key code may install the software After entering the Product Key click the Next button DirectSOFT 5 Programming InstallShield Wizard Eg Please enter your valid Product Password Keycode to run this setup Leave this field empty to install DirectS OFT 100 or to update an existing DirectSOFT 5 installation Enter CT Arceo Product Key here Then click on the Next button Step 4 Installing an Upgrade If you are installing the Direct SOFT 5 upgrade version setup will search your PC to look for a previous version of DirectSOFT If a previous DirectSOFT version is not found you will be prompted to enter a valid product key
195. sed to z signal press is in Limit that detects part 44 automatic mode in fixture Automatic mode part present 42 gt co X41 K1 P_ ps Assign the Nickname to an Element If unassigned nicknames have been used in the program element references must be assigned before the program can be written to the PLC the PLC does not recognize nicknames only element references The Assign Nicknames dialog is used to assign nicknames to element references A quick way to open the dialog is to either press F9 hotkey or the Assign Nicknames button if the Tools toolbar is displayed Another way is to use Tools gt Assign Nicknames trom 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 E Ng Nicknames can be compiled and saved to disk and then assigned later just before downloading to the PLC 6 6 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation Open the Element Browser Element Browser Element Detail Valid Ranges Element n wv 177 NENNEN v1000 1177 w2000 4377 V7 B20 7737 UP PAD PII Nickname W40400 40423 Process Wiring Info release clamp start switch stop switch upper limit E Description press complete Assign Nicknames if System NN s Click here to open the As
196. select from a variety of User Interface Themes that will give DirectSOFT 5 a new look and feel You can chose themes such as the Office XP theme the Office 2003 theme the Mac theme et al Color Use this button to activate a Color Setup dialog so the programmer can select different colors for various items in DirectSOFT 5 such as the background for the Ladder View 4 10 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment The Tools Toolbar The Tool toolbar duplicates the Tools menu from the main menu These buttons can be a valuable asset to the programmer Memory Editor This button will open the Memory Editor dialog which will allow the 4 programmer to edit data in V memory Documentation Editor This button opens the Documentation Editor view to be used to define Nicknames Wiring Information and Descriptions for the elements which are used in the program Assign Nickname DirectSOFT 5 allows the programmer to create an entire program with Nicknames without first assigning them to the actual elements a k a Symbolic Programming When the program is ready to be written to the PLC pressing the Nickname button opens the Assign Nicknames dialog where the programmer can assign actual elements to the unassigned Nicknames used in the program Comment This button activates the Edit Comments dialog where the programmer can create or modify the comment for the current rung in the Ladder View or
197. ser Manual DirectSOFT 5 User Manual 1st Edition B 10 23 Chapter 10 Debugging and Monitoring The Test Operations Window When in one of the Test Modes the Test Operations window can be opened with the Test Mode Operations button located on the Debug toolbar or by using Debug gt Test Mode Operations from the Menu bar and the following window will appear The window has six buttons to be used for Test Operations mentioned on the previous page The buttons available for each test mode will be highlighted Only one button Stop PLC Scan is available in Test Run and two buttons are only available for use with the DL440 450 PLCs Single Step and Breakpoint Start PLO Scan Test Operations eb ANE ng fade Test Por s Single Sca Multiple Scans 10 24 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring e a a Itr SJ y r Trap Monitor Access the Trap Monitor The DL05 06 DL250 1 DL260 and DL450 uses an additional diagnostic tool called a Trap Monitor The Trap Monitor is used to 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 some ladder logic in the Test Run mode An example might be to check a math routine to see if it is working properly To use the Trap Monitor either press the Trap button located on the Debug toolbar if it is displayed or use Debug gt Trap Monitor on the Menu bar The Trap M
198. setpoint value Simply enter the value in the Edits column in the counter row A single edit can also turn on a control relay by clicking on the ON button for the relay Once both types of entries edits are made click on the button with the single arrow pointing to the PLC Write to PLC Multiple values or control relays can also be written to the PLC The entries or ON buttons are selected as for the single edit After the edits are made click on the button with four arrows pointing down at the PLC The edits will be written to the PLC one at a time Write Multiple Values to PLC Write Current Value to PLC Clear Edits C 3DirectS D FT55ProfeckssD aba3 dta Start Switch Reset OFF lel Start DFF 9 C1 IN e CT AO Hh 2 ON e WARNING I O points can be turned on by using the Override buttons Caution must be taken when forcing I O to prevent accidental harm to personnel and equipment DirectSOFT 5 User Manual 1st Edition 10 11 Chapter 10 Debugging and Monitoring a e Auto increment Auto increment is a feature that can be used to enter elements sequentially For instance if a group of control relays C10 C11 C12 and C13 are to be monitored enter C10 then click on it again and then hold down Ctrl Enter and control relays will be entered until the Enter key is released If there is an element that has been entered previously in Data
199. sign Nicknames dialog 6 The Assign Nickname dialog will appear with the list of unassigned nicknames appearing in the Source Nickname column Select the nickname in the list and enter the element reference for the nickname in the Source Element Column The reference will be Assign Nicknames Source Nickname Source Element Result Unassigned Nicknames Element Element mi RT Nickname Nickname process f wiring Info CC wiring Info Wiring Info Description C Description Description duplicated in the Result column to help avoid accidental entries Press Assign and and the following dialog will appear as a confirmation of the element entry Attention 2 Assign process Eo 117 Cancel DirectSOFT 5 User Manual 1st Edition 6 7 Chapter 6 Documentation If the reference entered is correct click OK The Element Browser will be in view again so that wiring information and a description if any can be added Pressing Exit will close the browser and the program will have the new element in the program as shown below Rung 1 This rung determines ifthe press is in one cycle or continuous run made This is line 2 This is line 3 Control relay used to Start switch on signal that press is in Stop Switch on operator panel one cycle mode operator panel start switch 1 cycle mode Control relay used to signal press is in automatic mode Automatic mode CD Rung 2 Ifthe Press is in automatic mode and a partis
200. sition the XRef View cannot be placed in a auto hide position by pinning it until it is back in a docked position 7 16 DirectSOFT 5 User Manual 1st Edition Chapter 7 Other Views a DirectSOFT 5 Programming dl06 example pid Ladder View File Edit Search View Tools PLC Debug Window Help saa bal S ole GE Status Yalue e Info PID View Mnemonic View Stage View Ladder View Loop 1 Manual Loop 1 Auto KO x1 B2100 1 SET Select PID loop 1 Auto Mode Loop 1 Auto Loop 1 Manual X1 KO B2100 0 SET CEB UE Loop n Manual Loop Auto 1400 L Ch 1 inm Data 2010 Ch 1 la utput Dat zx ov Loop 1 PV EE STE 22 GH ANI 18 GH ANI 21 STF 14 NI m NI All docked views toolbars can also be Floating views toolbars and float outside the application frame very handy if multiple monitors are being used The remaining area bounded by all of these docked views toobars is where the primary MTI Views are positioned One final user interface for dockable views is the capability to 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 placed in an MTI This tabbed group can then be docked floated or auto hidden as a single entity To create at this 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 forth You can also drag the X
201. t The Data View window can be used to make dynamic changes to O and change data values stored in memory The status of an I O point 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 edit take affect only when they are written to the PLC Use the Change Value Dialog Turning On Off I O points only with Override bits set and writing data values to memory locations can also be accomplished by using the Change Value dialog When using this dialog it is not necessary to have Status on to make changes to the PLC but itis a good idea to be able to see the changes when they are made To open the Change Value dialog either press the Change Value 10 button located on the Online toolbar use Ctrl Shift F2 or with Status on and not in the Edit mode double click on the element to change The following dialog will appear Change Yalue Element GC C CO pa Value Help Current OFF Me m in C Off t On Format Size Bit C Decimal U t Binary C Signed Dec J C Octal C Esp C BbD Hes Real The dialog will open with either a default reference or the reference that was double clicked on showing in the Element window 10 16 DirectSOFT 5 User Manual 1st Edition Chapter 10 Debugging and Monitoring Specify an Element Reference or Nickname Since nicknames and element references are used when editing a program they can
202. t SET g Merge gt B1400 3 Select gt RST 4k gt F2 ig Contact F4 Ing X2 X10 X14 YO ME lgi Coil F5 I OUT F3 lg Box F7 x4 x13 wire gt pea A EditMode Ctr E Chapter 5 Edit a Program Merge Combine Rungs At times it may become necessary to combine two rungs in order to edit a single rung DirectSOFT 5 will allow you to merge the two rungs assuming that the program has not been accepted compiled yet Once the two rungs are merged you will need to combine the rungs through the normal edit process To access the merge feature position the Edit cursor on the current rung either to be merged with the rung after the current rung or before previous to the current rung Next either select Edit 5 5 Meran Merge gt Make a Selection or press the Merge Next or Merge Previous buttons on the Edit toolbar The rungs will be merged so you can edit the rungs into one rung The rung comment from the current rung will be used as the rung comment for the newly merged rung See the example diagrams below E DirectSOFT 5 Programming nu prog Ladder View File Edit Search View Tools PLC Debug Window Help Rungs 4 and 5 are to be merged The screen below shows Rungs 4 and 5 merged renumbered as Rung 4 and ready to be edited Also note the original Rung 5 comment is no longer there and the Rung 4 comment remains Ladder View x2 B14 00 3 Rung 5 Comment x21 2 MLA Jody Ng
203. t K Sequence will be highlighted The K Sequence protocol allows you to perform write operations to individual discrete I O points and control relays DirectNET protocol cannot write to individual bit locations See Appendix A for a list of protocols available for DirectLOGIC and compatible PLCs If your PLC has been configured with a node address other than 1 enter that address now Click Next when finished Link Wizard Select the protocol to use in the communications link IF you selected a PLU family a valid protocol has been Ta selected for you If the selected protocol supports node addressing enter the station address If you are unsure leave the default Protocols m DirectNET mms Address H3 I Cancel Link Editor lt Back DirectSOFT 5 User Manual 1st Edition 2 23 Quick Start Step 4 Name the Link If the Link Wizard is successful in communicating with the PLC the following window will prompt you to enter a unique link name and a description of the link if desired The description field allows 32 2 characters Enter the name for the link and description then click Finish and the Select Link dialog will appear with the link name listed Link Wizard Link settings complete Please select a unique name for the new link Link Name DSCBL 5 Link Description IN Settings PLC 06 Port CO hd1 Protocol E Sequence Baud 9600
204. t the PLC product family of the PLC you wish to connect ta i IF you are unsure but know the communications protocol it t uses select Mot Sure fram the list PLC Families et ee a Direct Logic 305 Direct Logic 3055 DL 01274350 Family Link Editor Back Cancel DirectSOFT 5 User Manual 1st Edition 9 3 Chapter 9 Setup amp Manage Communication Links e 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 will be highlighted The K Sequence protocol allows you to perform write operations to individual discrete I O points and control relays DirectNET protocol cannot write to individual bit locations See Appendix A for a list of protocols available for DirectLOGIC and compatible PLCs If your PLC has been configured with a node address other than 1 enter that address now Click Next when finished Select the protocol to use in the communications link IF vau selected a PLC family a valid protocol has been ae selected for you If the selected protocol supports node addressing enter the station address If you are unsure leave the default Protocols Address i Link Editor lt Back Cancel 4 The Link Wizard will attempt to establish a communication link with the PLC using the node address and p
205. the Mnemonics Stage and XRef tabs into view Select the views to be printed by checking the check box next to the view named on the tab The use for all of the available views has been explained with the exception of the Docs and Memory tabs seen in the Print All diagram Docs tab check the elements to print the documentation for Edit edit the range of the current element Set All enables checks all elements to print Clear All disables unchecks all elements to print DirectSOFT 5 User Manual 1st Edition 8 5 Chapter 8 Printing Memory tab check the V memory addresses to print the documentation for Docs R Ladder B Memory Je Misc Elements WT Set All Offline Values Clear All E I Formatted W Nicknames 8 Elements Edit edit the V memory range Set All enables checks all V memory to print Clear All disables unchecks all V memory to print Miscellaneous Columns select the number of columns to use for the V memory printout Online Offline Values select whether online data or offline data is to be printed Formatted use previously saved format information rather than raw data Nicknames check this to show nicknames instead of element ids 8 6 DireciSOFT 5 User Manual 1st Edition Chapter 8 Printing Print View Common Setup The Printer Setup Page Setup and Options are common to all of the Print Views Print All pe Docs
206. tion Preferences Pork speed sam Data Protocol Disabled Compression Disabled Flow control None cancel Q 4 f DirectSOFT 5 User Manual 1st Edition Chapter 9 Setup amp Manage Communication Links E tJ 8 Click on the Advanced tab and choose 8 Data bits None for Parity and 1 Stop bits 3Com Windows Modem PCI ADI Default Preferences General Advanced Hardware Settings Data bits Parity Stop bits Modulation Standard cancel 9 Click OK until all dialogs are closed This will setup your Windows driver so DirectSOFT 5 can use the Windows TAPI control when accessing the modem DirectSOFT 5 User Manual 1st Edition 9 15 Chapter 9 Setup amp Manage Communication Links E Configuring the Link With the modem configured correctly the link to the PLC can now be established The next series of steps will provide the information necessary for configuring the link using DirectSOFT 5 1 The Link Wizard can automatically determine the majority of the communication settings however the specific modem information modem type phone number etc will have to be entered manually To activate the Link Wizard in the Launch Window right click on Comm Links in the DSLaunch tree then select Add Link DT DSLaunch MAE File View Help Applications DirectSOFT 5 Proc Aj Utilities
207. tional Output Control for downward movement of the arbor Red 001 Arbor Down 44 OUT CNT Lower arbor limit Part Parts counter has been pressed incremented when the Blue 004 lower limitis reached Lower Limit x 1 Y Offline 00061 02560 06 0011 002 001 When pasting the copied rung the unconditional output will be joined to the copied rung The following example shows the output now being controlled by a conditional input which was not the intent of the original program Confirms that clamp has securely locked the part in place Blue 002 Clamp Locked x42 Press Down Output now joins s3 the copied rung Move conveyor forward Part Delay Timer Index Conveyor T1 S5 JMP Control for downward movement of the arbor Red 001 Arbor Down Y41 OUT x x 1 Y Offline 00063 02560 06 0011 001 001 5 24 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program Cut and Paste Rungs Selected rungs can be moved to a different location in your program P button on the Offline toolbar or Ctrl X a the keyboard shortcut EJ by using one of these methods Edit Cut from the Menu bar Cut Cu The cut rung or rungs is stored on the clipboard until it is pasted at a new location fi DirectSOFT 5 Programming nu prog Ladder View Edit Search View Tools PLC Debug Window Help ea EX Cut ax Copy aj Paste 5 Delete iat Insert Merge Select J Contact X9 Co
208. to move from the source to the destination e Units Select either Rung Numbers or Address Press OK to complete the move or Cancel to exit without performing the operation NOTE You can overwrite existing rung comments with this feature DirectSOFT 5 always provides a confirmation prompt before it completes the move The message reminds you that any overlapping comments will be changed This message will appear even if there are no overlapping rungs It is a reminder that existing rungs can be overwritten DirectSOFT 5 User Manual 1st Edition 6 11 Chapter 6 Documentation Entering Stage Comments Use Stage View If you are using Stage instructions comments can be entered for each stage The Stage View must be displayed in order to enter the comments With a Ladder View open the Stage View is opened by clicking on View Stage View on the Menu bar Stage View Ladder View Em 4 Start Stage Check for Part Actions none 51 Transition 5tart Switch Stage Comment Area E The Initial Stage S0 is the entry point inta the program When the operator presses the start switch the program transitions to two stages Check for Part and the Stop Monitor Start Switch on Operator panel Light curtain input Start Switch Light Curtain Check for Part In order to enter Stage comments the cursor must be positioned in either of the upper quadrants of the Stage view To open the comment editor either cli
209. ts are not fault tolerant and are not designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of the product could lead directly to death personal injury or severe physical or environmental damage High Risk Activities Automationdirect com specifically disclaims any expressed or implied warranty of fitness for High Risk Activities For additional warranty and safety information see the Terms and Conditions section of our catalog If you have any questions concerning the installation or operation of this equipment or if you need additional information please call us at 770 844 4200 This publication is based on information that was available at the time it was printed At Automationdirect com we constantly strive to improve our products and services so we reserve the right to make changes to the products and or publications at any time without notice and without any obligation This publication may also discuss features that may not be available in certain revisions of the product 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
210. ts folder icon by name To open an existing project double click on the project name To open a project not listed right click on Projects and select Browse to locate the project then select it Comm Links This is for the communication links used to connect from your PC to one or more of your PLCs If there were Comm Links existing in your previous version of DirectSOFT they will appear here New Comm Links will also appear here after they are setup The remainder of this chapter will be devoted to the following 1 Create a new program 2 Add some rungs 3 Document the elements and rungs 4 Connect to a PLC 5 Download to a PLC 6 Monitor the program and change status DirectSOFT 5 User Manual 1st Edition 2 9 Quick Start Welcome to DireciSOFT100 GUUOGCOG NOTE If you have purchased the full version of Direct SOFT 5 go to page 2 12 Begin Editing a Program If you have loaded the free version of DirectSOFT 5 you should know what you can and cannot do with the software What is DirectSOFT100 The DirectSOFT100 software is provided as a solution for small applications and to assist in your decision to purchase the full DirectSOFT 5 programming software There are of course limitations to the use of DirectSOFT100 The following is what you can and cannot do with the software e You CAN create a program from scratch and it can be as large as you want it to be e You CAN save programs larger than
211. tured below then click OK The program will go to and display the rung number entered oto al Rung Number la C Address mg Previous XRef Rung the Ladder View will display the previous rung while only in the Rung Mode Next XRef Rung the Ladder View will display the the next rung while in only the Rung Mode Manual Rebuild XRef and Element Usage Tables 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 DirectSOFT 5 User Manual 1st Edition 7 9 Chapter 7 Other Views E L Usage Mode The Usage Mode is selected to display the Element Usage Table in the current Cross Reference View The Element Usage Table displays all elements that meet the current Query The table is an 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 elements are shown in groups of 8 10 or 16 bits as determined by the current Usage Field Size setting Instruction STR 1 AA start switch part present AHef View X42 FEES e s ole el pen locked 01234587 2 17 EZHENEE 10 Usage KaD 27 30 37 Mode NAO 47 5D 57 p 1 11 171 JAG BO BF Upper limit MFO 77 salase a 110 117 Element Usage 175 5 137 Table X130 137 v y s140 147 one cycle switch X150
212. ubleshooting Parts of Program not Printed m d Color If the program looks good in Print Preview but some parts do not appear on the program printout there may be a problem with the color setup When generating the data sent to the printer DirectSOFT 5 will attempt to make the program printout look as close to the on screen version as possible including the colors If a color printer is being used there probably isn t enough contrast between the background and whatever is being printed If the printer is black and white the same lack of contrast could be the problem because DirectSOFT 5 will try to generate grayscale colors to match the display colors One way to solve this problem is to tell DirectSOFT 5 to use monochrome black and white for display If the View toolbar is displayed press the Color button otherwise go to View Color Setup and click on the Monochrome button then press OK After printing is complete you can return to the Color Setup dialog to restore the original setting Program Prints Garbage As a general rule if the Ladder View looks correct in Print Preview but the program printout shows garbage the first thing to suspect is the printer driver being used Look on the printer manufacturer s website for the latest driver for the printer then download it and install it on the computer Once this is done print one page of the program in Print Preview to be sure that the problem has been corrected
213. ue DirectSOFT 5 User Manual 1st Edition 6 5 Chapter 6 Documentation O_o oo Documenting and Assigning Nicknames Create an Unassigned Nickname Element nicknames are used more often than any other type of documentation As a program is developed using nicknames element references do not have to be entered when a contact coil etc is entered Wiring information and descriptions can also be entered without knowing the actual element reference Unassigned nickname is entered red Mnemonic View Ladder View Rung 1 This rung determines if the press is in one cycle or continuous run mode This is line 2 mala JBYX X This is line 3 Control relay used to introl relay used t 1 A 1 Start switch on signal that press is in Stop Switch on gnal press is nd ICator re m al n S O n operator panel one cycle mode operator panel utomatic perf start switch 1 cycle mode stop switch Automa Automatic mode C3 x50 co OUT exrejduexi Tm P The nickname is accepted without being linked to an element Rung 2 Ifthe Press is in automatic n the pressing operation Control relay used to pus run mode Sta Stop Switch on Operator panel one cycle mode Operator panel F2 Dialog appears when a nickname is entered without being linked to an element Rund 2 Ifthe Press is in automatic mode and a partis in place the machine begins the pressing operation 4 F Control relay u
214. utton to proceed with installation DirectSOFT 5 Programming InstallShield Wizard Setup Type Select the setup type to install Please select a setup type Complete KB All program features will be installed Requires the most disk space Custom fis k ATI Bak Nes Cancel Step 8 Ready to Install The wizard continues with the Ready to Install the Program window appears Verify the folder name where the DirectSOFT 5 files are to be stored If this is the desired folder click on the Next button to continue with the installation DirectSOFT 5 Programming InstallShield Wizard Ready to Install the Program The wizard is ready to begin installation Ready to install DirectSOFT 5 Programming to C ADirectSOFT5 Click Install to begin the installation If you want to review or change any of your installation settings click Back Click Cancel to exit the wizard 2 6 DirectSOFT 5 User Manual 1st Edition Quick Start The following window lets you know that the DirectSOFT 5 Programming Software is being installed onto your computer Tal DirectSOFT 5 Programming InstallShield Wizard C NDirect50FT54Bin4ComR c50 dll Instati sed Step 9 Installation is Complete The wizard now displays the InstallShield Wizard Complete window shown below Click on the Finish button DirectSOFT 5 Programming InstallShield Wizard InstallShield Wizard Comp
215. utton will allow the programmer to setup the PID loop parameters Select a Memory Cartridge This button will allow the programmer to select the memory type for a DL405 PLC 4 14 DirectSOFT 5 User Manual 1st Edition Chapter 4 Programming Environment 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 The Debug Toolbar The Debug Toolbar extends the use of the Status button located on the Online toolbar These buttons will assist in the debugging of your program 4 Turn Status ON in All Views The AllStat button will turn on the status for all of the open views in the current project Turn Status OFF in All Views The NoStat button will turn off the status for all of the open views in the current project Open Data View This button will allow the programmer to open an existing Data View Close Data View This button will allow the programmer to close the current Data View Save Data View This button will save the current Data View Data View Save As This button will allow the programmer to save the current Data View with a new name Test Mode This button will allow the programmer to use the Test Mode Operations see page 10 22 Stack Operations DL440 only Use this button to monitor the DL440 PLC accumulator and data stack DirectSOFT 5 User Manual 1st
216. v El t elements i set Al pA Printer Setup C IY Nicknames ADS E Clear Al Iv Wiring Info Page Setup Select the Elements to Columns hv Descriptions print the xref 2 ka pu c RJ Help for Options UN Sister 7 Use Default 8 number of baga Begin page T a columns to use Pe PA Date 12 21 200 Today Numbsing wt for printing P Pim Edi Font Arial 8 Select XRef Usage printouts 8 4 DirectSOFT 5 User Manual 1st Edition Chapter 8 Printing 8 gy4 Print Multiple Views The advantage of using the Print All dialog is that all of the available print views are available using one dialog Open the dialog by either selecting File 5 Print All on the Menu bar or press the Print All button on the File toolbar if it is displayed The following dialog will appear The tabs located at the top of the dialog are used Print All Docs Ladder Memory amp Elements Misc EJ Unassighec a E dit ET Lancel Get All E nag Printer Setup Clear All Page Setup Help 8 i Options Printer Iw Use Default Header Begin page a Title Page Date 12 21 200 Today DENN tese ECC he Print it Edi Font Arial 3 Selec to select the print dialog and printout setup Click on the tab to select the print view The print views available when the Print All dialog is opened are Documentation Ladder and Memory Clicking on the right arrow on the dialog will move
217. ve been added to the table of replacements To update an object selecting it from the table will place the object in the Object section so it can be edited Replace Object Object T able Find what fed thru X10 f Replace Swap With 20 thru PET Search Range Documentation Y All CG Move C Rung U Copy Address C Leave Delete from table m teo Use the Delete from table button to delete an entry from the Object table Press OK once all of the selections have been made on the dialog 5 30 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program CO a a a 3 3 nam mms 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 the more common errors Failure to Enter the Edit Mode Some new users will typically open a project and immediately try to edit a program Remember that you must enter the Edit Mode Entering the Edit Mode can be done in several ways Use either Ctrl gt Edit Mode Ctrl E or press the EDIT MODE button located 5 on the Offline toolbar and on the Ladder palette When in the Edit Mode the cursor box will turn a solid color AND above a Join The rule is that after a wire has been drawn down in a rung of logic to AND a sub rung with a midline output no additional input logic may appear on the leg of the midline output Ladder Vien x12 X a 7 m m
218. ve to PLC Select Slot Addr In AddrOut In Out NewID OldID Description Display Read from PLC manual off af sa 16 08 08 Obas A configuration ii MG ao 0 25 25 DODDDZ FOMATO 2 af Al o 0 2 23 DOOEDD2 FO4AD2DA2 3 alf ao e 16 16 DooppzFoorRs vm af alf a 8 0 18 18 DOODDE FOOSNA s af Al g 0 FF FF Entl osl 5 3 penat pem m a Eo 7f af ado 0 Fe FF Empyl D Slot After the manual configuration has been set save the configuration 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 either saved or read configuration Do not use manual configuration unless it is absolutely WARNING The majority of DirectLOGIC PLCs only require automatic necessary DirectSOFT 5 User Manual 1st Edition 5 3 Chapter 5 Edit a Program ENAA Referencing Program Elements Data Types Its good to know the various ways to refer to the different types of elements in the PLC If you have used the DirectLOGIC compatible products such as the TI305 T1405 or SIMATIC TI versions you are probably familiar with the way elements are represented The following table provides a complete list of the various data types and their meanings DL305C DLO5 DLO6 DL105 5 WED ur Inns DL330 DL340 CPU DL205 DL350 DL405 Input Points lO Output Points lO Control Relays C Stages S Timers T Timer current Counters CT Counters current Remote I O Points lO Data Registers R Pointer
219. w is setup in the same manner as the Print dialog Use the dialog to setup the printer the page margins setup the rest of the print options then press OK Print Preview Ladder Settings Hange Documentation Misc oom x E ia IV Elements hos e Cancel C Rungs a EE M Nicknames Columns Frinter Setup I Wiring Info F C Addresses I Descriptions pon eae Page Setup eter Help Options Printer IM Use Default Header Bon gin page m al Title Page Date 12 21 200 Todayi numbering wt iti Edi AG Edit Font Aral 3 Select 8 8 DireciSOFT 5 User Manual 1st Edition Chapter 8 Printing m 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 display to scroll through the program One Page can also be selected and switched back to two page when desired If the displayed program does not appear the way you want to press the Settings button to return to the setup to make corrections Once the program preview looks the way you want it to look press the Print button Print button Page buttons H DirectSOFT 5 Programming ril examph Print 3 Settings Next Page One Page Close Settings will return to the Print Preview Setup Offline 00047402560 240 DirectSOFT 5 User Manual 1st Edition 8 9 Chapter 8 Printing e Print Tro
220. where the file is to be saved then name the text file and press the Save button Export Comments rd Save in E Projects t ce EJ IBackup Save as type Ladder Comment T ext F txt Cancel The illustration below is an example of an exported comment text file shown with Microsoft Notepad 1f Rung comments Notepad File Edit Format Help BEGIN COMMENT 1 Rung 1 This rung determines if the press is in one cycle or continuous run mode This 1s lina 2 This is line 3 END BEGIN COMMENT 2 Rung 2 If the Press is in automatic mode and a part is in place the machine begins Mai pressing operation EN BEGIN COMMENT 3 Rung 3 controls the fixture clamp that clamps the part in place END BEGIN COMMENT 4 Rung 4 when the lower limit has been reached the control relay signals that the part has been presse END BEGIN COMMENT Rung 5 If rhe part is locked in place the press arbor is activated END BEGIN COMMENT 6 when the part has been pressed and the arbor is at the upper limit the fixture clamp is released END BEGIN COMMENT Rung 8 If ahe part has been pressed and the limit confirms that the fixture e is eee the conveyor motor starter is activated and the conveyor moves forward EN ipa BINE 10 uU Es the one cycle switch is on and the conveyor has been indexed the one oc e Felis is activated 6 18 DirectSOFT 5 User Manual 1st Edition Chapter
221. ws XP Current Theme Office 2000 The theme selected for the window below is the Beveled look Note the rounded edges of the menu buttons kg DirectSOFT 5 Programming example 1 LI Glee ila E Em a m pee fa uk cept Do e pa op ae oom Qut E e I el Element Rung Address Instructa PC 1 0 GHsR Es OUT STR AND PH 2 4 wao Onlne D5CBL D6 GWA 0007 07680 06 0004 001 001 DirectSOFT 5 User Manual 1st Edition 1 27 Chapter 4 Programming Environment The Tool Palette An important part of the programming environment is the Ladder Palette The Ladder palette is visible whenever the programming window is opened The element symbols are grayed out and inactive when the not in the Edit Mode Turning on the Edit Mode activates the Ladder palette and the tool symbols are no longer grayed out When a new project is started the Ladder palette is located on the right side of the programming window by default 4 however the palette floats It can be moved to any position on the monitor viewing area Simply grab the palette with the mouse arrow on the bar at the top of the palette and move it to wherever it may work best for the programmer The palette can also be resized similar to the one shown on the facing page i Direct50FT 5 Programming example 1 File Edit Search View Tools PLC Debug Window Help IT T EDIT v X E my P New Open E aL Fi
222. wser Click on Edit and select the appropriate browser contact coil or box This will open the Instruction Browser as if one of the browse buttons had been pressed on the Ladder palette DirectSOFT 5 Programming example 1 Ladder View File Edit Search View Tools PLC Debug Window Help EDIT gm y We IX oot my ma P MODE A Pe Find NOT fo ae SLA Help c i A if GE Ladc iat Delete Insert Merge Select 4E Coil amp Box Wire ARI EditMode Ctrl E TE 4 pe gt wil ox Online DSCBL Program 00003 02048 05 0004 001 007 reate or edit a Contact 5 10 DirectSOFT 5 User Manual 1st Edition Chapter 5 Edit a Program CO mm a a am manas Shortcuts for Entering Instructions Once the programmer becomes familiar with DirectSOFT 5 the most common method for entering instructions is to position the cursor on the rung where the instruction is to be entered and type the element address i e X12 C22 Y14 etc And for an instruction box type in the mnemonic i e LD OUT SET etc and the Token Selection Editor will appear for a proper selection Then press Enter amp DirectSOFT 5 Programming example 1 Ladder View Bl 4 File Edit Search View Tools PLC Debug Window Help ad owz op s He X ata adder Vie vp Es G ld DirectSOFT 5 Programming example 1 Ladder View File Edit Search View Tools PLC Debug Win
223. x Ladder x Memory z Range Documentation Misc Will open the m zoom i Al rd issue Fox m Cancel selected or default H E Iw Nicknames mm Ene ERE printer setup he wiring Info dialog C Addresses Iw Descriptions Pen Size Page Setup L Il Help Opti j ptions Printer default bd HxeTDselault Printer Adobe POF on Ned Header Project Mame EN m Set the starting Comments Title Page D ate 127214200 Today numbering with 7 Pind Edit pao SES page number for the printout Edit the title Enter a program Select a printer of Select a font page with heading choice or print to other than the Adobe Acrobat project PDF Writer default font information and print it DirectSOFT 5 User Manual 1st Edition 8 7 Chapter 8 Printing e Using Print Preview The Print Preview feature is a feature of DirectSOFT 5 It is recommended to use this feature before printing the program One advantage for using Print Preview before printing is saving printer paper You will be able to see how the program will appear on paper before it is printed and corrections can be made before printing Print Preview Setup Either open the Print Preview dialog from the Menu bar using File 5 Print Preview or press the Preview button on the File toolbar if it is displayed Notice that the Print Preview dialog is the same as the Print dialog The Print Previe
224. y used to start switch Start switch on operator signal that press is in C lue L JU Start switch on operator panel one cycle mode Blue 000 start switch 1 cycle mode AND Mr Ls part present a 1 uiu TT DIU EM MARY Control relay used to Limit that detects part signal press is in in fixture automatic mode AND Automatic mode STRI co part locked 1 i 1 f Blue 002 Confers that the clamp Rung 2 Ifthe Press is in automatic mode and a partis in is locked the pressing operation Control relay used to STR signal press is in Limit that detects part AND j automatic mode in fixture GH AND l Blue 001 lower limit j Automatic mode part present Blue 004 Lower arbor limit x For Help press F1 j Offline 00047 02560 240 0001 001 001 6 20 DirectSOFT 5 User Manual 1st Edition Chapter 6 Documentation ar Exported programs element documentation and rung comments can be imported using the DirectSOFT 5 programming window if it has been opened to edit another program This is done by first saving and closing the current program Next either select File 5 Import 5 Program or press the Import button on the File toolbar The program to be imported is selected and opened as shown in the previous example a DirectSOFT 5 Programming UNTITLED File Edit Search View Tools PLC Debug Window Help dius E XXERikkeESi k xz Open Project Ctr O PAY wo Prnt PrtAll Setup Pro

Download Pdf Manuals

image

Related Search

A 2 a 2+b 2 c 2 a 2 + b 2 a 2 b 2 formula a 24 movie a 2nd chance a 29 super tucano a 220 mercedes a 200 letra a 2 metros de ti a 200 mercedes a 2 b 2 c 2 formula a 2nd degree burn will a 2 b 2 c 2 pythagorean theorem a 220 aircraft a 24 en vivo hoy a 24 hs en vivo a 24 tv en vivo argentina a 250 mercedes a 200 letra lil nay a 2025 free printable wall calendar a 2 b 2 + c 2 a 27 year old roommate uses opioids a 2nd chance bail bonds a 2 letter symbol from the periodic table a 2 + b 2 formula

Related Contents

Vexve Butterfly Valve User Manual  La taxe de séjour : Mode d`emploi  新型 ZW80 誕生!!  Rollei Compactline 130 Black  User`s Manual  Acer Aspire 510-2867  / Ventilador H3 Marley / - SPX Cooling Technologies  - Brother  Mania EF1 - Audiofanzine  Embedded Xinu Documentation  

Copyright © All rights reserved.
Failed to retrieve file