background image

RTC Function Block 

RTC Mode 1 (Daily)

RTC Mode 2 (Weekly)

RTC Mode 3 (Year Month Day) 

65

SG2 PLR User Manual

Chapter 5: FBD Programming

Enable Input

RTC Parameter

Enable Input

RTC Parameter

Enable Input

RTC Parameter

6*3/58VHU0DQXDO

6HFXUHRQOLQHRUGHULQJIURP

,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP

'D\WRQ5RDG32%R[

2WWDZD,/86$

)D[

RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP

(XURSHDQ2IILFHZZZEEHXURSHFRP

:HVWOLQN&RPPHUFLDO3DUN

2UDQPRUH&R*DOZD\,UHODQG

)D[

RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Summary of Contents for SG2 PLR

Page 1: ...SG2 PLR USER Manual SG2 Programmable Logic Relay 1 800 972 0436 WWW FACTORYMATION COM ...

Page 2: ...Instructions 32 Counter Instructions 34 High Speed Counters DC Version PLRs Only 40 Timer Instructions 42 Real Time Clock RTC Instructions 49 Comparator Instructions 51 HMI Display Instructions 53 PWM Output Instruction DC Transistor Output Models Only 54 Data Link Remote I O Instruction SG2 20Vxx Models Only 55 2 SG2 PLR User Manual Table of Contents 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP ...

Page 3: ...Block 61 Pulse Logic Block 61 Counter Function Block 61 Counter Mode 5 62 Counter Mode 6 62 High Speed Counter Function Block 63 Timer Function Block 63 RTC Function Block 65 Analog comparator Function Block 66 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ ...

Page 4: ...uld lead to death serious bodily injury or considerable damage to property The SG2 PLR should only be installed and wired by properly experienced and certified personnel Make sure the wiring of the SG2 PLR meets all applicable regulations and codes including local and national standards and codes Be sure to properly size cables for the required current rating Always separate AC wiring DC wiring wi...

Page 5: ...pment Avoid dripping water condensation or humid environment Avoid direct sunlight Avoid oil grease and gas Avoid contact with corrosive gases and liquids Prevent foreign dust flecks or metal scraps from contacting the SG2 PLR Avoid electric magnetic interference soldering or power machinery Avoid excessive vibration if vibration cannot be avoided an anti rattle mounting device should be installed...

Page 6: ...www factorymation com 2 Connect Power to SG2 PLR Connect power to the PLR using the below wiring diagrams for AC or DC supply for the applicable models See Chapter 2 Installation for complete wiring and installation instructions 6 SG2 PLR User Manual L N 50 60 Hz 100 240V AC V N L 1 3 24V DC V 2 DC V 2 Fuse 2A Surge absorber 36V DC Surge absorber 400V AC AC 100 240V DC 24V 6 3 5 8VHU 0DQXDO 6HFXUH...

Page 7: ...rial port on the computer 4 Establish Communication a Open the SG2 Client software and select New Ladder Document as shown below b Select Operation Link Com Port as shown 7 Chapter 1 Getting Started SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FR...

Page 8: ...the M contact icon on the ladder toolbar as shown below Select M1 and press the OK button See Chapter 4 Ladder Programming instructions for complete instruction set definitions Note If the ladder toolbar is not visible at the bottom of the screen select View Ladder Toolbar from the menu to enable 8 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FR...

Page 9: ... Q1 from the dialog and press OK as shown below See Chapter 4 Ladder Programming instructions for complete instruction set definitions 9 Chapter 1 Getting Started SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R ...

Page 10: ...ar and select No when the pop up message asks Do you want to read program from module as shown below 10 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURSH FRP ...

Page 11: ... will be ON See Chapter 3 Programming Tools for more detailed software information 11 Chapter 1 Getting Started SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURS...

Page 12: ...eration Weight 10 point 230g 8 point 190g 20 point 345g Agency Approvals cUL CE UL Discrete Inputs Current consumption 4mA 12VDC 3 2mA 24VDC 1 3mA 100 240VAC Input Signal OFF Threshold 5VDC 40VAC Input Signal ON Threshold 15VDC 79VAC Input On delay DC 5ms 240VAC 50ms 120VAC 90ms Input Off Delay DC 3ms 240VAC 50ms 120VAC 90ms Transistor device compatibility PNP 3 wire device only High Speed Input f...

Page 13: ...munications Module RS 485 MODBUS RTU OEM Blind Models No Keypad No Display SG2 12KR D 24VDC 6 DC 2 Analog 4 Relay X N A 12 SG2 20KR D 8 DC 4 Analog 8 Relay X N A 20 SG2 10KR A 85 240VAC 6 AC 4 Relay X N A 10 SG2 20KR A 12 AC 8 Relay X N A 20 OEM Bareboard Models No Keypad No Display No Expansion SG2 12CR D 24VDC 6 DC 2 Analog 4 Relay X N A 12 SG2 20CR D 8 DC 4 Analog 8 Relay X N A 20 SG2 10CR A 85...

Page 14: ...eously 14 SG2 PLR User Manual SG2 8ER A Output 4 x Relay 8A Q1 Q2 Q3 Q4 DC 24V Input 8 x DC A1 A2 0 10V SG2 12HR D I1 I2 I4 I3 I5 A1 I6 A2 Input 4 AC L N Run AC 100 240V X4 X1 X2 X3 Output 4 x Relay 8A Y1 Y2 Y3 Y4 CONNECTOR Din Rail PRESS BUTTON CLIC 2 1 2 1 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE ...

Page 15: ... Input 4 AC L N Run X2 X1 X3 X4 Output 4 x Relay 8A Y1 Y2 Y4 Y3 CONNECTOR 2 1 3 Q3 Q1 Output 4 x Relay 8A SG2 12HR D Q2 SG2 8ER A Q4 DC 24V Input 8 x DC A1 A2 0 10V I1 I3 I2 I4 Input 4hAC A2 I6 I5 A1 Run AC 100 240V N L X2 X1 X3 X4 Output 4 x Relay 8A Y1 Y2 Y4 Y3 Din Rail Mounting Clip OUTPUT4xRELAY 8A M4X20 8x32 I6 I4 I5 A1 A2 I1 I2 I3 DC24V INPUT8xDC A1 A2 0 10V SG2 12HR D Q3 Q4 Q2 Q1 6 3 5 8VHU...

Page 16: ...t I1 I2 I4 I3 I5 I6 N L 1 3 or 12V 24V Q4 Q3 Q1 Q2 OUTPUT 4 x TR 0 5A 4 12 240V 50 60 Hz N or 12 125V 50 60 Hz 12 240V L Output 4 x Relay 8A Q4 Q3 Q1 Q2 4 Power Supply and Input Terminals AC 100 240V DC 24V Output Terminals Fuse 2A Surge absorber 36V DC Surge absorber 400V AC Fuse or short circuit Protective Device 0 14 1 5 26 16 0 14 2 5 26 14 26 14 0 14 0 75 26 18 0 14 2 5 0 6 5 4 C C lb in Nm m...

Page 17: ... I4 I1 I3 I2 I5 I6 N L AC V INPUT 1 3 DC 24V AC 100 240V Power Supply and Input Terminals Output Terminals Fuse 2A Surge absorber 36V DC Surge absorber 400V AC Fuse or short circuit Protective Device DC V Input I5 I1 I2 I3 I4 A2 I6 A1 YES NO 3 wire PNP only 2 wire 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSR...

Page 18: ...8 Modules ID 1 8 REMOTE I O can only connect 2 modules MASTER SLAVE 18 SG2 PLR User Manual RS485 A2 A1 A A4 S B A3 A3 S A4 A1 A2 RS485 B A A1 A B RS485 A2 A4 S A3 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV...

Page 19: ...e Software Install the SG2 Client Software from CD or from the free internet download at www factorymation com Connecting the Software Remove the plastic connector cover from SG2 using a flathead screwdriver as shown in the figure below Insert the plastic connector end of the programming cable into the SG2 PLR as shown in the figure below Connect the opposite end of the cable to an RS232C serial p...

Page 20: ...ming Environment The Ladder Logic Programming Environment includes all the functions for programming and testing the SG2 PLR using the Ladder Logic programming language To begin a new program select File New and select the desired model of SG2 and the number of connected expansion units if applicable as shown below 20 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2...

Page 21: ...to from the PLR 3 Usage List List for all memory types and addresses used with the current open program Used addresses are designated by a symbol below each address 4 Amount of free programming memory available 5 Current Mode operation mode of the controller or simulator from the connected PC 6 Ladder Toolbar Icons for selecting and entering all available Ladder Logic instructions 7 Status Bar Sta...

Page 22: ...structions The A and L keys or icons are used to complete parallel and serial circuits The rightmost column is for output coils 22 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH F...

Page 23: ...s Establish Communication The following is the simple procedure for establishing communication between the connected PC and the SG2 PLR a Select Operation Link Com Port as shown below 23 Chapter 3 Program Tools SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ ...

Page 24: ... as shown below Writing Program to PLR From the Operation menu select the Write function and write the program to the connected PLR as shown below 24 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D...

Page 25: ...tem setup functions including Module ID Remote I O preferences Expansion I O settings and Retentive memory preferences Keeping for C Counters M Auxiliary Coils and the LCD Backlight Online Monitoring Editing The SG2 Client software allows for online monitoring of the currently running program during runtime Additional online functions include I O forcing and Mode changes Run Stop Quit Note The SG2...

Page 26: ... Line Comments Symbol The Symbol editing environment can be access through the menu using the Edit Symbol selection or using the symbol icon on the main toolbar shown below The Symbol editing environment allows for documenting all the contact and coil memory types and selecting display modes as shown below Line Comments 26 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLR...

Page 27: ...tic connector cover from SG2 using a flathead screwdriver as shown in the figure above 2 Insert the PM05 memory cartridge onto the connector as shown above 3 From the display keypad on the face of the SG2 PLR select either WRITE to PM05 or READ from PM05 to transfer the program to or from the PLR to the PM05 memory cartridge 27 Chapter 3 Program Tools SG2 PLR User Manual WRITE READ 6 3 5 8VHU 0DQX...

Page 28: ...MI Text messages on the LCD OK Used to accept the selection displayed of an instruction or function It is also used to select any of the Main Menu options on the LCD Note Press the SEL and OK simultaneously to insert a rung above the current active cursor position Escape Used to exit a selected display screen and go to the previous screen When in a ladder display screen press the ESC to display th...

Page 29: ...gital outputs coils In the first rung of this example auxiliary relay M1 is being used as an output coil and will energize when input I2 turns on In the second rung auxiliary relay M1 is being used as an input and when energized will turn on outputs Q2 and Q3 Timers and Timer Status Bits T Memory Type Timer status bits provide the relationship between the current value and the preset value of a se...

Page 30: ...SG2 PLR User Manual General output SET output RESET output PULSE output N O Contact N C Contact Number Symbol 앖 앗 P N O N C Input contact I i 12 I1 IC i1 iC Output coil Q Q Q Q Q q 8 Q1 Q8 q1 q8 Auxiliary contact M M M M M m 15 M1 MF m1 mF Counter C C c 15 C1 CF c1 cF Timer T T T t 15 T1 TF t1 tF General output SET output RESET output PULSE output N O Contact N C Contact Number Symbol 앖 앗 P N O N ...

Page 31: ... A negative input differential instruction or One Shot holds its status ON for one CPU scan when the preceding series contact transitions from ON to OFF This transition from ON to OFF is called a Negative Input Differential 31 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF F...

Page 32: ...reset output instruction or Unlatch turns OFF a previous set output coil Q or an auxiliary contact M when the preceding input contact transitions from OFF to ON Once the output is OFF or reset it will remain OFF until it is reset using another output instruction It is not necessary for the preceding input contact controlling the Reset output instruction to remain ON 32 SG2 PLR User Manual 6 3 5 8V...

Page 33: ... and released Motor Q4 will turn ON and remain on When Pushbutton I3 is pressed again Motor Q4 will turn OFF and remain OFF The pulse output instruction P will flip flop its state from ON to OFF at each press of Pushbutton I3 33 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF...

Page 34: ... Mode 1 6 Use I1 gF to set counting up or counting down OFF counting up 0 1 2 3 4 ON counting down 3 2 1 0 Use I1 gF to RESET the counting value ON the counter resets to zero and OFF OFF the counter continues to count Present Counting Value range 0 999999 Target Setting Value range 0 999999 Code of the counter C1 CF total 15 counters Compatible Instructions Range Inputs I1 IC i1 iC Outputs Q1 Q8 q...

Page 35: ...n the example below the counter will stop counting when it reaches the preset value of 20 Counter status bit C1 will be ON when the current value is 20 35 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLD...

Page 36: ... power to the PLR In the example below the counter will continue counting after its preset value of 20 Counter status bit C1 will be ON when the current value is 20 36 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPR...

Page 37: ... is similar to Mode 2 except its current count value is retentive Mode 4 Counter will count up to a fixed preset value and continue counting after the preset value Additionally the current count value is retentive and will keep its current count after a loss of power to the PLR In the example below the counter will continue counting after its preset value of 20 Counter status bit C1 will be ON whe...

Page 38: ...ionally the Mode 5 counter is always reset to zero unrelated to the state of its direction bit The Mode 5 Counter will count up to a fixed preset value and continue counting after the preset value Additionally the current count value is non retentive and will reset to zero on a loss of power to the PLR In the example below the counter will continue counting after its preset value of 20 Counter sta...

Page 39: ...ys reset to zero unrelated to the state of its direction bit The Mode 6 Counter will count up to a fixed preset value and continue counting after the preset value Additionally the current count value is retentive and will keep its current count after a loss of power to the PLR In the example below the counter will continue counting after its preset value of 20 Counter status bit C1 will be ON when...

Page 40: ...oil C1 CF will turn ON when the pulse count reaches the target setpoint and remain ON The counter will reset when the preceding rung is inactive or the Reset Input is active The figure to the right shows the relationship between the numbered block diagram for a Mode 7 Counter the ladder diagram view and the software Edit Contact Coil dialog box 40 SG2 PLR User Manual Symbol Description Counting Mo...

Page 41: ...tionship between the numbered block diagram for a Mode 8 Counter the ladder diagram view and the software Edit Contact Coil dialog box 41 Chapter 4 RLL Programming SG2 PLR User Manual Symbol Description Counting Mode 8 frequency comparison High speed counting input terminal I1 or I2 only Use I1 gF to RESET the counting value ON the counter reset to zero OFF the counter continues to count Current C...

Page 42: ...he timer will stop timing when it reaches the preset value of 5 seconds Timer status bit T1 will be ON when the current value is 5 42 SG2 PLR User Manual Symbol Description Timer Mode 1 7 Timer Unit 0 00 99 99 sec 0 0 999 9 sec 0 9999 sec 0 9999 min ON the timer reset to zero OFF the timer continues to time Current timer value Timer preset value Timer Coil Number C1 CF total 15 timers Compatible I...

Page 43: ...eset input is Input I 1 In the example below the timer will stop timing when it reaches the preset value of 5 seconds Timer status bit T1 will be ON when the current value is 5 43 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HX...

Page 44: ... is Input I1 Also in the example below timer status bit T1 will be ON immediately when its rung is true The timer will only begin timing up when its rung changes to false Timer status bit T1 will turn OFF when the current time value reaches 10 seconds 44 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF...

Page 45: ...nput I 1 Also in the example below the timer status bit T1 will turn ON only after its rung transitions from true to false Timer status bit T1 will turn OFF when the current time value reaches 10 seconds 45 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF F...

Page 46: ...atus bit T1 will be ON immediately when its rung is true and begin its timing sequence Timer status bit T1 will turn OFF when the current time value reaches its preset of 10 seconds This Flash sequence of the timer status bit T1 will continue as long as its rung remains true 46 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2W...

Page 47: ...r status bit T1 will be ON immediately when its rung is true and begin its timing sequence Timer status bit T1 will turn OFF when the current time value reaches its preset of 5 seconds This Flash sequence of the timer status bit T1 will continue as long as its rung remains true 47 Chapter 4 RLL Programming SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE...

Page 48: ... 5 seconds Timer 2 will then begin its timing sequence of 1 second When the current time value of Timer 2 reaches its preset of 1 second its status bit T2 will flash and Timer 1 will begin timing again This type of cascade timer is of ten used in combination with a counter in applications where it is necessary to count the number of time cycles completed Note Timer Mode 7 uses two timers These tim...

Page 49: ...configuration dialog below allows for selection of Day and Time for the Rx coil to activate ON and Day and Time for the Rx coil to deactivate OFF 49 Chapter 4 RLL Programming SG2 PLR User Manual Symbol Description Input the first day to RTC Input the second day to RTC RTC mode 1 RTC displays the hour of present time RTC displays the minute of present time Set RTC hour ON Set RTC Minute ON Set RTC ...

Page 50: ...nth Day Set RTC Month ON Set RTC Day ON Set RTC Month OFF Set RTC Day OFF RTC coil number R1 RF Total 15 RTCs Symbol Description RTC mode 3 Year Month Day Setting RTC Year ON Setting RTC Year OFF Display RTC Present time Year Month Day Setting RTC month ON Setting RTC Day ON Setting RTC month OFF Setting RTC Day OFF RTC Code R1 RF total 15 group 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQD...

Page 51: ...e of analog input A1 to a constant value N of 2 50 Status coil G1 turns ON is A1 is to 2 50 51 Chapter 4 RLL Programming SG2 PLR User Manual Symbol Description Comparison Mode 1 5 AX analog input A1 A8 the present value of the timer counter or a constant value AY analog input A1 A8 the present value of the timer counter or a constant value AX analog input value 0 00 9 99 AY analog input value 0 00...

Page 52: ...hat compares the value of Counter C1 to a constant value N of 15 counts the decimal point is ignored Status coil G1 turns ON if C1 is to 15 counts 52 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D...

Page 53: ...nternal relays and X expansion inputs Allows the SEL button on the SG2 keypad to activate the selected message onto the LCD even when Hx coil is inactive Allows the HMI message to include coil number and selected value i e T1 003 Sec Provides access to the Analog Display Set dialog for scaling and offset parameters shown below The Analog Display Set dialog allows the user to specify a scaling fact...

Page 54: ... the present stage as operation 0 8 Input Selected Stage 1 I1 gF Input Selected Stage 2 I1 gF Input Selected Stage 3 I1 gF Set PWM pulse width 0 32768ms Set PWM Period 1 32768ms PWM output terminal P1 Enable Output PWM OFF X X X 0 OFF ON OFF OFF OFF 1 Set stage 1 ON OFF OFF ON 2 Set stage 2 ON OFF ON OFF 3 Set stage 3 ON OFF ON ON 4 Set stage 4 ON ON OFF OFF 5 Set stage 5 ON ON OFF ON 6 Set stage ...

Page 55: ... locations associated with each controller ID The Data Link instruction below is setup for Mode 1 Send where the Master PLR is sending 5 I O points of Inputs to each connected Slave PLR The starting Input is I03 with the resulting range of 5 sending inputs equal to I3 I7 55 Chapter 4 RLL Programming SG2 PLR User Manual Symbol Description Mode setting 1 2 1 sending 2 receiving Set the send receive ...

Page 56: ...t 1 5 set as start from I3 set as start from W17 when enabling the Data Link the state ON OFF of I3 I7 is controlled by the state of memory list position W17 W21 which is irrelative to the actual state of input terminal 56 SG2 PLR User Manual 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ...

Page 57: ...xiliary M M M01 M0F 15 Knob N N N01 N0F 15 HMI H H01 H0F 15 PWM P P01 1 SHIFT S S01 1 I O LINK L L01 L08 8 Logic Function Block B B01 B99 99 Normal ON Hi Normal OFF Lo No Connection Nop Chapter 5 FBD Programming 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOL...

Page 58: ...Programming Symbol Description SHIFT code Total 1 group Set output type Q Y Set output shift number 1 8 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURSH FRP ...

Page 59: ...Manual Chapter 5 FBD Programming FBD Ladder FBD Ladder FBD Ladder FBD Ladder 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURSH FRP ...

Page 60: ... FBD Programming FBD Ladder FBD Ladder FBD Ladder FBD Ladder 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURSH FRP ...

Page 61: ...sent value 61 SG2 PLR User Manual Chapter 5 FBD Programming FBD Ladder FBD Ladder Counting Input Up Down Counting Reset Counting Parameter Counting Input Up Down Counting Reset Counting Parameter 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DU...

Page 62: ...Up Down Counting Reset Counting Parameter Counting Input Up Down Counting Reset Counting Parameter Counting Input Up Down Counting Reset Counting Parameter Counting Input Up Down Counting Reset Counting Parameter 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWO...

Page 63: ...put Up Down Counting Reset Counting Parameter Counting Input Up Down Counting Reset Counting Parameter Enable Input Timing Parameter Enable Input Timing Parameter Reset 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D ...

Page 64: ...able Input Timing Parameter Enable Input Timing Parameter Enable Input Timing Parameter Enable Input Timing Parameter Reset Reset Reset Reset Reset 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP ...

Page 65: ... RTC Parameter Enable Input RTC Parameter Enable Input RTC Parameter 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQPRUH R DOZD UHODQG D RUGHUV EE HXURSH FRP VXSSRUW EE HXURSH FRP ...

Page 66: ... Input Analog Input Analog Input Reference Enable Input Analog Input Analog Input Reference Enable Input Analog Input Analog Input Reference Enable Input Analog Input Analog Input Reference 6 3 5 8VHU 0DQXDO 6HFXUH RQOLQH RUGHULQJ IURP QWHUQDWLRQDO 2IILFH ZZZ EE HOHF FRP D WRQ 5RDG 3 2 R 2WWDZD 86 D RUGHUV EE HOHF FRP VXSSRUW EE HOHF FRP XURSHDQ 2IILFH ZZZ EE HXURSH FRP HVWOLQN RPPHUFLDO 3DUN 2UDQ...

Reviews: