Home

Section 3 - AutomationDirect

image

Contents

1. For Help press F1 00003 02048 05 0003 001 0UT 4 Note When the program is saved by clicking on the Write to Disk button the ladder program is all that is saved Once you have a larger program than what has been done here you will want to save all that you have done This is accomplished by selecting File gt 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 saving the project refer to the DirectSOFT32 Programming User Manual pages 3 6 and 6 25 DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02
2. Getting Started Getting Started Before beginning to edit a program you need to open DirectSOFT32 Click on Start in the lower left hand corner of the computer monitor Now go to Programs place the pointer on DirectSOFT4 then click on DSLaunch rocket in the drop down window The following DSLaunch window will appear From this window additional utilities such as the DSData Server CTRIO WB etc can all be launched from one central place This same place is used to create and manage PLC programs and the communications between your personal compter and the PLC Notice the different areas which are pointed out in the Launch window Windows type Menu Tree DSLaunch Ss 8 x eS Direct SOFT32 Pi Utilities fag DBWin32 Logger Pe version D5300 ini Y D5400 ini Fil CTRIO WB DirectLogic PLC Utilities such as the H CTRIO WB EBC WinPLC BE ERM Workbench version 4 0 Build 16 DSData Server NetEdt E Projects Programming support is installed for C 205 ll2 prj DirectLogic 205 Seri D 205plus2 prj DirectLogic 305 Series rllexmp2 prj DirectLogic 405 Series C rlplus2 prj DirectLogic 105 Series C 105rl pri DirectLogic 05 Series D 105plus prj DirectLogic 06 Series D fO_2ad2da_2 prj D devnets prj R deytnd prj Documents Projects eee most recently used are 9 2sctest pr a i listed first PY test prj E Comm Links Ta Address 55 Bs 250enet er Communica
3. 8 02 Getting Started Begin Editing a Program Once the DirectSOFT32 Programming Software is installed in you computer you will want to begin to use it The following steps will show you the basic steps for editing with DirectSOFT3z2 This will not be an attempt to teach you how to develop a control program but it will give you the basics to get started using DirectSOFT32 so that you can edit a program Step 1 To begin a new program project double click on DirectSOFT Programming 4 Enter the Program located in the Applications folder of the menu tree Mode Step 2 You should now see the New Project window You can name a project using any Start a New Project combination of 15 characters including spaces EXAMPLE1 is the project name used for this example Move the selection bar to the PLC Family and CPU Type For this example use a PLC belonging to the DLO5 06 105 DL205 DL405 families Click on OK after you have made your Family and Type selections If you have a DL305 type PLC be sure to select it from the choices Keep in mind the available mnemonics processing rules and even the tool bar characteristics are tailored to the Family and Type selections that you make Use this icon to start a new project and open up a fresh program window Pia Waw Hab maid PAE AEA Programming UU ile View e aes D Projects 0 eai Write e New Project Window Type in a name for your project Select the
4. Enter X0 while CO is highlighted After the address has been entered and the error indicator is green either click on the check mark V or press the Enter key 15 x 7 DirectSOFT32 Programming indow Help iming examp earch View Tools PLC Debug W SB Edit L p s cku OH Accept Gut opy Hev of p S 00001 02048 05 For Help press F1 DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02 Yellow color coded bar indicates the rung has not been accepted yet Step 6 Enter Ouput Elements Getting Started The instruction has been entered and the cursor has moved to the next entry position Notice the yellow vertical bar that appears next to the rung Since this is not a color manual a light colored vertical bar is seen in the screen example The yellow bar indicates that an instruction or instructions have been entered but that the program has not been accepted compiled Rungs that have already been accepted into compiled memory will have a green bar instead Without being compiled you will not see the icons for Save to Disk or Save to PLC enabled This means in order to save your program anywhere you will have to Accept your editing first For example if you wanted to stop working with DirectSOFT right now you would first want to accept all the edited rungs so that you could save the revised program to disk Fa DirectSOFT32 P
5. PLC Family nae Select the i CPU Type New Project EXAMPLE Browse Family Direct Logic 3055 GE Series 1 Koyo Kostac S Series Simatic TI 305 imatic then click on OK start Sf For Help press F1 DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02 Getting Started After clicking OK to enter your project name you will see ladder logic rungs ready to be edited This is the View Only Mode at this point In this mode the cursor is always hollow and programming is not allowed Viewing a project is all that is allowed If you are a Seasoned programmer you may not like the appearance of the display This would be a good point to select the color options of your choice Refer to the DirectSOFT32 Programming Software User Manual PC DSOFT32 M chapter 4 to setup the appearance of the programming window DirectSOFT32 Programming exam plei E E ioj x File Edit Search View Tools PLC Debug Window Help View Only DjA 0 oe ee eo d Mode Seat vynte le en CKU Accept ut Copy aste cursor is hollow For Help press F1 00001 02048 05 0001 001 001 4 Step 3 The Edit Mode is used to write the control program You have the option of entering Switch to the the Edit Mode in three different ways the most common being to click on the Edit Edit Mode Mode button on the top tool bar It will be yellow in color and in
6. bels subroutines and interrupt routines are placed after the End instruction The End instruction is not DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02 Getting Started Two rungs are now programmed for this example This program can be downloaded to a PLC the way it is or if desired additional rungs can be added to the program The END coil needs to be at the end of the program Continue to practice what has been covered before continuing Step 9 We will continue with this example to keep things simple The program needs to be Accepting and accepted in order to be downloaded to the PLC Click on the Accept button in the Saving the menu toolbar to compile the program Notice that the two diskette buttons on the left Program of the menu toolbar are enabled to Read from Disk or to Write to Disk they are not grayed out In this case you will want to click on the Write button to save the program it is not necessary to save the program in order to download the program to a PLC It is a good 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 To do this the Read button can be clicked on and the previously saved program will refresh the screen and programming can continue Fo DirectSOFT32 Programming example1 File Edit Search View Tools PLC Debug Window Help
7. dicate OFF Another way to turn on the Edit Mode is to click on Edit at the top menu bar then select Edit Mode The last way to enter the Edit Mode is to hold down Ctrl E press the Control key and the E key simultaneously DirectSoft32 will indicate the Edit Mode to be active when the cursor box becomes solid and the Edit Mode button turns white and changes from OFF to ON The Tool Palette will also appear on the bottom of the programming window DirectSOFT32 Programming EXAMPLE1 A E oj xj File Edit Search View Tools PLC Debug Window Help Edit Mode cursor box is solid Tool Palette For Help press F1 00000 02048 05 0001 001 001 4 DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02 Step 4 Using the Ladder Palette to Enter the First Element Step 5 Enter the Input Element Enter X0 Notice the Error Indicator will be green when a valid contact is entered Getting Started The Ladder Palette can be very helpful especially in the beginning while learning to program with DirectSOFT32 Later you may prefer to use the faster Hot Keys instead of clicking on the tool buttons The hot keys are shown on each tool button and appear whenever your cursor is on the tool button Refer to the DirectSOFT32 Programming Software User Manual for more details The Ladder Palette shown below may not be exactly like the one you have on your computer screen The tools used in the Ladd
8. er Palette will depend on which CPU your PLC is using This example shows the elements common to all of the CPUs Normally Open Contact ______ F Normally Closed Contact Normally Open Immediate Contact Normally Closed Immediate Contact Equal To Contact _____ Not Equal To Contact Greater Than or Equal To ___ Contact ____ Less Than Contact Browse Contacts Browse Coils Browse Boxes Browse Elements Wire to Output _ Wire Connection to Stage Use the Ladder Pallete to enter the first instruction of the program First move the cursor to the desired location for the first element This is done with either the mouse or the up and down arrows on the keyboard When using the mouse simply position the mouse arrow to the point where you want the element to be placed and click the left mouse button In this example a normally open contact will be placed at the first position on Rung 1 Position the cursor at the beginning of the rung and click on the Normally Open Contact symbol on the Tool Pallete You will see the cursor change to a box with an open relay contact a window with the text cursor blinking at the end of address CO highlighted and a green indicator 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 0 the indicator would turn red and stay red until you correct your mistake
9. er will be replaced with the element entry box The default address CO will be highlighted Key in YO gt Enter When the address is entered correctly the error indicator will be green Enter YO here Rung 1 has just been programmed This rung can be downloaded to the PLC element except for one missing element The program must be terminated with an END Coil rung 0 x DirectSOFT32 Programming example1 File Edit Search View Tools PLC Debug Window Help E hit S OH Accept Aaa aA Find Nex fBrowse Opts Zoom Out Help E lol x 0 For Help press F1 00002 02048 05 0001 001 0UT 4 To program this rung move the cursor so it is over the NOP in the next rung and click on the Browse Coils button The Instruction browser will appear Either move the up down arrows or use the mouse to select Program Control in the Coil Class section of the window END will be at the top of the Coils list and it will be highlighted Click on OK to enter the element Instruction Browser a x Box Coil Contact Ok Coil Coil Class All Coils Immediate 10 Interrupt Cancel Help Standard Coil Description EMD End Cail The End instruction marks the termination point of the normal program scan An End instruction i required at the end of the main program body If the End instruction i omitted an enor will occur and the CPU wall not enter the Run Mode Data la
10. rogramming example 1 0 x File Edit Search View Tools PLC Debug Window Help ade oe Q Ql Read Write New Open Backup OH Accept Cut Copy Paste ext Opts Zoom Out Help tedder view _ __ 2 x0 s A NOP NOP NOP NOP NOP NOP NOP ET dak t 44 2b AeH 4 gt lt F4 For Help press F1 00001 02048 05 0001 001 002 4 Next move the cursor to the end of the rung over the NOP Click on the Browse Coils button on the tool palette The Instruction Browser will appear with the Standard Coil selected as the default Click OK to enter a standard coil DirectSOFT32 Programming example1 File Edit 10 x Window cp db Copy Jaste Search View Tools PLC Debug Box Coil Contact Coil Coil Class Description OUT Out Coil 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 Out instructions referencing the same discrete location should not be used since only the last Out instruction in the program will control the physical output point See Or Out ORDUT For Help press F1 00002 02048 05 h DirectSOFT32 Programming Software Quick start Manual 5th Edition 8 02 Getting Started Step 7 Element Entry Window Step 8 Enter the END Coil The Instruction Brows
11. tion Links to PLCs gt Ready Num e Applications These are the applications currently installed in DirectSOFT32 They are visible in the Menu Tree under the Applications folder icon and are linked to applications that have been designed for launch from DirectSOFT32 For example to create a new program double click the DirectSOFT32 Programming name e Utilities There are several utilities available under the Utilities folder icon Some of the utilities can be purchased from AutomationDirect such as DSData Server Other utilities will come with DirectSOFT32 Programming Software These utilities are ERM Workbench CTRIO Workbench and NetEdit e Projects These are created in DirectSOFT3z2 A project also called a document is the collective name for your program and all 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 Projects folder icon by name Documents are listed in the most recently used order e Comm Links The links are for communication links between your personal computer and one or more PLCs The links are not only for the control programs Instead they are communication links i e the link between the computer and printer Any application can use the link When you create links they will appear in the menu tree under the Comm Links folder icon DirectSOFT32 Programming Software Quick start Manual 5th Edition

Download Pdf Manuals

image

Related Search

Related Contents

Symmons 5400 Installation Guide  Plinius Audio SA-250 User's Manual  d3f - GRS  Homeowners Guide  CSI 400 ProTune User`s Manual  Samsung SM-T311 User Manual(Kitkat)  Samsung GT-B2100 Manual de Usuario  G A R A N T I E - Goodfellow Inc.  Toshiba AT100 AT100-105  Acer 7500G Personal Computer User Manual  

Copyright © All rights reserved.
Failed to retrieve file