Home

Pro-Control Editor Ver.5.1 Operation Manual - Pro

image

Contents

1. sed for ae long as the push button is pressed providing a cup s present wxi siad Cup Present for Ice Ice of of Small pustbuten NOY B PL EN DNI of 4000 IN OUT Fill Timer PT boo A CDdEFOSUHJKELIMNNMPS Numer of Smalls E i 7 CTU eselvwimonawscimgoialegat ES BE eae Rea or mv cvjo jal 2 Drop the button on the Screen Editor The Select Parts dialog box will appear on the screen Select Bit Switch then click OK Select Parts Bit Switch lce pushbutton Toggle Switch Ice_pushbutton Cancel Help Pro Control Editor Ver 5 1 Operation Manual 2 85 Chapter 2 Creating a Program 2 86 3 The Bit Switch Settings dialog box appears on the screen Select Momen tary from the Function field Check that the Operation Bit Address is set to Add Ice then click Place to place the pushbutton Bit Switch Settings B5_001 General Settings Shape Color Label Extend Description State On ort Browser Operation Bit Address Pl Monitor Monitor Bit Address Function 12 Bit Set i2 Bit Reset i Momentary 12 Bit Invert E Eancel Help 4 The Add Ice is completed Create the Large_pushbutton Medium_pushbutton and Small_pushbutton using the same procedure Draw
2. If a variable is added at this time the variable add instruction is executed at the same time B Replace Rungs This edits the ladder circuit of an existing line et D ag INE ra SF Ta ee te e T Tw wen Tc Program Descrpion zl iL start Instructions can be inserted replaced or deleted If a variable is added at this time the variable add instruction is executed at the same time Pro Control Editor Ver 5 1 Operation Manual 4 9 Chapter 4 Online Editing B Delete Rungs This deletes a selected rung Te rd Mon Seach ef Das eic Lop Bis Tx nes 58 fae bee fee Te Tw Ter e 127 Te rd Mon Seach Ref Das eic Lop Bis Tx E nes 8 ifa s mf ele fee Te Tw Ter e 127 Fi Cire um ciao Variables are not deleted at this time m Add Labels This adds a label Select the Insert menu s Label command Te rd Mon Seach Ref Das rice Lop ifs lv Tx E nes 8 fae s Seo fee Te wer e T7 OBS Is Fi waz ttre i vum a B Add Subroutines This adds a subroutine Subroutines are inser
3. Check Validity Preferences de E Defining the Device Address Designate the number of device addresses used via the Fixed Address Setting dialog box shown below End OK pooo fogs II 01485 Cancel Ej Ej E pooo an4s DE 0088 ooo oora n oosa E poss i Default pooo joona DE 00145 pooo E joo rm ora rar Ei j ia oon E oon Help e K Iv Global Estimate of variable memory F BENE Output I g Estimate of global variable num p SP area 4 ERN 1696 Fits points Estimate of program size required AEs REN 15 Range 0000 0002 Memory check Device Name and Count You can arbitrarily define the symbol mark used to represent each device using a single alphabet character Also the count set here is the sum total of the screen sharing device count set in the right box and the latch retain device count Device types and sub types are shown below Symbol Mark Device Name Type Sub type Max No of Default Points 5 Dake Integer ImemaVarst 1000 C w Word Register Real _InfemalVarabie 1000 L SusdaReay Bt intemal Varabe 1000 PP f meserAnmsy mtemal
4. Tuning Select the Tuning tab GLC100 300 GLC2000 Series LT Series Controller Setup 1x Controller Setup BE i Turing Connection Memor i Turing Connection Memory iO Fred Tamgetscantime 0 5 ms iO Fred Target scan time 10 ms 2 Percent Percent allocation 0 zx 2 Percent Percent allocation 0 a Watchdog timer 500 ms Watchdog timer 500 ms r Disable controller auto start r Disable controller auto start im Enable 1 0 r Stop on minor fault O Stop on minor fault o cma y f Hep mk cca y Her When you set parameters on the Tuning tab you are setting the parameters the ladder logic program uses when it is written to the GLC Controller Subsequently whenever this particular program is run the GLC Controller will use these set tings unless they are changed manually These settings are unique to this program Controller Tuning options are described in the following table Pro Control Editor Ver 5 1 Operation Manual 3 1 Chapter 3 Running the Ladder Logic Program Option Description In Target Scan Time System Variable TargetScan enter the length of time milliseconds you would like each scan of your program to take Note Ifthe logic time exceeds 50 ofthe scan time the Scan operation is not guaranteed Specify the setting in 10 ms increments
5. Sane Eis s Import Aare Pepe A ae 1009s All Print ChleP cs EF Printer Printer Setup Check Vaidy Check dal 0 Preferences Ice_Maker A Of 2 START The Light remains on until the Power Off pushbutton is pressed The Power On pushbutton starts the soft drink machine 1x1 0 0 61 0 6 Ot 0 0 Power_On_pushbutton Power_Of_pushbuttan Light 3 1 Vi of Off Off OX1 D D Light ed id 4 B 2 Enter a file name in the Save As dialog box 3 Click Save The Logic Program is saved in WLF format Pro Control Editor Ver 5 1 Operation Manual 2 81 Chapter 2 Creating a Program The following three import commands can be used to import logic programs e Update command imports all logic programs including subroutines Insert command imports a selected part of a logic program e Subroutine command imports a subroutine part Please note that when importing all logic programs including subroutines the logic program is updated to a logic program in the current project The location where imported rungs are inserted can be set up with the File Preferences Editor command Please see the Preference Area Settings Prior to Creating a Logic Program section at the beginning of Chapter 1 E To Import a Logic Program Procedures for importing logic programs using the above three methods are explain
6. b Logic Program Editor soda File Edit View Search Insert Data Controller Help sre baek Je Pee le 69 oof TTE Fam rg m e Subroutine y Li Print Ctrl P E Printer Setup E Check Yalidity Preferences lce Maker 3 Off 2 START The Light remains on until the Power Off pushbuttan is pressed The Power On pushbutton starts the soft drink machine IKX1 0 0 8 x1 0 6 OX1 0 0 Power On pushhuttan Power Off pushhuttan Light 3 f i of Off of 0 1 0 0 Light po Fl n Import WLF file 2 Specify a location rung number to insert the logic program 4 Insert Import Insert rung number 3 Select the WLP file you want to import in the Open dialog box 4 Click Open The specified logic program is imported and the variables used in the logic program are registered to the Variable List 5 Saving the logic program will register a global variable in the Symbol Editor as a logic symbol see Operation Manual Screen Creation Guide 4 7 Symbol Editor l When the imported logic program contains variables with the same Important name as variables in the current logic program the imported logic program s variable types are changed to match those of the current logic program Pro Control Editor Ver 5 1 Operation Manual 2 83 Chapter 2 Creating a Program To Import Subroutines of a Logic Program 1 Select the Import Subroutine command from the File
7. E rbe eee Ls Pala lived om m Do m ea CT a Ice Small pushbutton MOV 6 iP EN on of 4000 N OUT Fill Timer PT 2000 lumi s olev c a g 2 Select the Copy command from the Edit menu The selected instruction is copied to the Clipboard m necsmmBaebsoBpon ossoenec gt pie Al cB H sB E g ME ai as 5 7 A SBDAEFSIHIKRLIMNDP ORS TE per qp Treo Pro Control Editor Ver 5 1 Operation Manual 5 5 Chapter 5 Using the Editor and GP PRO PB Ill 3 5 6 On the GP PRO PB III screen select the Paste command from the Edit menu 7 rH ad te es oem ee a LA E EXE o LT JOur kke eea Doc gt gt Reset Counters long as the push button is pressed providing a cup is present I USHAREEIECEAREEGCGSGS Present for Ice Ice i of Of 1j nammaumrmmmHHdERHA NHRFNEETETMTEHUETEN MOV rur a7 EN on role 015 i D z 4000 IN OUT FillTimer PT 2000 mi d Tee Pant Shop Pro TIBAGLC Example proe Unit ERRIO EONO LE ROTER Select the Part to which the instruction is converted and
8. MB Untitled ES O01 Pump Pump SG DDl Status M Pats M Tags J Dbiects Tl Link Select f Change Order HEBDEUESOH 3OS4O6mxm90 AZ SDAEPSIHIKKELIMN OD PORS TYE WEY yY Sus ae az Ready da MToms o m Pro Control Editor Ver 5 1 Operation Manual 5 13 Chapter 5 Using the Editor and GP PRO PB Ill W4 Transferring Screens to the GLC B Transferring GP PRO PB III Screens to the GLC 1 Click the GP PRO PB III screen s Transfer icon 2 Open the Setup menu and click Transfer Settings to open the Transfer Settings dialog box Be sure to select the Control Data checkbox in the Send Information area then click OK to transfer the data If an error occurs during data transfer to the GLC an error message will appear in addition to the current Overall Progress display Transfer Settings Send Information jp Communications Port CommPot COMI Retry Count 5 Ibps Baud Rate 115K Fl Fi 1 Ethemet IP Address 0000 Pot TPN 12 Ethemet Auto Acquistion Memory Loader Setup Automatic Setup Use Extended Program 13 Eo ce System Setup DI Simulation 12 Do NOT Perform Setup Setup CFG file Engish amp Selection CAPROGRAM
9. A A A 5 Pro Control Editor Ver 5 1 Operation Manual 2 67 Chapter 2 Creating a Program yaa Unassigning Variables from the Configure I O Dialog Box E To Unassign a Variable from the Configure I O Window 1 Click terminal IO in the Configure I O window 2 Click Unmap The Power_On_pushbutton is now unassigned from terminal IO and can be assigned to any other terminal you select In this tutorial assign it back to terminal IO PAR Assigning I O to Variables The easiest way to configure I O for new programs is to type the variables directly into the terminals They are then automatically created configured and mapped to the correct I O point In this case when you configure your I O first and then create your ladder logic program creating your I O points is explained E To Use Variables Assigned to I O with Instructions 1 Click the target variable and drag to the I O terminals as described previously to assign variables to the input and output terminals of your driver 2 Create your ladder logic program 3 Click and drag the variables from the Configure I O dialog box to the in structions you want the I O assigned to 2 68 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 4 538 I O Configuration Import Export Variables allocated via the I O configuration can be imported and exported in CSV format To create or e
10. DEI MICROLINE SQ3PSII F on WA aphael ml903psz f Cancel Printer Help Reports Mil Logic Preview MA Variable List Preview E ELCH il 1 0 Configuration Preview vi References Preview Columns 1 ok You can select the number of columns 1 to 4 into which your report will be formatted In the Reports area there are four checkboxes labelled Logic Variable List I O Configuration and References These checkboxes provide the following options when printing out ladder logic program data Logic Select the Logic checkbox then click the corresponding Options button to open the following dialog box and print the rungs of your ladder logic program l Logic Options i3 Selected Cie Select All to print all the rungs of the program or click Selected and type in the range of rungs you wish to print Use the View menu to adjust the logic program s printout size When the rightmost part of the rung line cannot be displayed within the screen even if the logic program is scaled down click on the View Line Turn Back Then the rung line is continued on the following line so that the program can be displayed within the screen and printed Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program i Print Preview Log
11. 3 Type Power Off in the Bookmark name field then click ADD The Bookmark has now been set Thus whenever you select Power Off and click Go To to return to your Bookmark you will return to the NC instruction on rung 3 If you wish to set a new Bookmark simply select a new point on the ladder logic and repeat steps 1 through 3 The Editor supports the use of multiple Bookmarks E To Go to a Bookmark 1 From the Search menu select Bookmarks The Bookmarks dialog box F Bookmarks Bookmark name Power off 2 Select a Bookmark Name from the list then click Go To Wherever you are in your ladder logic program the Editor automatically takes you back to where you placed the Bookmark Cone You can use the CTRL M keys to open the Bookmarks dialog box NO E To Change the Position of a Bookmark 1 Select the new position in the ladder logic program 2 Select the Bookmark name you wish to reposition 3 Click Update in the Bookmarks dialog box 2 58 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program A Using the Go To Rung Command The Go To Rung command allows you to move the focus to a specified rung in your ladder logic program E To Use the Go to Rung Command 1 From the Search menu select Go To Rung to open the following dialog box Go To Rung Bung Number
12. MEMORY LINK SIO Type ki pExtend SIO Type EXT Serail I F hone a Help 2 14 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Description Soft Drink Server GP Type GLC series GLC2300 Serial I F Switch No PLC Type DIGITAL Electronics Corp MEMORY LINK SIO type Extend SIO Type None 4 A window appears asking whether you will create a Logic Program or a Screen Click Edit LogicProgram to open the Editor New Edit Screen Cancel I When not connecting the GLC to a PLC or other device select Digital Electronics Corp and Memory Link SIO Type in the Device PLC Type area Pro Control Editor Ver 5 1 Operation Manual 2 15 Chapter 2 Creating a Program IE Creating Variables This section describes how to designate the functions of the Editor as well as how to create and delete variables and set the initial values used in the Editor The completed sample of the tutorial program created in this lesson is located in the Soda prw file in the C Program Files Pro face ProPB Win Sample folder Refer to the Pro Control Editor User Manual Chapter 2 Variables E Variable Mode and Fixed Variable Mode There are two operation modes available in the Editor to create variables This tutorial will explain the logic program development in the Variable Mode
13. rs Only normal integer variables will be imported to GP PRO PB III whether you des NO _ ignate a bit in an integer variable or not To access a bit in an integer variable desig nate that bit in GP PRO PB III 5 10 Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB III B Variable Restrictions When using GLC variables in GP PRO PB III the following restrictions apply When exporting normal symbols the GLC symbols will not be output When copying and pasting normal symbols the variables located in the Con troller cannot be designated When entering normal symbols variables located in the GLC symbols cannot be designated If the Display GP Type is changed from a GLC to a non GLC type the GLC symbols will be changed to normal variables and the automatically allocated addresses will be cancelled when the GLC symbols are designated in the original GLC type In this case the screen containing the GLC symbols settings is automatically changed to the status requiring preparation for transfer Review the GLC symbol allocation When performing a simulation of a screen containing GLC symbols the device information field on the Simulation screen will not display the devices desig nated with GLC symbols The GLC series does not support a device type for the Editor variables There fore the device type and address used for indirect designation of GP PRO PB III E tags and K tags canno
14. Close ll Help E Exact matches only 3 Click the Fill_Timer variable in the Variable List dialog box e The displays of the Description List and References dialog box will change accord ing to your selection The References dialog box now displays every instance of the Fill Timer variable Also note that even though you change a dialog box s display the ladder logic program s display does not change The corresponding point in your logic will appear when you select any variable line in the References dialog box 4 Click the first line in the References dialog box Your ladder logic program now displays that variable highlighted on the rung and the instruction you specified Pro Control Editor Ver 5 1 Operation Manual 2 57 Chapter 2 Creating a Program 2 28 Using Bookmarks If you are constantly referring back to a specific point in your ladder logic program using a Bookmark saves you from repeatedly scrolling through the screen To set a Bookmark you must signify the exact point that you wish to return to Anything you can select or highlight can be a Bookmark For this demonstration the NOR MALLY CLOSED CONTACT NC instruction on rung 3 is set as a Bookmark B To Set a Bookmark 1 Click the NC instruction on rung 3 2 From the Search menu select Bookmark The Bookmarks dialog box 543 Hosknarks Bookmark name Pl Add bas aTa
15. Pro Control Editor Ver 5 1 Operation Manual 2 37 Chapter 2 Creating a Program 2 3 4 Double click the black highlighted area above the TON instruction to select the Instruction Parameter Box This is where you can assign a timer variable to the instruction C ie Enter a variable name here Instruction Parameter Box m B FT ETO Double click the area immediately to the left of the PT element in the TON instruction The Data Value dialog box opens Here enter the preset time in milliseconds that will elapse before output Q is turned ON Assigning vari ables and other operands to instructions will be discussed in the next section Close the Data Value dialog box AME Entering Variables One method of entering a variable into an Instruction Parameter Box is to type directly into the box E To Enter Text in the Instruction Parameter Box 1 2 3 4 e 2 38 Double click the OUT instruction s Instruction Parameter Box on rung 3 Type Light in the box Press the ENTER key The following dialog box prompts you to confirm the creation of the variable Pro Control Editor 2 Okay to create the variable Light of type Discrete rau can disable this message in Preferences Click OK In the Variable List dialog box the Light variable appears in the list The Editor has automatically assigned it a variable type In this case it has assigned it as an inter
16. e tei The instruction list automatically scrolls until the OUT instruction appears at NSS the top of the list Also its name appears in the bottom left corner of the dialog box e You can display or hide the operand area by clicking the Operand button 2 Click the rung section to the right of the TON instruction 3 Click Apply and the TON box will appear TON 3l 4 IN a Ca PT ET Pro Control Editor Ver 5 1 Operation Manual 2 31 Chapter 2 Creating a Program XE Deleting Instructions In this section you will delete the OUT instruction that you just inserted into rung 3 Bi To Delete an Instruction 1 Right click the OUT instruction on rung 3 and a shortcut menu will appear 2 Select Delete A dialog box will prompt you to confirm that the instruction is to be deleted Delete Delete the instruction OUT 7 3 Click OK E ote You can also delete an instruction by selecting it and pressing the DELETE key or by clicking IX in the toolbar I3 Copying and Pasting Instructions In this section you will copy the instruction inserted into a rung and paste this instruction into another rung E To Copy an Instruction 1 Click the instruction you wish to copy 2 Right click and select Copy Instruction or select Copy from the Editor menu p Edit View Search Insert Data Contre 2 Edit Instruction Undo Changes toRung3 Cirlez Undo Chang
17. Driver Data must be entered This data is about the type of unit connected to the GLC Driver Type Driver Type data is stored using one of the following ID numbers If this driver is not use enter a 0 Wem O O B DODier o 3 Flex Network Dir 2 70 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Unit Offset Enter a 0 Variable Set When the variable names used in the CSV file and the import destination are the same the following codes are used to designated what processing is performed ee 9 i te Cote These settings are enabled when the File Preferences Confirmation tab s Confirm N Controller Operations check box is not selected I O Set When the I O addresses used in the CSV file and the import destina tion are the same the following codes are used to designate what processing is performed proving DN Use a message dialog box to confirm which action to perform 0 2 Variable Data must be entered This is data for variables allocated to I O Name Stores the variable name For variable name assignment restrictions see Pro Control Editor User Manual 2 1 Variable Names Data Type ID Variable types Discrete Integers etc are saved using the follow ing ID numbers For detailed information about variable types see Pro Control Editor User Manual 2 2 Variable Types ge an 2 Pro Con
18. Drivers f Setup did Remove woo mb SD on fe 0 PO 3 Displayed below S No 1 FN XY16SK are 16 input terminals and 16 output terminals associated with the Flex Network module displayed You will assign variables to them later in this tutorial Ele Edit View Help E Flex Network Driver ID it Speed amp Mbps Close XR ERSREEIS pemen Drivers Setup Eh Remove li Er Er l E pap 6 Up to 63 units when two lines are used can be connected with the Flex Net work driver Use the same method for selecting a module for another unit 2 62 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program E To Click and Assign Variables to the I O Terminals 1 Click i next to S No 1 FN XY08TS The Configure I O window appears as follows You can use the first 16 terminals for entering discrete bit type variables with S No 1 FN XYO8TS Configure 1 0 Edit View Help Network Driver Ir e ae i 1 Speed BMbps Ki 2 Locate the Power_On_pushbutton variable NO instruction on rung 3 3 Click and drag Power_On_pushbutton toward terminal IO As well as when inserting rung branches note that your cursor initially becomes a amp When the cursor is
19. In Percent allocation System Variable PercentAlloc enter a value Percent Allocation in to designate the scan time as a percentage of the total CPU time The calculated scan time is rounded up to the nearest ms When a logic program alarm delays the scan and the value entered here is exceeded a Major Faultalert occurs The system variable Watchdog Timer WatchdogTime can also be used for this seting Refer to Pro Control Editor User Manual Chapter 3 System Variables This feature is enabled only when the GLC OFFLINE mode s MODE WHEN POWER IS ON selection is set to DEFAULT When the controller is restarted after being stopped this feature will automatically prevent the Logic Disable Controller Auto Start Program from restarting The system variable DisableAutoStart can also be used for this seting Refer to Pro Control Editor User Manual Chapter 3 System Variables This seting designates if the logic programis stopped when a minor controller fault occurs The system variable FaultOnMinor can also be used for this setting Refer to Pro Control Editor User Manual Chapter 3 System Variables Stop on Minor Fault This function enables the inputs outputs to the GLC main unit and external 1 0 of the I O unit In normal operation the input output of the external I O is disabled when the GLC is set to RUN mode after performing a Logic Enable I O Program download GLC2000 Series LT Series F
20. Logic programs are the same Gi Logic programs are not the same Ge re e Variable values and comments cannot be checked V e If two programs have the same name but are located in projects with different names they will not match 37 Select the Controller menu s Property item The GLC program s property infor mation list box will appear The Property dialog box is shown below 3 Property Program size Variable memory Rung memory 0 64163840 bytes Platform GLC2300 Target scan 10 ms Watchdog timer 500 ms Disable auto start ON Stop on minor fault COM port COMI COM speed 115200 bps 3 14 Pro Control Editor Ver 5 1 Operation Manual Online Editing Pro Control Editor allows you to make online changes to a program running in the Controller and have these changes take effect immediately For the demonstrations and examples in this chapter use the Soda prw sample file located in C Program Files Pro face ProPBWin Sample All examples used here assume that the ladder colors and preferences use the system default l When switching to monitoring mode if the main unit s logic program and T the PC s program do not match Pro Control will upload the main unit s logic Important program to the PC which will overwrite the PC s current logic program data Therefore prior to using this feature be sure to always save your current PC program even if it matches the main unit
21. MalczE 2 Enter a Rung Number 3 Click OK You are now positioned at the specified rung PR Using the Go To Label Command The Go to Label command allows you to jump to a specific label in your ladder logic program E To Use the Go to Label Command 1 From the Search menu select Go TO Label The Go To Label dialog box appears Go To Label Labels Reset_Counters Cancel PEND 2 Select the label to go to 3 Click OK You are now positioned at the specified label E Summary This section has explained how to use the Find References Bookmark Go To Rung and Go To Label commands Pro Control Editor Ver 5 1 Operation Manual 2 59 Chapter 2 Creating a Program A I O Configuration When you have finished creating a ladder logic program you must assign I O to selected variables In this tutorial variables were created first and I O assigned after the ladder logic program was completed This was done in order to present the various features of the Editor in a logical order If you know what your I O will be before beginning the programing you can specify your I O first and then assign it to your variables as you create your program Both methods are demonstrated in this section A REM Assigning Variables to I O Once you have created variables in a ladder logic program there are a number of methods you can use to assign them to your I O The Ice pushbutton Large_pu
22. Warning 255 X is used by more than one timer instruction The timer variable is used by more than one timer instruction The results are indefinite You can use the References window to find the other instruction s Error 256 X is used by more than one counter instruction The Counter variable is used by more than one counter instruction The results are indefinite You can use the References window to find the other instruction s Error 257 Last instruction on rung should be an output The instruction is not an output instruction it does not change the values of its parameters Error 258 Multiple outputs are not allowed An output instruction cannot have any other instruction following it Error 259 Last instruction on branch should be an output An output instruction cannot have any other instruction following it Pro Control Editor Ver 5 1 Operation Manual 7 3 Chapter 7 Errors and Warnings Error 260 Maximum level of nesting exceeded The rung has too many levels of branches the maximum number of levels is 25 Try dividing the rung into several smaller ones Error 262 Program is too large by xx see Controller Setup Memory The program size is larger than the GLC Flash Memory Warning 263 X is used by more than one coil The variable is used by more than one coil When the ladder logic program is executed the result of the last instruction to which the variable is assigned
23. X is stored and when using a Word terminal W is stored Cis When using Flex Network units used to identify store the unit s S No Node number With a DIO Unit driver this is the module number 0 or 1 With a Uniwire driver this is the area number 1 to 15 D is Used to store identify the terminal number Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program I O Offset Enter a O for this setting Attribute Hold and Global attributes are identified stored using the following numbers Variable Attribute Retained Global DEE Retained Local Non Retained Global Non Retained Local Clear Comment Stores the comment data B Export Procedure 1 Select the variables to be exported 2 Click on the Variable List window s File Export selection Variable List Mile Ele Edit View Data Help System Discrete I iecur Real Timer Counter Select the Deere Discrete variables to i Input be exported Input Discrete Output one System variables cannot be imported or exported Ne 3 Designate the location for the CSV to be saved to File name GLC Example csv Save as type Variavle Info file csv i E Pro Control Editor Ver 5 1 Operation Manual 2 21 Chapter 2 Creating a Program 2 22 B Import Procedure 1 Click on the Variable List window s File Import selection Variable List Edt View Data Help Espri
24. B To Click and Drag Variables to I O Terminals from the Variable List Dialog Box 1 Open the Variable List dialog box The Configure I O window should still be open 2 Arrange the dialog boxes so that both can be viewed 3 From the Variable List dialog box click and drag the Cup_Present_for_Ice variable to terminal I2 in the Configure I O window 4 Release the mouse button The Cup_Present_for_Ice variable is now assigned to input terminal D ote You can also use the above procedure to assign variables to I O from the Description B List dialog box 3 Variable List File Edit View Data Help System Discrete Integer Real Timer Counter Cup Present far Ice Discrete Ice i Discrete Light Discrete Power_Off_pushbutton l Discrete Power IM pushbutton Discrete Sada valve Configure 1 0 L ION E OF 11 1 0 e li e L eA 13 e l4 e 15 e IE amp I7 00 o 02 03 6 04 05 06 7 When you assign click and drag a variable to Configure I O from the Variable List or Description List window that I O attribute is Caution enabled and any other variable attribute will be changed to Input Output Pro Control Editor Ver 5 1 Operation Manual 2 65 Chapter 2 Creating a Program Get 2 66 ote N E To Assign Variables via Text Entry 1 Click terminal I6 2 Press the Enter key The terminal
25. Change the variable s type to input Error 504 Discrete variable mapped to integer terminal The variable is marked as discrete but it is mapped to an integer terminal Change the variable s type to integer Error 505 Integer variable mapped to discrete terminal The variable is marked as an integer but it is mapped to a discrete terminal Change the variable s type to discrete Error 506 Controller variable not recognized This error occurs when the driver does not recognize the controller variable Error 507 Variable not assigned to terminal This error occurs when no variable is assigned to a terminal Error 508 Non supported GLC type selected This error occurs when selecting a GLC type that is not supported by the driver m 600 799 PID Instruction Errors Error 600 Control block variables Designate control block variables as integer arrays of 7 or more elements Error 601 PID parameters PID parameters should be of integer type m 800 899 Specific I O Driver Errors For information about errors pertaining to your I O driver refer to your I O driver s online help m 900 1000 Specific I O Driver Warnings For information about warnings pertaining to your I O driver refer to your I O driver s online help Pro Control Editor Ver 5 1 Operation Manual 7 7 Chapter 7 Errors and Warnings Memo 7 8 Pro Control Editor Ver 5 1 Operation Manual M Glossary B Array A Discrete Inte
26. For details of the fixed variable mode refer to Appendix 1 Fixed Variable Mode MAU Creating a Variable List You can add variables at any point while creating a ladder logic program For convenience create a list now of the variables you will use in the tutorial B Creating a List Please refer to the online help for detailed descriptions of the menu items 1 From the Data menu select Variable List The Variable List window is displayed Variable List File Edit View Data Help Integer Internal Integer Internal Discrete Internal Integer Internal Integer Internal Integer Internal Discrete Internal Integer Internal Discrete Internal 2 From the Edit menu select Add Variable The Variable Type dialog box will appear ariable Type Name Cup_Present_for_Ice Integer Real Toa put Le Counter 12 Output F Eae Config B f Help D ma Size rj Retentive w Global RH 3 Type Cup Present for Ice in the Name field and click the OK button For details on variable name restrictions refer to the Pro Control Editor User Manual Chapter 2 Variables 2 16 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program er Selecting Variable Types The Cup_Present_for_Ice variable is now displayed in the Variable Type dialog box The words Not Assigned are highlighted in the list be
27. Therefore when the file is uploaded from the GLC there will not be any description data Memory Usage The selections available are Normal and Variable Priority This is available only with GLC2000 Series units and provides a method of allocating memory When the variable area is given priority the space available for variable use is increased expanded while the area available fro constants labels and PT NT instructions is reduced Table shows max for each item comments not sent to GLC GLC2300 GLC2500 LT GLC2400 GLC2600 Rev Above2 Variable Priority GLC2400 GLC2600 Rev None 1 Variables 40 ia 4045 a 4408 2 une oe NT PT Instructions 8192 8192 2048 Revision I or None unit types For revision identification method see For GLC2400 GLC2600 Users 2 Maximum number of integer type variables Pro Control Editor Ver 5 1 Operation Manual 3 5 Chapter 3 Running the Ladder Logic Program Estimate of program memory required Displays the current program s memory as a percentage of the GLC unit s usable memory Estimate of variable memory required Displays the total memory of all variables currently registered as a percentage of the GLC unit s usable memory Estimate of controller memory required Displays the amount of rung usage currently used instructions and number of rungs as a percentage of the GLC unit s usable memory 3 6 Pro
28. 1 Tutorial Program Sample 2 42 Tutorial Screen Creation 5 1 5 13 Pro Control Editor Ver 5 1 Operation Manual Warnings and Errors Watchdog Timer Writing to the Controller 2 76 7 1 3 1 8 4 3 7 4 11 5 15 Memo I 4 Pro Control Editor Ver 5 1 Operation Manual
29. 160 187 3 45 150 187 3 46 mu Ja i Find j ak Cancel i Help Designate an IP address and click Add to connect to the GLC with the designated IP address When you select Ethernet Automatic Addressing in an environment where two or more LAN cards are used the desired GLC sometimes may not be searched This is because the GLC connected to the LAN card that the OS finds first is searched Select Ethernet in Transmission Settings and directly enter the IP ad dress of the GLC and transfer it Pro Control Editor Ver 5 1 Operation Manual Chapter 3 Running the Ladder Logic Program Memory The Memory tab shows the percentages of Estimate of controller memory required and Estimate of variable memory required with bar graphs Controller Setup Tuning Connection Memory 1 3 Store entire program in controller 3 Remove descriptions before writing to save memory Memory Usage Heinen ia Estimate of program size required AX Estimate of variable memory required E J Estimate of rung memory required IL 10 OK ji Cancel spe Help Store entire program in controller Transmits the entire logic program including comments Comments for the logic program can be read when reading is done from the GLC Remove descriptions before writing to save memory Reduces the size of the file you are downloading to the GLC
30. Control Editor Ver 5 1 Operation Manual Chapter 3 Running the Ladder Logic Program Smee Writing to the Controller After you have created a ladder logic program with the Editor and it is free of errors you can write it to the GLC and run it online To write a logic program to a GLC you can either Transfer the screen data and logic program via the Transfer window of the GP PRO PB III Transfer the logic program exclusively via the Editor Be sure to set up your GLC unit before writing a logic program to the GLC To set up a GLC transfer the system along with a Project File via the Transfer window of the Editor For details about transferring data refer to the GP PRO PB III Operation Manual Chapter 7 Transferring Data This section describes how to transfer a logic program using the Editor E To Write to the Controller 1 From the Controller menu select Write to Controller The following mes sage will prompt you to confirm that you want to write to the Controller Before a program is written to the Controller the Editor automatically runs a validity check A program containing errors cannot be written to the Controller White to Controller gt About to write the working copy of Untitled to the controller connected ta COM2 Please confirm 2 Click OK The Download Progress dialog box appears and displays the status of the download of data to the GLC Download P
31. Error 321 Too many variables You have attempted to assign too many variables Reduce the number of variables Error 328 Variable creation failure The variable could not be created Changing variable name to non global type Check variable properties via the variable list Error 329 Terminal not found The terminal corresponding to the I O address could not be found When import ing the variable list the terminal corresponding to the CSV file variable data s I O address did not exist Otherwise the address was incorrect m 400 499 Logic Program Pro Control Editor I O Errors and Warnings Error 400 Variable Name has already been mapped The variable is mapped to more than one I O point Refer to the Configure I O window m 500 549 Generic I O Driver Errors Error 500 WLL file damage The WLL file may be damaged or an error occurred while downloading the WLL file Error 501 Internal variable mapped to I O terminal An internal variable is mapped to the I O terminal Change the variable s type to either input or output Error 502 Input variable mapped to output terminal The variable is marked as an input but it is mapped to an output terminal Change the variable s type to output Pro Control Editor Ver 5 1 Operation Manual Chapter 7 Errors and Warnings Error 503 Output variable mapped to input terminal The variable is marked as an output but it is mapped to an input terminal
32. FILESPRO FACENPRIOFEWIN Browse OK Cancel Help Transfer lel E3 Transfer Setup View Options Help 75 55 SIS a sleet sul 2 el m Transfer Method automatic Project File atc Example prw Automatic u System Setup Automatic Description Untitled Send To sr Prepare Status Transfer Status Overall Progress M Ready EN While transferring data to the GLC do NOT use the communication port for any other NO purpose 5 14 Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB III HI Using the Pump Project E Downloading the Controller s Logic Program to the GLC 1 Start the GP PRO PBIII 2 Select Pump prw 3 Click Create Control 4 Select Write to Controller from the Controller menu The Download Progress menu will appear briefly 5 Select Monitoring Mode from the Controller menu 6 Select Start Stop from the Controller menu The Controller s screen will appear 7 Click Start Even though this tutorial does not use examples of external I O when I you wish to connect an external I O device be sure to set the Control Important ler Command menu s Command area Enable IO selection to ON See 3 2 Starting and Stopping the Controller The ladder logic program Pump prw can now be operated with the operation screens downloaded from your
33. PBIII screen by simply dragging the desired instruction from the Editor Be sure to save the logic program before dragging and dropping an important instruction 5 8 Pro Control Editor Ver 5 1 Operation Manual te NO E ote Chapter 5 Using the Editor and GP PRO PB Ill After pasting an instruction into the logic program screen any new changes that are made in GP PRO PB III will NOT be reflected in the pasted instruction ing Board GLC Example Set Edit View Option Draw Tags Parts Special I De Blatt i ela ala e E Edit Vie h Insert Data Controller Help L1 O C js as e BS Ba nn Here Keane 8 o Fl ER IEEATCSRIE wu Loe ms ane Ice pushbutton Cup Present for Ice Ice T BLC Example le Off Off Small_pushbutton MOV 1P EN ON 4000 iN OuT Fil_Timer PT 2000 Medium pushbutton MOV EN DN amp 0D0 IN QUT Fill Timer PT 2000 Av OR RRR PROACH OF eOeR 6 Fr J 02000 JL GLC2800 JL Dragging and Dropping a Part You can place a Part on a GP PRO PB III screen by pressing the CTRL key while dragging the desired instruction from the Editor
34. Rungs 6 and 7 are now identical 3 Click anywhere on rung 6 4 From the Edit menu select Paste Rungs 6 to 8 are now identical 2 48 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program ee When pasting a rung all variables and descriptions associated with that rung are also Ne pasted Be aware that you may have to edit the pasted rung The variables on rungs 7 and 8 should now be changed according to the following example Medium pushhbuttan MOV 7 IPH EN DN Off BOOO IN QUT Fill_Tirner PT 2000 Number of Mediums CTU CE Q Of r 10 Pv Cv Large pushhutton Mow 8 IP EN DN Oft sooo IN QUT Fill_Tirner PT 2000 Number_of_Larges CTU CE a OfflR 1 Pwv Cwv 5 Change the variable name of the PT instruction on the rung as shown in the example above AXI Cutting a Rung The Editor s Cut command allows you to take either a rung or a section of rungs out of one part of your program and move them to another In the following tutorial rung 4 is to be moved to the last rung of your program B To Cut a Rung 1 Click rung 4 The entire rung is selected 2 From the Edit menu select Cut The rung is now taken from the ladder logic program and placed on the clipboard 3 Click anywhere on rung 8 4 From the Edit menu select Paste Rung 4 is now appended below rung 8 The end of the program now appea
35. The logic program saved in SRAM may be lost due to a dead battery when the power supply is OFF In this case the logic program stored in the FEPROM is read at the next startup There fore be sure to back up the edited logic program with the Copy to FEPROM command in the GLC OFFLINE menu or save as a PRW file using the Editor E Copy to FEPROM Select Copy to FEPROM from the GLC OFFLINE menu Entering the OFFLINE menu causes the GLC logic program and the display function to stop afterward will start up from the initial state once again I A Lithium battery s lifetime is 10 years when the battery s ambient temperature is less than 40 C 4 1 years when the battery s ambient temperature is less than 50 C 1 5 years when the battery s ambient temperature is less than 60 C When used for backup Approximately 60 days with a fully charged battery Approximately 6 days with a half charged battery Pro Control Editor Ver 5 1 Operation Manual 4 11 Chapter 4 Online Editing m Important When an edited logic program is copied to FEPROM the system can continue opera tion by reading the logic program from FEPROM even if the logic program saved in SRAM is lost MAIN MEI R SETTING 1 R SETTING 2 R DIAGNOSIS EPROM k Driver Be sure to copy to FEPROM If Copy to FEPROM is not performed after edit ing the logic program with online edit the No Backup logic program i
36. To Insert Multiple Branches into Rung 7 1 Insert the first branch as previously described 2 Insert the next branch by clicking and dragging from the same point as the previous branch 3 Drag the cursor around the previous branch to the point on the rung where you want the branch to be inserted Pro Control Editor Ver 5 1 Operation Manual 2 35 Chapter 2 Creating a Program When the mouse button is released a new branch will be inserted over the previ ous branch In the example below instructions have been inserted on rungs 5 7 E Summary In this section you have learned how to insert and delete rungs insert and delete instructions insert and delete branches 2 36 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Z3 Assigning Variables to Instructions This exercise shows how to assign variables to instructions In 2 2 Creating Variables you created a variable list which includes some of the variables used in the tutorial ladder logic program Re open the Variable List dialog box to begin this exercise B To Open the Variable List Dialog Box 1 From the Data menu select Variable List 2 Move this dialog box to the lower left corner of your screen If the Insert Instruction dialog box is still open close it by clicking Cancel PME Instruction Parameter Box In the previous section a fi
37. Type dialog box Variable Name Variable Type VO Type Retentive Global owe Or pushbuon up_Presen for ice ce pushbutton Discrete Select arge_pushbutton Select edium_pushbutton Discrete Internal Deselect Select mal_pushbuion Discrete intemal Deselect Seed ower Off pushbutton Discrete Deselect Deselect Disce Oupu Deselect Deselect oda valve Discrete Deselect Deselect gh Disce Oupu Deselect Deselect ill Timer Timer Internal Select Deselect umber of Larges Deselect umber of Mediums eselect umber of Smalls eselect Close the Variable Type dialog box when you have finished Pro Control Editor Ver 5 1 Operation Manual 2 17 Chapter 2 Creating a Program If you typed a variable name incorrectly simply rename it using the Rename option Note in the Edit menu in the Variable List window To create variables faster in the Ng Variable List window press the INSERT key MAU Variable List Import Export The variable list can be imported or exported in the CSV file format To create or edit CSV format variable list data you can use a standard spreadsheet software like Excel B CSV File Format Selecting the Variable List menu s File Export selection outputs the following Variable List information in CSV file format F Header data Driver data jj ProductName _ Pro ContolEdtor N 0 JFiVeson 5 V CCE __ ProductVer
38. Variable List dialog box should be open If it is not open it by selecting Variable List from the Data menu 2 The Description dialog box should also be open If it is not open it by selecting Description from the Edit menu 3 Click any Instruction Parameter Box containing the Fill_Timer variable Note that not only does the Description dialog box contain the descriptor Fill_Timer but that Fill_Timer is also highlighted in the Variable List dialog box 4 Click the text field of the Description dialog box 5 Type The Fill Timer decides how long to keep the soda valve open The operating time depends on the set value 6 Click Apply se You can also add descriptions to a variable by selecting the variable in the Variable Ne List dialog box instead of selecting it from the ladder logic program E To Add a Description You will now add a description to the Power On pushbutton variable 1 Click the Power_On_pushbutton variable in the Variable List dialog box The Description dialog box now contains the descriptor Power_On_pushbutton 2 Click the text field of the Description dialog box 3 Type The Power On pushbutton starts the soft drink machine 4 Click Apply In this tutorial descriptions are added to only the Fill_Timer variable and the Power_On_Pushbutton variable Descriptions for other variables can be created by simply repeating th
39. WLL format 2 80 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program To Export Selected Part of a Logic Program 1 Select the Export Part command from the File menu Tt Logic Program Editor soda File Edit View Search Insert Data Controller Help Sam Tieg z he ME RERO T5 T5 E808 REAM 100 All rch nn LET Bun TRE Subrouine Iz Printer Setup I ce Maker Check Validity F Preferences of Exit AF4 2 START The Light remains on until the Power_Off_pushbutton is pressed The Power On pushbutton starts the soft drink machine 1x1 0 0 X1 0 6 0X1 0 0 Power_On_pushbutton Power_Off_pushbutton Light 3 1 H Vt Off Off Off OX1 DD Light 1 H of Export WLP file 2 Select the rungs to be exported and click OK Rung range J 3 Enter a file name in the Save As dialog box 4 Click Save The Logic Program is saved in WLP format To Export Subroutine in a Logic Program 1 Select the Export Subroutine command from the File menu When Subroutine is selected a list of subroutines created in the logic program is displayed Select the subroutine to be exported from the list T Logic Program Editor soda Fie Edit View Search Inset Data Controller Help
40. a Program 4 Initialization Logic Logic inserted above the START rung is called initialization logic Itis executed only once when the Controller is started Bi To Insert Initialization Logic 1 Clickthe Program Description field located above the START rung If itis not visible select Descriptions from the View menu and then select Program 2 Select Insert Rung from the shortcut menu and a rung is inserted above the START rung e In the following examples the rungs have been moved down one position i e the N rung which was previously number 2 is now rung 3 3 Right click the initialization rung rung 1 4 Select Insert Instruction from the shortcut menu 5 Select the SET instruction from the Insert Instruction window and click OK a _ _SXOi gt _ ww4 __ oe This rung is used to turn the ice machine of a soft drink dispenser ON It needs to be set only once and remains ON while the soft drink dispenser s power is ON ote If you do NOT have Append New Rungs and Instructions selected in the Prefer NO ences dialog box you must select the START rung to insert any initialization rungs These rungs will appear below the program description You have now completed rungs 3 and 4 of the ladder logic program as well as one rung of initialization logic Please complete rungs 5 7 as shown on the following page Remember that the IPI instruction is the Positive Transition PT instruction B
41. button once will automatically dispense the required amount of soft drink to a large medium small cup The ability to dispense ice or soda only if a cup is present under the dispenser The ability to count the number of cups filled by the machine since it was turned ON Examples of Completed Logic Program and Editor Screen The logic program and project file used in this lesson can be found in the Soda prw file in the C Program Files Pro face ProPB Win Sample folder Refer to this file if you have problems with the tutorials wish to search for data items or simply want to study Refer to the Editor s Online Help amp Yi Opt D DeB eee i aT lett rs CE ADOG Ga h a 6 A Ble wl amema uzxzo FE Tris program runs a typical fast food restaurant soft drink dispensing machine E T on B Ur a e Mak ice Pushbutton Esmenta s z e BERN oF mn Be 000 a i Small Pushbutton BE 004 X00000 1 the Prwe Of pushbutton is pressed ER 1 S Medium Pushbutton Pese On fustbiiion Poet OF Rustin em amp Large Pushbutton A Pats Off Of B eM amp ink ange Order 4 e lr 0 ir Z KAUCDIEFSAOHJKKLIMNRPORSTERMUYUW R
42. click OK to confirm the selection The Select Parts dialog box shows the Parts that can be used for the copied instruction When only one type of Part can be used for an instruc tion that Part will not display in this window Select Parts Number of Smalls C Pie Graph Number_of_Smalls C Half Pie Graph Humber af Small C Tank Graph Humber af Small C Meter Graph Number of Smalls Ci Numeric Display Number nf Smalls Cy Keypad Input Display Number_of_Sme Cancel Help 5 In GP PRO PB III select the Paste command from the Edit menu Bar Graph Settings B 001 CETAN General Settings Graph Settings Shape Color Alam Settings Description A Absolute i Relative word Address E Humber of Small Fr T Display Mode Data Format 3 18 Bin Bcd MlPats Wl Tags Wy Objects esee vane Ilse Chenge 0 Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB III E Copying and Pasting Parts from a Screen to a Logic Program Copy a part placed on a screen and paste it to a logic program When pasting a part select the type of instruction to which the part is converted A Prior to copying a part you are required to assign a variable GLC sym A bol to the part A part that has not been assigned a variable cannot be Important pasted into a logic program Cais Variables are registe
43. in the Pro face folder described below You can use these layout sheets for specifying the PLC registers when setting the tag addresses The layout sheets consist of two files List of Device Assignments and Tag Layout Sheet The location and name of each file is shown in the following table For directions on using Microsoft Excel refer to the manuals supplied with the software Folder Name FileName Description DevicelE xls Listof device assignments Pro face propbwin sheet A See KGTEXIS TAG3E Is TAG4E xis 29 layoutsheet Adobe Acrobat Reader is required to view the CD ROM s PDF manuals The abovementioned GP PRO PB III manuals describe the procedures for developing GP screens The steps for developing GLC LT LT screens are identical simply substitute GLC LT LT for GP As a supplement to the manuals listed above detailed explanations are available in the GP PRO PB III online help 8 Pro Control Editor Ver 5 1 Operation Manual Preface MANUAL SYMBOLS AND TERMINOLOGY This manual uses the following symbols and terminology If you have any questions about the contents of this manual please contact your local Pro face sales distributor If you have any question about your personal computer or the Windows software please contact your local distributor or manufacturer E Safety Symbols and Terms This manual uses the following symbols and terms for important information related to the
44. in this state you cannot assign the variable to any I O terminal The Light remains on until the Power Off pushbutton is pressed The Power On pushbutton starts the soft drink machine Power Off pushbuttan it Driver ID 1H Speed 6M bps Mo 1 FN708TS m L i Drivers KU Pro Control Editor Ver 5 1 Operation Manual 2 63 Chapter 2 Creating a Program 4 Drag the cursor over terminal IO and release the mouse button The Power_On_pushbutton variable is now assigned to terminal IO Configure 1 0 File Edit View Help x Network Driver ID 1 Speed 6Mbps E Close Besser FNYO08TS 3 10 ETT SD LE Off 5 01 1 0 Drivers L Gi 11 t 12 Sig Ea e e6 14 am Bi 15 f Elemans ae Bemess Fer un 1 Unmap 1 02 03 12 04 05 1 us ils 07 FI The Power On pushbutton variable NO variable on rung 3 now has a series of digits and letters above it This is the IEC I O address of that variable The Light remains on until the Power Off pushbuttan is pressed The Power On pushbutton starts the soft drink machine Power On pushbuttan Power Off pushbutton Light 3 Off Off Light 1 Off 2 64 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program
45. menu Lb Logic Program Editor soda File Edt View Search Insert Data Controller Help Says Cees Falles Im Tole ER 8 2 9 100 Insert v ui y Fa Print Ctrl P E Printer Setup N Check Yalidity Preferences Ice Maker 2 START The Light remains on until the Power Off pushbutton is pressed The Power On pushbutton starts the soft drink machine 1x1 0 0 IX1 0 6 OX1 0 0 Power On pushbuttan Power Off pushbutton Light 3 1 yl Off of of 0C 1 0 0 Light A nn Eu s Ir Import WLF file 2 Select the WLF file you want to import in the Open dialog box 3 Click Open The specified logic program is imported and the variables used in the logic program are registered to the Variable List 4 Saving the logic program will register a global variable in the Symbol Editor as a logic symbol see Operation Manual Screen Creation Guide 4 7 Symbol Editor T When the existing logic program contains variables with the same name important as Variables in the current logic program the imported logic program s variable types are changed to match those of the current logic pro gram E Summary In this section you have learned how to import and export a logic program 2 84 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program MEI Developi
46. must be entered This is data for variables allocated to I O Name Stores the variable name For variable name assignment restrictions Pro Control Editor User Manual 2 1 Variable Names Pro Control Editor Ver 5 1 Operation Manual 2 19 Chapter 2 Creating a Program 2 20 Data Type ID Variable types Discrete Integers etc are saved using the Data Type Array Size VO Type ID VO Type VO Address following ID numbers For detailed information about variable types Pro Control Editor User Manual 2 2Variable Types Variable Type This comment is related to the Data Type ID This comment is inserted when a CSV file is exported however new and other types of files do not need this Stores the Array size For detailed information about arrays Pro Control Editor User Manual 2 3 Accessing Array Variables I O types Input Output etc are saved using the following ID numbers Wem 9 This comment is related to the I O Type ID This comment is in serted when a CSV file is exported however new and other types of files do not need this I O Addresses are saved using the following format The characters below that are underlined 96 X and 1 are fixed VO Address Format AB1 C D A is Used to store the following I O terminal ID characters I O Terminal ID Character mpuTemia 1 OutputTeminal B is When using a Bit terminal
47. name FileVersion Stores the File s version 2 18 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program ProductVersion This data should not be modified CompanyName Stores the company s name LegalCopyright Digital Electronics Corporation Rightholder CSV FileVersion This data should not be modified es N dte When using a CSV data file to create a new variable list there is no need to enter NSS anything in the ProductVersion and CSV FileVersion areas Driver Data must be entered This data is about the type of unit connected to the GLC Driver Type Driver Type data is stored using one of the following ID numbers If this driver is not used enter a 0 Wem O O 55 DODer 3 Flex Network Dir Unit Offset Enter a 0 Variable Set When the variable names used in the CSV file and the import destination are the same the following codes are used to designated what processing is performed ernie 9 eee A re Qe These settings are enabled when the File gt Preferences gt Confirmation tab s Con Ny firm Controller Operations check box is not selected I O Set When the I O addresses used in the CSV file and the import destination are the same the following codes are used to designate what processing is performed Processing mm Use a message dialog box to confirm which action to perform ow z Variable Data
48. place the cursor over the icon and NSS read information that appears in the status bar Though the toolbar offers an easy way to insert frequently used instructions it does not include all instructions avail able within Editor You can also insert instructions using the following two methods Pro Control Editor Ver 5 1 Operation Manual 2 29 Chapter 2 Creating a Program E Method 2 Insert instructions from the Insert Instruction dialog box 1 Right click anywhere on rung 3 and a shortcut menu will appear 2 Select Insert Instruction The Insert Instruction dialog box appears Instruc tions belonging to the category selected in the left box are displayed in the right box For the category that each instruction belongs to refer to Pro Con trol Editor Users Manual You can also create variables in the operand area Category display Instruction list belonging to a category Insert Instruction Lo emen Apply Be Timer amp Counter Program Contral Opeland area Displays the list of allocatable vari ables from the Variable List Soda valve When checked System Variables are included in the pull down list ing a line by selecting Instruction from the Insert menu or by pressing the Ge ia e You can also bring up the Insert Instruction dialog box as well by double click INSERT key after selecting a line All instructions have b
49. test field is activated 4 Configure 1 0 Fie Edit View Help ifii 10 Power_On_pushbutton Ot e V I2 Cup Present for Ice Off e 1 e 14 3 Type Power Off pushbutton 4 Press the Enter key Power Off pushbutton is now assigned to input terminal I6 4 Configure 1 0 Ele Edit View Help ifii 0 Power_On_pushbutton Of e n I2 Cup Present for Ice Off e l3 e l4 15 ST ower Off pushbutton e 7 Q0 a 02 03 04 05 06 il 07 When variables are assigned to I O via text entry the variables will be automatically listed in the Variable List dialog box Pro Control Editor Ver 5 1 Operation Manual 1 1 0 55551 1 2 1 1 0 55551 1 2 21 1 6 Chapter 2 Creating a Program Assigning variables to output terminals is the same as assigning them to input terminals Use the above procedures to assign variables listed in the following table to the input and output terminals Variable Name Terminal Type Terminal Number Light Output oe The input and output modules are displayed in the Configure I O dialog box as follows Configure 170 File Edit View Help Fles Network Driver ID 81 Speecd 6Mbps B sod FN XY08TS O PomwerOn_pushbutton Off 51581 1 0 1 2 Cup Present far Ice Off 515851 1 2 3 5 E Power Off pushbutton 11 1 6 7 Q0 Light 6Ge41 1 0 G1 Ice 60241 1 1 2 50da valve 55 1 2 13 44 45
50. the Controller To edit and save a logic program located in the GLC unit read the program from the Controller To read a logic program from the GLC you can either Receive the screen data and logic program via the Transfer window of GP PRO PB III Receive the logic program via the Editor This section describes how to receive a logic program using the Editor For details on how to receive a logic program via the Transfer win dow in GP PRO PB III refer to the GP PRO PB III Operation Manual Chapter 7 Data Transfer B To Read from the Controller 1 Ifthe Controller is Online from the Controller menu select Go Offline F The Controller must be stopped before doing a read from controller Po en if the program contains values that are not initialized 2 From the Controller menu select Read from Controller A copy of the pro gram written to the Controller will be opened in the Editor You can now make changes to the program and or save it as a PRW file Pro Control Editor Ver 5 1 Operation Manual 3 13 Chapter 3 Running the Ladder Logic Program 3 8 Controller Verification The program currently being edited on the Editor is checked to see if it is the same as the program currently running Check results are displayed in the following dialog boxes When the programs are the same When the programs are different Verify against Controller Verify against Controller
51. the desired variable is located is not the most convenient search method You can also use the Find command but an even quicker method is to use the References dialog box in conjunction with the Variable List and or the Description List dialog box E To Use the References Dialog Box with Other Dialog Boxes 1 Open the Variable List Description List and References dialog boxes 2 Move and re size them until your screen appears as follows 3 Description List Ele Edit Help Hversion Controller version number watchdogT ime Watchdog timer setting in milliseconds Reserved for future use Reserved for future use The Fill Timer decides how long to keep the soda valve open he preset time chan The Power On pushbutton starts the soft drink machine This program runs a typical fast food restaurant soft drink dispensing machine The Light remains on until the Power Offpushbutton is pressed Ice is dispensed for as long as the push button is pressed providing a cup is present IF 3t Variable List File Edit View Data Help Al System Discrete Integer Real Timer Counter HA vgl ogicTime Integer Internal Average logie scan time fa HavascanTirme Integer Internal Average scan time in m BC jock Aima Disriete Internat References amp MOV 4000 Fill Timer PT MOV 6000 Fill Timer PT 8 MOW 8000 Fil_Timer PT 3 ONC Fil_Timer 1 TON Fill Timer
52. will be effective Error 264 NEXT instruction not found The NEXT instruction corresponding to the FOR instruction cannot be found Error 265 FOR instruction not found The FOR instruction corresponding to the NEXT instruction is not found Error 266 FOR and NEXT instructions cannot be on the rung con taining other instructions Move other instructions from a rung containing a FOR or NEXT instruction Error 267 The current platform does not support the instruction The instruction cannot be used on the selected GLC type Error 268 FOR NEXT does not exist Cannot exit the FOR NEXT loop Error 269 Rung memeory usage has exceeded Error 270 Max no of labels has been exceeded Max is 2048 Error 271 Max no of variables has been exceeded Max is 8192 Error 272 Max no of constants has been exceeded Error 273 Max no of PT NT instructions has been exceeded Max is 2048 Error 274 Max no of PID instructions has been exceeded Max is 100 m 300 399 Variable Errors and Warnings Warning 300 Variable has input or output type but no I O address assigned The variable is marked as an input or output refer to the Variable Type win dow but it is not mapped to any I O 7 4 Pro Control Editor Ver 5 1 Operation Manual Chapter 7 Errors and Warnings Error 301 Type not assigned The variable has not been assigned a variable type To assign a variable type use th
53. 69 Chapter 2 Creating a Program B CSV File Format Selecting the Variable List menu s File Export selection outputs selected Variable List information as a CSV format file _ _ Header data Driver data ProductName Pro Control Editor I FileVersion 5 Il ProductVersion 5 0 Build 24 CompanyName Digital Electronics Corporation LegalCopyright Copyright Digital Bera Cory CSV FileVersion 1 9Q Driver Type Unit Offset Variable Set I O Set 1 Power_On_push 1X1 0 0 2 Cup Present for 1 Bit 1 Input 1X1 0 2 0 3 Power Off pushl 1 Bit 1 Input 1X1 0 6 0 4 Light 1 Bit 2 Ouput 6 QX1 0 0 0 5 Ice 1 Bit 2 0uput 96 QX1 0 1 0 6 Soda valve 1 Bit 2 Output 96 QX1 0 2 0 Variable data Header Data Exported CSV file data will include Pro Control Editor s format information header data However when data is imported this data will not be reflected in the import data s project file As a result you can easily use this control related data for any use you like ProductName Stores the Project s name FileVersion Stores the File s version ProductVersion This data should not be modified CompanyName Stores the company s name LegalCopyright Digital Electronics Corporation Rightholder CSV FileVersion This data should not be modified ote When using a CSV data file to create a new variable list there is no need to enter NO anything in the ProductVersion and CSV FileVersion areas
54. After pasting an instruction into the logic program screen any new changes that are made in GP PRO PB III will NOT be reflected in the pasted instruction Pro Control Editor Ver 5 1 Operation Manual 5 9 Chapter 5 Using the Editor and GP PRO PB Ill E Address Keypad Data Entry The Editor allows you to designate a bit by adding an extension X m to an integer variable You can also designate a bit in GP PRO PB III by adding an extension X m to an imported integer variable Refer to the Pro Control Editor User Manual 2 3 Accessing Array Vari ables To designate the bit for a variable GLC symbol of a logic program click the Address Keypad s Logic button to call up the GLC Symbol Keypad Bit Switch Settings B5 01 General Settings Shape Culor Label Extend Description Operation Bit Address Activates the Address oe Keypad im Monitor Drag the title bar of the Address Keypad to the Address Keypad desired position Click here to display the drop down list of the device names Click here to close the Address Keypad Backspace key Display window Clear key Keys for hexadecimal input Displays the GLC Symbol Keypad Press the Enter key to confirm the entry Designates the bit for the GLC symbol here Displays the pull down list of GLC symbols Returns to the Ad dress Keypad Press the Enter key to confirm the entry
55. Operation Manual 3 11 Chapter 3 Running the Ladder Logic Program 3 12 EE Viewing System Variables You can view the system variables to show information about I O status scan time and controller status For details about System s variables refer to the Pro Control Editor User Manual Chapter 3 System Variables E To View System Variables 1 From the Data menu select Variable List and the Variable List window will appear All Pro Control Editor system variables variables that begin with the symbol should be displayed If they are not select System from the View menu PEUT EID File Eat View Data Help nteger Internal nteger Internal Discrete Internal nteger Internal nteger Internal nteger Internal Discrete Internal nteger Internal Discrete Internal nteger Internal Discrete Internal nteger Internal 2 From the Data menu select Data Watch List The Data Watch List window appears 3 Click and drag the system variables you wish to monitor from the Variable List window to the Data Watch List window These monitored variables display the appropriate errors ifthey occur while the logic is being scanned In the following example I O error 821 has occurred with driver one The IOFault is turned ON Data Watch List File Edit TN Help HID Status Pro Control Editor Ver 5 1 Operation Manual Chapter 3 Running the Ladder Logic Program X Reading from
56. PB III for Windows Ver 7 1 Product GLC100 Series GLC100L GLC100 LG 41 24V GLC100L GLC1005 GLC100 5C41 24V GLC1005 GLC300 Series GLC300T GLC300 T C41 24V GLC300T GLC2300 Series GLC2300L GLC2300 LG41 24V GLC2300L GLC2300T GLC2300 TC41 24V GLC2300 GLC2400 1 GLC2400Series GLC2400T GLC2400 T C41 24V ee GLC2400 1 R ev Above2 GLC2500 T C41 24V GLC2500 6LC2500 5eries GLC2500T eT e UT CAT 200 GLC2500 GLC2600 1 Rev None 1 GLC2600Seres GLC2600T c 2000 C4L 24V GLC2600 1 Rev Above2 GLC2600 T C41 200V GLC2600 LT Type Al GLC150 BG 41 XY32SK 24V LT TypeA LT TypeASeries LTC Type Al IGLC150 SC41 XY32SK 24V LTC TypeA LT Type A2 GLC150 BG 41 XY32SC 24V LT TypeA LT TypeB GLC150 BG 41 FLEX 24V LT Type B B LT TypeB LT TyoeB B bd LT Type BF GLCISC BG ALXYSKE 24V Pe Series LTC Type B GLC150 SC41 XY32KF 24V LTC T ypeB B LT TypeC Series LT TypeC LETS BG41 RSFL 24V LT TypeC es LT Type H1 Ge HYT LT TypeH GLCBESERUADTICIN BG41 ADTK 24V esse LT TypeH Series LTC Type H1 GLC150 SC41 ADPK 24V BIC SCH mm LTC TypeH ne BG 41 ADC 24V LT Type H2 men re BG41 ADPC 24V LT TypeH CED GILDEN BG 41 ADT C 24V 1 For how to distinguish Revisions refer to For GLC2400 GLC2600 Users Pro Control Editor Ver 5 1 Operation Manual 7 Preface HOW TO USE THIS MANUAL The GP PRO PB III C Package03 manuals consist of seven volumes A description of each is found in the table below Supplem
57. PREFACE Thank you for purchasing Pro face s ladder logic programing software Pro Control Editor Ver 5 1 To ensure the safe and correct use of this product be sure to read all related materials carefully and keep them nearby so that you can refer to them whenever required ee NOTICE p sen 1 The copyrights to all programs and manuals included in the Pro Control Editor Ver 5 1 software hereinafter referred to as this product are re served by Digital Electronics Corporation Digital Electronics Corporation grants the use of this product to its users as described in the Software License Agreement included with the CD ROM Any actions violating the abovementioned conditions are prohibited by both Japanese and foreign regulations 2 The contents of this manual have been thoroughly inspected However if you should find any errors or omissions in this manual contact your local sales representative 3 Regardless of the above clause Digital Electronics Corporation shall not be held responsible for any damages third party claims or losses resulting from the use of this product 4 Differences may exist between the descriptions found in this manual and the actual functioning of this software Therefore the latest information on this software is provided in the form of data files ReadMe txt files etc and or separate documents Refer to these sources as well as this manual prior to use 5 Even though the inform
58. Pasting Rungs When creating a ladder logic program you may find you have to duplicate se quences of instructions on several rungs You can save time by copying and pasting completed rungs AXI Copying a Rung In the following exercise two rungs are added between rungs 5 and 7 These additional rungs contain the same instructions as rung 6 with different variables assigned to them E To Copy a Rung 1 Click the number 6 to the left of rung 6 to select the entire rung 2 From the Edit menu select Copy GX te If you wish to select a range of rungs to be cut or copied click the number of the first N rung you wish to select Hold the SHIFT key down then select the number of the last rung you wish to select All rungs between and including the two are selected and can be cut or copied Copying is limited to approximately 25 rungs A928 Pasting a Rung The Editor pastes rung s below the current rung except when all the rungs are selected If Append new rungs and instructions is not selected in the Prefer ences dialog box the copied rung is inserted above the current rung A cut and pasted rung is loaded to the internal clipboard then copied l to the program If you select an entire rung when pasting from the clip Important board the Editor replaces the rung you have selected with the rung in your clipboard E To Paste a Rung 1 Click anywhere on rung 6 2 From the Edit menu select Paste
59. Start 3 1 Discrete Variables 43 Pro Control Editor Ver 5 1 Operation Manual Display Mode 47 Display Type 5 3 5 11 Editor Toolbar and Icons 2 25 Elements 5 11 8 3 Emergency Stop Switch 12 Enable I O 3 1 5 15 Errors and Warnings 2 76 5 15 7 1 8 3 Ethernet 3 3 6 1 Examples Copying 4 1 External Devices 5 3 5 15 Failsafe Systems 12 Fault Conditions def 8 3 FEPROM 13 4 11 Flex Network 2 62 3 7 Forced Variables 43 Foreign Regulations 1 GLC Communication Port 5 15 GLC Controller 3 1 3 3 GLC Logic Program 3 1 4 11 GLC Screen Transfer 5 15 GLCSRAM 4 11 GLC Symbols 5 11 6 1 GLC2000 Series Models 4 9 Global Variables 2 24 4 5 4 7 5 11 GP PRO PB III Manuals 8 Hexadecimal Input 5 11 8 3 VO Address 8 3 VO Configuration 2 60 2 78 VO Driver Software 3 7 I O External Device Connecting 5 15 T O Status 3 10 VO Symbols 5 1 Initialization Logic 2 35 Instruction Parameter Box 2 37 2 77 Instructions 2 25 2 53 5 5 5 9 8 3 Index Instructions to Parts Converting 5 5 Logic Program Validity Check 2 76 7 1 Integer Variables 13 5 11 8 3 Logic Program Variable List Reports 2 79 Intellectual Properties and Copyrights 1 Logic Program Warnings and Errors 2 16 2 77 International Electrotechnical Commission 8 3 Logic Program Writing to the FEPROM 4 11 Logic Program Writing to the GLC Controller 3 1 Low High Order 32 bit Device 5 11 Keyboard Compatibility 10 Memory 3 5 La
60. Timer variable Error 203 Parameter should be an Integer or Real The instruction requires either an Integer or a Real as either a variable or a constant Error 204 Parameter should be either a non constant Integer or a Real The instruction requires either an Integer or a Real variable It cannot be a constant Error 205 Parameter should be an Integer The instruction requires an Integer as either a variable or a constant Error 206 Parameter should be an Integer but not an array The instruction requires an Integer as either a variable or a constant It cannot be an array Error 207 Parameter should be a non constant Integer The instruction requires an Integer variable It cannot be a constant Error 208 Parameter should be a label The instruction requires a label name and a label with that name must exist Error 209 Parameter should be a subroutine The instruction requires a subroutine name Pro Control Editor Ver 5 1 Operation Manual 7 1 Chapter 7 Errors and Warnings Error 210 Label is out of scope The specified label exists but cannot be reached from here Error 211 Subroutine cannot call itself The Jump Subroutine instruction is attempting to call the subroutine that contains it This is not allowed Error 212 X should be the same type as Y The two parameters should be the same type for example both Integer or both Real Error 213 X should be the same size as Y The
61. Varatie Bit Input mpat integer met Output mn Pro Control Editor Ver 5 1 Operation Manual A 3 APPENDICES AS m Important m Important Note NU A 4 e For unused devices either click the button located in the lower part beside the input area with the count as 0000 or enter hyphen in the count field The count input area will be dimmed and a correspond ing device will be set as unused e If you want to change a device symbol mark enter a single alphabet character Screen Sharing Define the screen sharing device count within the range set in The device sharing set in this item is the device corresponding to Screen Sharing Vari able in the variable mode For details of the screen sharing variable refer to 2 2 Variable Type of Pro Control Editor Users Manual Latch Retainment Define the device count to latch retain within the range set in The latch retain set in this item is the device corresponding to Retainable Variable in the variable mode For details of the retainable variable refer to 2 2 Variable Type of Pro Control Editor Users Manual VO Assignment Setting You can define the symbol mark of the I O device arbitrarily Also check the checkbox in the upper right part to enable the screen sharing of the I O device If you click the Set Unit button the I O setting dialog box will appear so that you will be ab
62. able It cannot be a constant Error 232 Range exceeded The variable s value exceeds the array reference range The BMOV FMOV in struction uses the operand to designate the output operand s allocated array variable element s An element number higher than the array variable element is designated using an integer constant Be sure to designate an integer constant that is within the specified range Pro Control Editor Ver 5 1 Operation Manual Chapter 7 Errors and Warnings Error 234 should be a constant Integer Error 235 m should be larger than Error 236 Please make and into a different value Error 237 is overflow error Error 250 Duplicate labels are not allowed The same label is defined more than once This is not allowed even in different sections of the program Warning 251 Empty subroutines have no effect The subroutine contains no rungs If you do not alter the empty subroutine it will have no effect on your program Warning 252 Empty rungs have no effect The rung contains no instructions If you do not alter the empty rung it will have no effect on your program Warning 253 Empty branches have no effect The branch contains no instructions If you do not alter the empty branch it will have no effect on your program Error 254 Control instruction should be last on rung This instruction cannot have any other instruction following it
63. ables the forced variables Forces _ Listsall forced variables in the ladder logic program This function enables the inputs outputs to the GLC main unit and external I O of the I O unit In normal operations the input output of the external I O is disabled when the GLC is set Enable I O to the RUN mode after performing a Logic Program download For safety reasons this function prevents the possibility of accidental startups of machines caused by errors in operation and logic programs e When the setting is changed from Start Stop the system internally checks the status for the Enable IO setting Therefore Enable IO Important setting changes made during the Start mode will not be reflected Be sure to change the setting to Stop before changing the Enable IO setting and then return to the Start mode e Enable I O data is saved in the RAM This data is re initialized when the SRAM backup s power is turned OFF Pro Control Editor Ver 5 1 Operation Manual 3 9 Chapter 3 Running the Ladder Logic Program You can also select these items from the Controller menu s Command submenu Lues Habe en Hochs mnis een Fi fea Bacup Ara Shae Sead Fori Contacte aie bo Doedrolkes Verify egal Conca Powe 011 inset oun iM Eropa iue Eum jive EE ae Anal E ote If you click Reset all Pro Control Editor variables will be reset except retentive NO variables Use the MOV
64. ack up data for a longer period you will need to backup data to your host computer e With the GLC2400 GLC2500 and GLC2600 AUX can only be used for reset input e Online editing edits the logic program stored in the SRAM Though all the data in the SRAM may be lost during battery loss at off state backup data will be reloaded from the FEPROM Be sure to copy to FEPROM via the OFFLINE menu or back up the logic program as a PRW file using Pro Control Editor Also LT Series units cannot per form online editing e When performing online editing depending on the type of data trans fer packet control used array variables with large numbers of ele ments rungs with either large numbers of variables or large num bers of instructions may not be able to be handled processed e Due to differences in PC and GLC LT Real value accuracy the val ues displayed during Monitoring Mode may differ e When the Logic Program and screen data share the same LS area be sure to designate each Logic Symbol s LS variable LS lt gt COMPATIBILITY WITH EARLIER VERSIONS Please read the following precautions if you are currently using versions of Pro Control Editor that are earlier than Ver 3 0 Logic programs are saved in WLL format with Pro Control Editor versions earlier than 3 0 However with Ver 4 0 logic programs are included in the Project Files of the GP PRO PB III and saved in PRW format When using logic programs creat
65. am Description The first description to add to your ladder logic program is a description explain ing the program s features E To Add a Program Description 1 Double click the Program Description field at the top of the screen and the Description dialog box will appear Message Field 3 Description mie Program Text Field Program Description All Editor descriptions are entered here ote The word Program above the text field in the Description dialog box indicates that NO the text field contains a description of the program 2 Click the Program Description text 3 Type This program runs a typical fast food restaurant soft drink dispens ing machine 4 Click OK This description now appears at the very top of the ladder logic program You may need to scroll up to see it This program runs a typical fast food restaurant soft drink dispensing machine Ice Maker 1 Off is You can also add or edit a Program Description by double clicking the bottom left N panel of the status bar 2 44 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program IO Adding a Rung Description In the Editor you can add descriptions to each rung of your program In the fol lowing example a description is added to rung 5 B To Add a Rung Description 1 Right click the number to the left of rung 5 2 Select Description from the shortcut menu and the Description dial
66. apter 7 Errors and Warnings E To Run a Validity Check From the File menu select Check Validity to open the following dialog box Validity Rung Parameter should be a Discrete Rung Last instruction on rung should be an output Rung 3 Multiple outputs are not allowed Duplicate coil check Errors only The Validity dialog box lists all errors and possible trouble spots the Editor can detect in your program Trouble spots are listed as warnings In the bottom right corner of the dialog box is a checkbox marked Errors only If this checkbox is selected only the errors that the Editor detects in your pro gram are displayed the warnings are not The Editor can run a program that contains warnings in the Controller However it cannot run a program that contains errors These errors must be corrected first ote A validity check can also be performed by clicking 3 in the tool bar The Validity dialog box displays errors and warnings in the order of their appearance in your ladder logic program In other words the errors in rung 1 are presented first then those in rung 2 and so on If you double click errors or warnings in the Validity dialog box you will jump directly to the problem e If itis a logic problem that part of your program is displayed e Ifitis a problem with assigning I O the Configure I O dialog box is displayed 2 76 P
67. ar Default 500 ms If selected the Editor accepts changes only after the user clicks Apply If enabled selected the Editor requires the user s confir mation Default not selected If selected the Editor asks for confirmation for all deletions when you are creating your pro gram Default selected If selected the Editor asks you to confirm the creation of every new variable in your program This applies only to the Programming Mode environment Default selected If selected the Editor asks you to confirm any change in the Con troller operation such as Start Stop Read Write Default selected If selected the Editor asks you to confirm any undo action Default selected 2 5 Chapter 2 Creating a Program 2 6 FunctionTab If selected retentive variable values will be retained when writing to the controller Preferences Editor j Monitoring j Confirmation gt Function Clipboard w Change screen check When the Screen feature has been used to change a screen after the change is completed the Screen value will be cleared to 0 In the logic program or the PLC when a screen change is per formed via the number entered in Screen and LS 8 LS0008 PLC s Allocated Screen Change Number Device this feature allows you to check if the screen change has been completed or not OK Cancel ppl Hel
68. ation contained in and displayed by this product may be related to intangible or intellectual properties of Digital Electronics Corporation or third parties Digital Electronics Corporation shall not rrr rrr rrr eer errr errr errr warrant or grant the use of said properties to any users or other third parties 7 2004 Digital Electronics Corporation All rights reserved Digital Electronics Corporation August 2004 For information about the rights to trademarks and trade names see TRADE MARK RIGHTS Pro Control Editor Ver 5 1 Operation Manual 1 Preface TABLE OF CONTENTS rizp t ce H 1 TRADEMARK RIGHTS een ee 7 SUPPORTED MODELS use 7 HOW TO USE THIS MANUAL 220uuu42222242240nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 8 MANUAL SYMBOLS AND TERMINOLOGY eese 9 PRECALU TIONS aati cle amelie cee ci dade 11 COMPATIBILITY WITH EARLIER VERSIONS ee 13 FOR GLC2400 GLC2600 USERS zen nu 14 LI About Pro Control Editor Lure esieteiocesssesses teskis ches taro eg Ipae Rocco ortu uera 1 1 CHAPTER2 CREATING A PROGRAM no 2 1 2 2 Starting up the Editor Software e eere esee e eere e eere ee eee eee 2 14 Creating Variables ssssissssssssssssosssssscssssasosssas sssssssssssosssnssso ssa
69. bels 2 50 8 3 Memory Link SIO Type 2 15 5 3 Ladder Logic 8 3 Monitoring Mode 5 15 Lithium Batteries 4 11 E ee qus asi Logic Program Bookmarks 2 54 Navigating a Ladder Logic Program 2 54 Logic Program Branches 2 33 Non Global Variables 5 11 Logic Program Completion of 2 41 Logic Program Descriptions 2 44 eer Logic Program Display Type 5 3 Offline Mode 4 11 8 3 Logic Program Documenting 2 44 Online Editing 4 1 8 3 Logic Program Downloading to the GL 4 11 5 15 Online Help GP PRO PB III 8 Logic Program Errors and Warnings 7 1 7 6 Operation Bit Address 5 13 Logic Program Examples 2 1 Overall Progress Display 5 15 Logic Program FEPROM 4 11 Ein i ue sg BELIL Ll Logic Program I O Configuration 2 60 Parts 5 5 5 7 5 9 5 11 Logic Program Importing 2 80 Parts to Instructions Converting 5 5 Logic Program Initialization Logic 2 35 Percent Allocation 3 1 Logic Program Instructions 2 25 2 32 5 5 Power Flow 4 3 8 3 Logic Program Instructions to Parts Conversion 5 5 Precautions 12 Logic Program Labels 2 50 Preferences 2 3 Logic Program Logic Program Reports 2 78 Printing Reports 2 78 2 76 Logic Program Monitoring 5 1 Pro Control Editor and GP PRO PB III 5 1 Logic Program Multiple Branches 2 35 Pro Control Editor and Pro Server 6 1 Logic Program Navigating 2 54 Pro Control Editor Bit Switch 5 13 Logic Program Operating 5 1 Pro Control Editor Commands 3 9 Logic Program Parts 5 5 Pro Control Editor Compatible Models 7 Logic Program Parts to Instructions C
70. bols to GP PRO PB III 5 1 311 Starting Up the Editor unse ee ae 5 1 5 1 2 Pastine Instruction Pit reed 5 5 5 1 3 Screen Creation Example Pump Tutorial eene 5 12 5 2 Transferring Screens to the GLC sssecssessseesscosseccsosecooesoocesooossosccosseos 5 14 5 3 Using the Pump Project sccsissiscsosssscccsseccsscssccstevaseienssveceenseveteessvevenanees 5 15 gt Pro Control Editor Ver 5 1 Operation Manual U 0 O CHAPTER6 PRO CONTROL EDITOR AND PRO SERVER 6 1 Importing GUC Variables visssccsssssscsscscsssvoncesecesssescsveseevenencevecensseonssseseesasansis 6 1 6 1 1 To Import GLC Variables ae ae a 6 2 200 299 Logic Errors and Warnings u 0200000000000040000000000002000000000000 0000000000000 7 1 300 399 Variable Errors and Warnings eere eee eee ee eene eene eeeu eene 7 4 400 499 Logic Program Pro Control Editor I O Errors and Warnings 7 6 500 549 Generic I O Driver Errors s sssiccsisssssesesiscsnsssssstsssssssassssssssasosasteossetasisas 7 6 600 799 PID Instruction Errors oursosesnsssssssnssnnsnnssnnesnnesssssnssonsnnsennesnnennnnsnnse 7 7 800 899 Specific I O Driver Errors cssssccssssssssssssssscsssssscsssscsssesssssssscsssasess 7 7 900 1000 Specific I O Driver Warnings sscssssssssnsesssnsenssssennssnensssnsnnssnnnsnnee 7 7 CHAPTERS8 GLOSSARY APPENDICES APPENDIX 1 Fixed Variable Mod
71. contact s transition contact jas E o Negative TM Negative contact or transition contact un nn F10 Menu oM NJ To display function key shortcuts at the bottom of the Editor go to the View menu select Toolbar and click Function Display by key combination When using only the Function key s Ir Fl Contert rase To Runa Faring Nert Faring a4 Foro 4E rsnc at Four Be Fi Menu en Fre Pung 2 Off Line 0 1008 GLC2600R When combining with the Ctrl key pue ar H F2 F3 Fa F5 re FRPT OR Ye rs NT OR Hyp F amp Branch TF F F11 n Off Line I I or1008 GLOZE00R 5 Pung 2 When combining with the Shift key s Ir Fl F2 F3 Fa FSNO OR YP Fencon FRPT pf Fent Fg F10 FIT Fre Pung 2 Off Line 0 1008 GLC2600R Pro Control Editor Ver 5 1 Operation Manual 2 11 Chapter 2 Creating a Program E Exercise Overview 1 Start the GP PRO PB III C Package software See 2 1 Starting up the Editor Software 2 Select the GLC and external device you will use in the New dialog box See 2 1 Starting up the Editor Software 3 Develop a logic program a 2 12 Decide on the variables to use This section describes how to set up operations in Pro Control Editor created
72. correct and safe operation of this product Incorrect operation resulting from negligence of this instruction may cause death or serious injury Incorrect operation resulting from negligence ofthis instruction may cause personal injury or damage to equipment Failure to observe this instruction may cause abnormal operation of equipmentor data loss Instructions procedures thatmust be performed to ensure correct product use Actions procedures thatshould noT be performed E General Information Symbols and Terms This manual uses the following symbols and terms for general information Symbol Provides hints on correctuse or supplementary information Indicates related information manual name page number 1 2 etc Indicates related supplemental information Referred to in this manual as the Editor Software for editing Pro Control Editor transferring and monitoring a GLC LT unit s ladder logic program Controler C ie the GLC LT series of graphic logic controllers manufactured by the Digital Electronics Corporation Indicates peripheral devices including PLCs programmable External Communication logic controller temperature controllers and inverters Note Device thatdevices connected through F lex Network and DIO are not included Pro Control Editor Ver 5 1 Operation Manual 9 Preface B Keyboard Compatibility List The following keys may vary depending on the type of personal computer
73. d above to insert five additional rungs The screen shown below can be obtained Program Description START 7 END 8 PEND GX te You can also insert a rung by selecting Rung from the Insert menu or by click ing the Fl icon in the toolbar 2 26 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program I Deleting a Rung E To Delete a Rung 1 Select the rung you want to delete In this example click rung number 2 on the left side of rung 2 2 Press the DELETE key or right click the rung and click the Delete Rung selec tion The Delete dialog box will appear Delete S Delete rung 2 3 Click OK eu t As with other Windows applications the Editor has an Undo command From NS the Edit menu select Undo Changes to XX or click in the toolbar Pro Control Editor Ver 5 1 Operation Manual 2 27 Chapter 2 Creating a Program RE Inserting Instructions There are many ways to insert instructions into an Editor ladder logic program and assign variables to them As you create the ladder logic program in the tutorial these methods are described and used For details about Instructions refer to Pro Control Editor User Manual Chapter 4 Instructions E Selecting a Rung to Insert Instructions 1 To insert instructions on rung 2 click anywhere on the rung 2 line to select it but not on the number 2 itself The selected rung w
74. dit CSV format variable list data you can use a standard spreadsheet software like Excel You can then reuse your data and send variables allocated via the I O configura tion to another type of driver such as from a DIO unit to a Flex Network unit from a Flex Network unit to another Flex Network unit as well as others B Importing data using drivers with different numbers of terminals When corresponding terminals exist In the following example data is imported from a DIO unit 16 points 16 points to a Flex Network 64 point I O unit 32 points 32 points Here simply use the corresponding terminals to import all the variable data I O Configuration I O Configuration Origin Destination Variable 1 Variable 1 Variable 2 Variable 2 Variable 3 Variable 3 Variable 4 Variable 4 When corresponding terminals do not exist If the origin I O unit has more terminals than the destination I O unit even though the variables are all imported registered into the variable list a portion of the I O configuration data cannot be imported see figure below In this case you will need to manually re allocate these variables to I O I O Configuration I O Configuration Origin Destination Variable 1 Variable 1 Variable 2 Variable 2 Variable 3 Variable 3 Variable 4 Variable 4 Variable 5 Variable 6 Variable 7 Registered to Variable List Pro Control Editor Ver 5 1 Operation Manual 2
75. e 0 000000000000000000000000000000000000000000000000000000 A1 INDEX Pro Control Editor Ver 5 1 Operation Manual C1 Preface TRADEMARK RIGHTS The company names and product names used in this manual are the trade names trademarks including registered trademarks and service marks of their respective companies This product omits individual descriptions of each of these rights Trademark Tradename Right Holder Microsoft MS MS DOS Windows Windows 95 Windows 98 Windows Me Windows NT Windows 2000 Window XP Windows Explorer MicrosoftExcel Intel Pentium Intel U S Digital Electronics Corporation Pro face Flex Network gria es j in J apan and other countries Ethernet Western Digital U S IBM compatible IBM U S Adobe Acrobat Adobe Systems Incorporated The following terms differ from the abovementioned trade names and trademarks icrosoft Windows NT Operating System Microsoft U S Windows 2000 icrosoft Windows 2000 Operating System Windows XP icrosoft Windows XP Operating System AcrobatR eader Adobe Acrobat Reader M Microsoft Windows M e Operating System M M Pro Control Editor Ver 5 1 Operation Manual Preface SUPPORTED MODELS The following table lists the models compatible with Pro Control Editor Ver 5 1 Series names and product names are used in the descriptions contained in this manual and GP Type refers to the GP unit used with GP PRO
76. e Variable Type window Error 302 Label not found The Jump Subroutine instruction refers to a label that does not exist Error 303 Variable referenced should be either a Timer or Counter You have specified an element of a Timer or Counter variable but the variable is actually of a different type Refer to the Variable Type window Error 304 Variable s referenced should be Integer type You have used a variable to specify an array element or modifier This variable must be an Integer Refer to the Variable Type window Error 305 Array reference to non array variable You have specified an element of an array but the variable is not designated as an array Refer to the Variable Type window Error 306 Array reference is beyond size of array You have specified an element of an array using a constant that is equal to or larger than the array s size Note that the valid elements are numbered 0 to array size 1 You can change the size in the Variable Type window Error 308 Modifier reference is out of range You have specified a bit byte or word element that is out of range Error 309 Reference is invalid for the variable You have specified a timer reference for a counter variable or vice versa Warning 310 Already exists and will be replaced A variable by that name already exists The new variable will replace the original variable if you click OK in the Variable Import Status
77. e last instruction on the rung and select Insert Instruction from the shortcut menu 2 Double click the JMP instruction in the Insert Instruction dialog box The JMP instruction is inserted as the last instruction on the rung Whenever the Editor sees this instruction in your program it jumps to the designated label E Summary This section explained how to create subroutines and labels and how to insert JMP jump and JSR jump to subroutine instructions Pro Control Editor Ver 5 1 Operation Manual 2 53 Chapter 2 Creating a Program 3 Navigating a Ladder Logic Program If a logic program is large using the scroll bars to locate specific points in the program can take quite a bit of time The Editor features commands to help you find specific points in your program more quickly These commands are Find References Bookmark Go to Rung and Go to Label Using the Find Command The Find command allows you to locate specific textual references in your ladder logic E To Use the Find Command 1 If you have any windows open close them before you use the Find command 2 From the Search menu select Find The Find Text dialog box appears hk Text to find Direction fe Forward t Backward Options Li Case sensitive Li Whole words only Li Continue from top 5 cope F i rigin t Global From cursor i Selectia ally 13 Entire scope oe The Fi
78. e next match found When you have reached a point in your program where there are no more instances of the items you are trying to locate a beep sounds ote After the first Find operation you can locate subsequent occurrences of a text match N by selecting Find Next from the Search menu 2 2 Using the References Command The References command allows you to locate all occurrences of a specific variable in your ladder logic program It identifies the rung numbers and the instructions the variable appears on For this tutorial you will select the START label However the References command can be implemented from any point in your program E To Use the Reference Command 1 Click the START label 2 From the Search menu select References The References dialog box appears References Her Li Exact matches only Pro Control Editor Ver 5 1 Operation Manual 2 55 Chapter 2 Creating a Program 2 56 3 Re size and move the References dialog box to the bottom right corner of your screen 4 Click the Fill_Timer PT variable in rung 6 to open the References dialog box as follows References IT E Ea MOY 4000 Fill Timer PT MOV 6000 Fill Timer PT MO 8000 Fill Timer PT NC Fill Timer 10 TON Fill Timer MOV 4000 Fill Timer PT MOV 6000 Fill Timer PT MOV 8000 Fill Timer PT In the References dialog box display The number to the left of the line indicates the r
79. e procedure described here 2 46 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program A328 Description List Dialog Box The Description List dialog box displays brief one line descriptions of all variables and rungs in the program B To Bring up the Description List Dialog Box From the View menu select Description List E To View a Detailed Description from the Description List Dialog Box Double click the Fill Timer variable in the Description List dialog box The Description dialog box displays a detailed description of the Fill Timer variable The Variable List Description and Description List dialog boxes display changes to the selected rungs and variables in the ladder logic program However the opposite is not possible For example if a variable in the Variable List dialog box or a description from either the Description or Description List dialog box is selected the corresponding choice will not be reflected in the ladder logic The Search function of the Editor allows you to find the specific variables easily This will be explained in more detail in 2 8 Navigating a Ladder Logic Program E Summary You have learned how to add descriptions to the program to rungs and to vari ables as well as how to call up the Description List dialog box Pro Control Editor Ver 5 1 Operation Manual 2 47 Chapter 2 Creating a Program A Copying Cutting and
80. eady 188 Mona 177 4 RE j 107098 GLc2300 Pro Control Editor Ver 5 1 Operation Manual 2 1 Chapter 2 Creating a Program Soft Drink Machine me GLC2300T Unit Light Power OFF button Power ON button Cup Available for Ice sensor Hardware Design Flex Network Communication Cable GLC2300T Power ON bution Light etc Allocating I O Points The Ice pushbutton Large_pushbutton Medium_pushbutton and Small pushbutton variables are placed on the GLC screen for touch panel input and are therefore not allocated to a terminal Power ON pushbuton mu Power Of pushbuton mu Wo gt puu j5 2 2 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 2 Preference Area Settings Prior to Creating a Logic Program Prior to creating a logic program using the Editor you can designate the general settings used in order to customize your program creation operation E Designating Settings 1 Select Preferences from the File menu and the Preferences dialog box will appear Preferences Editor Monitoring Confirmation Function Clipboard w Keep window settings between sessions F Append new rungs and instructions after existing ones rather than inserting them before Li Clear logic w
81. ed Use the same data as in your PC Control Panel s data PLC Type Select Windows PC IP Address Enter the same address as used in your PC s Control Panel ProjectFile PROIPB3 CAProPBVWinidatabaseiL C2400 pr Browse Date of 100 g file String data mode ok Caneel Helpib 4 Open the Tool menu and select Import GLC symbol SAPS Pro Studio File E Edit E Tools T Programming Support Dataview Configurel Viewly Help H ICT Search Active Node Import Symbol Esport Symbol Check Provider Information Save SRAM Backup Data Transfer Network Project Computer EC Gn amp CPLI Computer PE Provider Lie Action Li Status Monitor Denie Hantar Remote Logon Remote Logoff Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement Import symbol s from GLC file L NUM 6 2 Pro Control Editor Ver 5 1 Operation Manual Chapter 6 Pro Control Editor and Pro Server 5 The following dialog box appears after GLC symbols are imported Pro Studio Gi Error 0 symbols d Registered 30 symbols V Imported GLC symbols cannot be edited Important When GLC symbols are imported be sure to transfer the network project file to the GLC unit e When addi
82. ed as a logic program in another Project File prw or vice versa You can import and export all logic programs created in the project You can also export part of a logic program using Export Part and import part of a logic program using Import Insert The following three types of logic programs can be exported e All logic programs including subroutines wll A selected part of a logic program wlp e Subroutine in a logic program wlf E To Export a Logic Program Procedures for exporting the above three types of logic programs are explained as follows To Export All Logic Programs including Subroutines 1 Select the Export All command from the File menu b Logic Program Editor soda File Edt View Search Insert Data Controller Help dere gt al Pe Ht Ht To Te o Pa elele 100 Import LI HB Part y E Subroutine P I lce Maker Print Ctrl P Printer Setup Check Yalidity Off Preferences The Light remains on until the Power Off pushbutton is pressed The Power On pushbutton starts the soft drink machine 6 X1 0 0 6181 0 6 OKX1 D D Power_Or_pushbutton Power Off pushbutton Light 1 Vi Off Off Off OX1 0 0 Light a Off 2 Enter a file name in the Save As dialog box 3 Click Save The Logic Program is saved in
83. ed as follows To Import All Logic Programs including Subroutines 1 Select the Import Update command from the File menu b Logic Program Editor soda File Edit View Search Insert Data Controller Help 4t Fo Te o PT R8 e o 1005 len Preferences Ice_Maker F 314 Off 2 START Print Ctrl P Printer Setup Check Walidity M The Light remains on until the Power Off pushbutton is pressed The Power On pushbutton starts the soft drink machine IX1 0 0 1 1 0 6 SS GIXT D O Power On pushbuttan Power Off pushbutton Light 3 1 Vt Off Off Off 3S GXT 0 D Light EI Fl El s Import WLL file 2 Select the WLL file you want to import in the Open dialog box 3 Click Open The specified logic program is imported and the variables used in the logic program are registered to the Variable List 4 Saving the logic program will register a global variable in the Symbol Editor as a logic symbol see Operation Manual Screen Creation Guide 4 7 Symbol Editor 2 82 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program To Import Selected Part of a Logic Program 1 Select the Import Insert command from the File menu
84. ed stored using the following numbers Variable Attribute Retained Global RetwinedLocal AR Non Retained Global Non Retained Local Clear Comment Stores the comment data 2 7 2 Pro Control Editor Ver 5 1 Operation Manual E Setting Procedure Chapter 2 Creating a Program In the following example a DIO unit is connected to a GLC100S and a Flex Network FN XY16SK is connected to a GLC2300 Series unit Configure 170 File Edit View Help VS 0 PowerOn_pushbutton Off a1 VS 12 Lup_Present_for_ ce e 13 e 14 e 15 V3 Ib Power Off pushbutton Off 17 5 18 13 110 1 a 12 13 e 114 IE Off 11 0 0 01 0 2 1 Click the I O Configuration window s Export button This will write the DIO driver s currently allocated variables to a CSV file Save As Save in S database d E F l File name GLC Example Save as type 1 0 Info file csv Fi K This CSV file can be edited using a standard spreadsheet software such as Excel E 2 Use the Project Manager s Create New GP Type selection to change the GLC type from GLC100S to GLC2300 see 2 1 Getting Started Pro Control Editor Ver 5 1 Operation Manual 2 73 Chapter 2 Creating a Program 3 Open the editor s I O Configuration window and select Flex Network Driver h 1 0 Drivers Available Drivers Registered with Prog
85. ed with versions earlier than 3 0 you are required to import the WLL files to PRW files See 2 12 Importing Exporting a Logic Program Pro Control Editor Ver 5 1 Operation Manual 13 Preface The revision code can be easily found using the GLCunit s rear face identification label or revision sticker In the area titled REV the code is indicated by aster isks or marked with a marker pen E How to Read the Code In the example below asterisks are placed at positions D 1 and 2 which indicates the revision version as D 2 Identification Label Revision Sticker Pro face DIGITAL ELECTRONICS CORP ABC EFGH JKLM NOPQRSTUVWXYZ 3 H iei ene dam SEK rmi REV ABC EFGHIJKLMNOPQRSTUVWXYZ 345 E Revision Categories Revision Types Meaning Rev None 1 The revision code is notused or is 1 Rev Above2 The revision code is 2 or higher 14 Pro Control Editor Ver 5 1 Operation Manual IB Pro Control Editor Fundamentals IAS About Pro Control Editor Pro Control Editor Ver 5 1 hereafter referred to as the Editor is a logic pro gramming software for use with GLC Series units This Editor contains many features such as GLC DIO unit driver GLC Flex Network I F unit driver LT Type H Series driver Ladder logic program editor Ladder logic program transfer feature Cross r
86. ed within the subroutines Subroutines are called with a Jump Subroutine JSR instruction They can be called from many places as often as needed but they cannot be called from them selves The advantage is that the code for subroutines needs to be written only once A subroutine name is required Subroutine Name A Subroutine Name consists of up to 32 letters digits and or underscores It must begin with a letter System Variables System Variables are special predefined variables that provide information about the controller s status or affect its operation They perform like ordinary variables except that they are created automatically and cannot be deleted Variable Storage locations for data values are called variables Easy to understand names are recommended to use rather than using numbered addresses A variable name is up to 20 letters digits and or underscores It cannot start with a digit Some valid examples are Power Off pushbutton ResetButton and ALARMA etc The Editor creates an appropriate type of variable automatically as soon as a new variable name is entered either in Parameter Box or the Configure I O window Watchdog Timer Detects an error if the program did not finish running up to the END rung within a certain length of time To set Watchdog Timer select Setup from the Con troller menu and enter time in millisecond in the Watchdog Timer box in the Tuning tab Word A s
87. een categorized by items shown in the left box For details of categories refer to Pro Control Editor Users Manual If you select all categories in the left box all instructions will be listed in the right box 3 Scroll through the instruction list until TON is found If you select Timer amp Counter in the left box TON Timer On Delay will appear in the right box Dk Caneel Apply Help auo Timer On Delay Bela eu e Youcan display or hide the operand area by clicking the Operand button NE 2 30 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 4 Select TON As with the Variable Type dialog box you have a choice of clicking either OK or Apply to register your selection Since you are entering other instructions in your ladder logic program in this tutorial the Insert Instruction dialog box needs to remain open To do this click Apply TON 3 IH n PT ET 5 Click rung 3 to the left of the TON instruction 6 Scroll through the list of Editor instructions until you find NO 7 Double click the NO symbol to open it TON 3 3 IN W E Method 3 Insert instructions by typing in the Insert Instruction dialog box 1 Type out in the field above the instruction list 77 Insert Instruction Ok Cancel Apply Timer amp Counter Help Program Contral Convert Special jr Function Operand
88. eference reports Monitoring feature Online Edit Function Communication via Ethernet The Editor allows you to develop logic programs compliant with the international standard IEC61131 3 in an easy to use Windows environment Logic programs created with the Editor function on the GLC unit can be used after being downloaded to the GLC The variables created with the Editor can be transferred to the screen creation software GP PRO PB III for Windows Ver 7 1 and used in conjunction with the display functions switches and lamps of the GLC I Supported by GLC2000 Series units only Pro Control Editor Ver 5 1 Operation Manual 1 1 Memo 1 2 Pro Control Editor Ver 5 1 Operation Manual Il Creating a Program This chapter provides step by step instructions on using the Editor to create a logic program in Programming mode For details on starting the Editor refer to the GP PRO PB III Op eration Manual 1 2 From Start to Finish For a detailed explanation of each part of the Editor please refer to the Pro Control Editor User Manual and Online Help 1 Before Starting the Tutorial Each lesson in this chapter describes how to use the Editor using practice ex amples called tutorials This section describes how to use the Editor to create a logic program that controls the operation of soft drink machines used in fast food restaurants These machines feature the following functions Pressing the
89. eld appeared with a flashing cursor inside it when you first inserted an instruction on a rung This is the Instruction Parameter Box where you enter the variables you want associated with the instruction Bi To Access the Instruction Parameter Box of a Basic Level Instruction 1 Double click the OUT instruction on rung 3 A text field will open above the instruction with a flashing cursor inside of it This is the Instruction Parameter Box Note The Instruction Parameter Box can also be accessed by clicking the instruction and NO pressing the ENTER key or by right clicking the instruction and selecting Edit In struction from the shortcut menu General instructions non basic level instruction have more than one Instruction Parameter Box For example a TIMER ON DELAY TON instruction has two 2 Instruction Parameter Boxes One is where you assign a variable and the other is where you enter the preset time in milliseconds E To Access the Instruction Parameter Boxes of General Instructions 1 Click the TON instruction on rung 4 The TON instruction then changes as follows ENSIS 4 Enter the variable name Enter the setting time gt Above the TON instruction a black highlighted area will appear This is where you enter the variable to be assigned to the TON instruction Next to the Preset PT element is another black highlighted area This is where you enter the preset time in milliseconds
90. ental explanations and additional or revised information about functions may be provided as data files To read the data files click the Start button point to Programs Pro face and ProPB3 C Package then click Read me to view this information For detailed information on Pro face products please refer to that product s user manual sold separately GP PRO PB Ill C Package03 Describes software Installation and basic application Setup Guide pp developmentprocedures Pro Control Editor Ver 5 1 i ware settings for combining with the i User Manual l variables and instructions Provides exercises for learning the basic functions from Operation Manual installation to operation and a listof error messages this manual Describes procedures using the variables registered bythe Pro Control Editor for use bythe GP PRO PB Ill GP PRO PB III for Windows Ver 7 1 Describes the installation operating procedures and software Operation Manual PDF i i functions ofthe GP screen creation sofware Tag Reference Manual Explains tags for specifying on screen functions ofthe GP Describes the parts and symbols provided in the software for Parts List p m p creating GP screens Device P onnection Describes procedures for connecting the GP to PLCs M anual temperature controllers and inverters of other manufacturers For your convenience after you install the screen editor software screen layout sheets can be found
91. es to Rung 2 Cut Ctrl Copy Cut Instruction Paste Ctrl Copy Instruction Delete Del Faste Instruction Select Range i Delete Instruction Edit Instruction Enter Description Cri D 2 2 32 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program E To Paste an Instruction 1 Click the location where you wish to insert the copied instruction 2 Right click the Paste Instruction or click Paste from the Edit menu 5 Pro Control Editor Power Off Button File Edi view Search Insert Data Controller Help L Ungo hae to Mung E Undo Changes to Rung Ctrlez Cut tes Topy Insert Instruction Paste Instruction Belkte Insert Rung Select Range Description Ctrl D Rename Power Off Button 3 ERES 17 ott 3 The copied instruction is now pasted inserted into the desired rung PowerOffButtan 3 1 l Off PIX Inserting Branches This section explains how you can insert a branch on rung 2 between the NO and NC instructions This branch is designed to turn the light in the soda pop machine Bi To Insert a Branch 1 Place the cursor at the point on the rung where you want the branch to begin In this case directly to the left of the NO instruction 2 Click and drag the cursor pointer to the right The cursor pointer has turned into a Q
92. esent for Ice 5 1 Off Off Small pushbutton B JF Off 4000 IN These methods are used with rungs 6 and up The application instruc A tions exclusive variables such as Fill Timer PT or Fill Timer Q Important consist of a variable name and a file extension as follows CV Current value PT Set value ol Output bit eR Reset bit see Pro Control Editor User Manual 2 2 Variable Types Pro Control Editor Ver 5 1 Operation Manual 2 41 Chapter 2 Creating a Program Tutorial Program Sample The following logic program was created from the previous tutorial exercises SodaRequest Sodav alve TON 4 IP N Q Off 2000 PT ETIO IceButton lceCupSet Ice bM 1 C Off Off Off CupButtan MO EN DN Off 4000 IN OUT SadaOrder PT NaOfsmalls CTU CE a Off R DP CVvID Small pushbutton Cup Present for Ice Fill Timer G Soda valve z F 4 Of Of Off Off Medium pushbutton cF Off Large pushbutton P Of Sada valve 1 Off B Summary In this section you have learned how to assign variables to instructions 2 42 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Hidden part of logic program When the rightmost part of the rung line cannot be displayed within the screen because the line becomes excessively long it can be continued on the following line so that the progra
93. et You cannot change the device type or attribute in the variable list dialog box the variable setting dialog box or the I O setting dialog box If you want to change this value be sure to use the fixed address setting dialog box If a the unit type of a project created using Fixed Variable mode is changed be sure to reset the Fixed Variable mode w Pro Control Editor Ver 5 1 Operation Manual A 5 APPENDICES A 6 Pro Control Editor Ver 5 1 Operation Manual 200 299 Logic Errors and Warnings 7 1 300 399 Variable Errors and Warnings 74 400 499 Logic Program Pro Control Editor I O Errors and Warning 7 6 500 549 Generic I O Driver Errors 7 6 800 899 Specific I O Driver Errors 7 1 900 1000 Specific I O Driver Warnings 7 1 Address Keypad 5 11 Arrays 4 7 5 11 8 1 Attributes Variable 4 5 Batteries Lithium 4 11 Bit Switch 5 13 Bits 5 11 8 1 Bookmarks 2 58 8 1 Branches 2 33 8 1 Clipboard 8 1 Colors Default 4 1 4 3 Communication 5 15 6 1 Compatibility Precautions 13 Configure I O Dialog Box 2 68 8 4 Constants 2 40 Continue Error Switch 4 11 Controller 3 10 5 1 8 3 Copyrights and Intellectual Properties 1 Damages or Third Party Claims 1 Data Value Dialog Box 45 Data Watch List 3 11 8 1 445 4 7 Default Colors 4 1 Description List 2 47 2 61 Descriptions 2 46 5 3 8 1 Device Assignments 8 Device PLC Connection Manual 8 Digital Electronics Corporation 1 12 2 5 Disable Controller Auto
94. ft side of each new program are three rungs labelled START END and PEND The START rung indicates the start of the main program area The END rung indicates the end of the main program area The PEND rung indicates the end of the total program area No rungs can be inserted after the PEND rung Initial Routines The rungs between START and END are executed every scan Any rungs inserted before START are initialization logic and are executed on the first scan only SIVE S el 7 Peo Fe Tei e m T mI Te w as ien uae e Ts P rogram Des Description Executed on the first scan only 2 START Subroutine Programs The rungs between END and PEND are reserved for subroutines For detailed information Programmer s Reference in the Online Help for a detailed expla nation of the START END and PEND rungs Sub routine program area Pro Control Editor Ver 5 1 Operation Manual 2 25 Chapter 2 Creating a Program E To Insert a Rung 1 Click rung number 1 on the left side of START Rung 1 is selected 2 Right click on the rung The shortcut menu is displayed 3 Select Insert Rung Or select Rung from the Insert menu A new rung is displayed as rung 2 below rung START 4 Repeat the procedure describe
95. ger or Real variable can be designated as an array This means that multiple elements of that type are allocated under a single name B Bit The basic storage element Its value may be either 1 or 0 B Bookmark An invisible marker that can be placed anywhere in your logic allowing you to instantly return to that portion of your program B Branch A parallel path of execution on a rung B Byte A storage element containing 8 bits of information A byte may be assigned values from 0 to 255 A Pro Control Editor integer is composed of 4 bytes B Clipboard A temporary storage place maintained by Windows for copying and pasting data This can be done between applications or within a single application B Data Watch List Dialog Box Shows data values as they change You can adjust the update rate in the Prefer ences dialog box B Descriptions A description can be up to 32767 single byte characters of text which describe some part of your program A summary of descriptions may be viewed with the Description List window B Discrete Point A point that can have one of two states OFF or ON B Drag and Drop Press and hold down the left mouse button move the cursor then release The cursor pointer indicates whether the release destination is valid Pro Control Editor Ver 5 1 Operation Manual 8 1 Chapter 8 Glossary of Terms B Element An element is a name for a part of rather than the whole variable This part can be an e
96. he PEND Program End label is reserved for subroutines In the following tutorial a subroutine is added B To Insert a Subroutine 1 Click the END label 2 From the Insert menu select Subroutine The Insert Subroutine dialog box appears Insert Subroutine Name E EEE 3 Type Reset Counters in the Name field of the Insert Subroutine dialog box A maximum of 32 text characters numbers or underscore characters can be used for a subroutine name Variable names cannot begin with numerical characters and cannot contain spaces See 2 2 1 Creating a Variable List Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 4 Click OK The subroutine appears between END and PEND with two new rungs labelled SUBSTARTReset_Counters and SUBENDReset_Counters 10 EN D 11 SUB STARTRecet_Counters 12 1 SUB ENOReset_Gounters 13 PEHD Now insert another subroutine between the two new rungs 5 Right click the SUBSTARTReset Counters label 6 Select Insert Rung from the shortcut menu to insert a rung between the SUBSTART and SUBEND rungs 7 Right click the rung between SUBSTART and SUBEND 8 Insert an OUT instruction in the rung 9 Insert two 2 branches around the OUT instruction 10 Insert an OUT instruction on each branch The following is the completed subroutine This routine will reset each of the Counte
97. he desired Project File Select E E Look in x database Ree Conveyor Start PRW igital Plant pre C_Example pr File name BLC _Example prw Open Files of ype windows Project Files pr Fl Cancel Description GLC Project Display Type GLC2600 Device PLC Type MEMORY LINK SIO Type Extend SIO Type none 3 Click Open to execute the command E Startup Icons of a Logic Program Create Create a logic program with the Editor Monitor Monitor a logic program VO Designate the I O configuration Variable Displays the Variable List Note The icons of a logic program are enabled only when the GLC Series LT Series units NO areset as the Display Type To select a Project File created with an earlier version of the program a WLL file you must first re allocate the previously imported WLL file Selecting the WLL file for re allocation will open the following dialog box GLC Logic Program GL Cannot find logie program in this project Please importa suitable WLL file When selectmg Cancel this project cannot be opened o please import WLL file by reselecting this project from the treeview pane again If you select WO an empty logic program will be set into this project and will initialize the GLC smbok Do you want to start import No Cm Pro Control Editor Ver 5 1 Ope
98. hen going Programming Mode Dancel j Appl Help Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Editor Tab Preferences ME Fl Keep window settings between sessions rather than inserting them before im Clear logic when going Programming Mode F Append new rungs and instruchons after existing ones Editor Monitoring Confirmation Function Clipboard 1 NN 2 Click each checkbox to select or deselect a setting The following information explains each tab s settings If selected the Instruction Parameter box is automatically opened for any new instructions inserted in your program Default selected If selected the Editor opens all windows that were open at the end of the last session Settings such as window size and position for any windows open during your editing session are retained This also applies to the Data Watch window which retains its contents when the current program runs online Default selected If selected new instructions are appended to the right of the focus Objects including rungs labels and subroutines are appended below the focus If cleared new instructions are inserted to the left of the focus Objects are inserted above the focus If the focus is on a shunt new instructions are inserted on the shunt Default selected If selected the ladder logic screen wil
99. hes should NOT be used for a device s Emergency Stop Switch Generally all industrial machin ery systems must be equipped with a mechanical manu ally operated emergency stop switch Also for other kinds of systems similar mechanical switches must be provided to ensure safe operation of those systems e When there is a risk that a GLC LT unit problem could cause a serious or fatal accident or could seriously dam age equipment please install your own backup or failsafe system e The GLC LT is NOT designed or manufactured for use in a machine or system that is to be used under circumstances where human life is at risk Therefore do NOT use this product for user safety protection or important material related damage control Do NOT tum off your PC s power switch during the performance of a program Do NOT modify the contents of this product s project files using the text editor feature Do NOT transfer screens to the GLC LT which contain features the GLC LT series unit does not support Warning A Be sure to use this application only with Administrator level access TA E Using this application with other access levels may cause an opera tion error 1 This type of system minimizes damage caused by operator errors or errors from sensors controllers Pro Control Editor Ver 5 1 Operation Manual 11 Preface E CD ROM Usage Precautions To prevent CD ROM damage or CD ROM drive malfunctions please observe the following i
100. ic i Print Preview Logic FE Page 4 close FE Page 4 close el zIX1 1 2 zIX1 1 2 1511 pushbuttc ip Present for Ic ill Timer 1511 pushbuttc ip Present for Ic E P ia E oti oti on oti oti 2diun_pushbut tc 2diun_pushbut te jP JPI oti oti arge_pushbuttc arge_pushbuttc iP iP Oti Oti XOKi i 2 XOKi i 2 ida valw ida valw ofi ofi AOEl 1 2 ill Tixer ida valv LA 081 ofi fel Pi Variable List This option allows you to print a list of the variables used in the program Click Options to select the items you wish to include in that variable list Yariable List Options jij 1 0 Address Wil Value Bil Attribute il Description Open BesWpio rz 0 Address alue but escriptions isplays any descriptions given to the variables I O Configuration This option allows you to print your I O configuration References This option allows you to print a cross reference report showing all instances of all variables e You can also print your program by clicking in the tool bar E Summary In this section you have learned how to print a ladder logic program Pro Control Editor Ver 5 1 Operation Manual 2 79 Chapter 2 Creating a Program MPAImporting Exporting a Logic Program The Editor allows you to export a logic program exclusively and save it as a Logic Program File wll The logic program file can be imported and us
101. ight Shift left no 2 amp Shift right Left rotation with carry n2 co Right rotation with carry Arithmetic shift left Arithmetic shift right DD co H t Binary conversion Radian conversion v j c AJ wy Pp gt e A ojoj N T ap eeuw nva aeaa c1 e oj o o c1 oo zB m m c1 Oo m gt MM E EN EM ECT ER E NX m WEE E EZ EA BER BEE ER EN ES KR Em E EC EE EN ES EX ES EN Pro Control Editor Ver 5 1 Operation Manual 2 9 Chapter 2 Creating a Program icon instruc Description Pe sa Suemesm amp w m RET Return subroutine ee Fi Si eo ouam RECHNEN HN cos mem m mimm ef a e meme m wm L amp 9 SCL JMP JSR d e o M 5 NO 2 10 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 4 Aiding Programming with Function Keys When creating a logic program you can invoke the frequently used functions such as Insert Instruction and Insert Rung through short cut input using the function key For the functions that can be invoked refer to the Function Key Assignment List given below Function Key Assignment List Function Combination y Grkey Shit Key Ln I e LL ae RR REN ae Cs A F6 NCconac A b contact p INCOR b contact OR UF LINE IN EK GENS PT Positive ame a PRE
102. ill then be highlighted as shown below 2 Once you have selected this rung you can insert instructions One way to do this is from the toolbar The Editor toolbar contains the icons described in the table below Click these icons to insert instructions into a selected rung CHE m wm m we EN You can customize toolbar instruction icons by clicking Display Instruction Toolbar N Settings or the JP icon to call up the Instruction Toolbar Settings dialog box See Chapter 2 3 Customizing the Toolbar 2 28 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program B Method 1 Insert instructions from the toolbar 1 Click the HE icon The following box will appear fe The instruction now appears on the selected rung Also there is a box above it with a flashing cursor inside This is the Instruction Parameter Box where you enter a variable to associate with the instruction This will be explained in more detail later in this chapter 2 Click the icon This places an output coil on the right side of rung 2 Though the Instruction Parameter Box is still flashing please ignore it for now For Variable entry information see 2 4 Assigning Variables to Instructions 2 4 3 Click rung 2 between the NO and OUT instructions 4 Click the Normally Closed NC icon rl and that symbol will appear 2S For a description of each toolbar icon s feature
103. ing Board noname Screen Edit View Option Draw Tags Parts Special Libray Window Help Cs Bolt la Q ala ri o ol Blase KX LI I DOO xat e lew SA 1 gt H B Untitledi ER RR PR OAS ARS O E eee Un Qe UP ES_001 Ice pushbutton Ice pusl F Pats J Tags J Objects 3 19 LL FE a LE 14 a Sagen Bene im Link Select Change Order X BJEFSIHJKRKKLIMNHMPARSETEIRTTUVWW zz ae Rea A Ana LINK 12 4 5 Send the screen data to the GLC2300 unit see GP PRO PB III Operation Manual Chapter 7 Data Transfer Pro Control Editor Ver 5 1 Operation Manual S Running the Ladder Logic Program Once you have developed a ladder logic program that is free of errors it can be run by the GLC Controller This chapter explains how to configure the GLC Controller send write a pro gram to it and run the program online NE Configuring the GLC Controller Before writing a ladder logic program to a GLC Controller please be sure that the controller is configured properly For a controller running on a GLC platform three setting areas can be configured Tuning Connection and Memory E To Configure the Controller From the Controller menu select Setup to call up the following screen
104. ing Projects Click Select from the Project menu on the Project Manager s window or click the Select icon Select the folder where the desired Project File is lo cated This area displays a list of the currently selected folder and the names of the ex isting Projects Select L Look in E database Plant pre Digital Rat Conveyor Start PAW C_ Example prev File name GLC_Esample pry Files of type windows Project Files pray Cancel Description GLC Project Display Type GLC2600 Device PLC Type MEMORY LINK SIO Type Extend SIO Type none This field displays the Description documented on the selected Project File and the current settings for the Display GP Type PLC Type and Ex tended SIO Type This field displays the name of the Project File selected from the list You are also allowed to specify the file by entering the desired file name Select the type of file Select MEMORY LINK SIO TYPE when no external devices such as important PLCs temperature controllers or inverters are connected Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB Ill 1 Click Select from the Project menu on the Project Manager s window or click the Select icon 2 Select the desired Project File from the list or enter the name of t
105. is written after the screen change has been confirmed via comparing if the System Data Area s currently displayed screen number is the same as the designated screen change number Not Checked Disabled When using Direct Access After the screen change has been confirmed current screen change values are retained in the Screen and LS 8 LS0008 PLC s Allocated Screen Change Number Device When using Memory Link After the screen change has been confirmed current screen change value is re tained in Screen Pro Control Editor Ver 5 1 Operation Manual Clipboard Tab Preferences Editor Monitoring j Confirmation Function Clipboard Format for variables copied to the clipboard 23 Comma delimited Use quotation marks Cancel Chapter 2 Creating a Program If selected the fields copied from the variable list of the Editor to the clipboard are separated by commas E g My_variable Discrete adescription Default not selected If selected the fields copied from the variable list of the Editor to the clipboard are separated by tabs E g My variable TAB Discrete TAB adescription Default selected If selected the fields copied from the variable list of the Editor to the clipboard are separated by a delimiter and enclosed in double quotes E g My_variable 39 66 Discrete adescription Default selected In this tutorial be su
106. key board you are using This manual uses the following symbols to indicate a personal computer s keys IBM Compatible 101 key Keyboard E Typical System Configuration This manual describes this software s operating procedures and functions based on the typical PC system configuration shown below If you use a different system configuration from this one the screen shown on your PC as well as various item names may be different In this case substitute a functionally equivalent item for the one s shown here Windows compatible PC wit Pentium processor RW Memon CHE ui ouse Windows compatibletype Windows 98 LC GLC 2300 Series V PW CBU GLC Connection Cable RS 232C Digital Electronics Corporation 10 Pro Control Editor Ver 5 1 Operation Manual Preface PRECAUTIONS E Product Usage Precautions To prevent program malfunctions or accidents be sure to observe the following e Example circuits and applications shown in this manual are for reference only Please be sure that all units and system equipment are operating correctly and safely be fore using Digital Electronics Corporation does not assume the use of this product for applications requiring extremely high degrees of reliability and safety such as with equipment or systems for transportation moving medicine aero space nuclear or for undersea data communication Do NOT use this product for these applications e Touch panel switc
107. l be cleared when going to Programming Mode from Moni toring Mode Default not selected Pro Control Editor Ver 5 1 Operation Manual Monitoring Tab Preferences Editor Monitoring Confirmation Function I Clipboard when on line update ever 500 E milliseconds OK i Cancel ppl Help Confirmation Tab Preferences Editor Monitoring Confirmation Function Clipboard Tite Iv Confirm deletions Confirm creation of variables v Confirm controller operations Iv Confirm unda actions OK i Cancel i Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program power flow is displayed while the Controller is in RUN mode The power flow highlights the display of the live energized rung a vertical line used to describe instructions in logic programs while the Controller is in RUN mode Default clear Be aware that power flow display updates can be slower than logic execution The state flow is displayed while the Controller is in RUN mode The state flow highlights the display of the live energized instruction while the Controller is in RUN mode The power flow and State flow can be displayed at the same time Default not selected Specifies how often the Editor requests new data from the Con troller to update power flow state flow data values and the status b
108. le Tym GER Ctrl fe Farce OHI Foree OFF ergy Renee Ciil Turn Global ER Variable List Eile Edit View Data Help All System li Variable Type Ctrl T Number of Larges atch Cirle hat Number af Mediu Data watch List Number of Smalls Value Chris Tia fr Chet Tuan EF ile Farse OH Foree OFF Eemose Fame fre Turn Global 4 6 Pro Control Editor Ver 5 1 Operation Manual Chapter 4 Online Editing B Changing a Variable Attribute Global Select the Data menu s Variable List The Variable List window appears Select the variable you wish to change and use the window as shown to change its attribute 34 Variable List IO Variable Type Ctrl T Watch Chie Data Watch List Number of Smalls Value Chris Tegra tH Chit Tiam EF ile Fares OH Foree OFF BemansFares Pref Tum Retentive 4 Variable List Variable Type Ctrl T Number of Larges atch Cirle hat Number af Mediu Data Watch List Number of Smalls Value Ehre Tegra EI Chit Tuan EF ile Foree OIH Foree OFF Eemose Fame theii Tum Retentive Turn Global Pro Control Editor Ver 5 1 Operation Manual 4 7 Chapter 4 Online Editing we Data Watch List E To Change the Display Mode of All Selected Variables Simultaneously Select the Data menu s Data Watch List then select a display mode in the View menu This allows you to change all of the se
109. le to set drivers e You cannot assign or release devices in the I O setting dialog box You can only set drivers For device addresses with multiple FlexNetworks connected the as signment will be started with one with smaller S No Example S No 1 WO 8 piece unit Y0000 Y0007 S No 5 Output 16 piece unit Y0008 Y0023 Special Area When using the LS or LSS areas be sure this feature is checked After checking the feature enter the number of points to use Memory Usage Ratio This indicates the memory usage ratio of programs variables and screen shar ing variables You should develop the logic program so that this usage ratio does not exceed 100 To check the amount of memory used by your program click the Memory Check button and check the usage ratio If you make a change to the program it may take a second or two for the new usage data to be displayed Pro Control Editor Ver 5 1 Operation Manual APPENDICES E Fixed Variable Mode Restrictions m Important If the setting items are outside the allowed range the fixed address setting dialog box values will revert to the minimum or maximum values For unused devices either click the button located in the lower part beside the input area with the count as 0000 or enter hyphen in the count field The count input area will be dimmed and a correspond ing device will be set as unused If you want to change a device symbol mark enter a single alphab
110. lected variables display mode to the designated display mode at the same time Data Watch List File Edi View Help AETI Eel Binary Ctrl B Decimal Ctrl D Hexadecimal Ctri H Octal Ctrl O E To Display Array Elements When creating an array via Data Watch List you can display array counter timer s values by element 1 Select the Data menu s Variable List and Data Watch List 2 Select the Data Watch List s Edit menu then select Add Elements gt Data Watch List File Edit view Help Delete Watch Del Add Watch Ins Add Elements Ctrl E Value Ctrl Tum ON Tieta Tym QE Tiie Farge DH Fuges DER Eterna Fues Force List 4 8 Pro Control Editor Ver 5 1 Operation Manual Chapter 4 Online Editing 23 2 Online Edit GLC2000 Series Models The GLC2000 Series allows you while in monitoring mode to change a logic program as it is executed In online edit six types of editing functions are available 1 Add Rungs 2 Replace Rungs 3 Delete Rungs 4 Add Labels 5 Add Subroutines 6 Add Variables Mae Editing Functions in Online Edit B Add Rungs This adds a single line ladder circuit between designated rungs Select the Insert menu s Rung command ler Han JE IE Fer pere Aee ex Palas e e o Tw wer eT Program Desert Troe 2 Fale
111. lement of a Timer or Counter variable anelement of an array apart of an Integer Error Fault Conditions There are three types Major Minor and I O A Major Fault is serious When this occurs the Controller stops executing logic immediately The editor shows the state as MAJOR FAULT To clear the condition the Controller must be reset using the Start Stop window e A Minor Fault is one that can be safely ignored e An O Fault is a failure to read or write I O in Focus A black rectangle that highlights a selection in the ladder logic program Forces Discrete points can be forced either ON or OFF This overrides any actions the logic may take For example if a variable is forced OFF but the logic is trying to turn it on it stays off A list of the forces in your program can be viewed with the Force List window GLC Controller The GLC Controller executes ladder logic and controls I O The Controller is invisible and performs the GLC unit s extended tasks The Editor monitors the controller in Monitoring Mode Hexadecimal A base 16 representation of an integer value These can be entered starting with 16 for example 16 FF is 255 IEC 61131 3 A standard developed by the International Electrotechnical Commission defining the printed and displayed representation of five control languages including Instruction List IL Ladder Logic Diagrams LD Function Block Diagrams FBD Structu
112. logic programs as well as how to create and delete variables and set the initial values See 2 2 Creating Variables Create a logic program This section describes how to create rungs how to insert instructions and branches and how to delete rungs instructions and branches associated with the rungs See 2 3 Inserting Rungs Instructions and Branches Assign variables to a logic program This section describes how to assign variables to the instructions in a logic program See 2 4 Assigning Variables to Instructions Insert descriptions This section describes how to label a logic program with descriptions The description instructions include procedures for documenting the entire program specific rungs and individual instructions See 2 5 Documenting a Ladder Logic Program Edit This section describes how to copy cut and paste rungs See 2 6 Copying Cutting and Pasting Rungs Subroutine This section describes how to insert subroutines and labels in a logic program See 2 7 Subroutines and Labels Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program g Search This section describes how to quickly search and go to the desired circuit in a logic program See 2 8 Navigating a Ladder Logic Program h Assign I O This section describes how to assign the logical variables in a logic program to the actual I O
113. low it There is no variable type assigned to Cup_Present_for_Ice Therefore it needs to be assigned as a discrete input Pro Control Editor User Manual 2 2 Variable Types E Assigning Variable Types 1 Select Discrete from the Variable Type list 2 Select Input 3 Click to deselect the Retentive checkbox Data will not be retained if the power supply is cut or the GLC unit is reset 4 Click Create Cup Present for Ice has now been assigned as a discrete input Note that the variable type change that you made to Cup Present for Ice in the Variable Type dialog box has now taken effect in the Variable List window and that the Variable Type dialog box is still open If you had clicked OK the changes would still have occurred in the Variable List window but the Variable Type dialog box would have closed The advantages of leaving these dialog boxes open becomes apparent as you begin inserting rungs and instructions as well as using the Editor s drag amp drop click and insert features Sr You can select the variable types you want to view in the Variable List window by Note selecting View then selecting the variable types you want displayed A check mark NO appears beside the selected variable types You have learned how to create a variable and assign a variable type to it Now create the list of variables shown in the following table Variables can be created directly in the Variable
114. ls and Terminology System Configuration System Variables 1 1 45 5 13 1 10 6 1 6 1 2 1 5 1 5 3 5 15 5 1 3 11 1 2 55 2 57 7 12 4 1 5 11 13 4 5 Index Validity Check Values Variable List 2 76 7 1 45 2 16 2 37 2 39 2 46 3 11 455 4 7 2 65 2 69 2 78 Variables 32 bit Device Low High Order Variables as GLC Symbols 5 11 5 7 Variables Assigning 2 17 2 37 2 38 2 60 2 67 Variables Attributes Changing Variables Bits Designating Variables Changing Variable Values Variables Creating a List Variables Descriptions Variables Discrete Variables Display Mode Variables Forced Variables GLC Variables Global Variables I O Configuration Variables Importing Variables Integer Variables Internal Variables Mapping Constants as Variables Non Global Variables Pro Control Editor Variables Restrictions Variables Retentive Variables Selecting Variable Types Variables Symbol Editor Registration Variables System Variables Values Variables Variable List Reports 2 68 5 5 5 7 45 5 11 45 2 16 2 46 43 47 43 6 1 2 24 4 7 5 11 2 60 2 69 6 1 12 5 11 8 3 2 40 5 11 4 5 5 13 5 11 12 45 2 17 5 7 3 11 84 45 2 79 Tag Layout Sheet 7 Tags 5 11 Target Scan Time 3 1 Terminology and Symbols 9 Third Party Claims or Damages 1 Trademark Rights 7 Transfer Settings Dialog Box 5 15 Troubleshooting 3 11 Tutorial Creating a Logic Program 2
115. ls other than Administrator are used Therefore be sure to use only Administrator level access EPA Going Online E To Go Online 1 From the Controller menu select Monitoring Mode and the following message will prompt you to confirm that you want to go online Monitoring Mode About to go Monitoring Mode to the controller connected to COM1 Please confirm 2 Click OK You can now start the Controller 3 8 Pro Control Editor Ver 5 1 Operation Manual Chapter 3 Running the Ladder Logic Program PB Starting and Stopping the Controller Once you are online you can start the Controller from the Editor It is at this point that your program starts solving logic As mentioned previously you must be online to the Controller before you can use either the start stop or online editing functions B To Start Stop the Controller 1 From the Controller menu select Start Stop If you are offline however this option is unavailable The Start Stop Controller window is displayed 3 Start Stop Controller Forces ErableAliferees Disable All Forces Forces are enabled from the beginning of the program and executes all logic sequentially The first scan executes any initialization logic The Stop button stops the Controller the Reset psan it is useful for troubleshooting or debugging an application leaves the O enabled Enable All Forces Enables the forced variables Disable All Forces Dis
116. m can be displayed within the screen Click on View Line Turn Back The rung line is continued on the following line so that the program can be displayed within the screen and printed Eit Pro Control Editor Soda le Edit View Search Insert Data Contioller Help Power On pushbutton Power Off pushbutton mp Descriptions JAROA 3 1 Vi y 1 0 dieses Hiele puos F off off w Forced States me iTS zoe ROXLLO QX1 1 Iota priii ox Light Setup Instruction jd I jin Power Off pushbutton Lg Ir Zoom In JA off 3 Zoom Dut e Q 95QX1 10 cS Light off No instruction or branch can be inserted in the middle of a turned back rung line that continues on the following line or vertical line 4 m Important Ge T Also when printing the logic program the rung line is continued on the following line S so that the program can be printed within the paper Pro Control Editor Ver 5 1 Operation Manual 2 43 Chapter 2 Creating a Program yam Documenting a Ladder Logic Program In the Editor you can add a description to a program how it performs to a rung how it operates and to a variable how it is used These descriptions explain to users exactly how the program and each of its elements perform and are useful when the program needs altering or if it needs debugging IO E Adding a Progr
117. m the steps used in variable mode This is because Bit or Integer variables and or I O assignment informa tion are defined in advance for each device The figure below shows the general development steps for both variable mode and fixed variable mode Starting the Editor Selecting Variable Mode Fixed Variable Mode lt Variable Mode gt Fixed Variable Mode Defining the Device Count Using the Fixed Address Setting Dialog Box 1 Creating Variables Using the Variable Setting Dialog Box Creating the Logic Program Assigning Variables Devices to the Logic Program from the Variable List Dialog Box Variable Mode Assigning Variables Devices to the Logic Program from the Fixed Variable Mode gt 2 Variable List Dialog Box Creating Screens Using GP PRO PBIII Designate the device count or attribute using the Fixed Address Setting dialog box shown on the next page 2 n fixed variable mode allocation via the I O setting dialog box is not required since the I O type has been defined in the Fixed Address Setting dialog box A 2 Pro Control Editor Ver 5 1 Operation Manual APPENDICES E Switching to Fixed Variable Mode Click on File gt Fix Val mode gt Setup to change to fixed variable mode Click Reset to return to variable mode Pro Control Editor noname Fils Edit wiew Search Insert Data Controller Help em acao Print Ctrl P E SPACE Printer Setup
118. make up your application It is so named because it looks somewhat like a ladder B Offline When Offline the Editor works with the disk file prw containing a ladder logic program This program is developed offline and then run online with the Control ler B Online The Editor monitors a program which runs live with the Controller for example Power of pushbutton or ResetButton ALARM2 B Parameter An input to or output from an instruction Parameters are entered into the Instruc tion Parameter Box B Power Flow The path that the power is taking through the ladder logic program Pro Control Editor Ver 5 1 Operation Manual 8 3 Chapter 8 Glossary of Terms 8 4 B Real Any number containing a decimal point or being represented in scientific notation The range for a real in Pro Control Editor is 2 25e 95 to 4 1 79e 95 It can have up to 15 significant digits State Flow Highlights individual instructions based on their parameters Each contact is highlighted if it is able to pass power as opposed to whether it actually gets power based on the state of its parameter Subroutine A group of rungs in a separate named area Subroutines are placed between the END and PEND Program End labels When you click Subroutine from the Insert menu both a Subroutine Start and a Subroutine End marker is created You can then insert logic between the two labels but other subroutines cannot be plac
119. must be typed since there is no window to drag them from 2 40 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program AXE Completing the Program Since you have learned how to assign variables to instructions you can now complete the remaining rungs of the program A diagram of the completed rungs follows this section see following page Notice that the MOV instruction on rung 6 and the NC instruction on rung 7 contain the variables Fill Timer PT and Fill_Timer Q respectively These variables refer to the PT and Q elements of the Timer with the Fill Timer variable assigned to it The following three procedures are available for entering these variables e Select the Instruction Parameter Box and type the Hill Timer variable in directly e Click and drag the Fill Timer variable from the Variable List dialog box and add the PT and Q extensions in the Instruction Parameter Box Drag the Instruction Parameter Box to the instruction you want to copy and enter a variable selected from the special Variable List The following are detailed instructions for this procedure 1 Select the source Instruction Parameter Box you want to copy from 2 Drag the counter and timer variables to the destination instruction you want to copy 3 Select and double click the desired parameter from the special Variable List Box Soda valve 4 pt Off Ice_pushbutton Cup Pr
120. n FEPROM warning message will be displayed at GLC startup If copying to FEPROM is not done and the logic program saved in SRAM is lost the system will execute the logic program saved in FEPROM prior to editing with online edit When data in SRAM is lost the logic program is read automatically from FEPROM However a minor error will occur in this case and with some systems there may be a problem in automatic execution using the logic program in FEPROM In such systems select to set the Continue Error Switch so that the logic program is not automatically executed B Saving via the Editor 4 12 After editing the logic program online with the Editor you can save it as a PRW file by switching to programming mode Execute the edited logic program by downloading the logic program saved in SRAM to the GLC Pro Control Editor Ver 5 1 Operation Manual SM Using the Editor and GP PRO PB III GP PRO PB III allows you to create operation screens that are linked with the parameters created by the Editor These screens allow you to operate or monitor the ladder logic program and the controller This chapter focuses on how to create operation screens for the GLC unit using the GP PRO PB III software Here a short tutorial is given that uses a ladder program to pump water from a tank sH Importing the I O Symbols to GP PRO PB Ill The followings steps explain how to import GLC parameters into GP PRO PB III AAE Starting Up the Edito
121. n GP PRO PB III Editor 4 Drag and drop the instruction from the Pro Control Editor screen to GP PRO PB III Editor When the Select Parts dialog box appears select Bit Switch then click OK D salat ETER EL DEA Glo w a ze Eai Se igs Shape Color Label IERGEEELEOPE EEE Io AVEDAEFPSOHIKKELIMNDPORS TET 399 702 Creates Bit Swatch objects mo 5 Set the Operation Bit Address to Pump then click Place The Pump Bit Switch is created in GP PRO PB III Editor 6 Next create a tank graph in GP PRO PB III Editor Click the Tank Graph icon from the toolbar or open the Parts menu and click Tank Graph 7 Select Status from the Word Address list then click Place Tank Graph Settings 5G_001 General Settings Graph Settings li Shape Color Alam Settings Description Absolute 9 Relative Word Address El jia Screen ScanTime ScanCount EE I Displey Mode RungNo Platform PercentklemCheck Browser Tags Parts Special Library Window Help oem alere o elzmelermooeexx wl TREPERE 3 rr x ES Pew I jaxa FM
122. nal discrete variable The Editor automatically assigns variable types to any new instruction variables created You can also type a variable that already exists in your variable list di rectly into an Instruction Parameter Box The variable is assigned automatically when you finished entering it If you set as Retentive the variables that have been assigned to Coil instruc tions i e OUT SET RST NEG the Coil instructions also automatically change to Retentive types i e M SM RM NM Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Rung 3 should look like this Power_Off_pushbutton Light 3 lid Vt Off Off Assign the Ice Maker variable to the SET coil on the first initialization rung This variable can be created by typing it directly into the Instruction Parameter Box After it is typed the initialization rung appears as follows Ice Maker G Off Another method of assigning variables to instructions is to simply drag the variable from the Variable List dialog box to the instruction itself This method is very convenient if there are many instructions which need to have the same variables assigned to them The advan tages of using this method are explained in 2 9 1 0 Configuration E To Assign a Variable Using the Variable List Dialog Box 1 Call up the Variable List dialog box 2 Click Light in the Variable List dialog box but d
123. nd Text dialog box can also be opened by clicking EJ in the tool bar Specifying the type of match to apply to the search e You can specify the type of match to apply to the search If you try to find the word Fill the Editor will find all instances of that word even if it is found as a lower case fill or as part of another word such as Fillet If you select Case sensitive the Editor will find Fill but not fill If you select Whole words only the Editor will find Fill but not Fillet 2 54 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Specifying the scope and direction of the search You can specify the scope and direction of the search If Selection only is selected the scope is limited to the highlighted portion of your program Selecting Global includes the entire program You can begin the search from the top of the selected scope by selecting Entire scope or from a given position by selecting From cursor This tutorial starts the search from the beginning of the program Select the START label in your program Click the Text to find field of the Field Text dialog box Type FILL Select Global Forward and From cursor YN Dn On A W Click the Find icon The focus moves to the first match found a part of the Fill Timer variable 8 Click the Find icon again The focus moves to th
124. ng a Screen Program Create the Ice Pushbutton Large Pushbutton Medium Pushbutton and Small Pushbutton with GP PRO PB III The illustration below is the completed sample screen X Drawing Board GLC Example lEIx Screen Edt View Option Draw Tags Parts Special Library Window Help S Blo tle c 88 e GUIs e KX wwii Locas ats eo UE u20x 20 T tail B1 Untitled w B d 5 amp BS 001 X00000 E u ee en BS_002 x00000 El ih mall Pushbutton 93 004 Senn ls Medium Pushbutton E amp Large Pushbutton Um rate Ejus HA Objects u E es K a E Change Order 227 E Z ws A B 4 EF G 9H JXNEL INMN P Sg RST tTWmuYyW Ready 2 rows 1 2 E To Start GP PRO PB III 1 In the Project Manager s window click Draw Screen to start up GP PRO PB III 2 Click Screen New on the Menu Bar Check that Base Screen is selected and click OK B To Draw using Drag and Drop Operations 1 Select the Ice pushbutton in the Logic Program and drag it to the Screen Editor of GP PRO PB III
125. ng or deleting the GLC variables GLC symbols in the Editor be sure to import the GLC symbols again e n the Editor all variable information is remapped to the memory every time GLC variables are added or deleted If Pro Server accesses the GLC unit using mapping information that is not up to date it may cause a unit malfunction Pro Control Editor Ver 5 1 Operation Manual 6 3 Memo Pro Control Editor Ver 5 1 Operation Manual Errors and Warnings Error or warning displays may appear in the Validity dialog box when a validity check is performed on a program These errors and warnings may be related to a problem with the program s logic variables or I O The errors are indexed nu merically with each numeral included in a specific range Each range specifies a general area for you to focus on when determining why the error or warning has occurred m 200 299 Logic Errors and Warnings For information on any of the ladder logic instruction select it in the main window and then press the F1 key or open the Help menu and select Context Error 200 Parameter should be a Discrete The instruction requires a Discrete operand This can be e a Discrete variable e an element of a Discrete array e a Discrete element of an Integer variable Error 201 Parameter should be a Counter The instruction requires a Counter variable Error 202 Parameter should be a Timer The instruction requires a
126. nsnensennenenennne 3 1 3 11 Writing to the Controller 3 7 21 2 Going Online nee 3 8 3 2 Starting and Stopping the Controller eee eere eere 3 9 3 3 Troubleshooting Using System Variables eeeeeeeeeeee 3 11 3 4 Viewing System Variables cccisiscsscsosssvcccsvecconsssscssesessesoncevecessseesceonsesvenanees 3 12 3 5 Reading from the Controller ccccssscosssssssssssssssssssssscsssscsssssssssessecs 3 13 D6 Controller Vermacation deitas mede D eS EN GERI pR EN sorsas 3 14 3 7 Prop rty ERREUR 3 14 4 1 Before Dii 4 1 4 2 Using Colors for Online Editing ecce ecce esee eere ener 0000000 4 2 4 3 Turning Discretes ON and OFF ceres eese ee eese eese esos ese so sens 4 3 4 4 Forcing Discretes ON and OFF ec eeee eee eee ee eee sese 00002000000 4 4 4 5 Changing Variable Values ssoocsesooecesosccessoccssssooesssosceessoesesoscsesssooesesso 4 5 4 6 Changing Variable Attributes ssescscsssesssccescocesocesoocssscsssocesocssooseoseessse 4 6 47 Data Watch List s sssssssssssssssssssssssesss sssosossssssssssssssosss sssssssssssssss sssssssssssssss 4 8 4 8 Online Edit GLC2000 Series Models cccsscscccsscsssssssscscecceccseees 4 8 4 8 1 Editing Functions in Online Edit aaa a 4 9 40 Savine Rc Cre 4 11 5 1 Importing the I O Sym
127. nstructions Be sure to remove the CD ROM before turning on and off your PC Do NOT remove the CD ROM disk from the CD ROM drive while the drive s operation lamp is lit Do NOT touch the CD ROM disk s recording surface Do NOT place CD ROMs in an environment where they may be exposed to extreme temperatures high humidity or dust Do NOT place floppy disks near stereo speakers TVs or magnetic therapy equipment E Product Restrictions IN m Important This product has the following restrictions GLC100 300 Series LT Series units do not support Pro Server with Pro Studio for Windows 2 Way driver software The GP PRO PB Ill software displays screen data using your per sonal computer s fonts and graphic functions Therefore there may be a slight difference between data displayed on your personal com puter and the same data displayed on the GLC LT unit GP PRO PB III functions that cannot be used with GP 370 series units such as AUX Output Inching Tags t Tag AUX Output Backup Func tion cannot be used with the GLC100 The device codes and address codes used to specify indirect ad dresses for GP PRO PB Ill E tags and K tags cannot be used with the Pro Control Editor since the Editor is not equipped with the vari ables associated with these device address codes If the GLC LT unit s logic time scan time becomes too long the sampling time designated for the trend graph may not be accurately maintained Real n
128. o Control Editor Ver 5 1 Operation Manual 2 23 Chapter 2 Creating a Program MAN Saving Your Program To ensure the safety of created data it is recommended that you save your logic program periodically E To Save the Program Select Save from the File menu in the Editor screen You can also save your program by clicking on the toolbar or by pressing the CTRL S keys ot ote When a logic program is saved global variables created with the Editor are auto w matically registered to the Symbol Editor as GLC symbols and can be used in con junction with the display function of GP PRO PB III see GP PRO PB III Operation Manual Screen Creation Guide 4 7 Symbol Editor E Summary In this section you have learned how to e create variables and use dialog boxes associated with the variables e determine variable types Export Import variable lists save a program 2 24 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program I3 Inserting Rungs Instructions and Branches The first step in creating a ladder logic program is to insert a rung The screen initially shows a blank program as illustrated below The completed sample of the tutorial program used in this lesson is located in the Soda prw file in the C ProgramFiles Pro face ProPB Win Sample folder Program Description 1I TART 2 END 3 PEND AE Inserting a Rung Create a new logic program On the le
129. o not release the mouse button 3 With the mouse button still pressed drag Light to the NO instruction located on the branch on rung 3 As when inserting branches note that your cursor initially becomes a amp When the cursor is in this state you cannot assign the variable to any instruction When you reach the NO instruction your cursor will change to a mark Power Off pushbutton Light 3 1 il Oft Off 41 Eile Edit Eu Dats Help Al Syste Discrete Integer Real Timer Counter Discrete Input Discrete Qutput eset_Counters lt lt Power Off pushbutton Discrete Input Fower_ON_pushbuttar Discrete Input Soda_valve Discrete Output Ice 5 The variable is then assigned when the cursor is released As long as the cursor appears as a 7 you can assign the variable to an instruction Pro Control Editor Ver 5 1 Operation Manual 2 39 Chapter 2 Creating a Program 4 Click and then drag the Power_On_pushbutton variable to the other NO instruction on rung 3 Rung 3 should now appear as follows Power On pushbutton Power Off pushbutton Light 3 Q Off Off Off Light E Off ER When you drag the variable over the instruction the cursor s SQ symbol changes to Note an arrow Dropping the variable will map the variable to the instruction NO Constants can be mapped as variables The input method is the same as that used for normal variables However constants
130. og box that you opened previously opens However the descriptor above the text field now says Rung 5 instead of Program GX ie You can also open the Description dialog box by selecting Description from the x Edit menu or by clicking in the toolbar Rung 5 controls the ice dispenser 3 Click the text field of the Description dialog box 4 Type Ice is dispensed for as long as the pushbutton is pressed providing a cup is present 5 Click Apply Ice is dispensed for as long as the push button is pressed providing a cup is present Ice_pushbutton Cup_Fresent_for_lce Ice SI 1mm H al Off Off Off To add descriptions to the remaining rungs of your program easily keep the Description dialog box open E To Add a Description to Rung 3 1 Click anywhere on rung 3 outside of the Instruction Parameter Boxes The descriptor at the top of the Description dialog box now says Rung 3 2 Click the text field 3 Type The Light remains on until the Power Off Pushbutton is pressed 4 Click Apply In this tutorial only the comments for rungs 3 and 5 are ex plained Pro Control Editor Ver 5 1 Operation Manual 2 45 Chapter 2 Creating a Program me Adding Descriptions to Variables Descriptions can also be added to each of the variables in your ladder logic pro gram You cannot however add descriptions to labels or constants E To Add a Description to a Variable 1 The
131. ons Parts convert to the following types of Instructions GP PRO PBIII for Windows Parts Pro Control Editor Instruction NO a Contact NC b Contact PT Start Up Bit T oggle Switch i cM Contact NT Start Down Contact NO a Contact NC b Contact PT Start Up OUT M Out Coil Contact NT Start Down Contact OUT M Out Coil NEG NM Reverse Coil SET SM Set Coil RST RM Reset Coil CTU Up Counter CTD Down Counter CTUD NEG NM Reverse Coil Up Counter Down Counter Updown Counter TON On DelayTi TOF Off DelayTi TP SET SM Set Coil ON On Delay Timer TOF Off Delay Timer Pulse Timer 5 4 Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB III E Pasting Logic Program Instructions on a Screen Copy a logic program instruction and paste it on a screen When pasting an in struction select the type of parts to which the instruction is converted Xu e Prior to copying an instruction you are required to assign a variable l to the instruction An instruction that has not been assigned a vari Important able cannot be pasted on a screen e Be sure to save the logic program before pasting an instruction t e When the instruction is modified via the Editor after pasting the instruction on the GP PRO PB III screen the change will not be reflected in the GP PRO PB III screen s instruction i 1 Select the desired instruction
132. onversion 5 5 Pro Control Editor Creating a New Project 5 1 Logic Program Preparation and Creation 2 1 Pro Control Editor Data Value Dialog Box 4 5 Logic Program Printing 2 78 Pro Control Editor Data Watch List 4 5 Logic Program Reading from FEPROM 4 11 Pro Control Editor Default Colors 4 1 Logic Program Restoring 4 11 Pro Control Editor Features 1 1 Logic Program Rungs 2 25 2 48 Pro Control Editor Instructions 5 5 Logic Program Running Online 3 1 Pro Control Editor Manuals 8 Logic Program Saving 2 24 4 11 5 7 5 9 Pro Control Editor Online Editing 3 7 4 1 Logic Program Searching 2 54 2 58 Pro Control Editor Property Menu 3 12 Logic Program Startup Icons 5 3 Pro Control Editor Reading from the Controller 3 11 Logic Program Subroutines 2 50 2 53 Pro Control Editor Saving the Logic Program 4 11 Logic Program Tutorial 2 1 5 1 Pro Control Editor Setting Variables 45 I 2 Pro Control Editor Ver 5 1 Operation Manual Pro Control Editor Variables Pro face Pro Server Pro Studio Programming Mode Project Files Project Manager Ro Reading from the Controller ReadMe Files References Command and Dialog Box Registered Trademarks Restrictions Retentive Variables Safety Symbols and Terms Scan Time Screen Layout Sheets Screen Program Developing Searching a Logic Program Select Parts Dialog Box Setup Guide Software License Agreement SRAM Starting Stopping the Controller Stop on Minor Fault Subroutines Symbol Editor Symbo
133. or other data handling instructions if any values need special initialization 3 10 Pro Control Editor Ver 5 1 Operation Manual Chapter 3 Running the Ladder Logic Program SS Troubleshooting Using System Variables System variables can be used to help troubleshoot for an application if it does not perform as expected The system variables most useful for detecting problems with either the Controller or the I O are FaultCode FaultRung IOFault IOStatus and ScanCount FaultCode identifies the most recent fault condition Itis reset FaultCode to 0 when the first scan operates after the Controller has started FaultRung FaultRung detects the rung number which has a fault lOFaultis a discrete variable that is turned ON when a fault is detected in your I O system ni lOStatus is an array which displays I O specific errors These errors are indexed with a numeric code This code differs from driver to driver For a detailed explanation of the error see the driver s Help system An error is displayed in 10 Status only if IOFault has been turned ON ScanCount indicates the number of scans the Controller has executed since it was last started When monitored this ScanCount T variable should constantly be increasing If it is not the Controller is not running For details about system variables refer to the Pro Control Editor User Manual Chapter 3 System Variables Pro Control Editor Ver 5 1
134. or safety reasons this function prevents the possibility of accidental startups of machines caused by errors in operation and logic programs GX ie For details on Target Scan Time and Percent Allocation refer to the Pro Control N Editor User Manual Chapter 1 Controller Features For details on the system variables refer to the Pro Control Editor User Manual Chapter 3 System Variables The Enable I O feature can be selected when starting and stopping the control ler For details see 3 2 Starting and Stopping the Controller l To set up the MODE WHEN POWER IS ON select PLC Setup then Controller and Setup If Start Stop is selected in the Controller menu the settings of the Pro Control Editor are ignored while the offline settings are prioritized 3 2 Pro Control Editor Ver 5 1 Operation Manual Connection Chapter 3 Running the Ladder Logic Program Click the Connection tab Controller Setup Tuning Connection Memon wm selling con Port codi Pe IUD 415 2kbps 12 Eihemek Speed BPS 775200 pe GLCTO0 does nat support IP Address Port 8000 2 Ethemet Find whem connecting OK f cm meh Help Same connection settings When this checkbox is selected the settings designated with the Transfer Transfer Settings in GP PRO PB III become active COM Designa
135. owered 3 EJ pixels when modified On Line 3 EJ pixels le of Lines 2 Selectthe Element and the Color you want associated with that element then click Apply 4 2 Pro Control Editor Ver 5 1 Operation Manual Chapter 4 Online Editing Ke Turning Discretes ON and OFF Discrete variables can be turned ON or OFF manually while the logic is running A discrete that has been turned ON is not the same as a discrete that has been forced ON since its state can be affected by the program while it is scanned E To Turn a Discrete ON or OFF 1 Right click the Light variable assigned to the output coil on rung 2 2 Select Turn ON from the shortcut menu The Light variable turns ON and the power flow indicates that power is flowing through the rung Pewer Or puahbutten Power _Off_puahbutten Light Off Off On 3 Right click the Light variable assigned to the output coil on rung 2 4 Select Turn OFF from the shortcut menu The Light variable now turns OFF and the power flow disappears indicating that power no longer flows through the rung Sr Power flow is not displayed in your logic if the Power Flow check box is not Note selected in the Monitoring section of the Preferences dialog box See 2 1 1 Preference Area Settings Prior to Creating a Logic Program Pro Control Editor Ver 5 1 Operation Manual 4 3 Chapter 4 Online Editing ws Forcing Discre
136. p Retain all retentive variables and downloa default disabled When writing data to the controller retentive variable values can be retained Also when transferring data from GP PRO PBIII this item is enabled Even though the Check dialog box will not appear if the variables are not designated as retained a confirma tion dialog box will appear asking if you wish tocontinue with the transfer or to cancel Checked enabled All retentive variable values are retained If the Confirmation tab s Confirm control ler operations is not selected no confirmation message dialog box will be displayed Not checked disabled All retentive variable values are initialized set to 0 when data is written tothe controller Change Screen Check default enabled This feature allows you to set whether the completion of a screen change is confirmed when using the logic program or the PLC s Screen and LS 8 LS0008 PLC s Allocated Screen Change Number Device to change screens via a set screen change number Checked Enabled When using Direct Access Zeroes 0 are written to Screen and LS 8 LS0008 PLC s Allocated Screen Change Number Device after the screen change has been confirmed via comparing if the System Data Area s currently displayed screen number is the same as the designated screen change number When using Memory Link A 0
137. personal computer See Chapter 3 Running the Ladder Logic Program E Check the Project The GP PRO PB III project has been correctly designed and downloaded if it performs as follows 1 Touch the GLC screen s ON button and the fluid level displayed by the bar graph on the screen should drop as the pump empties the tank 2 Touch the GLC screen s OFF button and the fluid level should rise because the pump is no longer emptying the tank If the project does not operate as explained above you will need to repeat the project creation procedure B Summary This chapter has explained how to Open the project manager Create the GP PRO PB III project linked with the controller mport Editor ladder logic program variables to a GP PRO PBIII project Associate the Editor s variables with GP PRO PBIII screen creation objects such as Parts and Tags Download and then run a combined GP PRO PBIIVEditor application on a GLC Pro Control Editor Ver 5 1 Operation Manual 5 15 Memo 5 16 Pro Control Editor Ver 5 1 Operation Manual IM Pro Control Editor and Pro Server When Pro Server is used GLC variable read write and 2 way functions commu nication action functions etc can be executed via the Ethernet This Chapter explains how to use GLC variables with Pro Server For details on Pro Server see the Operation Manual for Pro Server with Pro Studio for Windows This section explains how to impo
138. ppears 2 Click the Number of Smalls variable in the ladder logic The Data Value dialog box appears Data Value Value of ITE pn T e Change to Apply Format Decimal Fl Help 3 Select the 0 in the Change to field then type 5 4 Click Apply The value of Number of Smalls is now 5 You can change other values or close the Data Value dialog box by clicking Close ote You can enter data values in Decimal Hexadecimal Octal or Binary number for NU mat Simply select one from the Format list e Use the Variable List or Data Watch List in conjunction with the Data Value dialog box to quickly find and set Pro Control Editor variables Pro Control Editor Ver 5 1 Operation Manual 4 5 Chapter 4 Online Editing 23 8 Changing Variable Attributes You can use the Data menu to change the variable attributes Retentive Global This menu is enabled only when you are in the programming mode B Changing a Variable Attribute Retentive Select the Data menu s Variable List The Variable List window appears Select the variable you wish to change and use the window as shown to change its attribute The system variable s retentive attribute cannot be changed File Edit View Data Help All System li Variable Type Ctrl T Number of Larges Watch Ctrl Number of Mediu Data Watch List Value trie Tipo tH Er
139. r 1 Click the Windows Start button point to Programs Pro face and ProPB3 C Package then click Project Manager 2 The Project Manager screen appears E To Create a New Project 1 In the Project Manager screen select New from the Project menu or click New The New dialog box appears 2 Designate the settings for Description Display GP Type PLC Type and Extended SIO Type and then press OK to enter the settings Description Sof Drink Server K PGP Type Cancel a a aLc2300 pSerial Extend SIO Serial I F Switch No ves p Device PLC Type Sereil F DIGITAL Electronics Corp Fl MEMORY LINK SIO T ype F p Extend SIO Type EXT Serail I F Pro Control Editor Ver 5 1 Operation Manual 5 1 Chapter 5 Using the Editor and GP PRO PB Ill 3 A window appears asking whether you will create a Logic Program or a Screen Edit Logic Program Starts up the Editor Edit Screen Starts up the Screen Editor Cancel Returns to the Project Manager te B When you attempt to create or select a different Project File after creating a new Project File a confirmation window appears asking if you want to save the file Click Yes to display the Save As dialog box on the screen click No to close the screen without saving the file Bi Select Exist
140. ram Flex Network Driver Sl tee Ee nemine Close Help apasi 4 Here select S No 1 FN XY16SK and click the Import button Next select the previously saved CSV file and click on Open Look in amp j database LC Example cav File name GLC Example csv Files of type 10 Info file csv I Cancel af 5 The CSV file s variables will be read in and allocated automatically to the Flex Network Configure 1 0 it View Help lex Network Driver ID 41 S peed 6M bps fj 5e1 FN XY185K Hi I0 Power On pushbutton Off 11 1 0 Mi Mi 12 Cup_Present_for_lce Dif 1 1 1 2 HB 13 HB 14 HB I5 HB IE Fower_Dff_pushbutton Off 4181 1 ia m menare Map Unmap i I Do not import an exported Variable List s CSV file to the O Configuration Important 2 74 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program E Summary In this lesson you learned Exporting an I O Configuration s CSV file Moving variable data from a DIO unit to a Flex Network unit Allocating Variable I O Pro Control Editor Ver 5 1 Operation Manual 2 75 Chapter 2 Creating a Program RA Checking the Validity of a Program Before running an Editor ladder logic program online use a validity check to make sure the program is free of errors For details about errors see Ch
141. ration Manual 5 3 Chapter 5 Using the Editor and GP PRO PB Ill mM Pasting Instruction Data First save the logic program you created earlier in order to assign vari ables to the addresses of parts and tags used for screen creation The variables are imported to GP PRO PB III by saving the program You can place parts that correspond to the instructions by copying the desired instructions in the logic program created with the Editor and pasting them to the Screen Editor You can also insert the instructions that correspond to the parts by copying the parts placed on the screen and pasting them into the logic program E Converting Instruction and Part Data Each instruction corresponds with one or more Parts Converting Instructions to Parts Instructions convert to the following types of Parts Pro Control Editor Instruction GP PRO PBIII for Windows Parts O a Contact Bit Switch C b Contact Bit Switch T SatUp Coniac T Start Down Contact TIM Out Coil EGINM Reverse Col ET SM Set Coil La ST RM Reset Coil Lamp TU Up Counter Numeric Display Graph Keypad Input Display TD Down Counter Numeric Display Graph Keypad Input Display TUD Up Down Counter Numeric Display Graph Keypad Input Display ON On Delay Timer Keypad Input Display OF Off Delay Timer Keypad Input Display P Pulse Timer Keypad Input Display i o S O fe 4 4 Converting Parts to Instructi
142. re to use the default settings Click Cancel to close the Preferences dialog box and preserve the default settings Pro Control Editor Ver 5 1 Operation Manual 2 7 Chapter 2 Creating a Program 2 8 3 Customizing the Toolbar Prior to creating a logic program you can customize your Toolbar to display those icons you frequently use As shown below click on the Display Instruction Toolbar Settings to call up the Instruction Toolbar Settings dialog box and select the desired icons Pro Control Editor GLC Example File Edit View Search Insert Data Controller Help amp v 3 2 Ga es el foo F at gt TAME sr H Hafo perte ee Program Comment 1 START Cancel Default Help e You can also use the Toolbar s J icon to call up the Instruction Toolbar NO Settings dialog box Instruction Icon List No ion f instruc Descripton 9m Ho p wm Bm Sm 3 9 sme O DICH W me 1 9 o we Q9 e Wem 8 s wwa v OM Pose arme 5 M N Amann Tannen s m Wb wooo 3 Be OW aeon ogean 55 a6 OR ono xw 0 mW E EA ww a Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Imstrc Descipio Rotate left Po n5 Rotate r
143. red Text ST Sequential Function Charts SFC The smallest component in a rung which instructs the Editor Controller to perform a specific function such as Discrete Bit operand Data control Operand Timer Counter and Program control instructions Instructions in the Editor are based on the IEC 61131 3 specification Pro Control Editor Ver 5 1 Operation Manual Chapter 8 Glossary of Terms B Instruction The smallest component in a rung which instructs the Editor Controller to perform a specific function such as Discrete Bit operand Data control Operand Timer Counter and Program control instructions Instructions in the Editor are based on the IEC 61131 3 specification B Integer A storage element containing 32 bits of information An integer may be assigned values ranging form 2147483648 to 2147483647 16 00000000 to 16 FFFFFFFF in hexadecimal Integers cannot contain decimal points B Internal Variable A variable that is not mapped to an I O point B I O Input Output The Editor Controller connects to physical real world devices through I O hardware supplied by third parties B I O Address An address assigned to a variable when it is mapped to an I O device The format of an I O address depends on the driver it is mapped to B Label Name A name containing up to 32 characters that identify or label a position within the ladder logic It cannot start with a digit B Ladder Logic The collection of rungs that
144. red drivers 2 Select Flex Network Driver in the Available Drivers section of the I O Drivers dialog box 3 Click 4dd2 gt or double click the driver s title and the selected driver will appear in the Register with Program list 4 Click Close The Configure I O will appear window shown on the following page In the default settings the Model Type is set to FN X16TS and the S No Machine Number is set to 1 In this example set the Model Type to FN XY16SK and S No to 1 The FX XY16SK features 16 points each for input and output Pro Control Editor Ver 5 1 Operation Manual 2 61 Chapter 2 Creating a Program E To Set Up the Flex Network Driver 1 Select S No 1 FN XY16TS 2 Click Setup The I O Unit Setup dialog box appears 170 Unit Setup Model Code VO Detailed Setup All Input Points 16 In VarType Discrete la FNOSTS Output Points 16 PA BSE Out VarType Discrete 1 FN sY1ESC FN xY 325K sd FA3s7 325C E FN ADO24H m 5 Mo VO Detailed Setup Setup DK Cancel Help 3 Change the Model Code field s FN XY16TS to FN XY16SK 4 Click OK The Configure I O window appears as follows 46 Configure 1 0 fox Ele Edit View Help Close 1 HH ex Network Driver ID t1 5 peed 6M bps B EEE
145. red in the Symbol Editor as GLC symbols by saving the logic N program After pasting an instruction into the logic program screen any new changes that are made in GP PRO PB III will NOT be reflected in the pasted instruction 1 Select the desired part on the Screen Editor 2 In GP PRO PB III select the Copy command from the Edit menu The selected part is copied to the Clipboard 3 In the Editor select the rung you want to insert the instruction on and then select the Paste command from the Edit menu Pro Control Editor Ver 5 1 Operation Manual 5 7 Chapter 5 Using the Editor and GP PRO PB Ill 4 Select the instruction to which the part is converted then double click to confirm the selection When the Part can be converted to more than one kind of instruction a list of instructions to which the part is converted appears on the screen corresponding to the copied part B Dragging Dropping Parts Instructions You can copy and paste instruction data and parts by dragging and dropping them Before using the Drag and Drop feature variables must be assigned to l all instructions and or Parts A part or instruction that has not been Important assigned a variable cannot be dragged and dropped Dragging and Dropping an Instruction You can place a Part on a GP PRO
146. ro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program E To Fix an Error 1 Double click the error line in the Validity dialog box The Instruction Parameter Box of the instruction on rung 9 is highlighted indicating that no variable is assigned to it 2 Enter Soda_valve as the instruction variable For more information on specific errors and warnings refer to the Editor Help system or Chapter 5 Errors and Warnings in this manual When you have corrected the errors listed in the Validity dialog box run a validity check again If any errors still exist they will be displayed If all errors have been corrected your program can be written to the Controller E Summary In this section you have learned how to check the validity of an Editor ladder logic program The preparation for transferring a program to the GLC for execution is complete The details of the procedures hereafter are explained in 3 1 Configuring the GLC Controller Pro Control Editor Ver 5 1 Operation Manual 2 77 Chapter 2 Creating a Program 2 78 ARE Printing a Ladder Logic Program The Editor allows you to print different elements of a ladder logic program E To Print a Ladder Logic Program From the File menu select Print to open the following dialog box You can view a logic program on the screen before it is printed using the Preview function Print Options Pate
147. rogress WARNING Interrupting a logic download 1 will leave the GLC Hardware in an unusable state Help Bytes sent 3056 of 6280 Average BPS 3056 HEEBEBEEEE Pro Control Editor Ver 5 1 Operation Manual 3 7 Chapter 3 Running the Ladder Logic Program te The Flex Network or other I O driver software will be downloaded if needed NO when you write your PRW file to the controller If no changes in the driver have occurred since the last download the download of the driver is skipped The size of the downloaded file can be reduced by removing descriptions before transferring See 3 1 Configuring the GLC Controller e Itis possible to download a file after retaining retentive data variable values Se lecting the Retain all retentive variables option in the Preferences menu s Func tion tab displays the following dialog box Write to Controller Do you want to retain retentive variable data values e Selecting Yes will start file download with retentive data variable values retained and selecting No will clear all variables before file download begins The above dialog box will not be displayed if the confirm controller operations option in the Preferences menu s Confirmation tab is unchecked e With GLC300 GLC2000 Series LT Series units previous data will be l erased when the program is written to the Controller Important e Data transfer may fail when access leve
148. rs as follows Fill Timer Snda valve TON 8 JF IN a Off 4000 PT ETO 10 END ote To move an entire rung to another part of the program select the rung and drag it en using the middle of the rung to the new location E Summary In this section you learned how to copy cut and paste rungs Pro Control Editor Ver 5 1 Operation Manual 2 49 Chapter 2 Creating a Program Subroutines and Labels 2 50 When a JSR jump to subroutine or JMP jump instruction is inserted in a rung it tells the Controller to resume scanning starting from that subroutine or label The main difference between a subroutine and a label is that the Editor executes a subroutine and then returns to the point in the ladder logic directly after the JSR instruction If the Editor jumps to a label via the JMP instruction it will continue to execute the ladder logic program at that point and will not return to the JMP instruction during that scan For more information on the JMP and JSR instructions see the Pro Control Editor User Manual 4 2 53 JMP jump and 4 2 54 JSR jump to subroutine Yate Inserting a Subroutine At the bottom of every logic program are two rungs labelled END and PEND The END label signifies the end of the main program area The Editor executes the instructions between START and END with every scan The area between the END label and t
149. rs every time the GLC is turned ON Munher nf 5nallz R Munber af Hediumnz R Munher uf Largez R Q Off Each of the variables you see here should be assigned to each of the OUT instructions Assign these variables now to completes the subroutine Pro Control Editor Ver 5 1 Operation Manual 2 51 Chapter 2 Creating a Program 2 52 You can add more than one subroutine to a ladder logic program by selecting either the SUBSTART or PEND rungs and repeating steps 2 through 6 If you want a subroutine to be executed at some point in your ladder logic pro gram you must insert a JSR instruction This is explained in the following tutorial This subroutine is executed as soon as the Light OUTPUT COIL on rung 3 turns ON Therefore the JSR instruction must be placed on rung 4 E To Insert a JSR Instruction 1 Select rung 3 2 From the Insert menu select Rung 3 Insert a PT instruction on rung 4 4 Assign the Light variable to the PT instruction 5 Insert a JSR instruction to the right of the PT instruction This is done from the Insert Instruction dialog box 6 Type Reset_Counters the name of the subroutine in the Instruction Pa rameter Box of the JSR instruction The rung appears as follows Lieht 4 F gt RezEt Daunterrzs Off Whenever the JSR instruction Reset Counters receives power it will jump to the Reset Counters subroutine Execution
150. rt GLC variables with Pro Server NI Importing GLC Variables In order to use GLC variables in Pro Studio it is necessary to read in previously imported GP PRO PB GLC symbols to Pro Server GLC local symbols exist only for participating GLC stations cannot be edited cannot be deleted haveonly the bit or 32 bit HEX device types Pro Control Editor Ver 5 1 Operation Manual Chapter 6 Pro Control Editor and Pro Server ERE To Import GLC Variables This section explains how to import GLC variables to Pro Server 1 Start Pro Studio 2 Expand the Network Entry Node list and select the node used for importing GLC variables SAPS Pro Studio Fie E EdiE Tool T Programming Support E DataView D Configure S Viewty Help H ICT oper Ter cT 3 APS E1 E Network Enty Node er ge Action List i B WINDOWS_NT 210 160 181 172 Windows Personal Computer Wa MELSEC QNA 10 230 254 254 MITSUBISHI MELSEC Qn4 CPL B _35 10 230 230 119 windows Personal Computer Help is F1 key L NUM 3 The Edit Node dialog box appears Designate a project file to import in the PRO PB III project file Edit Node Node Name GLOI PLC Type MEMORY LINK SIO Type Fi IP Address 10 220 230 120 Sub Net Mask 2550 0 Gateway 10 230 230 232 PC Node Data Sub Nat Mask Unus
151. s logic program AE Before Editing B To Execute the Example Program 1 Open the Soda prw sample file It is included as a Pro Control Editor sample program and is located in C Program Files Pro face ProPB Win Sample 2 Write this program to the Controller 3 Go online to the Controller 4 Start the Controller For Controller operation see Chapter 3 Running the Ladder Logic Program E Program Changes that can be made Online to a GLC Online editing features are restricted to the GLC platform However the following changes can be made to a program while it is running online in the Controller Turning ON OFF discrete variables nteger value changes Pro Control Editor Ver 5 1 Operation Manual 4 1 Chapter 4 Online Editing wa Using Colors for Online Editing The Editor uses default colors to indicate specific aspects and changes to a ladder logic program while running online The default colors are Description Circuit is on Error has occurred on the rung Online editing is occurring B To Change the Color Defaults in the Editor 1 From the View menu select Colors The Colors dialog box appears Colors Element Color L_ white OK E Ok Blue IBI Dk Cyan Cancel Bil Dk Green Bl Ok Magenta Apply a Ok Red mi bi VER Help Modified On Line Other Parameter Parameter Value Powered State Program Description Ir Aung Description When p
152. shbutton Medium_pushbutton and Small_pushbutton variables will be placed on the GLC screen for touch panel inputs These buttons are not assigned to the terminals Variable Name Terminal Type Terminal Number Power_ON_pushbuiton Cup Present for ce tot Ju p E To Open the Configure I O Window From the Data menu choose Configure I O to open the following window Configure 170 File Edi View Help Flex Network Driver ID 1 Speed 6Mbps E lose LE Bue IFNXTETS Bill Drivers 6 gives Mill t 12 Sighup Bi 13 L6 Kal I5 i Elemans Eu Bros E IF Map 18 13 Urmap I 110 111 Mi 12 113 am Bi 114 ils HF FI Got ote You can also open the Configure I O dialog box by clicking on the tool bar or NO by clicking Configure 1 0 in the Variable Type dialog box 2 60 Pro Control Editor Ver 5 1 Operation Manual B To Specify a Driver Chapter 2 Creating a Program 1 Click Drivers in the Configure I O dialog box The I O Drivers dialog box appears 170 Drivers Available Drivers Fles Network Driver i Help Shout Registered with Program The left side of this dialog box lists all Available Drivers The right side of the dialog box lists the drivers Registered with Program Currently there are no registe
153. sion 5 0 Build 2D yY ll CompanyName DigalEecronisCop T1 ll LegalCopyright Copyrigh C f DigialEecroncsCop T W j csvFieveson 1 L D m a a a DR p comment f Cu ET lm 8 3 2 FillTimer 14 Counter Opmem 0 sle tjBt optmd 06 4 lceMaker t Cone Sterna 0 5 ice pusbuton Alt Opmemi 0G 6 Large_pushbutto t Comer Olena o gt aee Oupa faxo 0 _8 Medium pushbuf t Timer O nema oR 9jNumber oflarg 12Bt fOutput_ ra 0 tOjNumper otMed 12 Bt Opmemi 0 11 Number_ofSmall 12 t mu xos 0 t2 Power Of push Alt t mu oo 0 13 Power_On_push Alt Output axo 0 14 Small pushbuto 1 Bt tlmput jexto2 0 WM5 Soda vave bt SSC internal 0G P Variable data Header Data Exported CSV file data will include Pro Control Editor s format information header data However when data is imported this data will not be reflected in the import data s project file As a result you can easily use this control related data for any use you like ProductName Stores the Project s
154. ssssssssssssssist 2 16 221 Creatine a Variable List ion ertt seis 2 16 2 2 2 Selecting Variable Types inne Stee 2 17 2 2 3 Variable List Import Export oven diete ota a 2 18 22 4 Saving Tour Program 3pesciusscit a basis o as hon Den ea Es 2 24 Inserting Rungs Instructions and Branches eee 2 25 2 31 Inserts a Rune nenne 2 25 2 32 Deleting RUNE un ein enatdaseees 2 27 253 Inserting DnstruottOnB u ee 2 28 2 3 4 Deleting nstichons za eii evi ota iC eii oe Cetus 2 32 2 3 5 Copying and Pasting Instructions er a 2 32 230 Inserime BEGIGDSS na tu d udi educi n dnd 2 33 2 5 7 Jitialization LOSIC eek ie 2 35 Assigning Variables to Instructions esee eere ee eren ee eren een nue 2 37 2 4 1 Instruction Parameter BOX anna Re mci vides 2 37 242 Entering Variables eerte ea 2 38 243 Completing the Proeram c ois od PI onte eenia ates 2 41 Pro Control Editor Ver 5 1 Operation Manual Preface 2 5 Documenting a Ladder Logic Program e eeee eere ee eere 2 44 2 5 1 Adding a Program Description zen 2 44 2 5 2 Adding a Rung Desetipign nennen eda te bun b0Us 2 45 2 5 3 Adding Descriptions to Variables une a 2 46 2 5 4 Description List Dialog BOX uni 2 47 2 6 Copying Cutting and Pasting Rungs ccerssonsssosesonssnossnonsnsnnennnnsnnnene 2 48 20 7 Copying a BUDE gm Rn eu 2 48 20 2 Pastine a RUDE esse ee 2 48 20 3 Uullnva RUNE EE 2 49 2 7 S
155. symbol with a dotted line attached to it Pro Control Editor Ver 5 1 Operation Manual 2 33 Chapter 2 Creating a Program Whenever the end point of the branch is in an incorrect location the Editor changes your cursor pointer to a amp symbol Also whenever the end point of the branch is in a valid location the cursor pointer returns to normal If you release the mouse button while the cursor pointer is normal a branch is inserted between the starting point and the point where the cursor pointer was when you released the mouse button If you release the mouse button when the cursor pointer is still a amp symbol the branch will NOT be created 3 Click and drag the cursor pointer to the right until the cursor pointer is between the NO and NC instructions and is not a Q symbol W c 4 Release the mouse button and a branch will appear between the NO and NC instructions E To Add an Instruction to a Branch 1 Select the branch by clicking the bottom of it z 2 The Insert Instruction dialog box should still be open If it is not open it using any of the previously described methods 3 Select the NO instruction from the Insert Instruction dialog box and insert it using any of the previously described methods Rung 2 will appear as follows Ko To delete a branch containing instructions you must first select and delete each in Np struction 2 34 Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating
156. t Integer Internal Close Alt F4 Integer Internal PCIE TO Discrete Internal Command Integer Internal Controllnfo Integer Internal HD ay Integer Internal OisabledutoS tart Discrete Internal HE ditCount Integer Internal HF ault Discrete Internal HFaultCade Integer Internal HF aultO nM inor Discrete Internal EEaultEBung GLC Example csv File name GLC Example czv Files of type Variavle Info file cs I Cancel 3 If the I O Addresses have a previously designated address the following dialog box will appear Select the method to import the data Update Overwrites the current project s variable data with the im ported data Be sure to use this feature carefully since it will delete all of the current project s data Append Adds the imported variable data to the end of the existing project s data Select 1 0 import process Select O import process Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program 4 If multiple identical variables exist the following dialog box will appear If you wish to overwrite the current data with the new data select Yes If you do not wish to overwrite the current project s data select No 4 Variable replace Duplicated variable Light Update OK 5 After the error check is finished the import is completed t Do not import an exported I O configuration s CSV file to the Variable List m Important Pr
157. t be specified The GLC variables are handled in the Low High order of a 32 bit device The GLC arrays shown with are shown with lt gt on the GP PR PB III The number of GLC variables that can be used with GP PRO PB III software is limited to 2048 One element in an array is counted as one variable If the number of global variables exceeds 2048 register the variables you will not use with tags and parts of the GP PR PB III as non global variables Pro Control Editor Ver 5 1 Operation Manual 5 11 Chapter 5 Using the Editor and GP PRO PB Ill mem Screen Creation Example Pump Tutorial The Pump Tutorial shows you how use GP PRO PB III to create a screen linked with a logic program This program is designed to draw up water from a tank using a pump E To Start up the Editor 1 In the Project Manager window a Click Logic Program Edit to open the Pro Control Editor screen T LEES m HESE as b Click Editor Screen to open GP PRO PB III Editor 2 Create a logic program as shown below using Pro Control Editor Refer to the completed sample of the screen in the pump prw file ea TART Pump ADD 2 Q EM DN Of Tar kLevel A TankLevel A ie o B 4 END 5 PEND 5 12 Pro Control Editor Ver 5 1 Operation Manual Chapter 5 Using the Editor and GP PRO PB III 3 Save the logic program to import the Pro Control Editor variables The vari ables can now be used i
158. te the Port and Speed for serial communications Note that the GLC100 does not support 115 2 kbps This enables logic program writing reading and monitoring mode execution via an Ethernet network B Transmission Settings Select Setting at the Controller Menu Select Ethernet or Ethernet Automatic Search with the Communication Setting on the Setting Menu Selecting the Use the Transfer Settings option enables the Transfer settings in GP PRO PB III em onen Ethernet Automatic Addressing port no of the communication Communication via Ethernet begins when you execute Write to controller Read from controller or displayed when you click on Write to controller Read from controller or Monitoring Mode Communication begins when you select the GLC for communication and click on OK Multiple GLC can be selected with Write to ER Communication via the Ethernet also begins when you open the Pro Control Editor s N Controller menu and select Command Go Command Mode Pro Control Editor Ver 5 1 Operation Manual 3 3 3 4 Chapter 3 Running the Ladder Logic Program Example Ethernet Automatic Detect A list of the GLC units currently connected to the Ethernet network will appear IP Address IP Address Port 8000 160 187 3 45 150 187 3 46 Find D a ak Cancel Help IP Address ste NE IP Address Port 8000
159. ted between END label and PEND label Select the Insert menu s Subroutine command Be Edi Mon Seach pet Ds Lore Ken Be EM Mon ire pet Ds Lote Ken faa Feels ERIS Ale Glo a PEE S e 9 Qe e Te T wTer 8T Qe e Te T wTer 8T s sum END Pumpstart 5 PEND LB Cre B Add Variables This adds a new variable Additions can be made by opening the Data menu and clicking Variable ty pe 4 10 Pro Control Editor Ver 5 1 Operation Manual Chapter 4 Online Editing B Writing an Edited Logic Program This writes edited logic programs to the GLC unit by opening the Controller menu and clicking Write changes Or if editing more than one rung the logic program will be written to the GLC when you begin to edit a different rung aada E Restoring an Edited Logic Program The rung that you are currently editing reverts to its previously stored state ameo ue wae Saving Data After creating a logic program with the Editor the logic program will be written to the FEPROM using the Write to Controller command After sending the logic program to the GLC and starting it up the FEPROM contents are copied to the GLC unit s SRAM With online edit this logic program in SRAM is edited
160. terminals See 2 9 I O Configuration i Error check This section describes how to check for errors in a logic program See 2 10 Checking the Validity of a Program j Print This section describes how to print out a logic program See 2 11 Printing a Ladder Logic Program k Import and export This section describes how to read and write a logic program See 2 12 Importing Exporting a Logic Program 4 Develop a screen program Use GP PRO PB III and create a screen linked to a logic program See 2 13 Developing a Screen Program Pro Control Editor Ver 5 1 Operation Manual 2 13 Chapter 2 Creating a Program A Starting up the Editor Software Start up the Project Manager prior to creating a logic program with the Editor 1 Click the Start button and in the Programs menu point to Pro face then ProPB3 C Package and click Project Manager 2 The Project Manager starts up rper Fuge Samen o diae Help xe sien rum jn o Le 3 In the Project Manager screen select New from the Project menu or click the New icon Designate the settings as follows and click OK New Description Soft Drink Server Cancel GP Type GLC Series Easy Com Settings c T3 GLC2300 rSerial Extend SIO Serial YF Switch i No to Yes pDevice PLC Type Serail I F DIGITAL Electronics Corp F
161. tes ON and OFF Discretes can be forced ON or OFF while you are online in the Controller The difference between turning and forcing a discrete ON or OFF is that if you force it the variable does not change its state until the force is manually changed The program logic and I O cannot change its state The discrete ON and OFF operation described in section 5 0 depends on the calculation result of the program However the force discrete ON and OFF operation does not depend on the calculation result B To Force a Discrete ON or OFF 1 Right click the Soda_valve variable on the output coil on rung 9 2 Select Force ON from the shortcut menu 3 Click OK in the Force dialog box t Indicates variable has been forced ON Off ON The variable turns ON and cannot be turned OFF by the ladder logic program Cote If you find that forced variables have no effect in your ladder logic program they NO have probably been disabled in the Pro Control Editor To enable forces click Enable All Forces in the Start Stop Controller dialog box or use the Control ler menu and the toolbar 44 Pro Control Editor Ver 5 1 Operation Manual Chapter 4 Online Editing 5 8 Changing Variable Values While you are online to the Controller you can set the value of any Pro Control Editor variable included in your ladder logic program B Changing a Variable Value 1 From the Data menu select Value The Data Value dialog box a
162. torage element containing 16 bits of information A word may be assigned values ranging from 0 to 65535 Pro Control Editor Ver 5 1 Operation Manual APPENDICES I Fixed variable Mode There are two operation modes available in the Editor to create variables The fixed variable mode is for automatically creating the area address to store I O or counter data during logic program development The logic program uses the device address Variable Mode You can arbitrarily define the area to store I O or counter data as variable It makes the logic program possible to use the name as in the figure below Switch Light EE p Off Off Fixed Variable Mode You can falsely define the area to store I O or counter data as the device address area as well as the standard PLC data storage area It makes the logic program possible to use the device address as in the figure below zx 0001 Y 0000 _ Ott Ott e Arrays cannot be designated in the fixed variable mode However 1 only the PID device and LS Area have array elements For array in important formation Pro Control Editor User Manual 2 3 Accessing Array Vari ables In fixed variable mode offset cannot be used like a PLC to access data In the fixed variable mode variables cannot be imported exported Pro Control Editor Ver 5 1 Operation Manual A 1 APPENDICES E Logic Program Development Overview Fixed variable mode development steps differ fro
163. trol Editor Ver 5 1 Operation Manual 2 71 Chapter 2 Creating a Program Data Type Array Size This comment is related to the Data Type ID This comment is inserted when a CSV file is exported however new and other types of files do not need this Stores the Array size For detailed information about arrays Pro Control Editor User Manual 2 3 Accessing Array Variables VO Type ID VO types Input Output etc are saved using the following ID I O Type VO Address I O Offset Attribute numbers em o o This comment is related to the I O Type ID This comment is in serted when a CSV file is exported however new and other types of files do not need this VO Addresses are saved using the following format The characters Dis below that are underlined X and 1 are fixed VO Address Format AB1 C D is Used to store the following I O terminal ID characters I O Terminal ID Character iputTemninl sid OuputTeminal Q is When using a Bit terminal X is stored and when using a Word terminal W is stored is When using Flex Network units used to identify store the unit s S No Node number With a DIO Unit driver this is the module number 0 or 1 With a Uniwire driver this is the area number 1 to 15 Used to store identify the terminal number Enter a 0 for this setting Hold and Global attributes are identifi
164. two parameters must be the same size That is either both must be arrays with the same number of elements or both must be non arrays Error 214 X should be the same size as Y or be an Integer The two parameters must be the same size or the second can be an Integer that is treated as if it is the larger size Error 215 X should be an Integer a Real or a Discrete array The instruction requires an Integer Real or Discrete as either a simple variable or a complete array Error 216 X should be a non constant Integer Real or Discrete array The instruction requires an Integer Real or Discrete as either a simple variable or a complete array It cannot be a constant Warning 217 Both parameters are constants The instruction is comparing two constants Warning 218 Input parameter used on output instruction The variable is marked as an input refer to Variable Type window but is used in an output instruction Double check its I O assignment Warning 219 Preset value is zero The preset value of the counter is set to zero Warning 220 Preset time is zero The preset time of the timer is set to zero Warning 224 Parameter should not be retentive The variables assigned to the instruction parameter cannot be Hold type Warning 225 X should be an Integer Array The instruction requires Integer as a complete array Error 230 X should be a Real The instruction requires a real vari
165. ubroutines and Labels e sesseseseseeoesesoeseseseecceesosoesesecoesesoroeseseeceeesorseseeee 2 50 2 7 Inserting a DUDPONHHO dee 2 50 CN PC MEN I SQUE o Si nenn san ne 2 53 2 8 Navigating a Ladder Logic Program crssonsssonesonssnossnonsnsnnennnssnnnene 2 54 2 8 1 Using the Find Command uuausenee 2 54 2 8 2 Using the References Command 2 55 2 8 3 Using the References Dialog Box with Other Dialog Boxes 2 57 2 84 Using Bookmarks zn te decies iidne i 2 58 2 5 9 Using the Go To Rung Command ua en 2 59 2 8 6 Using The Go To Label Command nannte nies 2 59 P MEME SERUUM IT EEE 2 60 2 91 Assigning Variables to VD en aan a 2 60 2 9 2 Unassigning Variables from the Configure I O Dialog Box 2 68 2 9 3 Assigning O to Variables na ae ea eee ipie b eins 2 68 2194 VO Configuration Dsport EXpotrti ne etitm etie es 2 69 2 10 Checking the Validity of a Program csssssesossesssnsennossennsssennssnnnnene 2 76 2 11 Printing a Ladder Logic Program s essoss00ss000s02000002000s0200000000000 2 78 2 12 Importing Exporting a Logic Program c ccusssosesonssoosssonsssnnennnssnunene 2 80 2 121 D o c 2 80 2 22 ea 2 82 2 13 Developing a Screen Program scccssscossssssssssssssssssssssccssssssssssscsssass 2 85 Pro Control Editor Ver 5 1 Operation Manual 3 Preface CHAPTER3 RUNNING THE LADDER LOGIC PROGRAM 3 1 Configuring the GLC Controller sscsesicnscssnsesssensesonssnsuensssn
166. umbers should be used with the E tag s and K tag s Float function However there may be some errors due to differences be tween the accuracy of GLC LT variables 64 bits and that of tags 32 bits GLC LT variables cannot be used for the trend graph s Block Indi rect Display when M to M is selected as the PLC type GLC LT variables are handled using 32 bit device Low High order With the GLC100 the Q tag s Sub Display feature cannot be used If a GLC LT unit s Logic time scan time period is too long sound file reproduction may be interrupted during playback Pro Control Editor Ver 5 1 Operation Manual Preface If you are designating a bit using an Integer type Variable and a T tag or a W tag s bit except the REVERSE setting is written to then all bits will be changed to 0 except for the one that has been designated using an Integer type variable e f you are placing multiple T tags used to reverse a bit s action e g ON or OFF on a Base screen and the same integer variable e g 01 is used to designate the bit position used by more than one of these T tags then only the T tag placed last top most will be enabled e All GLC LT Retentive Variable data is retained by SRAM backup memory that uses a lithium battery The battery s backup period lasts approximately 60 days in its initial state fully charged and approxi mately six days when the battery life is almost finished If you need to b
167. ung number that the variable appears on This display tells you that the Fill_Timer variable appears on rung 6 7 8 9 and 10 When Exact matches only is selected the display shows that Fill_Timer PT occurs on rungs 6 7 and 8 The next column on the line is the instruction type This is the instruction that this variable has been assigned to on this rung This display tells you that the Fill_Timer variable has been referred by three 3 MOV instructions one NC instruction and a TON instruction e The last column on the line lists the parameter that has been assigned to this instruction including the variable you initially referenced In this display you can see that the integers 4000 6000 and 8000 are assigned to the IN elements and Fill_Timer PT is assigned to OUT elements The References dialog box changes in accordance with your selection every time you click a variable in your ladder logic program One advantage to this is that when you click any of the lines in its display the corresponding point in your ladder logic appears You must click the parameter itself not the instruction for the corresponding infor mation to be displayed in the References dialog box Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program Re Using the References Dialog Box with Other Dialog Boxes Using only the References dialog box when you do not know where even one instance of
168. will resume from rung 5 once the subroutine has finished execution To delete a subroutine you must first delete the individual rungs After that delete the SUB START rung The SUB END rung will then be automatically deleted when the SUB START rung is deleted Pro Control Editor Ver 5 1 Operation Manual Chapter 2 Creating a Program ym eae Inserting Labels A label which is combined with a JMP Jump instruction can be inserted in any part of a ladder logic program When the Controller executes a JMP instruction it jumps to the designated label and begins to execute the program from that point Labels are inserted above or below the selected rung if Append new rungs and instructions has been selected in the Preference dialog box This tutorial does not use any labels However to insert a label the following procedure is used E To Assign a Label to a Ladder Logic Program 1 Click anywhere on the rung 2 From the Insert menu select Label The Insert Label dialog box prompts you to insert a name for your label Insert Label 1 START Name 2 ee gt gt Skin 5E Cancel Off LimitSwitch1 LimitSwitcht an 3 off Of af Skip This is the name that is designated in the JMP instruction in your ladder logic program The same rules that apply to the naming of variables also apply to the naming of labels B To Insert a JMP Instruction 1 Right click to the right of th
169. window Error 311 The clipboard buffer is not a recognized format The current contents of the clipboard are not suitable for pasting into the Vari able List window Error 312 Too many warnings The Variable Import Status window displays only a certain number of warn ings If you see this message there may be other warnings that do not display Warning 313 Missing An array type requires the size enclosed in square brackets for example Integer 10 Warning 314 Array size is invalid Assuming a size of 1 This variable apparently is intended to be an array however the size is not recog nizable The size should be an integer within square brackets For example Inte ger 10 Pro Control Editor Ver 5 1 Operation Manual 7 5 Chapter 7 Errors and Warnings Warning 315 Unknown type will be Not Assigned The text is not recognized as a Pro Control Editor variable type Possible causes are incorrect spelling leading and or trailing blanks Warning 316 Unsupported array type Ignoring array settings That variable cannot be an array Error 317 Invalid variable name You have entered an invalid variable name Error 318 Too many errors The Variable Import Status window shows only a certain number of errors If you see this message there may be other errors that it does not display Error 320 Too many variables You have attempted to assign too many V O variables

Download Pdf Manuals

image

Related Search

Related Contents

Rooster-G8.0 取扱説明書  Convertidor de Medios Fast Ethernet  Philips FWC399 CD Shelf System  Trevi TAB 7 C8  3T3-L1 Adipocyte Care Manual - Zen  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.