Home
Pro-Control Editor Ver.5.0 User Manual - Pro
Contents
1. test4Ton4s TON MOV MOV testSTONS TON Mov Moy chena lt lt NON DISP gt gt Yariablelist meee Instruction Enlarge Feature Zoom Display The instruction can be zoomed in on by touching the instruction on the normal view screen of the GLC Ladder Monitor The variable name is displayed in full view by zooming in on it Also for the Timer Counter or MOV instructions current value and preset value are also displayed and the Display Base Switch button can switch the current value display to decimal or hexadecimal Once again by touching the screen it will go back to the normal view gar Dk C TONS TON IN WI FT ET 2000 VariableList ote e Up to 32 characters can be viewed for variable name or variable value e When the array variable is assigned by BMOV the current value of the array variable s starting element is displayed Pro Control Editor Ver 5 0 User Manual 6 7 Chapter 6 GLC Ladder Monitor Feature PID Instruction Parameters GLC2400 GLC2500 GLC2600 Series sup ported Zooming in on the PID instruction displays 7 parameters in the screen s lower right area The parameters are displayed in decimal hexadecimal format similar to element 7 s array that has been allocated to the control block variable Status Displays the current sta
2. 9 Japanese i English Jl Cancel Help 7 Cancel Help 2 Assign the base screen number used by the GLC ladder monitor and click Add Set the screen number from 1 to 7999 R Se The base screen number used by the GLC ladder monitor should not NS be the same as other existing screens 6 2 Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature 3 Click Add to add the GLC Ladder Monitor to the screen When registering the Ladder Monitor the following confirmation message appears GLC Ladder Monitor Add GLC Ladder Monitor to screen B7999 ei Ok to continue i Cancel If the assigned screen already exists the following message is displayed and the screen of the GLC Ladder Monitor is not registered To re register the GLC Ladder Monitor screen to the assigned screen number first delete the existing screen and then register the screen again Error CA Base screen number already exist Cannot add GLC Ladder Monitor Screen A e The GLC Ladder Monitor screen can be edited since it is automati I cally generated to a base screen However ifthe GLC Ladder Moni Important tor screen is edited in the Drawing Board even once the registration of the GLC ladder monitor screen is automatically cancelled since the edited GLC Ladder Monitor will not be recognized as the GLC Ladder Monitor screen Delete the existing
3. Be sure that the time required to execute the entire program will not exceed the value of the Watch Dog Timer See 3 2 6 WatchdogTime Control System Error Handler Subroutine Be sure to create a subroutine called ErrorHandler Control should jump to this subrou tine when calculation errors or other minor faults occur See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions ee RET Return Subroutine RETURN gt When the RET instruction receives power control is forced to return from a subroutine to its original location Execution continues from the rung that follows the Jump Subrou tine JSR instruction When a subroutine is completed the SUB END instruction forces the program to automatically return to the jump point As a result the RET instruction is not always needed to perform this function The RET instruction must be the last instruction on arung WA FOR NEXT Repeat FOR EN DN D NEXT The FOR NEXT instruction repeats the logic program between corresponding FOR and NEXT instructions for the number of times specified in A After executing the logic program between FOR and NEXT the specified number of times A the step that follows the NEXT instruction will be processed If A is equal to or less than 0 the logic program between FOR and NEXT is not executed but jumps to the step that follows the NEXT instruction The FOR NEXT instru
4. Use the following search method 1 Specify the search subject from either the variable or the instruction list screen 2 When it returns to the normal screen press the other list screen button and specify the search subject from the list screen 3 After returning to the normal screen again make sure that both the variable and instruction search subjects are on the bottom of the screen Press the Search button to start the search The following screens show examples of an AND search when Test is selected from the variable list screen and NO is selected from the code list screen 2 Pace Tee lt I ANY l ON DISP gt gt START testiToni TON MOV Mow he beagles pe TON mov Mow Alarm 5 I test4TONd TON MOV MOY Chang 6 s testSTONS TON MOV MOV Chana Change R lt aoNn DIS m S JE PP Altest 1 MI Se F ei A j Of lf 4 The search will result in the matching variable being highlighted with a light blue box To exit from the search press Clear 2 Pace Tee lt q AY VY on DISP gt gt START Ber ToN mov testi P test2TON2 TON MoV 4 testa P testSTONg TON Mov mov he test4Ton4 TON
5. 12 Pro Control Editor Ver 5 0 User Manual sm Controller Features LAS Operating the GLC The GLC contains both screen display and I O control features These features and their respective modes are described below GLC Features Operation Controller Features RUN Mode Constant Scan Mode Mode Control Features Logic Program Runs the Logic Program Read Write VO RUN Mode at the designated time Display Mode Percent Scan Mode Screen Display Designates the percent of Data Transfer with PLC a single scan used by the temperature controllers controller s program OFFLINE Mode inverters etc STOP Mode Initial Settings Halt Logic Program Mode Logic Program Screen Data Transfer Allows the editing writing Self Diagnosis etc of the Logic Program P N ban e Understanding the GLC unit s operation modes is critical for design A A ing a system Please read this chapter thoroughly to understand the 2 operation and to design the system in consideration of safety issues e When OFFLINE mode is entered the controller will stop Re entering RUN mode will reset the GLC Pro Control Editor Ver 5 0 User Manual 1 1 Chapter 1 Controller Features LAAS Controller Feature Overview The Controller feature functions as follows The following pages provide detailed Initial Processing descriptions of each step RESET RESET PAUSE RUN First Scan RESET Perform 1 S
6. Chart types and lines of each item monitored are listed the following table Types of Lines Colors etpoint Black dotted line Process Variable Black solid line ontrolled Variable Blue solid line imi Red dotted line Deadband GX re Types of lines colors cannot be changed K Scale Top Setthe upper limit ofthe chart Bottom Set the lower limit of the chart Width Set the width of the chart in seconds Sampling time can be changed in the Preference area of the Monitoring tab by clicking Option in the Editor s File menu Previous data cannot be monitored Pro Control Editor Ver 5 0 User Manual 4 75 Chapter 4 Instructions 4 76 Setup You can preset the range upper and lower limits set to all parameters during the programming mode FM Monitor AN Tune z Chart i Scaling Output Clamping fo Raw CO Percent Hi limit 4095 3 Engineering Units Name of unit Lo limit 0 E R 3095 EI EU max 4095 E A EE EE Ant Rleset windup Raw min 0 E EU min fO Hi limit 4095 Control Lo line Do e Loop update time 1000 E miliseconde 2 Direct SP PV 3 Reverse PV SP A d AA AA de am ee These settings Scaling The Raw Percent values with values De CS are not available during the monitoring mode
7. Variable Type Integer LogicTime Set by Controller Read Only Kwa HScanCount ScanCount is a counter incremented by the controller at the end of each scan The value range of ScanCount is 0 16 FFFFFFFF When the counter value exceeds the maximum value 16 FFFFFFFF the value of ScanCount is set to zero function ing as a Rollover but without setting the Overflow variable Variable Type Integer Set by Controller Read Only ote Whether or not a logic program is running can be easily checked using ScanCount 3 4 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables KEN ScanTime ScanTime stores the amount of time in milliseconds that the controller uses during its last complete scan to read I O execute logic write I O and display processing Variable Type Integer L l ScanTime Set by Controller ern a S ES m Read Only SS E l amp s S gt KI g ym g Ka N f f d i H r O e f U SS o hy SE S Ki F ra 3 2 6 WatchdogTime WatchdogTime is used to set the value of the watchdog timer in milliseconds When ScanTime exceeds this value a major fault occurs See 9 2 Error Codes WatchdogTime can be set in the initial settings or the configuration settings when the controller is in RUN mode WatchdogTime is usually set up in the Setup dialog box Variable Type Integer Set by User Initial Va
8. COMMUNICATION CHECK Total connected 1 0 units Connected S No s are reverse color Connected S No s are reverse color To return to the FLEX NETWORK MENU window press the RET button Pro Control Editor Ver 5 0 User Manual 8 3 Chapter 8 UO Drivers If the Error Code No 841 occurs while a logic program is being executed the S Nos of the I O units that have been excluded from the communication circuit and malfunc tioning I O units will be checked See 7 2 3 Flex Network I F Unit Troubleshooting Error S No Procedure 1 Touch the CONTROLLER MENU window s FLEX NETWORK DRIVER selec tion The FLEX NETWORK DRIVER MENU will appear 2 Press the FLEX NETWORK DRIVER MENU s ERROR S NO DISPLAY The ERROR S NO DISPLAY window will appear and the error check will begin The currently connected I O unit s S Nos will appear and the I O unit S No with the error will be shown in reverse color GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series ERR S No DISPLAY ERR S No DISPLAY BE Error S No s are reverse color Error S No s are reverse co CKREWUO Monitor I O Connection Check Check each Input and Output terminal between the GLC and I O u
9. Driver backup data This chapter describes the procedure to save LT backup SRAM controller information Pro Control Editor Ver 5 0 User Manual Chapter 7 Backup ch Backup Operation Procedure This section describes the operation procedure to execute data backup of the backup SRAM data to FROM e You cannot execute backup automatically You cannot edit or analyze N backup data either Important E Backup Operation Procedure 1 Select Maintenance of the offline Controller menu MAIN PLC SETTIN CTRL MENU CTRL SETT CTRL SETT 2 Select SRAM Data Backup of the Maintenance menu MATN CTRL MENU MATNTENANCE 3 If you press the Start button the backup procedure will start When it completed the Backup Completed message appears SRAM DATA BACKUP BACKUP SRAM DATA BACKUP 03 11 12 I e If power is turned off while data is being backed up data may not be Important saved correctly Ge re Press the Cancel button to go back to the previous menu KA 7 2 Pro Control Editor Ver 5 0 User Manual Chapter 7 Backup This section describes the operation procedure to recover the backup SRAM data from FROM E Recovery Operation Procedure 1 Select Maintenance of the offline Controller menu MAIN a LC SETTIN CTRL MENU CTRL SETTI CTRL SETTI CTRL DIAGN MATNTENANCI 2 Select S
10. GLC Ladder Monitor Feature wae Starting Exiting the GLC Ladder Monitor To operate the GLC Ladder Monitor feature the project file for the GLC Ladder Monitor as well as the editor screen and the logic program must be transferred to the GLC unit This section describes how to set up a project file and precautions to use u Set Up the Project File 1 From the Project Manager s Screen Setup menu click GLC Ladder Monitor to open the GLC Ladder Monitor dialog box and to check that ladder moni tor screens base screens used in the ladder monitor exist in the project SpNew pre New GLC Project Manager Project Screen Setup Control Utility Help Editor GP Setup Alarm Sound Settings Eiling Data Data Transfer Data Logging Settings Text Table If the screen is not registered the GLC Ladder Monitor dialog box as shown on the left will appear If the screen is already registered the GLC Ladder Monitor dialog box as shown on the right will appear GLC Ladder Monitor Add GLC Ladder Monitor Delete GLC Ladder Monitor GLC Ladder Monitor Ladder Monitor files are not in the curent project Ladder Monitor files already exist in the project Press the Add button to add the files to the project Press the Delete button to remove the files from the project il We Ladder Monitor Steer 38 iF Ladder Monitor Screen B 7999
11. The array consists of 31 Integer type elements that correspond to the 31 days inamonth Day 1 Day 2 Day 3 St Day 28 Day 29 Day 30 Day 31 The following diagram is an example of the Integer Array Pressure using three ele ments e Pressure 0 represents the current pressure of the boiler e Pressure 1 represents the pressure upper limit value e Pressure 2 represents the pressure lower limit value When the pressure is higher or lower than the pressure limit an alarm turns ON Current Pressure Pressure 0 Pressure Upper Limit Value Pressure l Pressure Lower Limit Value Pressure 2 High Pressure Alarm Low Pressure Alarm Qo Pressure O Pressure 2 B Pro Control Editor Ver 5 0 User Manual Vt 2 7 Chapter 2 Variables 2 8 To Access an Integer Array using bits As is the case with the discrete array variables integer arrays can be accessed via bits bytes and words To access the m 1st bit of the n 1st element in the Integer_Array_Variable_ Drink Sales enter Drink_Sales n X m E g e To access the Integer array Alarm s seventh bit type Alarm X 6 32nd Bit First Bit sito Io 7th Bit To access the 62nd bit of the Integer array variable Water_Sales type Water_Sales X 61 32nd Bit First Bit e e2 er 64th Bit 33rd Bit 62nd Bit Also for Water_Sales 1 X 29 32nd Bit AR Bit 0 First Element No 0 EAR 1 0
12. EN DN B Result to be stored A B When the BCD instruction is executed a binary number assigned to A is converted to binary coded decimal format and the result is placed in B The BCD instruction does not pass power if an error occurs The following table lists the combinations of A and B in which BCD instructions can be executed Integer Constant The largest value of A that can be converted is 0 x SFSEOFF If A is too large FaultCode is updated with the error code and Overflow is turned ON See 3 2 14 Faultcode and 3 2 17 Overflow SP te Ka Example When Start is turned ON Data A is converted to BCD and stored in Data B Start DCD EN DN Data A E Data B If the value cannot be converted the value in B is undefined Pro Control Editor Ver 5 0 User Manual 4 59 Chapter 4 Instructions Example BIN data 99999999 is designated for Data A and BCD conversion is performed Bit Position 31 30 23 28 27 26 25 24 23 22 21 20 19 18 17 16 15 1413 12 11 10 Data A mooo o o o To ToTnToTsTsTsTtTeTertTn I Bit Position 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 18 12 11 10 Data B Olole i fr o olifi oo f ofo f ofo i TET MONN MA wit BIN Binary Conversion A Data BIN EN DNM B Result to be stored 3 5 When the BIN instruction is executed a binary coded decimal number assigned to A is converted to binary format and the result is placed
13. For details see 4 2 Instruction Details Special Purpose En V leT Variables Description ariable Type Variable PT Preset Value Variable ET Current Value Variable Q Timer Output Bit Variable Tl Timer Measuring Bit 1 Any names can be used for the Special Purpose Variables ie Even when a timer is designated as non retentive the special purpose variable N Timer PT will retain data For a list of retentive non retentive variables see M Variable At tributes Counter The following seven dedicated variables are used for the Counter instructions For details see 4 2 Instructions Details Special Purpose res Variable Type Variables Description yP Variable PV Preset Value Integer Variable CV Current Value Variable R Counter Reset 1 Any names can be used for the Special Purpose Variables Note Even when a counter is designated as non retentive the special purpose vari Ka able Counter PV will retain data e A scan update will not be performed for a counter when it is reset One scan is required for resetting the counter For retentive non retentive variable details see M Variable At tributes 2 4 Pro Control Editor Ver 5 0 User Manual Chapter 2 Variables E Variable Attributes Variables have the following attributes in addition to the variable type Internal Used internally by the GLC It cannot be used for external input output
14. Internal vari ables are equivalent to PLC internal relays internal registers Input Output External input output is available Assign variables to I O in the Configure I O window This feature is equivalent to the input output relays of the PLC For I O configuration details refer to the Pro Control Editor Opera tion Manual 2 11 Assigning I O Retentive Retentive type variables use the GLC unit s SRAM which preserves data values in the case of a power failure The initial values for these variables are set via Programming mode When the GLC unit is powered down or reset all current data is retained However when the GLC unit s Controller is reset in Monitoring mode or by using Command or when logic programs are downloaded all data is initialized using Pro gramming mode preset values In addition reading the GLC unit s PRW files will save the execution results to the Editor However be careful when using retentive type variables as initial values If these variables are designed to vary while the logic program is being executed the predeter mined initial values will be lost when the data is loaded into the Editor Non retentive variables are either cleared to 0 or set to OFF A After GP GLC unit power is turned OFF and the backup battery runs down data stored in SRAM will be lost When this happens all SRAM Important data is re initialized to the value s set in Programming mode Global Th
15. Minor Major Areference was used for an area outside the array s range Major A reference was used for a bit outside the Integer s 32 bit range Major The stack has overflowed Mao Major F Software Error Depending on the type of problem the system Major may need to be restarted Reserved for System Reserved for System Minor BCD BIN Conversion Error Minor ENCO DECO Error 1 Reserved for System The logic program of the backup memory SRAM is damaged The logic program of FEPROM will be executed 1 1 This error occurs only with GLC2000 Series units ER e Major Faults Note Ka When a major fault occurs the controller immediately stops executing the logic program The main unit s LED turns red and the buzzer sounds continuously e Minor Faults Logic program execution can continue when minor faults occur Pro Control Editor Ver 5 0 User Manual 9 3 Chapter 9 Errors 9 3 The following table lists Pro Control Editor s program operation errors Error Type Possible Problem Solution preserved Use GP PRO PB Ill to dow nload the project file again Program is not operating EES normally Program transfer mistake the Pro Control Editor Operation Manual 5 2 Transferring Preparation Screens to the GLC When output data performs eege Data is output from I O ne a VO Refer to even in STOP mode j Pro Control Editor s Online output hold is enabled Help Check the contents of System variab
16. SUM EN D E SC AD a 6 5 B c A Array to calculate the sum total A Device to calculate the sum total B Initial number of the array element B Number of elements to be calculated range to be calculated offset C Storing destination device C Element count to be calculated D Variable name of the storing destination Variable Mode If you execute the SUM instruction it stores the sum total of elements as many as C starting from B in the array A n to D This instruction always continues A B C and D that you can execute the SUM instruction are as the following Type of A Type of B Type of C Type of D Integer or Integer Constant excluding Integer zero or below Integer or Integer Integer Array Constant Fixed Variable Mode Although the operation of the SUM instruction is equal to that in the variable mode operands to be set A B D and so on differ because the fixed variable mode does not have the concept of an Array If you execute the SUM instruction in the fixed variable mode the sum total of elements as many as B starting from the initial address A will be stored in C A B and C that you can execute the SUM instruction are as the following Type of A and C Type of B Integer Integer Integer Constant Ifthe number of elements to be calculated is equal to 0 zero it means the sum total of 0 zero elements and the result will be equal to 0 zero Ifthe result is out of rang
17. Thus an array with five elements becomes five variables A Real array can be used for numerical calculation tracking of repetitive information and data logging E g To record the temperature of a solu tion every 24 hours in the Real array Solution_Temperature the structure of data is as follows The array consists of 24 Real type ele ments that correspond to each hour of a day Solution_Temperature 20 Real element 0 corresponds to the Solution_Temperature 21 temperature data at 0 00 Solution_Temperature 22 Solution_Temperature 23 E Accessing an Indirect Array Array elements n can be indirectly accessed by an Integer variable Numbers in the square brackets of suffixes such as X m B m and W m can also be indirectly accessed The following example assumes that you press the switch In the INC instruction N increments by one with every single scan The result of the ADD instruction the sum of N and 1 is then assigned to A N After five scans have been performed 1 is assigned to A O 2 to A 1 3 to A 2 4 to A 3 and 5 to A 4 Note that the initial value of N is 0 Switch INC N A N N 1 Pro Control Editor Ver 5 0 User Manual 2 9 Memo 2 10 Pro Control Editor Ver 5 0 User Manual CR System Variables The following table provides a list of the Controller s predefined System Variables lt H E System Variable List System Variables are used to
18. and Engineering Units options set the conversion rate of PV data such as monitoring in the display area Raw max and Raw min values specify PV data values and EU max and EU min values specify values such as monitoring in the display area Raw Percent EngineeringUnits All Input Output values to the connected device are shown in raw form with a conversion rate of 0 When Raw is selected set the values of Raw max Raw min EU max and EU min as follows e Raw max EU max e Rawmin EUmin Values in percent are set in the display area When Percent is selected set Raw max Raw min EU max and EU min as follows e Raw max and Raw min values user defined value by the connected device e EU max 100 e EUmin 0 Values ofn mole fraction defined by the user are set in the display area When Engineering Units is selected set Raw max Raw min EU max and EU min as follows e Raw max and Raw min values user defined value by the con nected device e EUmax n e EUmin 0 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Control Loop Update Time Set the time cycle to acquire data from the connected device The Loop Update Time becomes the output update time period Setting the Sampling Time allows you to use the Filter feature however the Sampling Time should be set to a Irger value than the Loop Update Time Direct SP PV Specify to perform control to increase the control amount outpu
19. number of el ements of 10 The variable type settings are listed as follows Variable Type 9 Input Jkl nan Size 10 kel Restentive Pl Global E Accessing a Discrete Array To access the elements of a Discrete array a modifier n must be attached to each element To access the modifier it is assigned an element number but the first element number in an array must be 0 E g The Discrete array MotorSetting is a Discrete array of 10 elements The seventh element controls the output coil Fan When the seventh element is turned ON the output coil turns ON To access the seventh element of MotorSetting enter MotorSetting 6 MotorSetting 6 Fan O 2 6 Pro Control Editor Ver 5 0 User Manual E Accessing an Integer Integer Array Chapter 2 Variables Integers and Integer Arrays can be accessed via array elements bits bytes and words To access an array s element add n to the end of the variable name To access using bits bytes and words the following suffixes are used The modifier m is used to denote the position of the element in the array being accessed Access Item Unit To Access an Element with the Integer Array An Integer Array can be used for numerical calculation tracking of repetitive informa tion and data logging E g To record the number of sodas sold in one month in the Integer Array Water_Sales design your array as follows
20. 5 0 User Manual 3 15 Chapter 3 System Variables Kb Clock100ms Clock100ms generates clock in milliseconds Do not change the clock value since this is used for read in only An initial value is undefined Variable Type Discrete Set by Controller Read Only ON Solms Jims ums OFF e e Ifa GLC unit s scan time exceeds 50ms Clock100ms clock will not be guaran teed If the Clock100ms clock reads in the internal clock 100ms at the beginning of each GLC scan an error will occur e Clock100ms is available only with the GLC2000 Series and LT Series units Scan Time Every 30ms 30ms 30ms 30ms 30ms 30ms 30ms 30ms Scan Time i I I 50ms 50ms 50ms 50ms 50ms Internal Clock i l I 100ms ER E _ Clock100ms Value 0 alailololilolao Clock100ms provides the user program with the clock data 60ms 1 1 1 l l m Al The Clock100ms includes an approximate amount of error equal to the important scan time 3 16 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables Year displays Year data as set in the controller using two digits in BCD format Variable Type Integer Set by Controller Read Only Year Month Day and Time data are displayed using the following system variables E g July 14 2001 at 6 19 a m Year Month bay Time Rote e Year is avai
21. Arrays The following diagram is an example an SHR instruction being used to transfer values of each element in an Integer array A 32 bit shift rotates the entire 32 bit Integer Every second the Table1 Integer array s values are moved up one position to wards Element 0 and a new value becomes the last element Table 1 99 in the Table 1 Integer array Timer2 Timer2_ Start Table1 New_Value 32 Delete 1 Element Tablet Pa Table1 fi 76 e 77 1 7 111 ae v i 2 111 75 3 7 we 23 se we 95 e a w a oe 9 a w 56 a o 56 13 y 98 13 we 43 y 33 43 we 3 a New Value 3 4 34 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KKK RCL Left Rotation with Carry A Name of the variable to be rotated Du z m N Shift bit count f D C Name of the variable for carry N D Storing destination variable name C If you execute the RCL instruction the A bit will be shifted to the left direction by N bits The far left bit most significant bit is stored in a carry and carry information 1 or 0 is rotated to the far right bit least significant bit This instruction always continues The combination of A N C and D that you can execute the RCL instruction is as the following Type of A Type of N Type of C Type of D Integer Integer or Integer Integer Constant Bit Integer Constant Integer or Integer Inte
22. Constant Real s Real or Real Constant Real Ce e e 2 7182818284590 Na e If the result B is out of range which can be expressed by the variable type of B Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow 4 82 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Ay LN Natural Logarithm CH A Data EN DN B Resultstoring destination a B Ifyou execute the LN instruction the natural logarithm function of A will be stored in B The result B is output as a real number where e to the B th power is equal to A Arithmetic Formula B log A This instruction always continues The combination of A and B that you can execute the LN instruction is as the following Type of A Type of B Integer or Integer Constant Real 4 lt Real or Real Constant Real e e e 2 7182818284590 d e If the result B is out of range which can be expressed by the variable type of B Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual 4 83 Chapter 4 Instructions Memo 4 84 Pro Control Editor Ver 5 0 User Manual E LS Area Refresh AE LS Area Refresh Overview E LS Area Refresh Feature The GLC unit uses the LS Area s System Data Area to control the changing of screens the sounding of buzzers etc These are processed as GL
23. GLC Ladder Monitor screen from the Open Screen dialog box open the Drawing Board s Screen menu and click Open Screen and then add the GLC Ladder Monitor screen again e The GLC Ladder Monitor screen will not be recognized when it is copied to another project Delete the existing GLC Ladder Monitor screen from the Open Screen dialog box open the Drawing Board s Screen menu and click Open Screen and then add the GLC Ladder Monitor screen again e When the GLC type GLC2400 GLC2600 is changed the screen will not be recognized as the registered GLC Ladder Monitor screen Delete the existing GLC Ladder Monitor screen then add the GLC Ladder Monitor screen again Pro Control Editor Ver 5 0 User Manual 6 3 Chapter 6 GLC Ladder Monitor Feature G R Starting the GLC Ladder Monitor The two methods of starting the GLC Ladder Monitor are as follows e Turn ON Bit 0 of the System Variable LadderMonitor See 3 2 29 LadderMonitor When Ladder Monitor Bit Operation is used and the GLCLadder Montor is started Screen Level Change mode cannot be used e Touch the Controller Monitor on the menu bar then touch three corners of the screen to display the menu bar Menu Screen 4 gt RESET CONTROLLER ia ersoor HEURE Se gt e After editing a logic program in Online Edit the GLC Ladder Monitor cannot be started e While the GLC Ladder Monitor is running Online Edit c
24. HWCLStatus Ola d W Gan Op HFaultCode Ole OU TntDAT VariableList Codel ist IZ 2 3 After the variable is selected in the variable list screen the screen automatically returns to the normal display screen Make sure that the variable name being search is blinking at the bottom of the screen then press Search to start the Search Page nee ELE Al 1 i lt lt NON DISP gt gt 2 10 START test1TOoNi TON MoV Mod 3 testi Mow P testZToNZ TON MOV u d teste Chang F M tastaToNs Ton may mov Alarm 5 test4TON4 TON MOV Mov Chane 6 s testSTONS TON Mov MOY Chang Chana RY test Codelist 6 4 The search will result in the matching variable being highlighted with a light blue box To exit the Search press CLEAR Page nee ELE Al 7 1 1 ENON DISP gt gt 2 START oN1 TON MOV esti P es ZTONZ2 TON MoV t teste 3 TON Mev MOV test4TON4 TON Mov Moy testSTONs TON MOV MOY Chana T TON DISE gt gt test No Foster In order to continue your search press BACK or NEXT to move to the
25. Integer or Real Real Array Integer array or variable thatis the same size as IN Real Constant Variable or Array in Integer or Real Overflow will turn ON if the operation involves a Real to Integer data type con Ka version and the value is too large to transfer In this case the result will be unde fined The following examples illustrate how to use the MOV instruction Example 1 Clear a variable A variable can be cleared with the MOV instruction by transferring a O into the variable Clear_Sales DIN OUT Sales Example 2 Block transfer an array A block transfer can be performed with the MOV instruction by specifying two arrays of the same type and size For example when transferring Recipe A which consists of 100 elements to the Current_Recipe of the same type and size simply transfer Recipe A with a MOV instruction Transfer_Recipe_A Recipe_A IN UT Current_Recipe Recipe_A Current_Recipe Recipe_A 0 F Current_Recipe 0 Recipe_A 1 Current_Recipe 1 Recipe_A 2 F Current_Recipe 2 Recipe_A 99 F Current_Recipe 99 Note When designating an entire array enter only the variable names Kl E g OK Recipe_A Not OK Recipe_A Not OK Recipe_A 100 Pro Control Editor Ver 5 0 User Manual 4 19 Chapter 4 Instructions wari BMOV Block Transfer 4 20 Variable Mo
26. Ladder Monitor 6 8 Index e O Connection Check 8 5 8 15 I O Drivers 8 1 I O Points maximum 8 7 I O Unit and Error S No 8 5 Flex Network Communication Check Flex Network Settings 8 3 GLC HO Drivers 8 1 IO Monitor Connection Check Indirect Arrays 2 9 Infinite Loops 4 63 Input Terminal S No 8 15 Input Only I O Unit 8 7 Instruction Enlarge Feature Ladder Monitor Instruction Search Feature Ladder Monitor Instructions Arithmetic operation Bit operation 4 1 8 3 8 5 6 7 6 13 4 2 Convert 4 5 Counter 44 Floating point 4 39 4 41 442 Mathematical 4 3 44 Movement 4 2 Overflow 3 11 Program Control 4 5 4 6 Timer 4 4 Integer Arrays 2 7 2 9 Integer Variables 2 3 Integers 27 Intellectual Properties 1 Internal Clock 3 15 Ladder Monitor 3 19 6 1 Ladder Monitor Features 6 5 Latch Fault Flag 3 8 Liability 1 Logic Program Mode Change 8 2 Loopback Cable 8 15 LS AreaRefresh 5 1 5 7 5 9 ee Negative Transition Contact 4 14 Nests 4 65 Normal Display Feature Ladder Monitor 6 5 er OFFLINEMode 1 1 8 3 Online Edit 6 4 Online Monitor Feature Ladder Monitor Operating Status Controller 3 8 Operation Manual 9 OperationMode 1 1 Output Only I O Unit Overflows 3 11 Be Parts List 9 Percent Scan Mode 1 1 1 5 1 7 Precautions and Warnings 10 Pro Control Editor Compatible Products 8 Error messages 1 Programerrors 94 Pro face 1 Be 6 5 8 7 Range Changeover Switch 8 9
27. On Off Timer TimerdStart TON TH IW Off BO PT ET Variable Name User defined name When designating variable names be aware of the following limitations e Maximum Variable Name length is 20 characters 20 bytes e No differentiation is made between upper case and lower case characters If dupli cates are created only the first word registered will be enabled valid E g If TANK was registered before tank tank will be invalid even though entering it will not create an error Pro Control Editor Ver 5 0 User Manual Chapter 2 Variables amp 2 2 e Except for the first character variable names can use numbers e Variable names cannot contain spaces e The underscore _ is the only special character that can be used However consecutive underscores __ cannot be used OK tank_1 Not OK tank__1 e The sign cannot be used since it is a reserved character e LS and LSS are reserved variable names for use in the System Data Area the Read Area and for Special Relays Therefore they cannot be used for user defined variable names See Chapter 5 LS Area Refresh When creating variable names Pro face recommends using the underscore char acter to divide the variables into blocks or groups This will make the variable names easier to find in the Pro Control Editor s variable list E g Ifyou have several conveyor belts in your factory
28. Variable ET the elapsed time stays fixed at the preset value e Variable TI the timing bit turns OFF e Variable Q the timer output bit turns OFF 4 52 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example The following diagram is an example of high voltage cabinet fans that are kept running for 1 minute 60 000ms after the high voltage turns OFF Power_Supply High_Voltage_Power_OFF TOF High_Voltage_Cabinet_Fans A The timer input bit IN turns ON the timing bit TI remains OFF the timer output bit Q turns ON and the elapsed time ET is reset to 0 B The timer input bit IN turns OFF the timer starts timing TI turns ON and the timer output bit Q remains ON C When the elapsed time ET equals the preset time PT the timer output bit Q turns OFF the timer stops timing TI turns OFF and the elapsed time stays fixed at preset time ET PT D The timer input bit IN turns ON the timing bit TI remains OFF the timer output bit Q turns ON and the elapsed time ET is reset to 0 E The timer input bit IN turns OFF the timer starts timing TI turns ON and the timer output bit Q remains ON F Before the elapsed time ET equals the preset time PT the timer input bit IN turns ON and the timer stops timing TI turns OFF The timer output bit Q remains ON and the elapsed time ET is reset to 0 Pro Control Editor Ver 5 0 User Manual 4 53 Chapter 4 Inst
29. Variable Mode Although the operation of the FMOV instruction is equal to that in the variable mode operands to be set A B D and so on differ because the fixed variable mode does not have the concept of an Array If you execute the FMOV instruction in the fixed variable mode A will be stored in elements as many as B starting from the destination initial address C The following table lists the types of A B and C in which FMOV instructions can be executed Integer Integer Constant Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example When copying the values are transferred to Destination 3 4 5 and 6 of the seven destination array elements The transfer operates as follows Start Destination Destination 0 TransferValue is copied to Destination 3 TransferValue is copied to Destination 4 f Destination 2 Destination 3 TransferValue is copied to Destination 5 TransferValue is copied to Destination 6 Destination 4 Destination 5 Destination 6 While the program is running the controller checks whether references to array D elements exist in the FMOV instruction If an invalid array is referred to a major error will occur and FaultCode is set to 2 See 3 2 14 FaultCode Pro Control Editor Ver 5 0 User Manual 4 23 Chapter 4 Instructions wall SUM Sum Total Note 4 24 Variable Mode Fixed Variable Mode
30. be set to 2 See 3 2 14 FaultCode Pro Control Editor Ver 5 0 User Manual 4 27 Chapter 4 Instructions ERD BCNT Bit Count BG NT EN ODN A D A Variable name to be calculated B Storing destination variable name If you execute the BCNT instruction the ON bit count of A will be stored in B This instruction always continues The following table lists the types of A and B in which BCNT instructions can be executed Note Ifthe result B is out of range which can be expressed in the variable type of B Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Example The following describes the case when A 38 decimal and A 100110 binary B 3 decimal Start SCHT off ADIA BIB 4 28 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions WANI ROL Rotate Left A Variable name to be rotated N Number of bit positions to shift ROL C Destination variable EN DN A L M The ROL instruction left shifts the bits in A by N positions Bits are rotated from the left end most significant bit to the right end least significant bit The result is placed in C The ROL instruction always passes power The following table lists the types of A N and C in which ROL instructions can be executed EG ME Integer or Integer Constant Integer Array Integer or Integer Constant Integer Array is same size as A Integer C
31. can check the I O monitor s connection Models Performing I O FN X32TS FN XY16SK FN XY32SKS Monitoring FN XY16SC FN XY32SCS Substitute Models Performing Y16SK or UO Monitoring OS SS Y16SC man om os Op inp 1 Contact your local distributor regarding purchasing these products Monitoring the FN X32TS Use X16TS as a substitute Lower 16 bits 0 15 bits can be monitored by assigning the station number set in the I O unit to the S No Upper 16 bits 16 31 bits can be monitored by assigning values created by adding 1 to the station number set in the I O unit to the S No Pro Control Editor Ver 5 0 User Manual 8 5 Chapter 8 UO Drivers Monitoring the FN XY16SK or the FN XY16SC Use X16TS as a substitute for input and Y16SK or Y16SC as a substitute for output Input and Output cannot be monitored simultaneously Monitoring the FN SY32SK FN XY32SC Use XYOS8TS as a substitute Input and output of bits 0 7 can be monitored by assigning the station number set in the I O unit to the S No Input and output of bits 8 15 can be monitored by assigning the values by adding to the station number set in the I O unit to the S No Input and output of bits 16 23 can be monitored by assigning to the S No the values created by adding 2 to the station number set in the I O unit Input and output of bits 24 31 can be monitored by assigning to the S No the values created by adding 3 to the station number set i
32. e Do NOT remove the disk media from its drive while the drive operation lamp is lit e Do NOT touch the disk media s CD ROM or floppy disk recording surface e Do NOT place the disk s where they may be exposed to extreme temperatures high humidity or dust 10 Pro Control Editor Ver 5 0 User Manual Preface FOR GLC2400 GLC2600 USERS 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 Oi NN REV ABC EFGHIJKLMNOPQRSTUVWXYZ 345 E Revision Categories Revision Types Meng Rev None 1 The revision code is notused or is 1 Rev Above2 The revision code is 2 or higher Pro Control Editor Ver 5 0 User Manual 11 Preface DOCUMENTATION CONVENTIONS 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 co
33. error code to IOStatus Setting Errors Error Gode Description L gge Internal variable error mapped to I O 501 terminal External variable error mapped to I O 502 terminal Outputvariable error mapped to I O 503 terminal Discrete variable error mapped to analog terminal Integer variable error mapped to discrete terminal Resetthe variable used Variable type notsupported by driver Correctihe variable type Variable is notmapped to terminal Map the variable to all terminals Terminal numbers are duplicated M ultiple S No exist S No range overlap atthe analog unit S No range overlap atthe high Speed counter unit S No range overlap atthe single axis positioning unit S No is outside of accepted range Pro Control Editor Ver 5 0 User Manual Two or more terminals are using the same terminal number possible causing transfer failure Download the projectfile again Two or more areas are using the same area number possibly causing transfer failure Download the projectile again Two or more terminals are using the same ferminal number possible causing transfer failure Download the projectfile again Two or more I O units are using the same S No The analog unithas S Nos for four Stations Resetso there is no S No overlap Two or more I O units are using the same S No The high speed counter unithas S Nos for eights tations Resetso there is no S No overlap Two
34. forced ON or OFF Displays the I O Driver s condition Indicates the controller s platform Indicates controller s current status Displays the controller s version data Status Fault Used to stop the performance of an Error Handler subroutine FaultCode Displays the latest error code FaultOnMinor Controls the completion of the logic performed when a minor error occurs FaultRung Displays the rung where the error occurred 1OFault Turns ON when an error occurs Overflow Turns ON when an overflow occurs due to mathematical commands or Real to Integer variable conversion Changes the controller s mode Command Screen Switches GLC screens by assigning screen numbers BIN BCD Create 0 1s clock Stores Year data as BCD two digits Time Stores Month data as BCD two digits Stores Day data as BCD two digits Stores Time data as BCD two digits WeekDay Stores Day data as an integer value between 0 and 6 LadderMonitor Starts and runs the GLC Ladder Monitor Feature Others RungNo Sets the starting rung number to be displayed by the GLC Ladder Monitor Feature Pro Control Editor Ver 5 0 User Manual A 3 Appendices Memo A Pro Control Editor Ver 5 0 User Manual Arithmetic Operation Instructions 4 2 Arrays 2 3 2 7 Base Screen Number 6 3 BCD BIN Conversion 3 12 4 59 Bit Operation Instructions 4 1 Bit Positions 4 31 4 33 Channel Setting I O Monitor 8 9 Communication
35. oe EN DN A C B When the OR instruction is executed the bit in C turns ON ifthe corresponding bit in A and or B is ON Otherwise the bit in C is turned OFF A Operator B C IntegerAl0o 1 1 0 1100 Integer 8 1 1 0 0 0007 megero 7 1 0 1 10 4 The OR instruction always passes power The following table lists the combinations of A B and C in which OR instructions can be executed E Integer Integer Integer Integer Array Integer Array Integer Array integer Integer Constant Integer Array Integer Constant Integer Array There are three types of OR instructions 1 When both variables A and B are integers simple 32 bit OR operation is performed 2 When A and C are array variables and B is not an integer array logical OR opera tions are performed for each element of A and B and the results are stored the corresponding elements of C Make sure that the size of A and C arrays are the same 3 When the three variables are arrays of the same size logical OR operations of array A and array B are performed The results are stored in array C Operation Example When Start is ON the result of the logical OR operation of Data A and Data B is stored in Data C Start 4 16 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KANN XOR Exclusive OR XOR EN DM A C B When the XOR instruction is executed the bit in C turns ON if the corresponding bit in
36. set scan time minus the logic time when performing a constant scan Screen Display Graphic Touch Panel Processing processing Communication Processing time See 1 1 2 RUN Mode Pro Control Editor Ver 5 0 User Manual 1 5 Chapter 1 Controller Features E Constant Scan Mode This mode constantly executes the program during the scan time set When this setting is used the screen is used more often for data display and less often for operation with control logic program the priority A Logic Time UO Input Data Read 1 START Processing time 5 Start Stop Operation for logic program Logic Program Execution Operation variable 4 END 5 PEND I O output Data Write Scan time fixed scan period Graphic pro cessing time Scan time logic time Y Graphic processing time Setting time for constant scan time mode ms logic time variable E g If constant scan time is set to 50ms and logic executing time is 20ms Graphic processing time 50ms 20ms 30ms The longer the logic time the shorter the graphic processing time will become Though GLC display response will be slower the logic program will execute continuously A When the logic time exceeds 50 of the designated setting value for I constant scan mode the scan time is automatically adjusted so that it Important is twice as long as the logic time E g When the logic time is 30 ms and the consta
37. simple 32 bit shift is performed N must range from 0 to 31 2 If both A and C arrays are the same size the A array is treated as a large Integer Bits are shifted from one element to the next rather than the least significant bit being dropped from the right end of each element Only the least significant bit of the lowest numbered element within the array is dropped N must range from 0 to 32 x array size 1 inclusive Stes Overflow is turned ON if N is out of range The result is undefined Ka See 3 2 17 Overflow Example e When Using Bits The following diagram is an example of a one bit right shift used to track the position of a bit Each bit in the product presence absence signal represents the actual position of the product When Move Cart is turned ON bit is shifted right to the next position When the bit reaches the final bit position in the variable 0 the Product Removal Completion Bit is turned ON indicating that the operation is completed Pro Control Editor Ver 5 0 User Manual 4 33 Chapter 4 Instructions Product presence Product Removal Move_Cart absence signal x 0 Completion Bit P Product presence a absence signe c Product presence absence signal Bits Product presence Shifted Right absence signal 1 bit position Delete Product presence absence signal The position after the operation e When Using
38. small when it gets close to the Setpoint Using integral control that remaining difference can be eliminated This control method makes adjustments based on the accumulated difference over time between the Process Variable and the Setpoint If it reaches a certain level it affects the output to reduce the difference When the number of integration times is increased the control amount to reduce the difference increases The length of time to reach the Setpoint will shorten However this may cause overshoot and hunting When the number of integration times is decreased the control amount to reduce the difference decreases Overshoot and hunting are eliminated However the length of time to reach the Setpoint will be greater When the number of integration times is increased Setpoint _ When the number of integration times is decreased Time 4 72 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Derivative Time Rate Proportional control or integral control that requires a certain time time constant cannot respond quickly to a disturbance and cannot return to the target value quickly Derivative control monitors the difference against the disturbance and when a difference is large compared to the previous difference a large amount of control is given to provide a quick response When the derivative time is increased recovery time from the disturbance is shortened However this may
39. sure that the Write Via Parts and Write Via Logic Program functions of the Controller do not conflict e Be sure to designate Controller variables LS and LSS as retentive variables Designating these variables as non retentive will clear them to 0 when the logic program starts The display processing function s LS Area will be cleared to 0 depending on LS Refresh Pro Control Editor Ver 5 0 User Manual Chapter 5 LS Area Refresh ER Using the Read Area to share data between the GLC and external devices allows K you to use the GLC as e the expansion unit of an external device e POP machines for factory automation e an I O information terminal for production control Writes GLC Data External Device dc UO Unit Reads Controller Data ma LS Area Refresh Cautions Use the LS Area Refresh feature e tocontrolthe system area using the controller feature e to view Read Data from an external communication device Digital Electronics Corporation recommends that you use the data send receive related Initialize area or the Operation Designation Change parameter settings to control the refreshing of data in this area Avoid refreshing the data intermittently via the controller feature in addresses LSOOO to LS0035 and LS2032 to LS2047 If the frequency of the LS Area s data refresh is increased the LS Area Refresh may not be executed within one scan As a result External Device communication errors may occur V
40. the average logic time AvgLogicTime exceeds 50 of TargetScan Version indicates the version number of the controller Version is displayed in hexadecimal format Variable Type Integer Set by Controller Read Only Byte No Ver 1 0 0 C Byee Morgen oo ei Lee at Leet Pro Control Editor Ver 5 0 User Manual 3 9 Chapter 3 System Variables Kwame HFaultCode FaultCode identifies the most recent fault status A controller resets all these values to 0 See 8 2 Error Codes Variable Type Integer Set by Controller Read Only REECH Overflow resulting from a mathematical operation or a Real to Integer conversion o Major Bit reference of the Integer 32 bits is out of bounds I Resenedbythesisem SCS 7 Scan time exceeds watchdog time I Resenedbyhessem CS Software error typically a malfunctioning custom function block may require a system reboot to recover BR REECH I Resenedbytnesysiem SSS ig __ Resenedbyesyiem SSCS Backup memorys logic program SRAM is damaged Logic program in FEPROMwill now be executed Minor Major 10 5 Minor 1 An error occurs only in the GLC2000 Series and LT Series units Data Yatch List File Edit View Help FaultCode In the Data Watch List window FaultCode 7 is displayed This indicates that the scan time has exceeded the watchdog time 3 10 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Va
41. the normal displayed screen Make sure that the instruction to be searched is blinking at the bottom of the screen then press Search to start the search 1 Keon DISP gt gt 2 START testiTONa TOM mov 3 testi P 5 ees test3ToNs TON test4T0N4 testSTONS ON DISP gt gt N Variablelist TON 4 The search will result in the matching variable being highlighted with a light blue box To exit the search press CLEAR 1 Keon DISP gt gt Z START test1TOoN 1 3 testi P testaToNs TO N 5 IH test4ToN 4 8 tests TON S ANON DISE gt gt Variablelist TON In order to continue your search press BACK or NEXT to move to the adjacent variable in the search results Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature m Search from Variable and Instruction AND Search Combining a variable search and an instruction search by using an AND search narrows the search Designate the variable and instruction you want to search for from the list screen of each
42. the projectfile again If this does notfix the problem contact your local Pro face dealer Download the projectfile again Write down the error message details and consult your local Proface dealer Download the projectfile again from Pro Control Editor Execute from the projectfile in FEPROM Using online edit check thatno changes have been made in the logic program Reset the Watchdog time so thatitis longer than the Constant Scan Time If doing so exceeds the Watchdog Timer s limit then the ConstantScan Time program should be changed Chapter 9 Errors Error Message Cause Solution Bad Var xxx Bad Array xxx Bad Type xxx Unknown register type Register is missing S100 file index is outofrange Too many entries in the S100 file S100 file is missing Over Compile count MAX Exception 65532 xxx Exception 65533 xxx Exception 65534 xxx Exception 65535 xx No Backup logic program in EEPROM Unable to find variable XXX Either the logic program file has not been downloaded ora variable that does not exist in the logic program file on the screen is used The number of elements used in the screen file s array variables and those used in the logic program file s array variables are different The Logic program variable XXX s type is different from the screen s variable type This variable type does not exist Cannot find variable us
43. the table below These PDF manuals are located in disk 1 of your C Package03 CD set The Setup Guide is not included as a PDF file Supplemental 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 ReadMe to view this information For detailed information on Pro face products please refer to that product s user manual sold separately GP PRO PB III C Package03 Setup Guide Describes software installation and basic application development procedures Pro Control Editor Ver 5 0 User Manual this manual Describes the software settings for combining with the GLC variables and instructions Provides exercises for learning the basic functions from installation to operation and a list of error messages Describes procedures using the variables registered by the Pro Control Editor for use by the GP PRO PB III Operation Manual GP PRO PB Ill for Windows Ver 7 0 Describes the installation operating procedures and SEENEN software functions ofthe GP screen creation software Tag Reference Manual a tags for specifying on screen functions of the Parts List Describes the parts and symbols provided in the software for creating GP screens Describes procedures for connecting the GP to PLCs temperature controllers and inverters of other manufacturers Device P
44. 0 to 31 Day as 2 BCD digits stored in BCD s Day odigits Unused LS 7 Clock Data Eg f Oto 7 Stores 00 to 23 Hour as 2 BCD digits Houn Baoan 17 15 LS 8 Clock Data Stores 00 to 59 Minute as 2 BCD digits Minute BEE 0 Interrupt Output Ir you use a Switch Part to write in word data the bottom 8 bits will be Touch OFF output as an interrupt code after Touch OFF FFh will not be output 1 Variable names used when accessing the GLC 5 4 Pro Control Editor Ver 5 0 User Manual Chapter 5 LS Area Refresh 11 LS 11 Control mn Tano o Backlight sid Backlight 4 _ Buzzer O enabled 1 disabled Interrupt Output when touching panel to turn the display ON Interrupt Code FFh 0 Disabled 1 Enabled Hard copy output 0 Enabled 1 Disabled 1210 18 LS 12 Screen Display IFFFFh Screen clears almost immediately ON OFF Oh Screen turns ON Interrupt Using a Switch Part or other method to write absolute value data Output from LT causes an output of the interrupt code using the contents of the bottom 8 bits Will not output FFh Screen Display Write the 0 to 14 Se Change number 1 to a i GEI Screen Change 0 Normal 1 Forced Screen Change Invert the window overlap order 0 Possible 1 Not possible 2015 DE Window number used for indirectly designated Global windows either BIN or BCD Window Registration Number Window display position x coordinate display location Sie Wen eithe
45. 2 48 BIN Binary Conversion an 4 60 4 2 49 ENCO BOOM EN E 4 61 4 Pro Control Editor Ver 5 0 User Manual Gr Ne REKT ae ala 4 62 4 2 51 RAD Radian conversion sssrini iN 4 62 4 2 52 DEG Desres Conversion anne 4 63 42 53 JMP JMD ee a 4 63 4 2 54 JSR Jump Subreuine uses 4 64 4 2 55 RET Return Subroutine ann 4 64 4 2 56 PORIINEX DRG peal E 4 65 4 2 57 RIECRIDCaleulatont steiere tuegeeanggeegunGee er geet Sege ag gee 4 66 e GET el ME 4 79 4 2 59 COS cosine WE 4 79 4 2 00 TAN tangent function uses ee 4 80 4 2 61 ASIN Are SINE a ra EE EG 4 80 4 202 ACOS Arte Cosine RE 4 81 4 2 63 ATAN Are Tangent aan is 4 81 12 64 POT LEIDEN a ee 4 82 42 63 EXP EXPONEHT arena 4 82 4 2 66 LN Natural Logarithm ae 4 83 CHAPTER 5 LS AREA REFRESH 5 1 5 2 5 3 LS Area Refresh Overview nun 5 1 LS Area Refresh Settings ssiccccsssssccossssnccssssessccoassncncsvecsasesvecvenseesesenctvovessses 5 2 5 2 1 LS Area When not using a Device PLC u 5 4 GLC and External Device Data Sharing s csosssssossessossennsssennonsnnnne 5 7 5 3 1 sLS Aiea Romesh CAamiONs een 5 9 CHAPTER 6 GLC LADDER MONITOR FEATURE 6 1 6 2 Overview of the GLC Ladder Monitor Feature eussersarsorsorsnesonsnnenesnnene 6 1 Starting Exiting the GLC Ladder Monitor sccsssccsssscssssscssesscesees 6 3 62 1 Preparing to operate the GLC Ladder M nitar uu u ueuuu 6 3 62 3 Exiting the GLC Ladder Moni an a 6 4 622 Star
46. 7 Overflow e If either A or B are Real both are converted to Real prior to the division However if C is an Integer the number is truncated after the decimal point since the result is placed in C Example When Start is turned ON Data A is divided by Data B and the result of the operation is stored in Data C Start __ 4 42 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KK MOD Modulus A Data MOD EN DN B Data A c C Destination variable S When the MOD instruction is executed A is divided by B and the remainder is placed inC The MOD instruction performs only Integer or Integer Constant operations The MOD instruction always passes power The following table lists the combinations of A B and C in which MOD instructions can be executed PAB S Integer Constant Integer Constant as Overflow is turned ON when divided by zero and the result C is undefined 2 See 3 2 17 Overflow Example When Start is turned ON Data A is divided by Data B and the remainder is stored in Data C Start The following example is an Integer 27 divided by 5 and the result 2 is placed in C 5 A 27 ola B 5 25 2 c 2 Pro Control Editor Ver 5 0 User Manual 4 43 Chapter 4 Instructions KKK INC Increment A Data INC EN DN A When the INC instruction is executed one 1 is added to A and the result is then placed in A The INC in
47. 8 11 Read Area and Variable LS Size 5 8 ReadMe File 1 9 Real Arrays 2 9 Real Values 4 45 4 46 4 49 Real Variables 2 5 Real to Integer Conversion Registered Trademarks 9 3 11 3 12 4 19 RESET Mode 82 Retentive Non retentive Variables 4 1 Rollover 34 RUN Mode States 1 5 Rung Jump Feature Ladder Monitor 6 7 Se S No Input Terminal 8 15 Safety Symbols and Terms 12 11 Scan Time Adjustment RUN Mode Screen Layout Sheets 9 Scroll Feature Ladder Monitor Setup Guide 9 SIO Data Transfer 5 7 Software Licence Agreement 1 Special Purpose Variables 2 5 Stacks 4 65 STOP Mode 1 1 System Data Area 5 1 System Variables 3 1 1 5 6 7 Pro Control Editor Ver 5 0 Operation Manual Tag Reference Manual 9 Third Party Claims or Damages 1 Timer Instructions 44 Timer Variables 2 5 Trademarks Registered 9 Transfer Speed I O Monitor 8 5 Troubleshooting DIO Unit Errors 8 17 Flex Network Interface 8 11 IO Unit Errors 8 11 User Manual 9 Variable AND Instruction Search Feature Ladder Monitor 6 15 Variable LS and Read Area Size 5 8 VariableNames 2 2 Variable Search Feature Ladder Monitor 6 9 6 11 Variables 2 1 Array elements 2 7 Arrays 2 3 Attributes 2 5 Available Memory inthe GLC 2 3 Counter 2 5 Device Addresses and Variable Names 2 1 Discrete 2 3 Hardware independent 2 1 Integer 2 3 Naming 22 Real 2 5 Registering 5 7 Special Purpose 2 5 Storing in the GLC 2 3 System 3 1 Timer 2 5 MI Warnings a
48. A or B is ON Otherwise the bit in C is turned OFF A Operator B C Integera o 1 1 0 1 1 0 0 OFF ON IntegerB 1 1 0 0 SS 000 1 JOFF ON neger pl 1 0 0 9 0 0 11 Integer C 1 0 1 0 v i 1 1 0 1 The XOR instruction always passes power The following table lists the combinations of A B and C in which XOR instructions can C VE SEE Integer Integer be executed Integer Array Integer Array integer Constant Integer Constant Integer Array There are three types of XOR instructions 1 When both variables A and B are integers simple 32 bit exclusive OR operations are performed 2 When A and C are array variables and B is not an integer array exclusive OR operations are performed for each element of A and B and the results are stored the corresponding elements of C Make sure that the size of A and C arrays are the same 3 When the three variables are arrays of the same size exclusive OR operations of array A and array B are performed The results are stored in array C Operation Example When Start is ON the result of the exclusive OR operation of Data A and Data B is stored in Data C Start Pro Control Editor Ver 5 0 User Manual 4 17 Chapter 4 Instructions 4 18 wa NOT Bit Invert NOT EN DN A C When the NOT instruction is executed the bit in C turns ON if the corresponding bit in A is OFF The NOT instruction turns OFF the bit in C if the corresponding bit in A
49. ACE T CodeList E AD a SC VariableList CodeList a SE a S Por To return to a normal screen from the variable list screen touch Clear Display Color of Variable Name For color monitors Variable Attributes Display Color System Variable User Defined Variable Display Color of Variable Value For color monitors Variable Type Display Color Real LightBlue Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature N AN The GLC2600 unit displays up to 32 characters for a variable name l However if the 32nd character is for the 1st byte of a double byte Important Character 31 characters are displayed at maximum For GLC2300 GLC2400 GLC2500 LT they display up to 24 single byte characters for a variable name However if the 24th character is for the 1st byte of a double byte character 23 characters are displayed at maximum Touch the corresponding variable to display the exclusive variable such as the timer or the counter variable Touch the corresponding variable to display all elements of an array variable The value displayed in the variable list is the current value of the header element Use CLEAR button to go back to the vari able list screen KEN Setup Value Edit Feature This allows you to switch ON OFF contact points and to modify setup values of the bit integer timer and counter variables A IN e Corresponding GLC units are GLC2300 Series G
50. C display features Therefore when using the functions assigned to the System Data Area such as the screen change and clock function via the Controller Feature the data in the LS Area should be shared between the Display Features and Controller Features by registering the LS Area as variables This is defined as the LS Area Refresh It is also possible to use an area outside of the System Data Area if the GLC unit s controller features or display features need to share data Display Features Controller Features LS Area Variable Area Data A LS Area MEMORY For User Other Shared Area defined variables etc System Data Area e Bande Kafe User Area Other Shared Area Special Relays Special Relays The timing of the LS Area Refresh and the Logic Symbol data update is not synchro nized When designing your logic program to use either of these as a trigger for data zoco lt gt nr 0 0 P R Oo G R A M update be sure to include an interlock feature Pro Control Editor Ver 5 0 User Manual 5 1 Chapter 5 LS Area Refresh WA LS Area Refresh Settings When using a logic program to designate the LS Area the desired variable must first be registered in Pro Control Editor This section describes this procedure E Variable Registration In Pro Control Editor s Data menu click Variable Type to open the Variable Type dialog box This section describes how to register a variable with a variable name LS
51. C2400 Series Flex Network Driver GLC2600 Series LT Type A Series DIO Driver LT Type B Series LT Type B Series Flex Network Driver LT Type C Series Refer to LT Type H Series LT Type H Series WO Setup User s Manual Se te e When an I O error occurs and the controller stops create the following logic DS program There will be a delay of approximately one scan from the time the error is detected until the time the logic program stops In the following example an I O error is detected with IOFault and logic ex ecution is stopped by assigning 1 to Command OF ault TUN OUTI Command When an HO error occurs IOFault will turn ON Detailed information can be checked by IOStatus See 3 2 16 IOFault and 3 2 21 Command Pro Control Editor Ver 5 0 User Manual 8 1 Chapter 8 UO Drivers ewa Flex Network Interface Driver This section describes the Flex Network driver menus in the GLC unit s OFFLINE mode Prior to executing any Flex Network Driver menu instructions be sure to download the Flex Network driver from Pro Control Editor software in your PC Also for GLC100 and GLC300 models make sure that the Flex Network I F unit is attached to the back of your GLC unit GLC2000 Series LT Type B LT Type B and LT Type C have been equipped with the built in Flex Network I Fs To return to the GLC unit s OFFLINE mode refer to the GLC unit s user manual sold separately LT unit
52. D gt oO SS A D Program Control c D Jump to Subroutine EE e GES from Subroutine Repeat Special PID Calculation Instructions SN sine function cosine function O tangent function Function Arc sine Control Arc cosine x Instructions Arc tangent x Cotangent Exponent LN Natural logarithm I For how to distinguish Revisions refer to For GLC2400 GLC2600 Users Hi z x wats A 2 Pro Control Editor Ver 5 0 User Manual Appendices Hg aeea System Variable List For details of each system variable refer to Chapter 3 System Variables Category System Variable Process AvgLogicTime Displays the average Logic Time Read Perform Write once every 64 scans Unit ms AvgScanTime Displays the latest Logic Time Read Perform Write Display processing once every 64 scans Unit ms LogicTime Displays the latest Logic Scan Time Read Perform Write Unit ms ScanTime PercentAlloc Calculates the Percent Scan s percentage Unit ScanCount Excluding the current scan counts the number of scans performed ScanTime Displays the latest Logic Scan Time Read Perform Write Display processing Unit ms TargetScan Sets the Constant Scan Time Unit ms WatchdogTime Displays the Watchdg Timer value set either in the editor or in offline mode Unit ms Defines the mode entered when the GLC starts up Counts the number of times a variable is
53. Data A B The LT instruction passes power if A is less than B The following table lists the combinations of A and B in which LT instructions can be executed Integer Integer Constant Integer Constant Real Constant Real Constant Real values need to be compared very carefully For example a calculation might result in 1 99999999999 which is less than 2 Foster Ka Pro Control Editor Ver 5 0 User Manual 447 Chapter 4 Instructions Example Run mode is triggered when the value of Data A is smaller than that of Data B after Start is turned ON KK GE Compare gt A Data GE EN a B Data A B The GE instruction passes power if A is greater than or equal to B The following table lists the combinations of A and B in which GE instructions can be executed Integer Constant Integer Constant Real Constant Real Constant Sas Real values need to be compared very carefully For example a calculation might result in 1 99999999999 which is not greater than or equal to 2 Example Run mode is triggered when the value of Data A is equal to or greater than that of Data B after Start is turned ON 4 48 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KK LE Compare lt A Data LE JEN a B Data A B The LE instruction passes power if A is less than or equal to B The following table lists the combinations of A and B in which LE instructions can be ex
54. E Conversion Normal Continuity IN Binary OCH A Binary conversion gt B Conversion EN ON Normal Continuity A B A Encode conversion B Encode a Normal Continuity A Decode conversion B Decode Ge Normal Continuity B conversion A Radian conversion B Degrees gt Normal Continuity Radians Degree conversion A Degree conversion B Radian gt Normal Continuity Degree 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix In struction List E Program Control Instructions C Insructon Type Symbol Function JSR Jump gt gt Subroutine Jumps to subroutine Subroutine Name lt lt RET an nn lt RETURN gt Returns to called JSR command Subroutine Repeats execution of the logic program FOR NEXT Repeat between FOR and NEXT for the number of times assigned at A 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix In struction List Pro Control Editor Ver 5 0 User Manual 4 5 Chapter 4 Instructions E Special Instructions When EN is energized SP and PV perform the PID calculation and output via CV When EN is not energized TB and CV go to MOV PID Calculation 1 There are some restrictions on instructions that you can use depending on the model and the rev
55. EE 4 19 4 2 13 MOV ONG AIS TCE Ya een 4 19 Pro Control Editor Ver 5 0 User Manual 3 Preface 4 2 14 BMOV Block Tannen 4 20 4 2 13 EMON Bill Transfer ea aaa 4 22 42 16 SUM sum Total iin ee 4 24 4 2 17 AYB Aysrapo nur 4 26 4 2 18 BONT BEL Omen 4 28 2 193 ROL Rotate 1 ee ee 4 29 2 2 20 ROR Rotate Richt ae seien 4 30 4 221 SOLCHE TEN seen anne 4 31 12 22 SAHR SMU RIG een 4 33 4 2 23 RCL Left Rotation with Carry nn 4 35 4 2 24 RCR Right Rotation with Carry aaa 4 36 42 25 SAL Afithmetic Shift Left an 4 37 4 2 26 SAR Arithmetic ShiftRight ea 4 38 4 227 POI Add anne 4 39 4 2 28 SUB E neiaa et daria eric sc acer uae ea esas 4 40 4 2 20 MUL MUlUpIY zes aaa 4 41 4 2 30 DIV Diyide ea ae 4 42 42 31 MOD M6WW SI nnd edlen 4 43 4 2 32 INC increment unse nannten 4 44 4 2 33 DEC Decrement cccccsccsssssssnersccscessssssscsnccsscecsesessssneneeescsce 4 44 42 34 SORT Square ROOT ee 4 45 42 39 EO Compare EE 4 46 12 6 GT Compare gt ee 4 47 1237 ae e anne a aeciteeieiaee 4 47 41238 GE Compare gt senken 4 49 4 2 59 LE Compare aa 4 49 1240 NE Compare lt gt nee au a 4 49 4241 TON Timer ON Delay esccesatucedasste ea E EEE 4 51 12 42 TOF Timer OFF Delay ansehe 4 53 4 2 4 TP E EEN 4 55 4 244 CTU UP Te een 4 57 4 2 45 CTD DOWN Counter E 4 57 4 2 46 CTUD UP DOWN Connie an 4 59 4 2 47 BCD BCD Conversion cccssssenncccccecscsssssnccceneccscessessenenes 4 59 4
56. Editor Ver 5 0 User Manual Chapter 4 Instructions was PT Positive Transition Contact Variable P When the PT instruction is executed if the variable was OFF during the previous scan but is currently ON power is allowed to pass for a single scan When starting up the program the state of positive transition contact during the previous scan is considered to have been OFF The following diagram is an example of the PT instruction s function Start Motor TE e Previous Current Next Next Scan Scan Scan Scan Start Motor I 1 l ji 1 i I l PT Detected e e e A When the Start variable turns ON the Motor variable turns ON B After one scan the current scan the Motor variable turns OFF C Since the rising edge of the variable Start is not detected the variable Motor remains OFF A Be careful when using PT Rising type contacts and NT Falling type l contacts instruction operands for indirect addressing of elements in ar important rays or bit designations via variables The condition of variables set via operands and used during previous program execution and those variables set for operands are compared and then executed Therefore when designated variable values differ the condition comparison object also differs Pro Control Editor Ver 5 0 User Manual 4 13 Chapter 4 Instructions wa NT Negative Transition Contact AN IN DW Important 4 14 Variab
57. Flex Network I F 8 3 Constant Scan Mode 1 1 1 5 1 7 Controller 1 1 3 8 5 1 Controller States 1 3 Copyrights 1 Counter Instructions Counter Variables 2 5 44 Damages or Third Party Claims 1 Data Files 9 Data Sharing 5 7 Data Watch List 3 6 Device Addresses 2 1 Device PLC Connection Manual 9 Digital Electronics Corporation 1 5 9 DIN DOUT Loopback Cable 8 15 DIO Unit DIO Driver 8 13 Error Codes O Errors 817 Self Diagnosis Troubleshooting Discrete Arrays 2 7 Discrete Variables 2 3 Disk Media Usage Precautions 10 Display Features 1 1 5 1 8 19 8 13 8 17 Enable WO 94 Error Codes 9 3 Error S Nos 8 5 Pro Control Editor Ver 5 0 Operation Manual Errors BCD BIN conversion DIO Unit 819 External Device Communication Fault Errors 9 3 Flex Network I O Units 8 11 8 13 VO Unit 8 1 Initialization Internal 8 19 Messages 9 1 Operation 94 Pro Control Editor Program Operation Runtime 8 19 Setting 8 19 External Devices LS Area Refresh Cautions and 5 9 EI 3 12 4 59 5 9 8 19 94 94 Faults Fault Errors 9 3 Fault Flags 3 8 Mathematical 3 11 Minor 3 11 3 13 Status Codes 3 9 Status History 3 8 Flex Network Interface Communication 8 3 Driver 8 3 I O Unit Settings 8 3 Self Diagnosis 8 3 Troubleshooting 8 11 Floating Point Instruction 4 39 4 41 442 Foreign Regulations 1 General Information Symbols and Terms 12 GLC Features 1 1 GLC Scan Time 1 5 GLC Variable Monitor Feature
58. INALS DISCRETE wen OUTPUT TERMINALS WORD LE IEE IEE fe IR LI Select the Module No either 0 or 1 The 0 unit is attached directly to the GLC and the 1 unit is attached to the back of the 0 unit Select the Input Variable Type either Discrete or Word Select the Output Variable Type either Discrete or Word For example if you enter 0 as the Module No Discrete as the Input Variable Type and Word as the Output Variable Type then touch the RUN button in the screen s top right corner the I O Monitor screen will appear GLC100 LT Series GLC300 Series 1 0 MONITOR f M LU INPU 170 MONITOR mu No on INPUT J OUTPUT 0 65535 0 685535 OUT When the Input Variable Type is Discrete the input terminal S No will appear in reverse color When the Output Variable Type is WORD use the ten key keypad to enter the data When using the GLC100 and LT Series units touch the data entry field and the ten key keypad will appear After entering data touch the OUT key to output the data Data will be displayed in decimal format Pro Control Editor Ver 5 0 User Manual 8 15 Chapter 8 UO Drivers KK DIO Trou
59. INE RUN Condition Analog Output Od A utput from Logic UO Signal 7 a Program No Analog Ouput Output from Logic Program No Analog Output AN IN IK The RESET mode s I O signal OFF timing is NOT fixed Important E Loopback Cable Creation Use the following diagram when creating the DIN DOUT loopback cable COM A1 24V B1 COM A2 24V B2 NC A3 VEER NC B3 DC24V NC A4 NC B4 DOUT15 A5 DIN15 B5 DOUT14 A6 DIN14 B6 to to to DOUT A19 DIN1 B19 DOUTO A20 DINO B20 Recommended Products Connection Type Model Number Fujitsu FCN 361J040 AU Connector Soldered Type FCN 360C040 B Cover Digital FN IFCNO1 Connector Cover FCN 363J040 Crimped Type Fujitsu FCN 363J AU S FCN 360C0404 B A6TBX36 Terminal Block Terminal Block Unit Type Mitsubishi AC TB Cable cable length TADON 1 This product is similar to Fujitsu s product 8 14 Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers Bew UO Monitor l O Connection Check On the DIO driver menu touch I O Monitor to call up the following screens When I O Monitor has been Selected GLC100 LT Series GLC300 Series 1 0 MONITOR SETTINGS e e 170 MONITOR SETTINGS RUN CANCEL MODULE NUMBER No 0 1 D MODULE NUMBER a 01 0 1 INPUT TERMINALS DISCRETE INPUT TERMINALS DISCRETE WORD OUTPUT TERM
60. Io To Jo Jo Io Jo Jo Jo o Jo Jo Jo Jo ole e Ifa value other than 0 to 31 is entered in Input A the error code 13 is set to FaultCode as a minor error OverFlow See 3 2 17 Overflow The DECO instruction does not support variable modifiers assigned bit word or byte KEN RAD Radian conversion 4 62 A Data In degrees FAD EN DM B Variable that stores the result In radian units A B The RAD instruction converts a degree value to a radian value and stores the result in B This instruction is normally ON The following table lists the types of A and B data that can be used for this instruction Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Integer or integer constant Rea 4 Real or real constant Real Rina T 3 1415926535897 D KE DEG Degree Conversion DEG EN DM A B A Data Radian B Resultstoring destination Degree If you execute the DEG instruction Radian of an angle unit will be converted to Degree and the result will be stored in B This instruction always continues The combination of A and B that you can execute the DEG instruction is as the following Type of A Integer or Integer Constant Real or Real Constant Cre T 3 1415926535897 KE JMP Jump gt gt Label lame When the JMP instruction receives power control jumps to the specified label Unlike the JSR instruction control does not autom
61. LC Connection Manual For your convenience after you install the screen editor software screen layout sheets can be found 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 The abovementioned GP PRO PB III manuals describe the procedures for develop ing GP screens The steps for developing GLC LT screens are identical simply substitute GLC LT for GP As a supplement to the manuals listed above detailed explanations are available in the GP PRO PB III online help Pro Control Editor Ver 5 0 User Manual 9 Preface Contents FileName face propbwin sheet Tag layout sheet Adobe Acrobat Reader is required to view the CD ROM s PDF manuals PRODUCT USAGE PRECAUTIONS AN WARNING Folder Name Do NOT use the GLC unit for control in situations where a life threatening accident or major machine damage could occur Disk Media Usage Precautions To prevent CD ROM or floppy disk damage or data loss be sure to observe the followinginstructions Ces D D D D D D D Careful Be sure to remove the disk media from its disk drive prior to turning the PC ON or OFF NIT
62. LC2400 Series Rev Important Above2 GLC2500 Series GLC2600 Series Rev Above2 m Switching to the Setup Value Edit Screen To edit setup values touch either the current value display area in the variable list or the operand being zoomed in to switch to Setup Value Edit Screen RES Ladder Monitor GLC2400 BEE a a me I TTT ec 1 PrE Tu IEA V D E EI ei SS it 752 StopScans 0 O StopPend ing d IY HEditCount S5HDisableAut Start On 12 1H Comman d 0 12 KG ock100ns On D TONS lay 36 950 f adderMonitor 2147414015 4 0 Off HP latform 68 un 1 ff Screen 7999 6168 0 OffYear 0 D D n IntDAT 111 VaNgbleList List ee i SE E D i CodeL ist E ai I Current Value Display Area m Operations in the Setup Value Edit Screen The setup value edit screen for integer variables differs from that for bit variables as shown in the figure below Use following operation buttons to switch the contact point and to edit setup values The screen shown below is that of GLC2400 GLC2500 GLC2600 The screen sizes of GLC2300 and LT are smaller than this but the operation method of each button is same as described below For how to di
63. MOV MOV 6 testSTONS TON MOV MOV Chana It T Ella DISPY gt sa sr test No Off Note In order to continue your search press BACK or NEXT to move to the adjacent N variable or instruction in the search results Pro Control Editor Ver 5 0 User Manual 6 15 Memo 6 16 Pro Control Editor Ver 5 0 User Manual rm Backup The data contents and the backup destination for GLC differ from those for LT Be sure to check your model when you refer to this chapter AB Overview of the Backup Feature You can easily save the data backed up to SRAM You can also execute the recovery procedure using the backup data By this way you can recover the SRAM data when the backup SRAM data disap peared due to power OFF status continued for a long time or when the backup SRAM data have been damaged The backup data contents and the backup destination for GLC differ from those for LT as described below GLC Backup GLC Data Backup Destination CF Card Backup Data Contents Variable values OFFLINE controller setting data Driver backup data Data transfer protocols Expansion programs Screen data backup SRAM data GP PRO PB III Tag Reference Manual Chapter 4 CF Card LT Backup LT Data Backup Destination Internal FROM Backup Data Contents Variable values OFFLINE controller setting data
64. N C and D that you can execute the RCR instruction is as the following Type of A Type of N Type of C Type of D Integer Integer or Integer Integer Constant Bit Integer Constant Integer or Integer Integer Constant Ge re e You should set N to be 0 zero or greater and to be 32 or less e If N is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Example The figure below indicates the operation example of a single bit rotation when N 1 When the RCR instruction is executed each bit will be shifted to the right direction by 1 one bit At this time bit information stored in a carry before execution is stored in the most significant bit and the least significant bit is stored in a carry as new carry information Most Significant Bit Least Significant Bit 31 30 29 28 3 2 4 0 Pro fe a0 Jt 4 Carry Information Before execution o before execution Carry Information After execution after execution Carry information is stored in the most significant bit 4 36 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KK SAL Arithmetic Shift Left A Name of the variable to be shifted pa N Shift bit count A 65 C Storing destination variablename N If you execute the SAL instruction the A bit will be shifted to the left direction by N bits When it is shifted by 1 one bit the far left bit m
65. O PB III for Windows Ver 7 0 Product GLC100L GLC100 LG41 24V GLC100L GLC100 Series Gm GLC100S GLC100 SC41 24V GLC100S GLC300 Series GLC300T GLC300 TC41 24V GLC300T GLC2300L GLC2300 LG41 24V GLC2300L GLC2300 Series GLC2400 Series GLC2300T GLC2300 TC41 24V GLC2300 GLC2400 GLC2400T GLC2400 TC41 24V Rev None 1 GLC2400 Rev Above2 GLC2500 TC41 24V GLC2500 GLC2500 Series GLC2500T GLC2500 TC41 200V GLC2500 GLC2600 Series LT Type A Series GLC2600 GLC2600 TC41 24V Rev None 1 GLC2600T GLC2600 Rev Above2 GLC2600 TC41 200V GLC2600 ns 50 BG41 XY32SK LT TypeA LTC Type ails Ge 50 SC41 XY32SK LTC TypeA LT Type A2 atc 50 BG41 XY32SC LT TypeA LT Type B GE 50 BG41 FLEX 24V 2 LT TypeB B LT Type B CTSA 50 BG41 XY32KF yp LTC Type B ac ISA sa LTC TypeB LT Type A1 LT Series LT Type C Series LT TypeC GLC150 BG41 RSFL 24V_ LT TypeC LT Type H Series er 50 BG41 ADTK 24V Geesse 50 SC41 ADK 24V LTC Type H1 a Arc TypeH GLC150 SC41 ADTK 24V 50 SC41 ADTK 24V GLC150 BG41 ADPC 24V 50 BG41 ADPC 24V LT TypeH Gees 50 BG41 ADTC 24V GLC150 BG41 ADK 24V LT Type H1 GLC150 BG41 ADPK 24V LT TypeH For how to distinguish Revisions eee to For GLC2400 GLC2600 Users Pro Control Editor Ver 5 0 User Manual 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
66. O unit side change the settings in Pro Control Editor and download the logic program to the GLC The logic program will then be set to RUN mode and the set tings will be enabled e The settings of the range changeover switch on the I O unit side are read in the internal unit when the I O unit s power cord is plugged in To change the settings of the range changeover switch be sure to turn the I O unit s power OFF and then ON again e The settings of the range changeover switch on the I O unit side are read in when a logic program is switched to RUN mode To change the settings of the range changeover switch change the logic program to STOP mode and then to RUN mode If the ranges do not match the data cannot be read correctiy Pro Control Editor Ver 5 0 User Manual 8 9 Chapter 8 UO Drivers IN Important IN a Important 8 10 For FN DA04AH 1 0 MONITOR Enter data with the keypad Touching the screen s data display will call up the keypad After entering all data push the OUT button to output the data All data is displayed in decimal format GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series TO MONITOR CH 1 OUTPUT RANGE 5 No 1 0 5 0 a095 SET Vora kkk 1 0 MONITOR CH 1 OUTPUT 0 5V S No 1 0 4095 3 RETURN D OUT SZ ELERTE ielea el Bee D a fe
67. PREFACE Thank you for purchasing Pro face s ladder logic programing software Pro Control Editor Ver 5 0 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 nn NOTE mn 1 The copyrights to all programs and manuals included in Pro Control Editor Ver 5 0 hereinafter referred to as this product are reserved by Digital Electronics Corporation Digital Electronics Corporation grants the use of this product to its users as described in the Software Licence Agreement in cluded with the CD ROM Any violation of the abovementioned conditions is 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 please contact your local sales representative 3 Regardless of the above clause Digital Electronics Corporation shall not be held responsible for any damages losses or third party claims 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 information contained in and d
68. RAM Data Recovery of the Maintenance menu MAIN CTRL MENU MAINTENANCE BRAM DATA RECOVER 3 If you press the Start button the recovery procedure will start When it completed the Recovery Completed message appears SRAM DATA RECOVERY The last backup date is displayed BACKUP 03 11 12 T e The recovery data is shown by the last backup date Be sure to check importini it before you execute recovery e If no previously backed up data exists or if data different fromt he backed up data has been sent to the LT the message No data will appear Note Press the Cancel button to go back to the previous menu Ka Pro Control Editor Ver 5 0 User Manual 7 3 Chapter 7 Backup 7 4 Pro Control Editor Ver 5 0 User Manual sam I O Drivers This chapter describes I O drivers that are required when using the built in I O in the GLC unit For the driver of LT Type H refer to LT Type H Series I O Setup User s Manual sm I O Drivers Overview To perform external I O the GLC unit s I O unit must be attached and its related I O drivers must be installed For detailed I O Driver information refer to the Pro Control Editor Operation Manual 2 11 I O Configuration The following table lists the GLC supported drivers Supported Drivers GLC100 Series DIO Driver GLC300 Series Flex Network Driver GLC2000 Series GLC2300 Series GL
69. S nennen 9 3 9 3 Program HE VOVS sss scessscesnazeasacasuccaascazsinisadusnnasaznenns csaesdassandsaniexacseaasaadssaacoassies 9 4 Appendix 1 Instruction List ssscisssssscescsiessccccsestesessccdisaszescescccasdcstsneacessscanseesseasceoes A 1 Appendix 2 System Variable List isn nee A 3 INDEX O Pro Control Editor Ver 5 0 User Manual 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 does not include individual descriptions pertaining to the rights held by each company Trademark Rights Holder Microsoft MS MS DOS Windows Windows 95 Windows 98 Windows Me Windows NT Windows Microsoft Corporation USA 2000 Windows XP Windows Explorer Microsoft Excel The following terms used in this manual differ from the official trade names and trade marks listed above Term used in this manual Windows 95 Microsoft Windows 95 Operating System Windows 98 Microsoft Windows 98 Operating System MS DOS Microsoft MS DOS Operating System Formal Tradename or Trademark Pro Control Editor Ver 5 0 User Manual 7 Preface APPLICABLE PRODUCTS The following is a list of products used with Pro Control Editor Ver 5 0 software In this manual the following names are used to describe series units and products GP Type refers to GP PR
70. Second Element No 64th Bit E Bit 62nd Bit First Element s 29th Bit As aresult since Water_Sales X 61 Water_Sales 1 X 29 both can be used to access the 62nd bit of the Integer array Water_Sales To access the 6th byte of the Integer array variable Water_Sales both Water_Sales B 5 and Water_Sales 1 B 1 can be used To access the 5th word of the Integer array variable Water_Sales both Water_Sales W 4 and Water_Sales 2 W 0 can be used Water_Sales X 61 and Water_Sales 0 X 61 have the same meaning In the following example the 3rd bit of the system variable Status is used as a NO instruction variable The third bit of Status identifies whether the GLC unit has an I O error or not Therefore when the third bit is turned ON the output coil s IO_Error is turned ON which provides notification that an I O error has occurred S5tatus XE IO Dor m bp nn Pro Control Editor Ver 5 0 User Manual Chapter 2 Variables E Accessing a Real Array Real Arrays can be accessed using array elements To access the elements of a Real array the modifier n must be attached to each element which represents the element number Also 0 is used for the first element in the array E g To access the Sth element in the Real array SolutionTemperature you would use SolutionTemperature 4 SP te Pro Control Editor can handle up to 2048 GLC variables The elements of the N array become single variables
71. System Data Area s Write settings Refer to the GLC Series User Manual sold separately GP PRO PB III PLC Device Connection Manual 3 2 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables lt a System Variable Details This section describes each system variable in detail ERAN AVgLogiclime AvgLogicTime stores the average logic time in ms units The average logic time refers to the average time required in one scan to read I O execute the ladder logic program and read I O Every 64 scans this system variable updates the average logic time since its last calculation Variable Type Integer AvgLogicTime Set by Controller Read Only cae AvgScanTime AvgScanTime stores the average amount of time in milliseconds that the controller uses to read inputs execute logic write outputs and perform display processing in a single scan Every 64 scans this system variable updates the average scan time Variable Type Integer AvgScanTime Setby Controller ser Turn Read Only 7 Pro Control Editor Ver 5 0 User Manual 3 3 Chapter 3 System Variables wirkte LogicTime LogicTime indicates the length of time in milliseconds that the controller uses in a single scan to read inputs execute logic and write outputs of the previous scan Logic time does not include the display processing time allowed by the controller for other programs to execute
72. Variable TB Tieback CV Control Variable The PID Proportional Integral Derivative instruction compares a measured value Process Variable from the analog input or temperature input with a preset value Setpoint The PID then adjusts the Control Variable to eliminate the difference be tween the Process Variable and the Setpoint When performing the PID control the proportional P the integral I and the deriva tive D controls can be combined freely By setting each parameter described later in this section these controls can be executed The control value calculated by the PID control can be expressed in the following equation t CV KC E Reset o E dt Rate H KC Proportional Coefficient E Error Signal SP PV or PV SP Reset Integral Time Rate Derivative Time This is set in the Tuning tab explained on the following page This is not a control block variable value 4 66 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions By adjusting the sampling period in the Tune tab which is described later the effect of noise on the error signal can be reduced The filtered error signal can be expressed in the following equation TLoop EF EF 7 E EF D n 22 Filter n ne EF Filtered Error Signal Tloop Data Refresh Period Loop update time TFilter SamplingTime DFTC E Error Signal SP PV or PV SP E Overview When the PID instruction passes power it adju
73. When it is shifted by 1 one bit the far right bit least significant bit is lost and the most significant bit information before execution is stored in a vacant bit on the far left This instruction always continues The combination of A N and C that you can execute the SAR instruction is as the following Type of A Type of N Type of C Integer Constant Integer or Integer Constant GX te e You should set N to be 0 zero or greater and to be 31 or less 2 e If N is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Example The figure below indicates the operation example of a single bit rotation when N 1 When the SAR instruction is executed each bit will be shifted to the right direction by 1 one bit When it is shifted by 1 one bit the far right bit least significant bit is lost and the most significant bit information before execution is stored in a vacant bit on the far left Most Significant Bit Least Significant Bit 31 30 29 28 3 2 4 0 CITT CTT d Removed Vv After execution CTT oo Before execution 4 38 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions EE ADD Add A Data ADD EN DN B Data A c B C Destination Variable When the ADD instruction is executed A and B are added and the result is placed in C If both A and B are Integers or Integer constants the ADD instruction per
74. a surge killer Use a shielded cable Correctthe program Pro Control Editor Ver 5 0 User Manual 8 17 Chapter 8 UO Drivers E Error Codes V O errors are Read Write errors When I O errors occur the controller writes an error code to the IOStatus variable The logic program continues to operate The following table describes possible error causes and solutions for when the DIO unit is attached to the GLC Setting Errors Error Gode Description Solution Internal variable error allocated to I O 501 terminal External variable error allocated to I O 502 terminal Output variable error allocated to UO 503 l terminal Discrete variable error allocated to 504 analog terminal Integer variable error allocated to 505 i discrete terminal Resetthe variable used 8 18 Variable type notsupported by driver Correctthe variable type Terminal numbers are duplicated M ultple modules are used Two or more terminals are using the same terminal number possibly Causing transfer failure Download the projectfile again Two DIO units are using the same module number Reset these numbers 50 they do notoverlap M odule number has exceeded 1 Seta module number from 0 b 1 804 Runtime Errors Unitnumber starts from 1 Setthe DIO unitnearestthe GLC units rear face to 0 Error Code Description Solution M odule 0 read out data is incorrect After two successive r
75. adjacent N variable in the search results 6 12 Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature E Search from Instruction Searches the instruction specified in the Code List screen The Search method is as follows 1 Press Code List on the bottom of the normal display screen and the Instruction List screen will display 1 lt lt NON DISE gt gt 2 START test1ToNi TON MOV 3 testi P test4TONd TON MO MOV Chang testSTONS TON MOV MOY Chano Chang Sek L R Yariablelist Codel ist S Si 2 In the Code List screen all instructions that can be used in the logic program are displayed Select the variable you want to search NT XOR PT NOT FUNCTION OUT ROL ADD BCL SIN OUT AN ROR SUB BIN Cos SET SHL MUL ENCO TAN SET M SHR DIY DECO ASIN RST RCL MOD RAD ACOS RSTAM RGR ING DEG ATAN NEG SAL DEC Cor NEG M SAR SORT EXP LN Pro Control Editor Ver 5 0 User Manual 6 13 Chapter 6 GLC Ladder Monitor Feature 6 14 Ka 3 When the instruction is selected in the code list screen it automatically returns to
76. al to Integer variable conversion Pro Control Editor Ver 5 0 User Manual 3 1 Chapter 3 System Variables SR Initial Variable System Variable Description DisableAutoStart Defines the mode entered when Discrete the GLC starts up Used to stop the performance of Prau an Error Handler subroutine Controls the completion of the FaultOnMinor logic performed when a minor Discrete error occurs Switches GLC screens by Screen assigning screen numbers Integer BIN BCD Discrete Write Only Write Only Clock 100ms Create 0 1s clock Stores Year data as BCD tw o digits Month se Month data as BCD two Integer Stores Day data as BCD two digits Stores Day data as an integer ENSEKDay value a 0 and 6 i p us diiloun Noteumentyusedby le L Hae StopPending Noteumentyusedby lt Discrete WOLScan NotcurrentyusedbyGtc Integer WoStetus NoteurrentyusedbyGtc Hee LadderMonitor Starts and runs the GLC Ladder Integer Monitor Feature PercentMem Check Not currently used by the GLC nteger Sets the starting rung number to d RungNo be displayed bythe GLC Ladder Integer Monitor Feature StopScans Not currently used by the GLC nteger Read Only ke C o E E e O o E H Read Only SP te Year Month Day and Time are saved as the GLC unit s time data Time data changes are performed via the GLC unit s Initial settings or the
77. and 5 ofthe seven source integer array elements are copied to Destination 2 3 and 4 of the six destination array elements This data transfer is performed as follows Start Source 4 E Destination SE 210 310 Source 3 is copied to Destination 2 Source Destination Source 4 is copied to Destination 3 Destination 3 Destination 4 Destination 5 Source 5 is copied to Destination 4 While the program is running the controller checks whether references to array A and E elements exist in the BMOV instruction If an invalid array is referred to a major error occurs and FaultCode is set to 2 See 3 2 14 FaultCode Pro Control Editor Ver 5 0 User Manual 4 21 Chapter 4 Instructions 4 22 WAEI FMOV Fill Transfer Variable Mode Fixed Variable Mode FMOV EHM EN DM EN DN A D 4 G B B C A Source data A Source device B Start from Array D B B Amount of data to be transferred C Amount of data to be transferred C Destination device D Variable name of destination array Variable Mode When the FMOV instruction is executed the C elements starting at index B of Integer array D are filled with value A The FMOV instruction is valid for Integer arrays only The FMOV instruction always passes power The following table lists the types of A B C and D in which FMOV instructions can be executed AB and C an al en Integer Constant Fixed
78. annot be ex ecuted e When a password is given to the project file that is transferred to the GLC unit the GLC Ladder Monitor cannot be started GER Exiting the GLC Ladder Monitor The three methods of exiting the GLC Ladder Monitor are as follows DW Important e Turn OFF Bit 0 of the LadderMonitor system variable and press END on the GLC Ladder Monitor screen See 3 2 24 Ladder Monitor e Automatically switch the screen from the PLC e Press END on the GLC Ladder Monitor screen 1 pace pec Vill Wu g lt lt NON DISP gt gt START test1Toni TON MoV 1 ro StATONd festsToNS TON Hoy HOY chana Chane z R j now Der i VariableList CodeList o FR 6 4 Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature mem Various GLC Ladder Monitor Features A logic program is displayed on the GLC unit and the rung that the power passes through is displayed with a green bolded line The number of instructions can be displayed on one screen are 18 horizontal instructions and 13 vertical rungs four instructions can be viewed by scrolling 4 5 6 1 1 lt SNoN DISP gt gt 2 START test1TONi TON MOY 3 T testi F es
79. another explicit instruction Unlatch Coil Turns a variable OFF if the coil receives RST RM Unlatch power Power remains OFF until it receives Retention Coil another explicit instruction pr Positive Allow s power to pass if the variable w as OFF Transition Ne during the previous scan but is currently ON NT2 Negative Allow s pow er to pass if the variable was ON Transition NH during the previous scan but is currently OFF 1 For the instructions listed above when a variable is retentive it automatically changes to one of the right side instructions Therefore when inserting instructions in this screen be sure to use one of the left side non retentive instructions See 2 2 Variable Types In the following example when an OUT instruction s variable is retentive the screen icon changes to M 3 Variable Type Light j Light m gt om IM gt Mi Designate Off nen Off a variable Die Seef 2 Variable is Fl Retentive Bil Global converted to M gt Select Retentive 2 There is a limit to the maximum number of PT NT instructions See Pro Control Editor Operation Manual Ch 3 Running the Ladder Logic Program Pro Control Editor Ver 5 0 User Manual 4 1 Chapter 4 Instructions E Arithmetic Operation Instructions Tmsruction Type Symbol Funcion AND Logical NN AandB gt C Mul
80. ant Integer or Real es e If the result C exceeds the range expressed by the variable data type in C Ka Overflow turns ON and the result of MUL is undefined See 3 2 17 Overflow e If either A or B are Real both are converted to Real prior to the multiplication However if C is an Integer the number is truncated after the decimal point since the result is placed in C Example When Start is turned ON Data A is multiplied by Data B and then the result ofthe operation is stored in Data C Start Pro Control Editor Ver 5 0 User Manual 4 41 Chapter 4 Instructions KEE DIV Divide A Data Div EN DN B Data A c Soe B C Destination variable When the DIV instruction is executed A is divided by B and the quotient is placed in C If both A and B are Integers or Integer constants the DIV instruction performs an Integer division Otherwise the instruction performs a floating point instruction which may reduce the processing speed The DIV instruction always passes power The following table lists the combinations of A B and C in which DIV instructions can be executed PAB le Integer or Real Integer Constant Integer Constant Integer or Real Rel he InegerorReal Real Constant Real Constant Integer or Real Ste e If B is zero or if the result C exceeds the range expressed by the variable data Ka type in C Overflow turns ON and the result of DIV is undefined See 3 2 1
81. apter 8 UO Drivers DIO Unit Output Errors Possible Cause Solution DIO unitis defective Ouputmonitor Outputline wiring check lamp is ON but Outputcommon line is incorrectly wired Outputline breakage check no ouputcan be Outputterminal looseness check performed Load currentis incorrect Provide the correct current Connector is notsecurely attached Attach the connector securely DIO unitis defective Contact your local P ro face distributor Ouputmonitor Sp Program is incorrect Aue ud Outputarea is completely OFF no ouputcan be performed E nable 1 0 box is notselected S etthe E nable 1 0 SUN DIO unitis defective Contactyour local P ro face distributor notturn OFF DIO unitis defective Designated output Check outputline wiring lines do notturn Ouputwiring is incorrect Check outputline breakage ON Check outputterminal for looseness External unitis defective Replace unit Designated output __DIO unitis defective Contact your local P ro face distributor lines do notgo Currentleakage residual voltage Change design of external device l e OFF Causes causes incorrect recurrence Attach dummy resistor etc Load voltage is incorrect Correct voltage load Outputterminal screws are loose Tighten the terminal screws Outputarea Program is incorrect Outputcommands randomly turns are overlapping ON OFF Connector is not securely attached Reduce the noise level Noise is causing unitoperation error Attach
82. ariable LS is an integer variable and is 32 bits in length When the System Data Area is 16 bits in length the low 16 bits are enabled Pro Control Editor Ver 5 0 User Manual 5 9 Chapter 5 LS Area Refresh Memo 5 10 Pro Control Editor Ver 5 0 User Manual ZB GLC Ladder Monitor Feature The GLC ladder monitor feature is also available for LT series This chapter describes the feature based on GLC The contents are also useful to LT users by replacing the word GLC with LT om Overview of the GLC Ladder Monitor Feature Pro Control Editor features a ladder monitor that can be used with the GLC unit in order to improve maintenance of a logic program All programs such as a logic program are executed during the ladder monitoring The logic program is displayed on the screen of the GLC unit The GLC2000 Series and the LT Series models support this feature I al beet pec lt gt A Vv 1 1 lt SNoN DISP gt gt 2 START test1TONi TON MOV test3Tons TON MOV MoV US test4TON4 TON Mov Moy testSTONS TON Mov MoV Sets kel DISP gt gt VariableList CodeLis Ste GLC ladder monitor screens cannot be monitored using GP Web or N GP Viewer software Pro Control Editor Ver 5 0 User Manual 6 1 Chapter 6
83. as an internal integer array The size should be calculated by combining the number of words of data to be shared with the size 20 words ofthe System Data Area E g When sharing 16 words of data with the System Data Area enter the size as 36 words 20 words for the System Data Area plus 16 words to be shared Variable Type Be Apply Copias MA Help J Retentive kl Global Te e The Special Relay Area is called the LSS area K e The maximum LS size is 276 words The relationship between variables and addresses are listed in the following table Variable Name LS Address en 0 j Lem en B E GE EE S001 BAD EE EEE o y y een 52032 System Data Area Other Shared Data Special Relays LSS 1 2033 LS2033 S LSS 15 2047 LS2047 1 Variable Name System Variables managed by the GLC unit s ladder logic program For details on the LS Area and Special Relays refer to the External Device Connection Manual provided with Pro Control Editor 5 2 Pro Control Editor Ver 5 0 User Manual Chapter 5 LS Area Refresh WR GLC Screen Number Display Confirmation Example When confirming the GLC s screen display number the LS Area to be accessed varies depending on the access method used Two access methods are available Direct Access method and Memory Link method Screen Display Number LS 0 Direct Access method LS 15 Memory Link method In the following examp
84. ase is Undefined See 3 2 17 Overflow Example When Start is set to ON the square root of Data A will be stored in Data B Pro Control Editor Ver 5 0 User Manual 4 45 Chapter 4 Instructions KK EQ Compare A Data Eq EN Gh B Data A B The EQ instruction passes power if A is equal to B The following table lists the combinations of A and B in which EQ instructions can be executed Integer Constant Integer Constant Real Constant Real Constant et Real values need to be compared very carefully For example a calculation might N result in 1 99999999999 which is not equal to 2 00000000000 Example RUN mode is triggered when the values of Data A and Data B are equal after Start is turned ON 4 46 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions aio GT Compare gt A Data GT EN Ge B Data A B The GT instruction passes power if A is greater than B The following table lists the combinations of A and B in which GT instructions can be executed Integer Integer Constant Integer Constant RealConstant Real Constant ste Real values need to be compared very carefully For example a calculation might N result in 2 000000000001 which is greater than 2 Example Run mode is triggered when the value of Data A is greater than that of Data B after Start is turned ON aya LT Compare lt A Data LT EN Qh B
85. atically return to the rung following the JMP rung A jump cannot be made over a START SUB START or SUB END label Jumping upward can create an infinite loop La Be sure that the time required to execute the entire program will not exceed the Note value of the Watch Dog Timer il See 3 2 6 WatchDogTime Example If the Jump Instruction is ON rung 3 s instruction will be skipped and will not be executed Control will jump to rung 4 with the label Operation Disabled and instruc tions below rung 4 will be executed Pro Control Editor Ver 5 0 User Manual 4 63 Chapter 4 Instructions JMP ale Ps Operation Disabled Start Operation 34 4 Operation Disabled Yee JSR Jump Subroutine Stet SE 4 64 gt gt SubroutineNames lt When the JSR instruction receives power the control jumps to the specified subroutine After the subroutine executes control returns to the rung that follows the JSR instruction and continues to execute that rung s instruction A subroutine name can not be dupli cated JSR must be the last instruction on a rung Restrictions e A maximum of 128 subroutine jumps from a subroutine can be executed e One 1 stack is used per jump in the JSR instruction The total number of stacks that can be used in a logic program is 128 The only other instruction that uses stacks is the FOR NEXT instruction which uses two 2 stacks See 4 2 56 FOR NEXT Repeat
86. available in this dialog box Note There is no tuning feature to automatically adjust each parameter DS Monitor While in Monitoring mode use the Monitor feature to monitor the PID instruction executionresult Pro Control Editor Operation Manual Chapter 4 Online Editing td Tune ES Chat l Setup PY 0 MANUAL To les Cm Type of Chart Lines The following table lists the types of lines and colors of each item monitored item Types of Lines Colors Setpoint Black dotted line Process VariablelBlack solid line _ Control Variable Blue solid line re Types and colors of graph lines cannot be changed K 4 70 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Tune Each value can be adjusted while monitoring The values set here reflect the special variables or control block variable elements 1 to 6 Pro Control Editor Operation Manual Chapter 4 Online Editing bd Monitor LA tune e Chart D Setup 1 DN Setpoint O MANUAL H Tieback O a Ke 0 H Beset 0 repeats d min d Rate 0 minutes d Deadband O d Offset 0 1 DETC 0 ms zg ma Help Ces Geet Setpoint Sets the targe
87. bleshooting This area explains how to solve possible DIO unit problems DIO Unit Input Errors Input monitor DIO Unitis defective Contact your local P ro face distributor lamp is ON but Enable 1 0 box is notselected Setthe E nable 1 0 no inputcan be performed Program is incorrect Correct program DIO Unitis defective Contactyour local P ro face distributor Input monitor Common line wiring check lamp is OFF and Inputcommon line is incorrectly wired Common line breakage check no inputcan be Common terminal looseness check performed External imputpower is incorrect Provide the correctvoltage Connector is notsecurely attached Attach the connector securely AINE ae DIO Unitis defective Contact your local P ro face distributor notturn OFF DIO Unitis defective Contactyour local P ro face distributor Program is incorrect Correctihe program Designated Input Check common line wiring lines do notturn Input wiring is incorrect Check common line breakage ON Check common terminal for looseness External unitis defective Replace the unit InputON period is wo short Lengthen the InputON time Designated Input DIO Unitis defective Contactyour local P ro face distributor lines do notturn Inputterminal screws are loose Inputarea SIE ON or OFF Reduce the noise level Noise is causing unit mis operation Attach a surge killer Use a Shielded cable 8 16 Pro Control Editor Ver 5 0 User Manual Ch
88. bottom of the normal display screen and display the Variable List screen Te lt a Jaly ON DISP gt gt 2 START testiTONa TON MOV mow 3 testi mow F test2ToN2 TON MOV Mow test2 Chang P M test3TON3 TON MOV MOV Alarm J test4TONd TON MOV MOV Chang 6 s testSTONS TON MOV MOV Chang Chana Hee R Variablelist CodeList ae b Pro Control Editor Ver 5 0 User Manual 6 11 Chapter 6 GLC Ladder Monitor Feature 2 In the variable list screen system variables and all variables included in a logic program are displayed Select by touching the variable you want to search for BE Ladder Monitor GLO2400 BEE 1 PAGE ve KS AV Status 458752 StopScans 0 Scanlount 210 StopPendins D I Scanl ime 950 HEdit Count Q HAvescanT ime 950 DisableAutoStart On HLogicT ime 12 Command 0 Avel oe icT ime 12 Clock100ms On Hat choos T ime 3000 ED 36 TargetScan 960 LadderMon itor 2147414015 H PercentMemCheck O Month 4 Gaul Ori iner Off PercentAl loc Fault Off P latform FaultRung O RungNo OverF low Off Screen Version 67174912 Time l0Fault Off lleekday 10Status Oll Year
89. can Perform 1 Scan First Scan Temporary Stop _ Continue STOP STOP E Initial Processing This is the initial state that the engine uses to perform the Logic Program Once initializa tion is finished the Controller enters the Loading state E Loading Here the actual reading in of the Logic Program from memory is performed After a check determines whether the Logic Program is successfully loaded or not If an error has occurred error processing is performed If Loading is successful the program enters the STOP state If the Power ON Operation Mode has been set to START the RUN instruction is automatically performed 1 2 Pro Control Editor Ver 5 0 User Manual Chapter 1 Controller Features E STOP In this state the Controller is waiting to receive another instruction Once the RESET Perform 1 Scan Continue or PAUSE instruction is received the Controller will change to that state e The RESET instruction will change the program to the Loading state At this time variables are initialized Retentive variables maintain data before the power shuts down or the GLC resets However when triggering Controller reset in Monitoring mode or when using Command the value set in Programming Mode is used as the initial value The RUN and Perform 1 Scan instructions clear non retentive variables to zero 0 e The RUN instruction will change the program state to Running
90. cause overshoot and short cycle hunting When the derivative time is decreased overshoot and hunting are eliminated However the recovery time from the disturbance will be greater When derivative time is increased Setpoint When derivative time is decreased Deadband PID control is not performed in the deadband and the minimum control variable value is output which provides smooth control without hunting Fan Setpoint F 7 XZ PID Deadband Time Offset Set offset value Offset can reduce the remaining difference created by the proportional control When Offset is set Setpoint BD a eer ee Remaining difference When Offset is not set 2 Offset Value N Time Pro Control Editor Ver 5 0 User Manual 4 73 Chapter 4 Instructions 4 74 Sampling Time DFTC Provides noise reduction of the connected device s measured data acquired by the Loop Update Time Calculates arunning average of the previous filtering result and the currently acquired data Setting the sampling time allows for the measured data to contain unexpected measure ments Ifthe previously measured data is calculated as an average the effect of unex pected measurements on the output value will be minor Sampling Time should be set to a larger value than the Loop Update Time Also setting the sampling value to 0 will disable the filter For loop update time information refer t
91. ch unit beginning with 0 When using an input only I O unit use only the input area of the window and when using an output only I O unit use only the output area When using a unit with inputs and outputs use both the input and output areas UO MONITOR when the VARIABLE TYPE is set to WORD The input data if any will be displayed in the input field Enter the necessary data in the output section via the ten key keypad When using the GLC100 GLC2300 and LT Series touch the data entry field and a ten key keypad will appear After entering data touch the OUT key to output the data Data will be displayed in the decimal format GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series 170 MONITOR RET S No 1 INPUT 0 6 6635 D 0 65530 OUTPUT 0 WER OUT 0 6553 four 1 2 e a 5 amp DE sl Ip Pro Control Editor Ver 5 0 User Manual 8 Chapter 8 UO Drivers Enter data within the output range according to the number of the I O Important points in each VO unit VO Points UO Range ooo ELITE EIER A e Data will be output to the I O unit for the number of I O points accord l ing to the MODEL selected on the I O MONITOR SETUP window Important PAR If data that cannot be expressed in the 8 bit system is entered in a
92. ction always passes power Valid variable data types for the FOR NEXT instruction are as follows Integer Integer Array Integer Constant Restrictions e Each FOR instruction requires a NEXT instruction e Donotinsert instructions before or after FOR and NEXT instructions on the same rung e Upto 64 nests can be included in each instruction e The number of executions ina FOR NEXT instruction cannot be changed e AFOR NEXT instruction cannot be removed while it is being executed e If the instruction exceeds more than 64 nests a major error occurs and error code 4 is displayed in FaultCode Pro Control Editor Ver 5 0 User Manual 4 65 Chapter 4 Instructions e Two 2 stacks are used for one nesting The total number of stacks that can be used in a logic program is 128 The only other instruction that uses stacks is the JSR instruction which uses one 1 stack See 4 2 54 JSR Jump Subroutine Note For information about the errors or warnings displayed by the Editor s error check refer to the Pro Control Editor Operation Manual Chapter 7 Appendix 1 Errors and Warnings For information about FaultCode error codes see 3 2 14 FaultCode e When specifying the number of nests the time required for the program s en tire execution must NOT exceed the value of Watchdog Timer See 3 2 6 WatchdogTime Ed PID PID Calculation SP Setpoint PV Process
93. de Fixed Variable Mode TSM Su EN ON EN DN A E A G B B Cc D A Source variable A Source device B Start from Array A B B Amount of data to be transferred C To Array E C C Destinationdevice D Amount of data to be transferred E Destination variable Variable Mode When the BMOV instruction is executed elements of one array can be copied into elements of another array Specifically the D elements are copied from index B in array A to index C in array E The BMOV instruction is valid for Integer arrays only When transferring arrays can be different sizes The BMOV instruction always passes power The following table lists the types of A B C D and E that can execute BMOV instructions Aande BC andn Integer Constant Fixed Variable Mode Although the operation of the BMOV instruction is equal to that in the variable mode operands to be set A B E and so on differ because the fixed variable mode does not have the concept of an Array If you execute the BMOV instruction in the fixed variable mode elements as many as B starting from the source initial address A will be copied to elements as many as B starting from the destination initial address C This instruction always continues A B and C that you can execute the BMOV instruc tion are as the following Integer Integer Constant Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example When copying Source 3 4
94. display the Controller s current state and affect its opera tion System variables are similar to variables and perform similarly Since system variables are preprogrammed and defined they cannot be deleted and their names cannot be changed SE Initial Variable System Variable Description Sysemvariabie pm 7197 Displays the average Logic Time AvgLogic Time Read Perform Write once every Integer 64 scans Unit ms Displays the latest Logic Time AvgScanTime Read Perform Write Display Integer processing once every 64 scans Unit ms gt Displays the latest Logic Scan Time Read Perform Write Unit ms 0 Integer k p mamm Lesoeasese O Mor 1 the number of scans performed Displays the latest Logic Scan Time ScanTime Read Perform Write Display Integer processing Unit ms Displays the Watchdg Timer value WatchdogTime set either in the editor or in offline Integer mode Unit ms Calculates the Percent Scan s gt P All f l la percentage Unit CS deeg ScanTine Sets the Constant Scan Time g Controllnfo Not currently used by GLC variable is forced ON or OFF Wes a Integer REN N o BECH aven EN RE CH WE Integer 10 FaultCode Displays the latest error code FaultRung ae the rung where the error lOFault Turns ON when an error occurs Discrete Turns ON when an overflow occurs Overflow due to mathematical commands or Discrete Re
95. duct When Move_Cart is turned ON bit is shifted left to the next position When the bit reaches the final bit position in the variable 31 the Product Removal Completion Bit is turned ON indicating that the operation is completed Product presence x 31 Product Removal absence signal Completion Bit Move_Cart F Product presence Product presence absence signal absence signal Bits Product presence absence signal rs S Shift Left 1 bit position Delete Product presence 0 02 HIH 0 diihi absence signal 4 Position after the operation 4 32 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions EE SHR Shift Right A Variable name to be shifted SHR N Number of bit positions to shift 2 2 C Destination variable W The SHR instruction right shifts the bits in A by N positions Bits are dropped from the right end least significant bit of the element and 0 is inserted in the now vacant bit positions at the left end most significant bit The result is placed in C The SHR instruction always passes power The following table lists the types of A N and C in which SHR instructions can be executed IN Integer or Integer Constant Integer Array Integer or Integer Constant Integer Array is same size as A Integer Constant Integer or Integer Constant There are two types of SHR instructions 1 If neither A nor C is an array a
96. e ET is reset to 0 D The timer input bit IN turns ON and the timing bit TT turns ON The timer begins timing and the elapsed time ET increments E The timer input bit IN is turned OFF before the elapsed time ET equals preset time PT the timer output bit Q remains OFF the elapsed time ET is reset to 0 Pro Control Editor Ver 5 0 User Manual 4 51 Chapter 4 Instructions KE TOF Timer OFF Delay IN Timer starting bit Variable PT Preset time of timer Pa e Q Timeupflag FT ET ET Elapsedtime After the timer input bit IN stops receiving power the TOF instruction turns the timer output bit Q OFF when the elapsed time ET equals the preset time PT in milliseconds Overview Special Variable Variable Type SE er Variable ET Elapsed Time Value Variable Q Timer outputbit Variable TI Timing bit When power is passed to the timer starting bit IN the TOF instruction starts and e Variable ET the elapsed time is reset to zero e Variable TI the timing bit turns OFF e Variable Q the timer output bit turns ON and the instruction passes power When the timer starting bit IN stops passing power to start the TOF instruction e Variable ET the elapsed time begins to increment in milliseconds e Variable TI the timing bit turns ON e Variable Q the timer output bit remains ON When the elapsed time Variable ET increments and equals the preset time Variable PT e
97. e which can be expressed in the variable type Over flow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example The following describes the case when A 10 0 1 2 3 4 5 6 7 8 9 B 2 C 5 D 2 3 4 5 6 20 Start SUM Off ADJA DID fil SS BIG ArrayA 0 B Initial Number gt The sum total of elements C Calculation Range as many as C starting from B in the array set to A 10 is stored in D rray aes The controller checks whether the SUM instruction refers to any inexistent elements of the array A during RUN or not If an invalid array is referred to a major error will occur and Faultcode will be setto 2 See 3 2 14 FaultCode Pro Control Editor Ver 5 0 User Manual 4 25 Chapter 4 Instructions ot 4 26 mwa AVE Average ote Ka Variable Mode Fixed Variable Mode AWE AVE EN DM EN DN A D 4 G B B c A Array to calculate the average A Device to calculate the average B Initial number of the array elementrange RB Number of elements to be calculated to be calculated offset C Storing destination device C Element count to be calculated D Variable name of the storing destination Variable Mode If you execute the AVE instruction it stores the average of elements as many as C starting from B in the array A n to D This instruction al
98. e Byte 0 indicates the current fault conditions of the controller e Byte is used to show the fault status history and is reset to 0 only when the controller is reset e Byte 2 indicates the current operating status of the controller e Byte 3 is reserved Variable Type Integer Set by Controller Read Only Ge re Intermittent errors can be detected by using the latch fault flag Be sure to display 201 controller status Status using hexadecimal characters Definition of Status 32bit For details of each item refer to the next page Byte3 Byte2 Byte1 ByteO Reserved Currentoperation status Error status history Current error status When the following fault flags become 1 the corresponding conditions are indicated as follows Latched Fault Flags Major fault Major fault g E ECON oo Controller Status Bin pr Forces N ZS Enabled Disabled 5 Pm Minor fault Bit10 VO fault ect Reserved Byte3 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables Major fault Minor fault See 3 2 14 FaultCodes I O fault See 3 2 16 IOFault See 3 2 10 IOStatus Read error The Editor s program cannot be written to the Controller This can be due to any validity problem encoutered when the Control ler evaluates the downloaded program For example e Missing or wrong I O driver e Corrupt program file Scan time error Occurs if
99. e The Perform 1 Scan instruction will perform the program once E First Scan Executes the I O Read performs any Logic Program that is higher than the START level and executes the I O write E Running This is the logic program execution engine s continuous performance mode In this mode it executes I O Reads performs Logic Programs executes I O writes and updates System Variables such as AvgLogicTime AvgScanTime e The RESET instruction will change the program to the Loading state e The STOP instruction will change the program to the STOP state e The PAUSE instruction will change the program to the Temporary Stop state E Temporary Stop The logic program execution engine is temporarily stopped in this state To avoid an I O watchdog timeout the system executes an I O read and I O write However the logic program is not executed so the output state does not change When a command is received the system switches to the appropriate state e The RESET instruction will change the program to the Loading state e The Perform 1 Scan instruction will perform the program once e The STOP instruction will change the program to the STOP state e The Continue instruction will change the program to the Running state 1 This mode is used to edit the program currently being executed by the controller 2 This mode is used to create a program Pro Control Editor Ver 5 0 User Manual 1 3 Chapter 1 C
100. e as A E g If 0x00000008 is entered in A the output B is 0x00000003 Bit Position 21 30 29 28 27 26 25 24 23 22 21 20 15 18 17 16 15 1413 12 1110 5 8 7 b5 432 OO oo oo po yo lo OO TOTO Toyo PO Oyo oo oo III IO oo Jl D Bit Position 31 30 29 2827 26 25 2423222120191817 16 15 1419 12 1110 9 8 7 6 amp 5 g uno lo OOO o no OO oo OOO o no OUT o In In In ale Sa If 0 is entered in Input A the error code 13 is set to FaultCode as a minor error OverFlow See 3 2 17 Overflow The ENCO instruction does not support variable modifiers assigned bit word or byte Pro Control Editor Ver 5 0 User Manual 4 61 Chapter 4 Instructions KK DECO Decode A Data DEGO B Result to be stored EN Dil The value entered in A is decoded and output to B The DECO instruction reads A as a binary value and the corresponding bit position in B is up 0 to 31 are available for input The DECO instruction always passes power The combinations of valid variable data types for the DECO instruction are as follows Integer Array Integer Array Same size as A integer Constant E g If0x00000003 is entered in A the output B is OxO0000008 Bit Position 31 30 29 28 27 26 25 24 23 a L2lolnIoTnTo Too ln ro 221 20 19 18 17 16 15 14 13 12 11 10 ojojoj jojojojojojojoj Bit Position 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 EECH 12 I WS A TR 5 e oloIn o oo Io Jo Io o o Jo
101. e mode For details of the fixed variable mode refer to Appendix Fixed Variable Mode of Pro Control Editor Operation Manual Devices in the Fixed Variable Mode Symbol Mark T Data Register Internal Variable Word Register Real o Internal Variable Internal Variable Subsidiary Relay Internal Variable Integer Array Internal Variable Bit C x xw Ge w a GE You can use the LS and LSS areas For details refer to Chapter 5 LS x Area Refresh KANN NO Normally Open Variable H Y The NO instruction allows power to pass when the variable is ON The following diagram is an example ofthe NO instruction s function Start Motor Start Motor A When the Start variable turns ON the Motor variable turns ON B When the Start variable turns OFF the Motor variable turns OFF Pro Control Editor Ver 5 0 User Manual 4 7 Chapter 4 Instructions we NC Normally Closed Variable H The NC instruction allows power to pass when the variable is OFF The following diagram is an example of the NC instruction s function Start Motor ll Start Motor A When the Start variable turns ON the Motor variable turns OFF B When the Start variable turns OFF the Motor variable turns ON 4 8 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions PR OUT M Output Coil Variable y The OUT instruction is used to turn ON OFF the variables map
102. ead attempts the GLC has detected thatthe value of DIO M odule 0 is incorrect M odule 1 read out data is incorrect After two successive read attempts the GLC has detected thatthe value of the DIO M odule 1 is incorrect Module 0 outputdata is incorrect Incorrect output data was detected by an internal loopback check from DIO M odule 0 Module 1 outputdata is incorrect Incorrect output data was detected by an internal loopback check from DIO M odule 1 Increase the time of the Inputsignal s ON period Increase the time of the Inputsignal s ON period Ensure thatthere are no noise related or other adverse effects Ensure thatthere are no noise related or other adverse effects Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers Initialization Errors Error Code Bescnpfion L e The number of DIO units registered in the WLL file and the actual number of n number of connected DIO DIO units connected are different Wadia does AS Confirm thatthe DIO unitis securely 822 Ne connected to the GLC and correctthe DIO M odule 0 does notexist f DIO driver setings Confirm thatthe DIO unitis securely connected to the GLC and correctthe DIO driver setings M odule 1 does notexist DIO M odule 1 does notexist Internal Errors Error Gode Comens J somon oat Driver Error Record the Error Number and contact Se A major system error has occurred your local Pro face di
103. easacasees 3 3 32 1 EK 3 3 322 RAN COI INE re 3 3 32 3 LOB TE een 3 4 324 ScanC UIE EE 3 4 328 Scan Imre asian 3 5 3 2 0 Watchdog line nennen 3 5 32T SPEER een 3 5 329 0 2 5 ee ee 3 6 328 Garbsen 3 6 22 10 EH geegent 3 7 SE RTE ee E 3 7 Pro Control Editor Ver 5 0 User Manual Preface NZ Fe SUIS SPRORERADIEDER SOERRERRENPELHERDEELERHEANNERESEREREREHENENREDEEBERNEHDRLDER SORPRENFERER 3 8 SE TO crises ewe NEUEN tain seve eevee eases corded eens ceeds 3 9 3 2 14 Faulilode nk 3 10 32 153 EauliRun escenes ineeie rria iias 3 11 3 216 EE EE E 3 12 32 17 E gl 3 12 32 18 DisableAuosar are 3 13 32 EU EE 3 13 3 2 20 EE nenne 3 14 3 2 21 Komma E 3 14 E e EE 3 15 32 2 CIOCkTOOMS eier 3 16 KSE ae abs 3 17 22 23 eegene 3 17 220 Weste ernennen 3 18 322 KE 3 18 3228 Werk Ne ee 3 19 giereg 3 20 3 2 30 RR eneereegeeeneeeieeeee tues 3 21 41 Instruction E soca sssssesscsacssessasssssdstacssaseomesonsscanssenensssiassiseseasenasoansiaasscoacnayes 4 1 42 Instruetion Details neun ana 4 7 421 NO N rmally Open eebe 4 7 4 22 NE Normally Closed ai eege eege 4 9 223 OUT M Ou tp t C il read 4 9 424 NEG Neg ted Co ates cca cence oniani 4 11 425 SEL SECCO ee ger 4 11 4 2 6 RST Reset CA 4 13 4 2 7 PT Positive Transition Contact cceccccesssscccccececsessrseaeeeeees 4 13 42 8 NT Negative Transition Contact ze a 4 14 429 AMI ATIC J een 4 15 42 10 TOR EE 4 17 42 11 XOR Excl si ve OR E 4 17 4 2 122 NOT Re E L
104. ecomes equal to or less than zero after decrementing the counter output bit Variable Q is turned ON and the instruction passes power When the counter reset bit Variable R is ON the preset value Variable PV is set to the current value Variable CV The counter output bit Variable Q is also turned OFF Example The following diagram is an example of the CTD instruction passing power and notifying the Error_Detection output when five errors have been counted during a one minute period The timer resets the counter every minute Minute_Timer_Start Operation_Error_Counter R 1 Operation_Error_Counter Operation_Error_Occur P Error_Detection ote The counter is reset every scan To count an event like the example above be N sure that the PT instruction is positioned before the CTD instruction s position The CTD instruction is a level input Pro Control Editor Ver 5 0 User Manual 4 57 Chapter 4 Instructions FREI CTUD UP DOWN Counter 4 58 CE UP R PV Q QU QD CV Counter starting bit Variable CTUD Counter Up Instruction cE Q Up ou Counter reset bit o aD PY CY Preset value of counter Counter output UP Counter flag Down Counter flag Current value of counter Overview Variable UP UP Counter Variable QU UP Counter Output Variable QD Down Counter Output Variable Q Counter O utput When executing the CTUD instruction while the counter up instr
105. ecuted Integer Constant Integer Constant Real Constant Real Constant SP re Real values need to be compared very carefully For example a calculation might N result in 2 000000000001 which is not less than or equal to 2 Example Run mode is triggered when the value of Data A is equal to or smaller than that of Data B after Start is turned ON Start ele NE Compare lt gt A Data NE EN Q B Data A B The NE instruction passes power if A is not equal to B The following table lists the combinations of A and B in which NE instructions can be executed Integer Constant Integer Constant Real Constant Real Constant e Real values need to be compared very carefully For example a calculation might N result in 1 99999999999 which is not equal to 2 Pro Control Editor Ver 5 0 User Manual 4 49 Chapter 4 Instructions Example After Start is turned ON Run mode is triggered when the values of Data A and Data B are not equal ea TON Timer ON Delay IN Timer starting bit Variable PT Preset time of timer hee ol Q Timeupflag FPT ET ET Elapsed time After the timer input bit IN receives power the TON instruction turns the timer output bit Q ON when the elapsed time ET equals the preset time PT in milliseconds Overview Special Variable Variable Type Variable PT Variable ET Elapsed Time Value Variable Q Timer Output Bit Variable T When pow
106. ed for Writing Cannot find variable used for Reading Too many variables are being used Limitis 2048 Cannot find S100 variable storage file Too many Parts are being used GLC heap memoryis insufficient Memory for storing programs and variables is sufficient however logic program memory is insufficient The logic program was edited and data downloaded during monitoring mode Therefore the data was saved to the SRAM and not to the default FEPROM Save the project file and download screen data again Download the project file again Download the project file again Download the project file again Reduce the number of Parts and then download the project to the GLC again Setup the GLC unit again with the Pro Control Editor after reducing the logic program size or the number of variables and labels Also reduce the number of array variable elements or shorten the name of variables and labels Switch to offline mode and follow the procedure below to copy data from the SRAM to the FEPROM Main Menu gt INITIALIZE gt PLC SETTING gt CTRL SETTING gt COPY TO FEPROM Pro Control Editor Ver 5 0 User Manual Chapter 9 Errors 9 2 The following table lists FaultCode errors that are written in when errors occur Error Code Level Cause Normal The calculated result or the conversion ofa Real variable to an Integer variable has resulted in an overflow
107. ent integral times and derivative time set in the Tune tab E Control Block Variable Element 0 Status Mode Switch Flag Bit 0 When the PID instruction in a logic program passes power bit 0 turns ON Mode i ion Important Bito Automatic Mode PID Calculation Manual Mode PID Instruction Process Completion Flag Bit 1 When the calculation process is finished and the CV is output bit 1 turns ON Bit 1 stays ON during one scan PID Instruction Calculation Calculation Process Process Bit 1 5 CV Output l gt Time 4 68 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions PID Deadband Flag Bit 2 When the control variable is within the range specified in the Tune tab of the PID dialog box orin Element 4 in the control block variable bit 2 turns ON when the process variable reaches the setpoint Bit 2 turns OFF when the process variable is outside the range Setpoint PID Process Disabled Area Bit 2 Time N te For details about the Tune tab in the PID dialog box see the following M Fine wj Tuning Adjustments and Monitoring of PID Control section Control Variable Exceeds the Upper Limit Bit 3 or Lower Limit Bit 4 When there is an output at the upper limit specified in the Tune tab of the PID dialog box bit 3 turns ON When there is an output at the lower limit bit 4 turns ON Even if a status bit is turned ON PID calculatio
108. er is passed to the timer starting bit IN the TON instruction starts and e Variable ET the elapsed time begins to increment in milliseconds e Variable TI the timing bit turns ON e Variable Q the timer output bit turns OFF When the elapsed time Variable ET increments and equals the preset time Variable PT e Variable ET the elapsed time holds the current value e Variable TI the timing bit turns OFF e Variable Q the timer output bit turns ON and the instruction passes power When the timer starting bit IN stops passing power to start the TON instruction e Variable ET the elapsed time is reset to zero e Variable TI the timing bit turns OFF e Variable Q the timer output bit turns OFF 4 50 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example In the following example the drive will be started 5 seconds after Enable_Drive is turned ON Charging_Condenser Enable_Drive Ton Start_Drive _ H o i SOOO PT ET TI A When power is applied to the timer input bit IN the timing bit TI turns ON the timer begins timing and the elapsed time ET increments The timer output bit Q remains OFF B The elapsed time ET equals the preset time PT the timer output bit Q turns ON and the elapsed time ET stays fixed at the preset time The timing bit TI turns OFF C The timer input bit IN turns OFF the timer output bit Q turns OFF and the elapsed tim
109. er program Refer to the Pro Control Editor Operation Manual Section 3 2 Starting and Stopping the Controller Variable Type Integer Set by Controller Read Only The Data Watch List window indicates the five variables that are forced ON or OFF in the logic program Data Yatch List File Edit View Help ForceCount Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables IOStatus is set by the I O driver and stores the I O driver s current status in 1OStatus 1 A value of 0 indicates that the I O is normal The status indicated by a value other than 0 differs depending on the I O driver Variable Type Integer 10 Set by Controller Read Only The Data Watch List window shows that Error 802 occurred in the I O driver 1 Data Watch List File Edit View Help Forcelount 10Status 70 802 0 0 0 0 0 0 0 04 For I O driver error code descriptions see Chapter 8 I O Drivers Kwa Platform Platform is used to store the platform number Variable Type Integer Set by Controller Initial Value 1 Read Only GLC Series LT Series Value Platform GLC2400 Rev None 1 GLC2600 Rev None 1 For how to distinguish Revisions refer to For GLC2400 GLC2600 Users Pro Control Editor Ver 5 0 User Manual 3 7 Chapter 3 System Variables Status indicates the controller s status Within Status system variable
110. es and LT Series units Ka 3 18 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables KKK Weekday Weekday displays present Weekday data with a value of 0 to 6 Variable Type Integer Set by Controller Read Only Weekday reflects the number LS2054 LS2054 cycles a value of 0 to 6 562017 at the time of day change 23 59 to 00 00 When the power is plugged in values of 0 to 6 are reflected by default It is not neces sarily reflect that Sunday is 0 and Monday is 1 To coordinate Weekday data with the actual day of the week use a keypad input display to enter values of 0 to 6 to LS2062 x Note Weekday is available only with the GLC2000 Series and LT Series units Pro Control Editor Ver 5 0 User Manual 3 19 Chapter 3 System Variables eww LadderMonitor LadderMonitor is used to start up and operate the GLC Ladder Monitor Feature Each operation is shown in the table below Variable Type Integer Set by User Writable BitLocation tems SSCS o LS a e Decimaloxadeeimalchange BEE Search e Up Se te LadderMonitor is available only with the GLC2000 Series and LT Series units Si 3 20 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables wi RungNo When the GLC Ladder Monitor is running the starting rung number is stored in RungNo Ifthe GLC Ladder Monitor is not running writing the rung number in RungNo turns the GLC Ladder Monitor Sta
111. ese variables can be designated as either global or non global Specify global for variables that are used to display Drawing Board Parts Global variables are automati cally registered as GLC symbols in the Symbol Editor when you save the ladder logic program These variables can also be shared with the Drawing Board s display feature Global non global settings of multiple variables can be performed simultaneously by selecting the desired variables from the Variable List Up to 2048 global variables can be set Refer to the Pro Control Editor Operation Manual 4 6 Changing Variable Attributes Preprogrammed system variables are set to global in the GLC unit s initial set wj tings Pro Control Editor Ver 5 0 User Manual 2 5 Chapter 2 Variables Ku Accessing Variables This section explains how to access variable array elements bits bytes and words with Pro Control Editor Anarray is amethod of declaring and handling multiple elements with a single variable name Variables of the same type can be registered as one group using an array One analogy is the drawers of a cabinet The array variable Cabinet 10 has 10 drawers numbered from 0 to 9 These drawers are called Cabinet 0 Cabinet 1 Cabinet 9 Each drawer corresponds to an individual data register in the PLC Cabinet When using 10 locations of Cabinet memory first declare the variable name of Cabinet and the array size
112. forms an Integer addition Otherwise the instruction performs a floating point instruction which may reduce the processing speed The ADD instruction always passes power The following table lists the combinations of A B and C in which ADD instructions can be executed PAB CH Integer or Real Integer Constant Integer Constant Integer or Real Rel he 1 IntegerorReal Real Constant Real Constant Integer or Real Stes e If the result C exceeds the range expressed with the variable data type in C CS Overflow turns ON and the result of ADD is undefined See 3 2 17 Overflow e If either A or B are Real both are converted to Real prior to the addition However if C is an Integer the number is truncated after the decimal point since the result is placed in C Example When Start is turned ON Data A and Data B are added and the result of the operation is stored in Data C Start Pro Control Editor Ver 5 0 User Manual 4 39 Chapter 4 Instructions KR SUB Subtract A Data SUB SEN DN B Data A c B C Destination Variable When the SUB instruction is executed B is subtracted from A and the difference is placed inC Ifboth A and B are Integers or Integer constants the SUB instruction performs an Integer subtraction Otherwise the instruction performs a floating point instruction which may reduce the processing speed The SUB instruction always passes power The following table lists the t
113. ge Screen Check feature is enabled and the screen change number is entered in Screen after the screen change is completed the value is reset to 0 Pro Control Editor Operation Manual Ch 2 Creating a Program Variable Type Integer Set by User Controller Initial Value 0 Writable The screen number set in Screen defines which base screen to display This Note number is not the currently displayed screen number The currently displayed screen number is stored in the System Data Area in LS 15 when using the Memory Link Communication Method and in LS 0 when using the Direct Access Communication Method e Screen is a write only system variable Therefore DO NOT use Screen in applications that determine screen change etc To determine the screen num ber currently displayed refer to the system data area LS area see 5 2 LS Area Refresh Settings e Screen is available only with the GLC2000 Series and LT Series units A e When changing screens using Screen use the Screen in the logic l program Do NOT write directly to the Screen using touch input Change important screens using the logic program diagram below as an example Screen Switch How EN DN Screen Number IN OUT e After power is turned ON if the Screen variable is used to change the initial screen be sure to wait more than 200ms or use the LSS 0 x 3 LS2032 s bit 3 bit rising 0 gt 1 timing Pro Control Editor Ver
114. ger Constant ge re e You should set N to be 0 zero or greater and to be 32 or less e If N is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Example The figure below indicates the operation example of a single bit rotation when N 1 When the RCL instruction is executed each bit will be shifted to the left direction by 1 one bit At this time bit information stored in a carry before execution is stored in the least significant bit and the most significant bit is stored in a carry as new carry information Most Significant Bit Least Significant Bit 31 30 29 28 3 2 4 0 ft fof 1 1 4fof1 1 Carry Information Before execution before execution Carry Information After execution after execution ol l Loo The most significant bit is stored in a carry Pro Control Editor Ver 5 0 User Manual 4 35 Chapter 4 Instructions KKH RCR Right Rotation with Carry A Name of the variable to be rotated B S Ze N Shift bit count D C Name of the variable for carry N D Storing destination variable name CG If you execute the RCR instruction the A bit will be shifted to the right direction by N bits The far right bit most significant bit is stored in a carry and carry information 1 or 0 is rotated to the far left bit least significant bit This instruction always continues The combination of A
115. he size of the GLC unit s variable storage area The amount of memory available to the GLC for variables is limited to 32KB Be sure to design your system so that the number of variables used does not exceed the GLCunit s memory limit Use the following table to find the amount of memory used by each variable me Rea ET Real Array 20 No of elements x 16 INT Zu BEE In the PLC the number of variables that can be used by each device is limited In the GLC however variables can be registered regardless of type as long as the overall limit of 32 KB is not exceeded Conventional PLC Pro Control Editor Variable External Input Contact X PartA gt D Data Register PartD PLC Device and Pro Control Variable Comparison Total 32 KB E Discrete Variables These variables are used to define a discrete condition ON or OFF using a single bit and the values 0 or 1 E Integer Variables These variables use 32 bits to define integer values from 2147483648 to 2147483647 Pro Control Editor Ver 5 0 User Manual 2 3 Chapter 2 Variables E Real Variables These variables use 64 bits to define floating decimal point values from 2 25e 308 to 1 79e 308 and 0 E Timer Counter The Timer and Counter consist of multiple special purpose variables Each dedicated variable s type is set up individually Timer The following four dedicated variables are used for Timer instructions
116. he types of A N and C in which ROR instructions can be executed N lt integer or Integer Constant Integer Array Integer or Integer Constant Integer Array is same size as A Integer Constant Integer or Integer Constant Integer 4 30 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions There are two types of ROR instruction 1 Tf neither A nor C is an array a simple 32 bit rotation is performed N must range from 0 to 31 2 If both A and C are Integer arrays of the same size the array is treated as a large Integer Bits are shifted from one element to the next rather than rotating only within each element N must range from 0 to 32 x array size 1 inclusive Si ote Overflow is turned ON if N is out of range The result is undefined Bod See 3 2 17 Overflow Example The following example describes the operation of 1 bit rotation using the signal of product presence absence Start j S Product presence gt Cl Product absence signal presence absence signal r Bits Product presence __ absence signal d A ee A KC AA Rotated Right 1 AAAA ELA TA CLA N X bit position o Ja ao Jo Jo Jo JoJo J 1 JO II OF OF 0 Product presence absence signal Most significant bit Least significant bit KEEN SHL Shift Left A Variable name to be shifted SAL N Number of bit positions to shift EN DN A C C Desti
117. in B The BIN instruction does not pass power if an error occurs The following table lists the combinations of A and B in which BIN instructions can be executed If A is not a valid BCD number FaultCode will be updated with the error code and Overflow will turn ON See 3 2 14 Faultcode and 3 2 17 Overflow Note If the value cannot be converted the value in B is undefined 6 Example When Start is turned ON Data A is converted to BIN and stored in DataB Start EIN ON Data A B Data B Example BIN data 99999999 is designated for Data A and BCD conversion is performed Bit Position 21 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 Data a Oeo lih oloi hi oloh filolo ooi OST DONN Garer IL Bit Position 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 1B 15 14 18 12 11 10 9 Data B oT Oe ee oreo ee 4 60 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions ua ENCO Encode A Data ENGO B Result to be stored N DN The value entered in A is encoded and output to B The ENCO instruction reads the 32 bits in A for the bit position that is ON and this position is output to B as a binary value If several bits in A are ON the most significant bit position is output to B The ENCO instruction always passes power The combinations of valid variable data types for the ENCO instruction are as follows Integer Array Integer Array same siz
118. information on how to set up refer to the Pro Control Editor Operation Manual 3 1 Controller Configuration and 3 2 Starting and Stopping the Controller 9 4 Pro Control Editor Ver 5 0 User Manual Appendices Deel Instruction List For details of each instruction refer to Chapter 4 Instructions Instruction List Supported Models GLC2300 GLC2500 Category Instruction Process j GLOAN e GLC2400 GLC2600 Rev None 1 DH R Rev Above2 Normally Open Normally Closed ele Output Coil Retention Coil NEG NM Negated Coil Discrete Negated Retention Coil Instructions SET SM Latch Coil Latch Retention Coil RST RM Unlatch Coil Leg Retort Col Zich OR Logical Add Instructions Movement Instructions Sum ROR Rotate Right Sun Se nn e SORT Square Root x 1 For how to distinguish Revisions refer to For GLC2400 GLC2600 Users Pro Control Editor Ver 5 0 User Manual A 1 Appendices Instruction List Supported Models GLC2300 GLC2500 GLC2400 GLC2600 Rev Above2 GLC2400 GLC2600 Category Instruction Process Rev None 1 m O r Comparison Instructions Zz m mim 4 4 Timer and Counter Instructions Timer Pulse TU UP Counter CTD DOWN Counter CTUD UP DOWN Counter BIN Binary Conversion ENCO Encode Convert DECO Instructions Radian conversion Degrees Radians Degree Conversion Radians gt Degrees CH I
119. is incremented by one if the counter reset bit Variable R is OFF and the current value Variable CV is smaller than Preset value Variable PV When the current value Variable CV is equal to the preset value Variable PV the counter output bit Variable Q is turned ON and the instruction passes power When the counter reset bit Variable R is ON the current value Variable CV is reset to zero The counter output bit Variable Q is also turned OFF Example The following diagram is an example of the CTU instruction notifying the Error_Detection output when five errors have been counted during a one minute period Minute_Timer_Start Operation_Error_Counter R _ Operation_Error_Counter Operation_Error_Occur e A Error_Detection ote The counter is reset every scan To count an event like the example above be N sure that the PT instruction is positioned before the CTU instruction s position The CTU instruction is a level input 4 56 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions ety CTD DOWN Counter CE Counter starting bit Variable CTD R Counter reset bit ee aob PV Preset value of counter l PY CY Q Counter output CV Current value of counter Overview When the counter input bit CE passes power the current value Variable CV is decremented by one if the counter reset bit Variable R is OFF When the current value Variable CV b
120. is ON IA Operator HEH Gi OFF IntegerC 1 0 0 1 o 0 1 1 The NOT instruction always passes power The following table lists the combinations of A and C in which NOT instructions can be executed Integer Array Integer Array There are two types of NOT instruction 1 When the A variables are integers simple 32 bit bit conversion is performed 2 When the A variables are an array bit conversion is performed for the entire A array The result is stored in C Make sure that the size of A and C arrays are the same Operation Example When Start is ON the result of the NOT operation of Data A and Data B is stored in Data C Start NOT __ EN DN Data A JA C Data C ume NOV Transfer Mov EN DN IN OUT When the MOV instruction is executed IN is copied to OUT If IN and OUT are different variable types the resulting type will be converted to the same type as OUT To transfer arrays both IN and OUT must be identical in type and size The MOV instruction normally passes power The following table lists the combinations of IN and OUT in which MOV instructions can be executed Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions IN Type OUT Type Discrete Array Discrete array same size as IN Variable or Array in Integer or Real Integer Array Integer array or variable thatis the same size as IN Integer Constant Variable or Array in Integer or Real Rel sd Variable or Array in
121. is instruction always continues The combination of A and B that you can execute the ATAN instruction is as the following Type of A Type of B Integer or Integer Constant Real Real or Real Constant Real Rote T 3 1415926535897 K Pro Control Editor Ver 5 0 User Manual 4 81 Chapter 4 Instructions wir COT Cotangent GOT EN DM A B A Data Radian B Resultstoring destination If you execute the COT instruction 1 tan A will be stored in B The input A is in radian Although the absolute value of the result B becomes greater as A becomes an approximation of a multiple of fl the expressible range is approximately between 2 225e 308 and 1 79e 308 real number Arithmetic Formula B 1 tan A This instruction always continues The combination of A and B that you can execute the COT instruction is as the following Type of A Type of B Integer or Integer Constant Real ss Real or Real Constant Real Note 1 3 1415926535897 DS See 3 2 17 Overflow vey EXP Exponent A Data EXP EN ON B Resultstoring destination A B If you execute the EXP instruction the exponential function of A will be stored in B The result B is output as a real number of e to the A th power Arithmetic Formula B e This instruction always continues The combination of A and B that you can execute the EXP instruction is as the following Type of A Type of B Integer or Integer
122. ision Refer to For GLC2400 GLC2600 Users and Appendix In struction List 2 A maximum of 100 special instructions can be used within a project D De Control Instructions Type Symbol Function S A Radians sin A gt B sine function en Normal Continuity cosine A Radians gt cos A gt B function Normal Continuity tangent A Radians tan A B Gase Normal Continuity A sain A gt B Radian ASIN Mesne sine a Normal Continuity os A cos A gt B Radian ACOS Arc cosine Ge SS la Normal Continuity A tan A gt B Radian ATAN Arc tangent SR Normal Continuity A Radian 1 tan A B Cotangent g Normal Continuity A gt e B Normal Continuity Natural A log A B Normal Continuity logarithm 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix In struction List 4 6 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions LWA Instruction Details This section describes the detail of each instruction It explains the variable type inte ger integer array and so on and the operation example in the variable mode which you can assign to each instruction operand When you develop the logic program in the fixed variable mode you should assign the appropriate operand type while comparing the table below with the variable type in the variabl
123. isplayed by this product may be related to intangible or intellectual properties of Digital Electronics Corporation or third parties Digital Electronics Corporation shall not warrant or grant the use of said properties to any users or other third parties Also Digital Elec tronics Corporation shall not be liable for problems related to intellectual properties of the third party caused by using the information contained in and displayed by this product Defi Eet ee ee Eet eeh GE ge ee et SS a ee es es Ge deet een bessert Se Geen 2004 Digital Electronics Corporation Allrights reserved Digital Electronics Corporation January 2004 For information about the rights to trademarks and trade names see TRADE MARK RIGHTS Pro Control Editor Ver 5 0 User Manual _ de E S S EO E E I E Ee ee Preface TABLE OF CONTENTS cae ace se eee 1 TRADEMARK RIGHTS een ent 7 APPLICABLE EE 8 HOW TO USE TAIS MANUAL nes eegene 9 PRODUCT USAGE PREEALTIONS esse 10 FOR GLC2400 GLC2600 USERS ee 11 DOCUMENTATION CONVENTIONG eee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 12 1 1 Operatime the GLC EN 1 1 1 1 1 Controller Feature Ver view ee 1 3 1 12 RINGS nenne 1 5 1 13 GLC Scan Overview nn 1 5 2 1 Vartiable E 2 1 2 2 Variable TY un E 2 3 2 3 Accessing ET 2 7 CHAPTER 3 SYSTEM VARIABLES N 3 1 3 2 System Variable List eisen 3 1 Systemi Variable Details issesicsssecsvacescesunscseesvaconsevsaacevnswanssaveuinsosassanss
124. l be able to stop executing the logic program For information about ErrorHandler subroutines see 3 2 17 Overflow Variable Type Discrete Set by User Initial Value OFF Writable SP re Fault has no meaning when there is no ErrorHandler subroutine SS Pro Control Editor Ver 5 0 User Manual 3 13 Chapter 3 System Variables Kw HFaultOnMinor FaultOnMinor is checked by the controller to determine whether the logic pro gram will stop or continue to execute when a minor fault occurs and there is no ErrorHandler subroutine in the logic program Turning ON FaultOnMinor allows you to pause the execution of a ladder logic program See 9 2 Error Codes For information about the ErrorHandler subroutine see 3 2 17 Overflow Variable Type Discrete Set by User Initial Value OFF Writable Command is an Integer variable used as a controller command After the control ler reads Command its value is reset to 0 but bit 7 remains unchanged When multiple bits are ON the lowest bit takes precedence Variable Type Integer BitO 1 Stop Controller 2 Run Controller Bit2 4 Reset Controller 8 Set by User BS EES Writable Bit5 32 Bit7 128 Enable VO 3 14 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables Screen is used to change GLC unit screens This screen change variable s opera tion differs from Change Screen Check as follows If the Chan
125. lable only with the GLC2000 Series and LT Series units e When changing the Year Month Day Time use the System Data area GP PRO PBIII Device PLC Connection Manual Month displays the Month data as set in the controller using two digits in BCD format Variable Type Integer Set by Controller Read Only Year Month Day and Time data are displayed using the following system variables E g July 14 2001 at 6 19 a m ear monn Day Time 3 N ote Month is available only with the GLC2000 Series and LT Series units NA When changing the Year Month Day Time use the System Data area GP PRO PBIII Device PLC Connection Manual Pro Control Editor Ver 5 0 User Manual 3 17 Chapter 3 System Variables Day displays the Day data as set by the controller using two digits in BCD format Variable Type Integer Set by Controller Read Only Year Month Day and Time data are displayed using the following system variables E g July 14 2001 at 6 19 a m RR A System Variable Note Day is available only with the GLC2000 Series and LT Series units Time displays Time data as set in the controller using four digits in BCD format Variable Type Integer Set by Controller Read Only Year Month Day and Time data are displayed using the following system variables E g July 14 2001 at 6 19 a m ear Month Day mme 4 C ote Time is available only with the GLC2000 Seri
126. le NH When the NT instruction is executed if the variable was ON during the previous scan but is currently OFF power is allowed to pass for a single scan During the first scan the state of transition during the previous scan is considered to have been OFF Therefore the NT instruction does not pass power during the first scan The following diagram is an example of the NT instruction s function Start Motor N ze Previous Current Next Next Scan Scan Scan Scan l Start 1 Motor o I I NT Detected Fi m A A When the Start variable turns OFF the Motor variable turns ON B After one scan the Motor variable turns OFF C Since the falling edge of the variable Start is not detected the variable Motor remains OFF Be careful when using PT Rising type contacts and NT Falling type contacts instruction operands for indirect addressing of elements in ar rays or bit designations via variables The condition of variables set via operands used during previous pro gram execution and those variables set for operands are compared and then executed Therefore when designated variable values differ the con dition comparison object also differs Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions 7a E AND And When the AND instruction is executed the bit in C turns ON if the corresponding bit in both A and B is ON Otherwise the bit in C is turned OFF A Operat
127. le FaultCode data and modify the program LOAA Refer to the Pro Control Editor Oper ation Manual 3 4 View Soon after entering RUN A Command Execution Alarm ing System Variables mode unit changes to has occurred Or a major fault STOP mode has occurred Check if the System variable Command has been written and modify the program See 3 2 14 FaultCode and 3 2 21 Command Pro Control Editor cannot The data transfer cable used enter configuration settings to send data from GP PRO PB Check whether the data Ill to the GLC unit may be transfer cable is unplugged The logic program file i i tbed loaded loose or disconnected or if there is noise eee 9 Also the PC or GLC unit s influence If the problem from Pro Control Editor e power may have dropped continues please contact The project prw file causing excessive noise and your local Pro face cannot be downloaded possible destruction of the distributor for assistance from GP PRO PB Ill contents Nala Connor WME 19 0 Enable I O 1 is not selected Set the enable I O read from the I O 1 Enable I O is used to input and output data between the GLC and I O units After downloading a logic program to the GLC unit the external I O devices cannot be performed in RUN mode As a safety precaution the I O is not enabled in the default setting It is necessary to set up the Enable I O beforehand to write and read data to the I O For
128. le logic program the Message coil turns ON when the screen number switches to 5 Direct Access method Connected to External Communication Device EQ Message L t A Off H 5 B Memory Link method Not connected to External Communication Device EQ Message Lss Off 0 5 B Pro Control Editor Ver 5 0 User Manual 5 3 Chapter 5 LS Area Refresh GEAR LS Area When not using a Device PLC IN IN I Do NOT use any areas designated as Reserved Important E System Data Area You can use controller features in your logic program to update this area and control the GLC Screen Change and Backlight ON OFF This area can be accessed by registering Pro Control Editor s internal important LS integer array variables SS a e ae e Now Pr o o 3 Writes asetvaue E Pot wes e E Error Status System ROM RAM Each bit changes according to 3 Screen Memory Chacksur the GLC error function When an SIO Framing error occurs the corresponding SIO Parity SIO Overrun ON until the power is turned OFF SE and back ON or umil RUN mode Ea Initialization of Internal Memory is re entered from OFFLINE EE mode Timer Lock Error 11 to 15 Unused LS 4 Clock Data Stores the last 2 digits of the Calendar year Year 8 to 15 Unused LS 5 Clock Data Year Month Oto7 Stores 07 to 12 Month as 2 BCD digits Month Ge Ge e LS 6 Clock Data TT 221S 10107 Stores 0
129. ll as the S Nos that have been connected to each I O unit will be checked Via the communication check operation the following items can be checked e currently connected I O units e currently malfunctioning I O units connection section Communication Check Procedure 1 Press the COMMUNICATION CHECK button and the COMMUNICATION CHECK SETUP window will appear Set Communication Speed to either 6 or 12 Setting the communication speed faster may cause the unit to be easily influenced by noise Generally set this speed to 6Mbps GLC100 GLC2300 LT Series 6 GLC300 GLC2400 GLC2500 GLC2600 Series COM CHECK SETUP COMMUNICATION CHECK SETUP NEXT CANCEL TRANSFER SPEED Mbps 6 12 TRANSFER SPEED Mbps When this test is performed all connected 1 0 unit S No s are reverse color When wiring the 1 0 units be sure all No s use original settings When this test is performed all connected 1 0 unit S No s are reverse color When wiring the 1 0 units be and are unique sure all S No s use original settings and are unique 2 Press the NEXT button and the COMMUNICATION CHECK window will appear Press START to begin the communication check The currently connected I O unit s S No will be displayed in reverse color GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series COM CHECK Total Connected 1 0 units START RETURN
130. lue 500ms Writable K PercentAlloc PercentAlloc is used when the controller is set to the Percent Scan mode It sets the percentage of the GLC unit s total CPU time available to the controller Set a scan time value in multiples of 10ms PercentAlloc can be set in the initial settings or the configuration settings when the controller is in RUN mode PercentAlloc can usually be set up in the Setup dialog box See 1 1 2 RUN Mode Variable Type Integer Setby User Range 0 to 50 Initial Value 50 Writable Pro Control Editor Ver 5 0 User Manual 3 5 Chapter 3 System Variables 3 2 8 TargetScan TargetScan is used when the controller is set to the Constant Scan mode The TargetScan variable is designated in multiples of 10ms units When the logic time is constant increasing the value in TargetScan means that the display processing time will be longer Decreasing the value in TargetScan means that the display processing time will be shorter This is because most of the processing time is used by the controller TargetScan can be set in the initial settings or the configuration settings when the controller is in RUN mode Typically TargetScan can be set up in the Setup dialog box See 1 1 2 RUN Mode Variable Type Integer Setby User Range 10 2000ms Initial Value 10ms Writable Kwa HForceCount ForceCount stores the number of variables that are forced ON or OFF in the current ladd
131. n COS EN DN B Variable that stores the result A z A Data ln radians The COS instruction computes cos A and stores the value in B Enter A data values in radian units Arithmetic Formula B cos A This instruction is normally ON The following table lists the types of A and B data that can be used for this instruction Integer or integer constant Rea _ s_ Real or real constant Real Pro Control Editor Ver 5 0 User Manual 4 79 Chapter 4 Instructions uA TAN tangent function A Data In radians TAN EN DN B Variable that stores the result A B The TAN instruction computes cos A and stores the value in B Enter A data values inradian units Arithmetic Formula B tan A This instruction is normally ON The following table lists the types of A and B data that can be used for this instruction Integer or integer constant Real Real or real constant Real When the value used for A is in the vicinity of 2n 1 X 7 2 where n is an integer B cannot be displayed Therefore Overflow turns ON and the solution is uncertain m 3 1415926535897 see 3 2 17 Overflow S ASIN Arc Sine ASTM EM OM A B A Data B Resultstoring destination Radian If you execute the ASIN instruction sin A will be stored in B The input A is be tween 1 0 and 1 0 the result B is output in radian and it is the real number between 7 2 and 1 2 Arithmetic Fo
132. n 8 point output I O unit excess data will be ignored 15 0 voo 07879701917 7719 97019 T0 Entering ze 8 point ______ 4 1 0 Output Unit u petty 07000010 joutputs 130 For FN ADV4AH FN DAU4AH 1 0 MONITOR Channel Setting The system switches successively through the selectable settings when the channel area is pressed i oil GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series 1 0 MONITOR SETUP next 1 CH 1 0 MONITOR SETUP CH il 2 3 4 gt a bi E 2 Er t 4 IBS LU m When the NEXT button is pressed the system switches to the next I O MONITOR screen The screen is different for FN ADO4AH and FN DAO4AH 7 4 8 8 Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers For FN AD04AH UO MONITOR This displays input data GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series 170 MONITOR S No 1 RETURN CH INPUT RANGE 0 bY afc 0 mme VERR RRE IEEE JOE Ra LEE Var A3 Pressing the RET URN button returns control to the VO MONITOR screen A D Conversion Table AN A e Settings other than maximum minimum A D conversion sample count I and the file type operate with the set content stored on the I O unit Important side To change the settings saved on the I
133. n is performed and either the upper limit value or lower limit value will be output Upper Limit Value Lower Limit Value gt l Output Range T Bit 3 Bit 4 Bit 4 does NOT turn ON until range is exceeded r Time Si ote For details about the Setup tab in the PID dialog box see the following E Fine wj Tuning Adjustments and Monitoring of PID Control section Exceeding the Number of Integration Process Times Bit 5 When processing is performed for an integration frequency that is outside the range assigned in the Tune tab of the PID dialog box bit 5 turns ON Even if this status bit is turned ON PID calculation is performed and the value is output at the upper limit Re ote For details about the Setup tab in the PID dialog box see the following E Fine wj Tuning Adjustments and Monitoring of PID Control section Pro Control Editor Ver 5 0 User Manual 4 69 Chapter 4 Instructions E Control Block Variable Elements 1 6 Status Elements 1 6 perform fine tuning adjustments of PID control For details see the following Fine Tuning Adjustments and Moni toring of PID Control section E Fine Tuning Adjustments and Monitoring of PID Control Clicking the instruction after setting up special variables and control block variables to the PID instruction displays the following PID dialog box Fine tuning adjustments and monitoring of the PID control settings are
134. n is retentive the following symbol is displayed in the logic program MH The following diagram is an example ofthe NEG instruction s function Start Motor A Fr Start Motor 1 A When the Start variable turns ON the Motor variable turns OFF B When the Start variable turns OFF the Motor variable turns ON The NEG instruction can be used only with non retentive variables Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions WIM SET Set Coil Variable Ce When the SET instruction is executed after the coil receives power the variable turns ON The variable will remain ON until explicitly turned OFF by another instruction such as an RST instruction Since this instruction is a coil type output instruction only one instruction can be used for each rung Other instructions cannot be used on the right side of the output instruc tion The output instruction should be placed to the immediate left of the right most power line When the variable mapped to SET instruction is retentive the following symbol is displayed in the logic program Wis The following diagram is an example ofthe SET instruction s function Start Motor 4e Start Motor Stop A When the Start variable turns ON the Motor variable turns ON B The Start variable turns OFF but does not affect the Motor variable C The Stop variable turns ON the Motor variable resets D The Motor variable stays reset
135. n the I O unit VARIABLE TYPE Select either DISCRETE or WORD Only the Word setting can be used for FN ADO4AH and FN DAO4AH 3 Press the NEXT button and the following I O MONITOR window will appear This window s items will vary depending on the VARIABLE TYPE selected Please refer to the information for the corresponding I O unit model s Ste This I O monitor cannot be used with the high speed counter and single axis posi 2 tioning unit 8 6 Pro Control Editor Ver 5 0 User Manual 10 MONITOR Chapter 8 UO Drivers FN X16TS FN XY08TS FN Y08RL FN Y16SK FN Y16SC FN XY16SK FN XY16SC FN X32TS FN XY32SK FN XY32SC 1 0 MONITOR when VARIABLE TYPE is set to DISCRETE The INPUT area terminal numbers where data has been entered will appear in reverse color Touching an Output area terminal number will output the data and reverse that number s color GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series INPUT Be SES ann 30 4 EIN INPUT OUTPUT INPUT IZD MONITOR DT RETURN The above windows display the maximum input output points of an I O unit in the Flex Network system The number of input output points depends on each TO unit model Use the range of I O points within ea
136. nation variable N The SHL instruction left shifts the bits in A by N positions Bits are dropped from the left end most significant bit of the element and 0 is inserted in the now vacant bit positions at the right end least significant bit The result is placed in C The SHL instruction always passes power Pro Control Editor Ver 5 0 User Manual 4 31 Chapter 4 Instructions The following table lists the types of A N and C in which SHL instructions can be executed E Ee Integer or Integer Constant Integer Array Integer or Integer Constant Integer Array is same size as A Integer Constant Integer or Integer Constant There are two types of SHL instruction 1 Ifneither A nor C is an array a simple 32 bit shift is performed N must range from 0 to 31 2 If both A and C arrays are the same size the A array is treated as a large Integer Bits are shifted from one element to the next rather than the most significant bit being dropped from the left end of each element Only the most significant bit of the highest numbered element within the array is dropped N must range from 0 to 32 x array size 1 inclusive Ge Overflow is turned ON if N is out of range The result is undefined N See 3 2 17 Overflow Example The following diagram is an example of a one bit left shift used to track the position ofa bit Each bit in the product presence absence signal represents the actual position ofthe pro
137. nd Precautions 10 Watchdog Timer 4 66 Ee Zoom Display Feature Ladder Monitor 6 7 Pro Control Editor Ver 5 0 Operation Manual Index H3 Index Memo LA Pro Control Editor Ver 5 0 Operation Manual
138. nit To check inputs monitor the I O unit of output signals on the GLC To check outputs monitor the GLC unit s output signals on the I O unit E I O Monitor Check Procedure 1 Select the CONTROLLER MENU window s FLEX NETWORK DRIVER and the FLEX NETWORK DRIVER MENU will appear 2 Select the FLEX NETWORK DRIVER MENU window s I O MONITOR and the following I O MONITOR SETUP window will appear 8 4 Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series 1 0 MONITOR SETUP ees 6 NEXT CANCEL TRANSFER SPEED Mbps TRANSFER SPEED Mbps 6 1 So 1 5 Ho 1 MODEL CODE Fi KISTS YOBRLYIESK Y16SC KYOBTS ADO4AH DAQ4AH MODEL CODE ARTS VARIABLE TYPE DISCRETE WORD VARIABLE TYPE DISCRETE D w 2 LGL gt TRANSFER SPEED Set TRANSFER SPEED to either 6 or 12 Mbps Setting a faster transfer speed may result in interference caused by noise Normally set this speed to 6Mbps S No Station no Select S No from 1 to 63 MODEL CODE Select one of the following models X16TS YO8RL Y16SK Y16SC XYOSTS ADO4AH and DAO4AH The FN X32TS FN XY16SK FN XY16SC FN XY32SK and FN XY32SC models are not included in the selection Therefore select a substitute model from the table below that
139. nitial Settings 2 n 0 to 20 Depends on the System Data Area setting items selected in Initial Settings 3 m 0 to 16 Depends on the size of the Read Area designated in Initial Settings Pro Control Editor Ver 5 0 User Manual 5 7 Chapter 5 A A a Important 5 8 L3 275 LS 276 LS Area Refresh If you wantthe Read Area and Variable LS to exceed 16 words the Read Area can be set with up to 256 words and Variable LS can be set with up to 276 words A maxi mum size of 16 words is recommended when setting data that is shared between the controller display processing function and external devices In the following example the Variable LS size is set to 36 words and the Read Area size is set to 256 words Controller Display Processing External Function Function Device L 0 System Data System Data Area Area 20 Words L8 35 16 Words 256 Words In the following example the Variable LS size is set to 276 words and the Read Area size is set to 16 words Display Controller Processing External Device Function Function LS D System Data System Data l 20 Words L amp a5 16 Words 256 Words e When the controller s logic program the tags or Parts on the Display Processing function or a logic program from an external device unit attempts to update the same variable at the same time priority is de termined by the timing e When writing data to the GLC unit s Read Area be
140. nt scan mode is 50 ms the scan time is 60 ms Note Besure to enter the setting value for the scan time in 10ms increments Ka e When determining the value for the setting time use the AvgScanTime value obtained from a test run of the GLC See 3 2 2 AvgScanTime 1 6 Pro Control Editor Ver 5 0 User Manual Chapter 1 Controller Features E Percent Scan Mode This mode varies the scan time according to the percentage set by the logic time This feature sets the priority to screen operation speed and screen switching speed required during Logic Program execution A UO Input Data Read 1 START Start Stop Operation or 2 Logic Time Logic Program Execution j Processing time 9 9 3 Operation for logic pro gram 4 END 2 5 H PEND Scan Time Set by SE Logic set time age variable screen I O Output Data Write Elei Tute EEN D EE EE time 100 variable Graphic pro cessing time Total scan time Logic time set by y Scan time Logic time Percent scan set time E g If percent scan time is set to 40 and logic execution time is 20ms Scantime 20 40 x 100 50ms Graphic processing time 50ms 20ms 30ms When logic time increases display processing time also increases resulting in longer scan times The longer the logic time the longer the time allocated to display processing Therefore the display is updated more quickly but the logic program proces
141. ntact your local distributor or manufacturer E Safety Symbols and Terms This manual uses the following symbols and terms for important information related to the 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 of this instruction may cause personal injury or damage to equipment Failure to observe this instruction may cause abnormal operation of equipment or data loss Instructions procedures that must be performed to ensure correct product use Actions procedures that should NOT be performed General Information Symbols and Terms This manual uses the following symbols and terms for general information Symbol Provides hints on correct use or supplementary information KEN 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 Indicates the GLC LT series of graphic logic controllers manufactured by the Digital Electronics Corporation Indicates peripheral devices including PLCs programmable External logic controller temperature controllers and inverters Note Communication Device that devices connected through Flex Network and DIO are not included
142. o Control in the Setup tab Reflect Tune tab setting to Control Block Variable Each setting in the Tune tab is reflected in the parameter variables SP and TB and the elements 1 to 6 ofthe control block variable The following tables compare the Tune tab and Parameter variables and the Tune tab and control block variable 1000 times the values in the proportional coefficient integral times and derivative period are written in the control block variable Parameter Variables Setpoint ki Tieback ki 7 Proportional Proportional Control Block Coefficient Coefficient Variable 1 Integral number Integral number of Control Block of times times per minute Variable 2 Derivative Derivative number of Control Block period times per operation Variable 3 Control Block Deadband sn PID deadband Variable 4 Control Block ff Sampling time su Control Block Sampling time Variable 6 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Chart Process Variable PV Setpoint SP Control Variable CV Deadband and Clamp Limits can be monitored The monitoring setup is available in the Chart tab Show Py Bl Process W r Mi Setpoint MANUAL kl Controlled ua Pl Deadband Bi Clamp Limits Scale Top 100 Bottom Width seconds Ges Geet Show
143. onstant Integer or Integer Constant There are two types of ROL instructions 1 If both A and C are Integers a simple 32 bit rotation is performed N must range from 0 to 31 2 If both A and C are Integer arrays of the same size the array is treated as a large Integer Bits are shifted from one element to the next rather than rotating only within each element N must range from 0 to 32 x array size 1 inclusive ote Overflow is turned ON if N is out of range The result is undefined Ka See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual 4 29 Chapter 4 Instructions Example The following example describes the operation of a 1 bit rotation using a product presence absence signal Start ROL product presence n 3 Product absence signal e presence absence signal u Bits Product presence x absence signal BER ee ee ee eg Rotate Left 1 bit position Prospsence signall2 lo o lo Jo Io Io J Jo Tolofolol Most significant bit Least significant bit KKK ROR Rotate Right A Variable name to be rotated ROR N Number of bit positions to shift EN DN A C C Destination variable N The ROR instruction right shifts thebits in A by N positions Bits are rotated from the right end least significant bit to the left end most significant bit The result is placedinC The ROR instruction always passes power The following table lists t
144. ontroller Features IAP RUN Mode RUN Mode uses the following steps Constant Scan Percent Scan RUN Mode Perform Logic Program END Processing Update System Variables etc Scan Time Adjustment Scan Completed E Scan Time Adjustment This adjustment is performed every 64 scans The various types of adjustments are described below for Constant Scan Time and Percent Scan Time Constant Scan Time Mode GLC scan time AvgLogicTime x 100 50 Percent Scan Time Mode GLC scan time AvgLogicTime x 100 PercentAlloc For information about AvgLogicTime or PercentAlloc see Chap ter 3 System Variables AN IN I The GLC or LT unit s Scan Time includes an error Important Model Difference GLC100 Series approx 0 2 GLC300 Series GLC2000 Series approx 0 3 LT Series Pro Control Editor Ver 5 0 User Manual Chapter 1 Controller Features NR GLC Scan Overview GLC Scan time has two modes Constant Scan Time mode and Percent Scan Time mode Their basic scan time includes the Controller feature logic program execution time and the Display feature screen display touch panel processing external device communication processing time as follows Controller feature section I O Input Data Read 1r START Start Stop Operation Logic time Logic Program Execution operation Ar END Dr PEND UO Output Data Write Display feature section Executes only during the
145. or B Integerafo 7 1 0 AD IntegerB 1 1 0004 Integer Cl 0 1 m 0000 The AND instruction always passes power CH CH CH CH k echt CH CH The following table lists the combinations of A B and C that can be used with an AND instruction BE SEEN SR integer Integer Array Integer Array Integer Array integer Integer Constant Integer Array Integer Constant Integer Array There are three types of AND instructions 1 When all the variables are not array variables a simple 32 bit AND operation is performed 2 When A and C are array variables and B is not an integer array AND operations are performed for each element of A and B and the results are stored the corresponding elements of C Make sure that the size of A and C arrays are the same 3 When the three variables are arrays of the same size AND operations of array A and array B are performed The results are stored in array C Operation Example When Start is ON the 3rd digit of the 4 digit BCD data of Data A is masked to 0 and the result is stored in Data C E g When Data A is 16 5678 5678 in hexadecimal system 16 5078 is stored in Data C Keesen 5 e 7 8 Start AND Data A PRP P RT PPE TEE ee 1 EN ON F i F F on Data Ala s Datac FrFOD DEPP PPR oa 16 FOFFIB S i z 5 Data Clolloldoielololoiilfloioi Pro Control Editor Ver 5 0 User Manual 4 15 Chapter 4 Instructions ER OR Or
146. or detailed information refer to the GLC Series User Manual sold separately LT Series User Manual sold separately lt When DIO Driver has been Selected gt Touch the OFFLINE screen s Controller Menu to open the DIO Menu area GLC100 LT Series GLC300 Series MAIN CTRL MENU DIO MENU MAIN MENU CONTROLLER MENU DIN DOUT DIO DRIVER MENU VO MONITOR 1 DINADOUT 2 VO MONITOR Touch the DIN DOUT key to open the following screen GLC100 LT Series GLC300 Series DIN DOUT CHECK DIN DOUT CHECK START CANCEL Warning WARNING For testing purposes external output is produced For testing purposes external output is produced Confirm that no external devices ars Sanfeet d ts zb GE Confirm that no external devices are connected to the GLC Insert the DIN DOUT loopback cable Connect the DIN DOUT loopback cable Touch either the SET or START key to start the self diagnosis Pro Control Editor Ver 5 0 User Manual 8 13 Chapter 8 UO Drivers This check sends an output signal from the output unit to the input unit Therefore prior to performing this check be sure to attach the DIN DOUT loopback cable A When switching to the OFFLINE mode or when resetting from a logic I program s RUN state the I O signal may turn to OFF Be aware of the Important possibility that the LO signal will turn OFF eee GLC RUN OFFL
147. or more I O units are using the same S No The positioning unithas S Nos for four stations Resetso there is no S No overlap 8 11 Chapter 8 UO Drivers Initialization Errors Error Code Problem Lige The ID Number loaded from the GLC units builtin Flex Network I F is invalid The Flex Network I F unitmay be broken Write down the error code and contact your local Pro face distributor Initialization Error Initialization failed to The Flex Network I F unitmay be broken 822 There is no Flex Network I F unit attached synchronize the Flex Network I F unit Write down the error code and contact your and the F lex Network driver local P ro face distributor There may be a break in the Analog unitseting error communication cable the 1 0 unitis not turned on or the 1 0 unitmay be broken Runtime Errors Error Code Description Solution Check all related wiring connector malfunction etc EE Network User Manual sold senaratdy Disconnected output signal line of This is likely due to disconnection in the sensor for inputio the analog unit A D outputsignal line Check the outputsignal conversion unit line of the sensor The High S peed Counter unitdetected an error Error in the high speed counter unit Refer to the Alex Network High Speed Counter User Manual sold separately There is an I O uniterror loose 8 Check to see if communication line is 844 die ul En disconnected powe
148. ost significant bit remains as it is the 2nd bit from the far left bit is lost and O zero is stored in a vacant bit on the far right This instruction always continues The combination of A N and C that you can execute the SAL instruction is as the following Type of A Type of N Type of C Integer Constant Integer or Integer Constant GX re e You should set N to be 0 zero or greater and to be 31 or less N e If N is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Example The figure below indicates the operation example of a single bit rotation when N 1 When the SAL instruction is executed each bit will be shifted to the left direction by 1 one bit At this time only the most significant bit is not shifted it is stored in the most significant bit as it is after execution and 0 zero is stored in the least significant bit Most Significant Bit Least Significant Bit 31 30 29 28 3 2 4 0 1lol l l I lol lt Before execution Removed 0 zero is stored in the least significant bit After execution Pro Control Editor Ver 5 0 User Manual 4 37 Chapter 4 Instructions KEE SAR Arithmetic Shift Right A Name of the variable to be shifted Za N Shift bitcount Ao LE C Storing destination variable name N If you execute the SAR instruction the A bit will be shifted to the right direction by N bits
149. ped to the VO or the Discrete variables in the internal memory Since this instruction is a coil type output instruction only one instruction can be used for each rung Other instructions cannot be used on the right side of the output instruc tion The output instruction should be placed to the immediate left of the right most power line When the variable mapped to the OUT instruction is retentive the following symbol is displayed in the logic program Ai The following diagram is an example of the OUT instruction s function Start Motor Motor 1 I 1 I A B A When the Start variable turns ON the Motor variable turns ON B When the Start variable turns OFF the Motor variable turns OFF Gote The OUT instruction can be used only with non retentive variables With reten W tive variables use the M Retention Coil instruction Pro Control Editor Ver 5 0 User Manual 4 9 Chapter 4 Instructions KE NEG Negated Coil Note Ka 4 10 Variable 0 When the NEG instruction is executed the variable turns OFF when the coil receives power and ON when the coil does not receive power Since this instruction is a coil type output instruction only one instruction can be used for each rung Other instructions cannot be used on the right side of the output instruc tion The output instruction should be placed to the immediate left of the right most power line When the variable mapped to NEG instructio
150. played even by scrolling Rungs exceeding 13 lines are not displayed and NON DISP ap pears on the screen instead On a rung that has several vertical lines if not all rungs are dis played by scrolling the screen will display NON DISP The first five characters will display for the names of a contact and coil instruction s variables mea Rung Jump Scroll Features This feature is used to move the screen to the rung you want to display when all logic program cannot be displayed in one screen E Rung Jump Feature 6 6 1 2 3 Touch the rung number display button to display the keyboard Cancel lt a ro ao ES I El an oa TL test al jr testzToNz TON MoV test3TON TON MOY MoV test4ToNd TON MOV MoV testSTONS TON MOV MOV nee T kel DISP gt gt VariableList Enter the rung number to be displayed Press the ENT button to jump to the screen of the entered rung number Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature E Scroll Feature Pressing the scroll keys to move the display screen 1 on DISP Ge 2 START testiTona TON MOV test3TON TON MOV Mov
151. r BIN or BCD position y coordinate 1 Variable names used when accessing the GLC Window number used for indirectly designated Global window Window Control Display 0 OFF 1 ON Pro Control Editor Ver 5 0 User Manual 5 5 Chapter 5 LS Area Refresh E Special Relay IN IN This area can be accessed by registering Pro Control Editor s internal Important TLSS integer array LS Var Name Content Address 1 ontents 2032 TSS 0 Share Relay Daa s Resened 2044 Lg H 1 Variable names used when accessing the GLC 5 6 Pro Control Editor Ver 5 0 User Manual Chapter 5 LS Area Refresh De GLC and External Device Data Sharing When using external communication device data with the controller features the data is shared via the LS Area However if data sharing between the controller functions and the external device s data register exceeds a size of 16 words the performance of screen display functions may deteriorate Display Processing External Controller Function Device LS 0 System Data LS0000 System Data Top Area Address System Data Area nWord LS 19 LS0019 LS 20 Read Area LS0020 Read Area Read Area LS 35 LS0035 Data mWord Share Area Share Area LS 275 LS0275 LSS 0 LS2032 Special Relay Special Relay LSS 15 LS2047 LS Area Refresh provides SIO Data Transfer provides data sharing data sharing 1 Start Address defined in I
152. r is notsupplied to the IO unit or the I O unitis malfunctioning Check to see if communication line is 845 disconnected power is notsupplied to the I O unit or the I O unitis malfunctioning The positioning unit detected an error 846 Refer tothe Flex Network Single Avis Positioning Unit User Manual sold seperately Check to see ifcommunication line is 847 disconnected power is notsupplied to the I O unit or the I O unitis malfunctioning Communication error with the high Speed counter unit Error in the single axis positioning unit Communication error with the single axis positioning unit Internal Errors Eror Code See L gge Resetthe GLC Ifan error code still 850 appears try to identify ifthe error is due to the GLC itself or to a related connected Driver Error deg A major system error has occurred Wiiedoniteerer 959 code ad refer to your GLC User Manual Contactyour local P ro face distributor 8 12 Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers sem DIO Driver This section explains the GLC OFFLINE mode s DIO menu Be sure the DIO unit is securely attached prior to using any of the DIO unit s features For instructions on how to move to the OFFLINE mode screen refer to the GLC Series User Manual sold separately LT Series User Manual sold separately Bra DIO Unit Self Diagnosis This section explains how to use the DIO unit s Self Diagnosis feature F
153. riable Q remains ON 4 54 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example The following diagram is an example of a lamp that lights up for three seconds when the switch is pressed Light_Up_3 _Seconds Switch TF Lamp A The timer input bit IN turns ON the timer starts timing TI turns ON and the timer output bit Q turns ON B When the elapsed time ET equals the preset time PT the timer output bit Q turns OFF the timer stops timing TI turns OFF and the elapsed time stays fixed at the preset time ET PT C The timer input bit IN turns OFF and the elapsed time ET is reset to 0 D The timer input bit IN turns ON the timer starts timing TI turns ON and the timer output bit Q turns ON E The timer input bit IN turns OFF the timer continues timing TI remains ON and the timer output bit Q remains ON F When the elapsed time ET equals the preset time PT the timer output bit Q turns OFF the timer stops timing TI turns OFF and since the timer input bit IN is OFF the elapsed time ET is reset to 0 Pro Control Editor Ver 5 0 User Manual 4 55 Chapter 4 Instructions win CTU UP Counter CE Counter starting bit Variable CTU R Counter reset bit cE a R PV Preset value of counter Py cy Q Counter output CV Current value of counter Overview When the counter input bit CE passes power the current value Variable CV
154. riables EK FaultRung FaultRung stores the rung number where a fault occurred FaultRung is set to 0 if there are no faults The following example shows when an error occurred at Rung 3 This error is caused by subtracting the Integer by 0 when DIV Instruction is executed This error remains until the next error occurs or the controller is reset Variable Type Integer Set by Controller Read Only Switcht Output 2 4 Switchz DV ak 4 END 5 PEND iy Data Watch List File Edit View Help FaultRung 3 Pro Control Editor Ver 5 0 User Manual 3 11 Chapter 3 System Variables 1OFault turns ON when an I O fault occurs with the I O driver This error re mains until the next error occurs or the controller is reset Check the IOStatus variable for detailed status of the I O driver When IOFault turns ON IOFault is displayed in the Data Watch List window Variable Type Discrete Set by Controller Read Only File Edit View Help OStatus 70 802 0 0 0 0 0 0 0 0 For I O driver error code descriptions see Chapter 8 I O Drivers KWAA HOverflow Overflow turns ON when a mathematical fault occurs Overflow stays ON until the next mathematical instruction or conversion Mathematical faults include instruction overflows Real to Integer conversion overflows and divide by zero errors When a mathematical fault occurs a minor fault also occurs
155. rmula B sin A This instruction always continues The combination of A and B that you can execute the ASIN instruction is as the following Type of A Type of B Integer or Integer Constant Real Real or Real Constant Real e e rn 3 1415926535897 4 80 Ka e If A is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions KK ACOS Arc Cosine ACOS EN DN B Resultstoring destination Radian A B A Data If you execute the ACOS instruction cos A will be stored in B The input A is between 1 0 and 1 0 the result B is output in radian and it is the real number between 0 zero and 7 Arithmetic Formula B cos A This instruction always continues The combination of A and B that you can execute the ACOS instruction is as the following Type of A Type of B Integer or Integer Constant Real O4 Real or Real Constant Real ih e m 3 1415926535897 e If A is out of range Overflow will be set to ON The result in this case is Undefined See 3 2 17 Overflow w r ATAN Arc Tangent ATAN EN DN B _ Result storing destination Radian A B A Data If you execute the ATAN instruction tan 1 A will be stored in B The result B is output in radian and it is the real number between 7 2 and 71 2 Arithmetic Formula B tan A Th
156. rting Bit LadderMonitor s bit 0 from OFF to ON the GLC Ladder Monitor starts up using the assigned rung number as the starting rung Variable Type Integer Set by User Read Only When GLC Ladder Monitor is started up Writable When GLC Ladder Monitor is not started Note RungNo is available only with the GLC2000 Series and LT Series units Pro Control Editor Ver 5 0 User Manual 3 21 Chapter 3 System Variables 3 22 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions a Instruction List The Instructions supported by the Pro Control Editor software are as follows This chapter describes instructions used by the Pro Control Editor You cannot use some instructions depending on the model and the revision For details refer to For GLC2400 GLC2600 Users and Appendix Instruction List E Discrete Instructions Symbol Function o Normally JE Allows power to pass when the contact Open turns ON ER N N Normally 1 Allows power to pass when the contact Closed urns OFF Turns physical output devices or internal Output Coil f i 1 OUT M Retention Coil Fos i discrete variables and expressions ON or OFF N il f 1 ae Gol Turns a variable OFF ifthe coil receives NEG NM Negated SR f f K power and ON ifit does notreceive power Retention Coil Latch Coil Turns a variable ON ifthe coil receives SET SM Latch power Power remains ON until it receives Retention Coil
157. ructions wir TP Timer Pulse IN Timer starting bit Variable TP PT Preset time of timer IN o PT E Q Timeupflag ET Elapsedtime When the timer input bit IN receives power one time the TP instruction turns the output bit Q ON for the duration of the preset time PT in milliseconds Overview Special Variable Variable Type Yarabk PT IT Variable ET Elapsed Time Value Variable Q Timer outputbit Variable TI Timing bit When power is passed to the timer starting bit IN the TP instruction starts and e Variable ET the elapsed time begins to increment in milliseconds e Variable TI the timing bit turns ON e Variable Q the timer output bit turns ON as the instruction passes power When the elapsed time Variable ET equals the preset time Variable PT e Variable ET the elapsed time stays fixed at the preset value if the TP instruction is still receiving power e Variable ET the elapsed time resets immediately to zero if the instruction stops receiving power e Variable TI the timing bit turns OFF e Variable Q the timer output bit turns OFF and stops receiving power When the timer starting bit IN stops passing power to start the TP instruction the elapsed time Variable ET is reset to zero and the timer output bit Variable Q turns OFF only if it has already reached the value of the preset time Variable PT Other wise it continues timing and the timer output bit Va
158. s gt e Touch the up and down arrow to increase decrease the range value Each time the value is changed the new value is output to the I O unit e Pressing the RET URN button will clear the current data even if the output hold setting in the I O unit is ON D A Conversion Table e The settings of the range changeover switch on the I O unit side are read in the internal unit when the I O unit s power is plugged in To change the settings of the range changeover switch be sure to turn the I O unit s power OFF and then ON again e The settings of the range changeover switch on the I O unit side are read in when a logic program is switched to RUN mode To change the settings of the range changeover switch change the logic program to STOP mode and then to RUN mode If the ranges do not match the data cannot be written correctly Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers KEN Flex Network Troubleshooting The following is a description of possible problems that may occur when using the Flex Network I F unit and their solutions E Flex Network I F unit I O Errors For a detailed explanation of Flex Network I F unit I O errors please refer to the Flex Network User Manual sold separately E Error Codes VO errors include those that occur during writing and reading When one of these errors occurs the controller writes an
159. s user manual sold separately Bra Flex Network Interface Unit Self Diagnosis This section describes how to operate the self diagnostics of the Flex Network I F unit For details on the self diagnostics of the GLC main unit refer to the GLC unit s user manual sold separately LT unit s user manual sold separately Select FLEX NETWORK DRIVER in the CONTROLLER MENU The following FLEX NETWORK DRIVER MENU window will then appear GLC100 GLC2300 LT Series GLC300 GLC2400 GLC2500 GLC2600 Series MAIN INITIALIZE FlexNetwork MENU COM CHECK CONTROLLER MEMU Flex Metwork MENU ERR 3 No DISPLAY 1 COMMUNICATION CHECK 170 MONITOR ERR S No DISPLAY 1 0 MONITOR or RESET mode the GLC or the I O signal will operate as follows re Important gardless of the Output Hold setting Be sure to take this into consider ation when changing to either the OFFLINE or RESET mode A When a logic program changes from the RUN mode to either the OFFLINE A k GLC RUN OFFLINE RUN Condition SES Output fi Logi Output fi Logi utput from Logic utput from Logic IO Signal Program Na PLAN Program No Ouput The RESET mode s I O signal OFF timing is NOT fixed DW Important 8 2 Pro Control Editor Ver 5 0 User Manual Chapter 8 UO Drivers wir Communication Check The number of the Flex Network I O units that have been connected to the Flex Net work I F units as we
160. sing cycle slows A e There is no change in the processing time for one instruction in a logic program Important e The percent scan setting value cannot be set to more than 50 e When the percent scan setting is set to 50 the display and logic pro gram are processed at the same time The display process will not be given priority ie ote Set the percent scan value so that the scan time is set in 10ms increments Pro Control Editor Ver 5 0 User Manual 1 7 Memo Pro Control Editor Ver 5 0 User Manual yaa Variables This chapter explains the different types of variables used by Pro Control Editor Using hardware independent variables enhances the reusability of your programs ym Variable Names Pro Control Editor uses variables to store I O and counter data Variables are user designated and are used as is in the logic program In a conventional PLC the area used to store data is called a device address These addresses are given specific names by each PLC manufacturer PLC Manufacturer External 1 0 Internal Timer Data Examples Relay Register Company M X001 M100 T200 D00001 Company O 1001 TIMOOO DM0000 Digital Electronics Seeche Operating Corporation Time With Pro Control Editor you can assign names to these device addresses and use them as variables in a logic program PLC Manufacturer s Device Address Pro Control Editor Switch Lampi 1 H
161. stinguish Revisions refer to For GLC2400 GLC2600 Users Pro Control Editor Ver 5 0 User Manual 6 9 Chapter 6 GLC Ladder Monitor Feature 6 10 Integer Variable Name XXXKEEXXXKKKX Current 1000000 Editing 1000000 Variable Name Displays the variable name Current Value Displays the current value Edit Value Displays the value being edited 0 9 Buttons 10 Keys For entering values to edit ON OFF Buttons Switches the contact point of the bit variable 0900 Bit Variable Name XXEKEXXXXXXXX Current On Editing Cp BS Button Deletes the last number of the value being edited CLR Button Clears the value being edited to 0 zero ESC Button Exits without saving the setup value edit ENT Button Saves the setup value edit and then exits Pro Control Editor Ver 5 0 User Manual Chapter 6 GLC Ladder Monitor Feature ei Variable Instruction Search Feature Searches a variable in the Variable List or an instruction from a logic program specified in the Code List The matching variable or instruction will be high lighted with a light blue box E Search from Variable Searches the variables specified in the Variable List screen The search method is as follows 1 Press Variable List on the
162. stributor Pro Control Editor Ver 5 0 User Manual 8 19 Memo 8 20 Pro Control Editor Ver 5 0 User Manual CR Error Messages Sa Error Message List This chapter describes error messages that can appear on the GLC unit The error messages described here are those related to the Pro Control program only For further information concerning GLC error messages refer to the GLC Series User Manual sold separately Error Message Cause Solution _ Invalid ladder file F atal Error Drive check Failed Global Data Area Too Small CantSetPriority Exception nnn mmm ooo SRAM checksum error SRAM data broken Watchdog Error Pro Control Editor Ver 5 0 User Manual The GLC s logic program file is not downloaded or the file is damaged The GLC s currentl O driver is incorrect The dowloaded file s data maybe damaged The GLC s system file is incorrect The file may have been damaged during downloading A fatal error has occurred in the lader logic program The project file stored in SRAM is damaged GLC2000 Series only The battery for SRAM back up may have run out This is a warning message GLC2000 Series only The ConstantScan Time is longer than the Watchdog time Download another copy of the projectfile from the LogiT ouch Editor Check thatthe WO driver setin the logic program file and the driver installed in the GLC are the same Download
163. struction always passes power The following table lists the combinations of A in which INC instructions can be ex ecuted Se te Overflow is set if A increments from 0x7FFFFFFF to 0x80000000 KZ See 3 2 17 Overflow Example When Start is turned ON 1 is added to Data A acs DEC Decrement A Data DEC EN DN A When the DEC instruction is executed one 1 is subtracted from A and the result is then placed in A The DEC instruction always passes power The following table lists the combinations of A in which DEC instructions can be ex ecuted a Overflow is set if A decrements from 0x80000000 to Ox7FFFFFFF See 3 2 17 Overflow 4 44 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example When Start is turned ON 1 is subtracted from Data A KKK SORT Square Root SORT EN DN A B A Name of the variable to be calculated B Storing destination variable name If you execute the SQRT instruction a square root of an input will be calculated The result B is a real number between 2 225e 308 and 1 79e 308 This instruction always continues A and B that you can execute the SQRT instruction are as the following Type of A Type of B Positive Integer or Positive Integer Constant Positive Real or Positive Real Constant Real S If A is negative and the solution is an imaginary number Overflow will be set to ON The result in this c
164. sts the PID output Automatic Mode If the PID instruction is not passing power a constant control amount is output Manual mode In Manual mode the Control Variable is set to the Tieback value Control Block Variable ControlBlock Switch d of Cantralvalue 40 Frocesswalue ID D Tieback alue TE 40 When using the PID instruction in a logic program map variables to the control block SP PV TB and CV variables Parameter and Variable Type Variable Type S Setpoint Integer Integer Constant Integer Array Tieback TB EEN Wie nen Integer Integer Constant Integer Array doesn t receive power value setin this is output CV ON O Controlled variable Integer Integer Array Pro Control Editor Ver 5 0 User Manual 4 67 Chapter 4 Instructions Control Block Variable When a variable is mapped to the PID instruction an array with seven elements see following table is mapped to the variable Element 0 represents the current status and Elements 1 to 6 are used for the PID control to make fine tuning adjustments 1 Proporonalooefleem C integration times perme 1 Denae ime percy O Poean OOOO eg OO moe SP tes The variable type of a control block variable will be retentive 2 bei The values in the control block variable for the proportional coefficient the number of integral times per minute and the derivative time per cycle are 1000 times the values of proportional coeffici
165. system Conveyer A Conveyor B Conveyor C etc include an identifying character in the motor and sensor variable names Conveyor A variables A_Motor A_Sensor You could also name a Discrete bit as B Integer as I floating point as F AB_MotorStartingSwitch AI MotorRotationNumber AE MotorPowerRatio Here the variables used for contacts and coils are distinguished from the variables used for basic mathematical operations e You can also use an array to set up variable names for each of your PLC s devices Example f Pro Control Editor PLC Device Array Variable Variable Type External Input X 100 Discrete External Output ma Greg For information about Variable Settings refer to the Pro Control Editor Operation Manual 2 4 Creating Variables For information about reserved System Variables see Chapter 3 System Variables Variable names can be designated by the user Pro Control Editor Ver 5 0 User Manual Chapter 2 Variables E Variable Types The Pro Control Editor uses three types of variables Discrete bit Integer and Real Within these types Timers and Counters are also used Arrays can be defined and used with each type of variable For details on defining arrays see 2 3 Accessing Variables The maximum size of an array the number of elements it contains is 65535 However the actual number of elements that can be used by any application is limited by t
166. t when the Process Variable is smaller than the Setpoint such as heater Setpoint Time Reverse PV SV Specify to perform control to decrease the control amount output when the Process Variable is greater than the Setpoint such as cooler Setpoint Time Pro Control Editor Ver 5 0 User Manual 4 77 Chapter 4 Instructions Output Clamping Sets the highest limit and the lowest limit ofthe Control Variable When the Control Variable is outside this range the highest limit or the lowest limit is output and the status bit of Bit 3 or Bit 4 in Element 0 ofthe control block variable turns ON For details see e Control Variable Exceeds the Upper Limit Bit 3 or Lower Limit Bit 4 in the BR Control Block Variable section Anti Reset Windup Sets the highest and lowest limits of the Number of Integration Times per minute of Element 2 of the control block variable E How to Adjust the PID Constant This section explains how to adjust the PID constant using temperature control as an example To obtain optimum PID control results each constant of P Proportional Element I Integral Element and D Derivative Element has to be set to its optimum value Step Response is one method of adjusting the PID constant against various control targets and is based on temperature characteristics The optimum value might not be obtained with the Step Response method depending on the control target used In these cases adj
167. t value Tieback When the PID instruction in the logic program does NOT pass power the value set here will be output Proportional Coefficient KC The Control Variable s output is based on the difference between the Process Variable and the Setpoint When the proportional coefficient is decreased the control amount for bringing the Process Variable closer to the target value decreases and overshoot is prevented However this may increase the remaining difference When the proportional coefficient is increased the control amount for bringing the current value closer to the target value increases and the length of time to reach the target value will shorten However this may cause hunting When proportional coefficient is large Setpoint Difference Remaining Difference When proportional coefficient is small Time Pro Control Editor Ver 5 0 User Manual 4 71 Chapter 4 Instructions Stes K When using proportional control when the Process Variable is smaller than the Setpoint and the control amount reaches its maximum limit at 100 if the Setpoint and the Process Variable match no difference the control amount becomes 0 Control amount gt Setpoint Process Variable Control amount output per unit time Number of Integration Times Reset The control amount alone can never completely eliminate the difference since the control amount control output becomes too
168. tZzToNZz TON MoV 4 TT teste F test3Tons TOM MOV MoV D I test4TON4 TON Mov MoV testSTONS TON MOV MOY Chang 7 VariableList 7 8 9 1 RUN STOP Switch button Switches the state of the GLC controller between RUN STOP 2 Rung Number Display button Displays the starting rung number of the screen being displayed 3 Scroll Unit Switch button Selects the unit of screen scroll between rung page 4 Display Base Switch button Switches the current value display of the variable between decimal hexadecimal 5 Scroll button Scrolls the screen being displayed in Up and Down and Right and Left 6 GLC Ladder Monitor Switch Switches between starting exiting the GLC ladder monitor 7 Search button Starts a search after assigning the instruction and variable Pro Control Editor Ver 5 0 User Manual 6 5 Chapter 6 GLC Ladder Monitor Feature Jn IN IN a Important 8 10 11 Search Again button In the search mode repeat the search back and next Variable Listbutton Starts up the variable monitoring screen Code list button Changes the instruction assigning screen to do the instruction search Clear button Exits from the search mode When more than 18 instructions are placed along the horizontal power flow those following the 18th instruction will not be dis
169. ting the GLC Ladder Monitor sauer 6 5 Various GLC Ladder Monitor Features c 0es0n0ser0nesnenonsnesonsnnssesnnenens 6 5 6 3 1 Online Monitor Feature Normal Display AA 6 5 6 3 2 JRun Jump Seroll Features na u 6 7 6 3 3 Instruction Enlarge Feature Zoom Display e er 6 7 6 3 4 GLC Variable Monitor Feature una 6 8 Pro Control Editor Ver 5 0 User Manual Wu Preface 63 53 selip Value Edit Feature nennen 6 9 6 3 6 Variable Instnietion Search Feature u a 6 11 7 1 Overview of the Backup Feature cccsssiccssssscssssssssscesscencecaassvessosnoiecsnsasaatavss 7 1 7 2 Backup Operation Procedure scccsssssssssssssssssssssscssssscsssssesssssessseseres 7 2 IN Brise eine 7 2 ge NCO seen ee 7 3 8 1 H Drivers Overview sisccssscsssesseenssssssssonsesesesnstesseossncsonsssossonssessesssesseasesssess 8 1 8 2 Flex Network Interface Driver essen anensinnnaien 8 3 8 2 1 Flex Network Interface Unit Self Diagnosis eeteeeeee 8 3 gt 22 Communication zes 8 3 8 23 BIO S NO ee ee eee ree 8 5 8 2 4 I O Monitor VO Connection Check 8 5 8 23 Plex Network Troubleshooting ici sciescavessseidenetsacdceodiiccsariecetarstdeane 8 11 8 3 DIO DAVE GES PSPEPERSENBERPERDEPE BRSODEL PURE VDREEEPERUERDEERUR ESEL DORT SELLUERETUPLEULEEERLEETERLEND 8 13 81 DIO UnitSel Tnaenoss unse 8 13 8 3 2 I O Monitor VO Connection Check 8 15 8 3 3 DIOTronbleshenune nun reine 8 17 21 Error Message List zusagen 9 1 2 Error COME
170. tinuity ivi A B C Normal Continuity Residual B A B C Normal Continuity Processing Increment RK A 1 gt A Normal Continuity EN DN A Decrement A 1 A _ Normal Continuity KK Square root Gr u VA gt B Normal Continuity 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix Instruction List Pro Control Editor Ver 5 0 User Manual 4 3 Chapter 4 Instructions 44 E Comparison Instructions instruction Type Symbol Peter S LT EN When AB When A B Continuity Greater Than or Equal To gt Less Than or Equal To lt Not Equal lt gt When A lt gt B Continuity When A gt or B Continuity When A lt or B Continuity E Timer and Counter Instructions instruction Type Symbol_ Funston ON Dany See 4 2 41 TON ON Delay Timer Timer KK OF Belay IN Cl See 4 2 42 TOF OFF Delay Timer Timer PT ET Timer TP See 4 2 43 TP Timer Pulse See Se E SC E Se i Counter DOWN See 4 2 45 CTD DOWN Counter Counter UP DOWN Counter See 4 2 46 CTUD UP DOWN Counter AL The Timer Instruction includes an approximate amount of error rom equal to the scan time Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions E Convert Instructions _Instruction Type Symbol Function BCD A gt BCD conversion B BCD S
171. tiply l DN Normal Continuity Logical G AorB gt C Add Normal Continuity Exclusive Axor B gt C Logical Add Normal Continuity NOT _ Bit EN DM A gt C nr Negation A C Normal Continuity E Movement Symbol Function i MOV Transfer No Normal Continuity Array A Block Transfer Normal Continuity C Normal Continuity SUM Sum Sums up B through C and stores D D it to D B AVE Average C Calculates the average ofB through C and stores itto D Bt AT EN DH BCNT Bit count A B Stores the ON bitcountofA t B 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix In struction List 4 2 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions E Shift Instructions guder Type 1 _Symbol_ Function Rotate Left KC Normal Continuity SX mon Rotate Right EN e gt C Normal Continuity A outen fy TREO C Normal Cont Shift Right gt C Normal Continuity Left rotation with carry Right rotation with carry Arithmetic shift left Arithmetic shift right 1 There are some restrictions on instructions that you can use depending on the model and the revision Refer to For GLC2400 GLC2600 Users and Appendix Instruction List E Mathematical Instructions ADD SER A B C Normal Continuity SUB Subtract N D A B C Normal Continuity Multiply A G AxB C __ Normal Con
172. tus Ke Proportional Coefficient Reset Integral Time Rate Derivative Time Deadband PID Deadband Range Offset Displays the offset DFTC Displays the sampling time meee GLC Variable Monitor Feature SP te Ka Displays a list of variables and current values of each variable WEES Ladder Monitor GLO2400 BE iff rece Tee Jaje u 1 PaE Te UE ES y Status 458752 StopScans 0 1 Fon DISP gt gt H ScanCount 810 St opPending D I ScanT ime 950 Ed i t Count 0 2 START AveScanT ime 950 DisableAutostart Dn ek ca CH HES WS LosicTime 12 Command 0 3 t velosicTime 12 C lock100ms On E po Wat chdosT ime 300 Day 36 HTarzstScan 950 LadderMonitor 2147414015 4 neits CH N aa pa Percenthentheck O f Mont 4 E Fau ltOnMinor Off er cent Al loc 0 Bir as Haut ff I Platform 68 Faw tRuns O HRunghlo 1 5 ee Be ae OverF low D OR reen 7999 een BEE Yersion 87174912 Time 6168 6 S lOFault Off HWeekday 0 H LOStatus Oll Year D ee FN en e D B i e off HCL Scan Ob On 7 Ac DISP gt gt FaultCode De On j j HF orceCount Ont DAT 11111 H erc D
173. uction Variable UP is ON the execution is similar with the CTU instruction up counter When Variable UP is OFF the execution is similar with the CTD down counter instruction After executing the CTUD instruction e Ifthe current value Variable CV is equal to or greater than the preset value Variable PV the Counter Output and UP Counter Output Variable Q and Variable QU are turned ON e Ifthe current value Variable CV is equal to or less than zero the Counter Output and Down Counter Output Variable Q and Variable QD are turned ON Example The following diagram is an example of the CTUD instruction continuously counting up from 0 to 10 and then down from 10 to 0 The SecondTimer outputs a pulse to the Up Down Counter every second The UP bit turns ON when the Up Down Counter reaches 0 and turns OFF when the Up Down counter reaches 10 the preset value Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions UpDown QD UpDown UP cl s UpDown QU UpDown UP 1 e SecondTimer Q SecondTimer Q yan H N e 1p0ppr EI If the counter reset bit Variable R turns ON when the Counter Up instruction Variable UP is ON the current value Variable CV is set to zero If the counter reset bit Variable R turns ON when the Counter Up instruction Variable UP is OFF the preset value Variable PV is set to the current value Variable CV KE BCD BCD Conversion A Data SCH
174. until the Start variable turns ON orte The SET instruction can be used only with non retentive variables With retentive N variables use the SM Latch Retention Coil instruction Pro Control Editor Ver 5 0 User Manual 4 11 Chapter 4 Instructions wi RST Reset Coil 4 12 Variable F When the coil receives power after the RST instruction is executed the variable turns OPP The variable remains OFF until explicitly turned ON by another instruction such as a SET instruction Since this instruction is a coil type output instruction only one instruction can be used for each rung Other instructions cannot be used on the right side of the output instruc tion The output instruction should be placed to the immediate left of the right most power line When the variable mapped to the RST instruction is retentive the following symbol is displayed in the logic program Er The following diagram is an example of the RST instruction s function Stop Motor Stop Motor A When the Stop variable turns ON the Motor variable resets B When the Stop variable turns OFF the Motor variable reset by the RST instruction will remain OFF until another instruction turns it ON e The RST instruction can be used only with non retentive variables With reten tive variables use the RM Unlatch Retention Coil instruction e Real and Integer variables cannot be reset set to zero with an RST instruc tion Pro Control
175. ust the values in the Tune tab of the PID dialog box Step Response Step Response sets the Setpoint and 100 of the control amount for the control target is output in steps The following example based on the chart of temperature characteris tics measures the maximum temperature slope R and the loss of time L Control Amount Max Temperature Rise Rate R R Variation t A Variation t ae Time Min Loss Time L 4 78 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions You can calculate constants of the proportional coefficient the number of integral times and the derivative time by substituting the measured values of the maximum temperature slope R and the loss time L in the following equation Please enter the calculated values in the Tune tab of the PID dialog box Proportional Coefficient 100 0 83 R L Number of Integration Times 1 2 L cycles min Derivative Time 0 5 L min eee SIN sine function SIM EN DM B Variable that stores the result A B A Data Inradians The SIN instruction computes sin A and stores the value in B Enter A data values in radian units Arithmetic Formula B sin A This instruction is normally ON The following table lists thetypes of A and B data that can be used for this instruction AS Integer or integer constant Real or real constant KE COS cosine functio
176. ways continues The following table lists the types of A B Cand Din which AVE instructions can be executed Integer or Integer Constant excluding zero or below Integer or Integer Constant Integer Array Fixed Variable Mode Although the operation of the AVE instruction is equal to that in the variable mode operands to be set A B D and so on differ because the fixed variable mode does not have the concept of an Array If you execute the AVE instruction in the fixed variable mode the average of elements as many as B starting from the initial address A will be stored in C The following table lists the types of A B and C in which AVEinstructions can be executed Integer Integer Integer Constant e Decimals are omitted e Ifthe result is out of range which can be expressed in the variable type Over flow will be set to ON The result in this case is Undefined See 3 2 17 Overflow Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions Example The following describes the case when A 10 0 1 2 3 4 5 6 7 8 9 B 2 C 5 D 2 3 4 5 6 5 4 Start AVE off ADIA DID 2 B Blt B Initial Number gt C Calculation Range ArrayA 6 ArrayA 7 as The controller checks whether the AVE instruction refers to any inexistent elements of the array A during RUN or not If an invalid array is referred to a major error will occur and Faultcode will
177. which executes an ErrorHandler subroutine if one exists See 9 2 Error Codes The ErrorHandler subroutine is an error process subroutine and must first be created under the name ErrorHandler The value in the Fault system variable defines whether the controller will stop or continue execution of the logic program See 3 2 19 Fault Variable Type Discrete Set by Controller Read Only 3 12 Pro Control Editor Ver 5 0 User Manual Chapter 3 System Variables In the following example the ErrorHandler subroutine detects BCD BIN conver sion errors and stops execution of the logic program SUB START ErrorHandler EG Fault Se te If an overflow does not occur during Real to Integer conversion Overflow will not N turn ON Keats DisableAutoStart If the power is turned ON while DisableAutoStart is ON the controller starts up in the STOP mode If the power is turned ON while DisableAutoStart is OFF the controller starts up in the state that it was in START or STOP prior to shutdown The above settings are enabled only when the Controller State setting is set to Default in the GLC unit s initial settings Variable Type Discrete Set by User Initial Value OFF Writable KWAK HFault Fault is referred to by the controller as to whether the logic program will stop or continue to execute at the completion of the ErrorHandler subroutine By turning Fault ON the controller wil
178. ypes of A B and C in which SUB instructions can be executed eS ire EEN Integer or Real Integer Constant Integer Constant Integer or Real Real Real IntegerorReal Real Constant Real Constant Integer or Real ie If the result C exceeds the range expressed with the variable data type in C Overflow turns ON and the result of SUB is undefined See 3 2 17 Overflow e If either A or B are Real both are converted to Real prior to the subtraction However if C is an Integer the number is truncated after the decimal point since the result is placed in C Example When Start is turned ON Data B is subtracted from Data A and the result of the operation is stored in Data C Start 4 40 Pro Control Editor Ver 5 0 User Manual Chapter 4 Instructions DEET MUL Multiply A Data MUL EN DN B Data A c E B C Destination variable When the MUL instruction is executed A is multiplied by B and the result is placed in C If both A and B are Integers or Integer constants the MUL instruction performs an Integer multiplication Otherwise the instruction performs a floating point instruction which may reduce the processing speed The MUL instruction always passes power The following table lists the combinations of A B and C in which MUL instructions can be executed PB E O Integer or Real Integer Constant Integer Constant Integer or Real Integer or Real Real Constant Real Const
Download Pdf Manuals
Related Search
Related Contents
Télécharger au format PDF Horizon Fitness R2000 (RB55D) Exploded Diagram EWHT800LX - Produktübersicht... ...www.delcocontrols.ch... ...delco Tripp Lite SmartRack 18U Slim Wall-Mount Standard-Depth Rack Enclosure Cabinet Mode d`emploi ip66 on board high frequency battery charger US Robotics 16-Port Gigabit Switch Analox XDI Sensor/Transmitter User Manual BZ-9000 Software Training IVT BlueSoleil™ User Manual Version: 1.6 Copyright © All rights reserved.
Failed to retrieve file