Home

SG2 PLR USER Manual

image

Contents

1. Symbol Description Compatible Instructions Range 1 Counting Mode 1 6 Inputs I1 IC i1 iC eo 2 Use l1 gF to set counting up or counting down Outputs Q1 Q8 01 08 4 OFF counting up 0 1 2 3 4 Auxiliary coil M1 MF m1 mF 3 ON counting down 3 2 1 0 Expansion inputs X1 XC x1 xC O 5 Use 11 gF to RESET the counting value Expansion outputs Y1 YC y1 yC e 4 ON the counter resets to zero and OFF RTC R1 RF rt rF OFF the counter continues to count Counter C1 CF c1 cF 5 Present Counting Value range 0 999999 Timer T1 TF t1 tF Target Setting Value range 0 999999 Analog comparator G1 GF g1 gF 6 Code of the counter C1 CF total 15 counters Edit Contact Coil The figure to the right shows the relationship between the numbered block diagram for si eeh a Counter the ladder 4 c BH uen coin diagram view and the software Edit Contact Coil Functzsn N d L I Lgi dialog box Countat virhoyur avert aking nd without poaark darm Fat B P Currant value Current value 000000 Pregser valium p80 6063 Preset type H B 1 S 7 Diraction Sat Heger Irnpur x14 DOCOUL ContacE x sii Cenract nm I O00003 Fel Mi International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 ok ea Commereial Park Ottawa IL 61350 USA Oranmore Co Gal
2. Leeeesreeees 40 Timer Instructions c 42 Real Time Clock RTC Instructions reeeee rr RI IK KK III 49 Comparator Instructions lelleeeeeeee nnn hh hh nns 51 HMI Display Instructions sss e lt RE iot c x x Bp RE Qd ue o ae cee RE RUN A NARI NORD E EnE e s 53 PWM Output Instruction DC Transistor Output Models Only 54 Data Link Remote UO Instruction SG2 20Vxx Models Only 55 International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com L Chapter 5 Function Block Diagram Programming 57 Coil Block Instruction xs eu reke DR Mk 57 Logic Block Instructions ss ss ER RE e x x n ebur b e tas ee ocu c 57 PWM Function Block Lises eres tuba dux ee BUE Rb EDU eee ee Dee ab 58 SHIFT Function Block 58 AND LOGIC BIOCK s sirene ul tor usce mus abe ses ids du E E 0 N 59 AND Edge Logic Block i eee ee os obw acd Oo d do RR Ghee 59 NAND LOGIC Block sobre TEN 59 NAND Edge Logic Block scii uc is qiie act ai dc dba CR docs sore bi
3. Chapter 1 Getting Started D Examination Before Installation Every SG2 PLR has been fully tested and examined before shipment Please carry out the following examination procedures after unpacking your SG2 Programmable Logic Relay e Check to see if the model number of the SG2 matches the model number that you ordered e Check to see whether any damage occurred to the SG2 during shipment Do not connect the SG2 PLR to the power supply if there is any sign of damage Contact FactoryMation if you find any abnormal conditions as mentioned above Environmental Precautions The installation site of the SG2 PLR is very important It relates directly to the functionality and the life span of your SG2 Please carefully choose an installation site that meets the following requirements e Mount the unit vertically e Environment temperature 32 F 131 F 0 C 55 C e Avoid placing SG2 close to any heating equipment e Avoid dripping water condensation or humid environment e Avoid direct sunlight e Avoid oil grease and gas e Avoid contact with corrosive gases and liquids e Prevent foreign dust flecks or metal scraps from contacting the SG2 PLR e Avoid electric magnetic interference soldering or power machinery e Avoid excessive vibration if vibration cannot be avoided an anti rattle mounting device should be installed to reduce vibration 9 Power SG2 Model Identification Controller Type T A AC Powered I O Count
4. Mode 3 Counter operation is similar to Mode 1 except its current count value is retentive Mode 3 Counter will count up to a fixed preset value and stop counting at that 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 stop counting when it reaches the preset value of 20 Counter status bit C1 will be ON when the current value is 20 Edit Contact Moil 9 T n Salet Cail HD ch sl 129 A B C D E F Function Boda l8 Counter virhuet overraking and with powar don retain Current valus Currant value OUD 4 Freret value DP000ZG al M14 000000 ODOUZ0 pel Preret type H Direction Sat Core act H I2 Counter Mode 4 Continuous Count Retentive Mode 4 Counter operation 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 when the current value is 20 SG2 PLR User Manual WI FINIT Function Moda m TEST Counter vith overtaking and with power dom retain current vals Currant value Preset value OPOZO 4 M14 000000 OOO0Z0 pel
5. Chapter 4 RLL Programming Timer Mode 5 FLASH without Reset Mode 5 Timer is a Flash timer without reset that will time up to a fixed preset value then change the state of its status bit when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR In the example below timer 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 10 seconds This Flash sequence of the timer status bit T1 will continue as long as its rung remains true Fit ContacUCail Select Coig RU TA LE a 0 9 H PE Fi Funes zn Eod ai dere TN FLaih timar moda 1 Time Para L BEC Current value 2080 T Frasut ulis Frerert Typs Direcrion Sat Baner Input Carat Lene act Enable reset rely ER AT Enable reset rela wirit viesi pe Timer starts operating Pr deser EY Present value 0 Tamang enable relay Time up output terminal T1 TF t target value set m timer International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com
6. Chapter 4 RLL Programming ar Timer Mode 6 FLASH with Reset Mode 6 Timer is a Flash timer without reset that will time up to a fixed preset value then change the state of its status bit when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR In the example below the timer reset input is Input 1 Also in the example below timer 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 Edit Conptact t uil Salect atb HO 1 9 D C D E F1 Function Anda mH Liable ttle Fiazh timer moda lt Timm Baie L TEC Corres eps Frazat valser IO WFrmiret Typs LDiractionm Sa Cent act enable reset relay Y enable reset relay ple starts operam la present value U eg P present value Timing enable relay Tune up Output terminal TI TF enable reset relay t target value set m timer International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com
7. iii SDK 1142 F r we T AH Kris Wee ia Te LEGS DEF B BILE PAPE TEE LT TETT f HiL nd LAKE Highlight coil to vier current Timer ounter values Rib b a a slm cR AE m s Ih inn fe oad Pri GE i dp pl E EE H Active circuits change color n S D TE 21 21 22 AF HELM radhe aij L Gs TE Lues Ha Ui s LZ i D Sa 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 GE I PETIT if File Edit Es view Help Link Com Port International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual H H electronics CT aana TUE ores MANUFACTURING COMPANY orders bb elec com support bb elec com ordersQbb europe com supportQbb europe com E Chapter 3 Program Tools b Select the correct Com Port number where the programming cable is connected to the computer then press the Link button Link Com Port COMS PORT COMZ PORT COMS POET COMS PORT COM POET COM4 PORT f COMS PORT c The SG2 Client software will then begin to detect the connected PLR to complete it s connection as shown below Please Wait Moment Noa Detect 5032 ID
8. mode 3 ETC 3 Ch 05 4 1 Of 05 9 30 European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support a bb europe com EN Chapter 5 FBD Programming Analog comparator Function Block Analog Comparison Mode 1 Enable Input Analog Input Analog Input MEE Reference Analog Comparison Mode 2 Enable Input Analog Input Analog Input ME Reference Analog Comparison Mode 3 Enable Input Analog Input Analog Input ME Reference Analog Comparison Mode 4 Enable Input Analog Input Analog Input MEE Reference Analog Comparison Mode 5 Secure online ordering 24 7 365 from electronics MANUFACTURING COMPANY Enable Input e Analog Input gt Analog Input gt Reference SG2 PLR User Manual B B International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com B 4 mode 1 Analog 1 Cur Tahe L 0 00 Cur Vabie2 0 00 Fef Value 25 00 Bos made 2 Analog 2 Cur Vaheel 0 00 Cur Vabez 0 00 Fef Value 15 50 Bub mode 3 Analog 3 Cur Value1 0 00 Cur Wabe 0 00 Bet Value 0 00 Burt mode 4 Analog A Cur Tahe L 0 00 Fef Value 25 00 Bus B made 5 Analog 5 Cur Wahl 0 00 Fef Value 0 10 European Office www bb europe com West
9. 8 8 points expansion modules 10 10 I O points 12 12 UO points 20 20 I O points Form Factor H Encased w LCD amp Keypad V Encased w LCD Keypad amp RS 485 Communication C Bareboard E Expansion Output Type R Relay T Transistor International Office www bb elec com European Office www bb europe com SG2 PLRU M Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com D Chapter 1 Getting Started Quick Start Setup This section is a simple 6 step guide to connecting programming and operating your new SG2 Programmable Logic Relay This is not intended to be the complete instructions for programming and installation of your system Many steps refer to other sections in the manual for more detailed information 1 Install SG2 Client Software Install the SG2 Client Software from CD or from the free internet download at www factorymation com gl Grup m Welcome to the S6G7 Client Setup Wizard og TECO Genie II Programming Software H The SG2 Client PC Software provides two edit modes LADDER and FBD The software includes the following features 1 Easy and convenient program creation and editing 2 Programs can be saved on computer and accessed at any
10. International Office www bb elec com European Office www bb europe com SG2 PLRU M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics ess ex kao raus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 3 Program Tools 27 The Line Comment editor is accessed by clicking the N icon on the Ladder Toolbar After clicking on the N icon to drag the line number you want to comment and release then type the desired comments and press OK EH 1234585 TBOABCDEF L SbTE t Edit Comments Line 1 Lina 7 Maintenance 4 Total Time Routines Begins Del lt w 37T 027 p e eee mum mi qu nim mm Line 4 AC ck K E I release I zd I J mam amp D Mi Maint Hr 031 i c EELER EE EELER E EA Peck Det 2100 P aui T eit gi Ver TE Status Stop ONLINE Model 3D 2 XNT D iD 01 Memory Cartridge sold separately The optional PM05 memory cartridge is used to easily transfer programs from one PLR to another The PMO5 memory cartridge plugs into the same connector as the programming cable see procedure below 1 Remove the plastic 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 t
11. Timing Parameter Timer mode 7 FLASH C Mode Enable Input De Reset uade Timing Parameter gt Secure online ordering 24 7 365 from 707 Dayton Road P o Ge 2 Ottawa IL 61350 USA SG2 PLR User Manual B B electronics 815 433 5100 Fax 815 433 5104 MANUFACTURING COMPANY orders bb elec com support bb elec com EI Chapter 5 FBD Programming Bog mode 3 Tier 1 Cur Value 0 00 Pre Vahel 3 00 B 4 mode A Timer 4 Cur Vahl 0 00 Pre Vahel 1 50 Timer 5 Cur Valuel 0 0 Pre Valuel 5 0 BOG H mode Timer Cur Valuel oO Pre Valuel 30 Bu B mode 7 Tirer 7 Cur Vabel oO Pre Valuel 40 Trrer Cur Value2 Pre Valu2 30 European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support a bb europe com Chapter 5 FBD Programming EI RTC Function Block RTC Mode 1 Daily Enable Input E RTC Parameter gt RTC Mode 2 Weekly Enable Input md RTC Parameter A RTC Mode 3 Year Month Day Enable Input RTC Parameter ner Secure online ordering 24 7 365 from ee o Ge 2 Ottawa IL 61350 USA SG2 PLR User Manual B B electronics 815 433 5100 Fax 815 433 5104 MANUFACTURING COMPANY orders bb elec com support bb elec com DPU B mode 1 ETC I SU STI Om 8 30 CHE 18 10 DUZ B mode 2 ETC 2 LO STI Up 9 0 Dur 16 30 Bus B
12. Input the first day to RTC 2 Input the second day to RTC 3 RTC mode 1 4 RTC displays the hour of present time 5 RTC displays the minute of present time l 6 Get RTC hour ON T md Set RTC Minute ON Set RTC Hour OFF 9 Set RTC Minute OFF RTC Coil Number R1 RF Total 15 RTCs The Interval Time Mode 2 allows the Rx coil to activate based on time and day per week The 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 Symbol Description 1 Input the first day to RTC 2 nputthe second day to RTC 3 RTC mode 2 4 RTC displays the hour of present time 5 RTC displays the minute of present time 6 Set RTC hour ON Vask D DOLE 7 Get RTC Minute ON Curran wai Set RTC Hour OFF ve 9 Set RTC Minute OFF 1 7 05 RTC Coil Number R1 RF Total 15 RTCs 17 DD Secure online ordering 24 7 365 from T0 Dayton Road F dud rt GA aa M EEN SG2 PLR User Manual BB electronics V ass ES a Fm 138391 702445 MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb europe com support bb europe com EF Chapter 4 RLL Programming Year Month Day Mode 3 The Year Month Day Mode 3 allows the Rx coil to activate based on Year Month and Date The configuration dialog below allows for selection of Year and Date for the Rx coil to activate ON and Year and Date fo
13. Preset type i Diracri eon Zat Bazar Input I P P ComneaesEk A Contacte l T k Cancel European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com Secure online ordering 24 7 365 from HH electronics MANUFACTURING COMPANY E Chapter 4 RLL Programming Counter Mode 5 Continuous Count Up Down Counter Non Retentive Mode 5 Counter operation is similar to Mode 2 where its current count value is continuous and non retentive except its C1 status bit will only be ON when the counter counts up to its preset or down to its preset from a count higher than its preset Even with its direction bit set to ON it will not turn on its C1 status bit when it counts down to zero The C1 status bit is fixed to the non zero preset value regardless of the state of the direction bit Additionally the Mode 5 counter is always reset to zero unrelated to the state of its direction bit The Mode 5 Counter wi Additionally the current ll count up to a fixed preset value and continue counting after the preset value count value is non retentive and will reset to zero on a loss of power to the PLR In the example below the
14. Y Y Y i ar o o Ka Oe dr Oe d it 1 2 4 5 6 8 i i i 12 240V 50 60 Hz Sensor Connection Fuse 1 I 24V or 3 wire PNP only PF BN BL EI BN YES BK HG DW SA A LOO OOQO0O0O00040 DC V Input 2 wire NO pn PI International Office www bb elec com European Office www bb europe com SG2 PLRU M Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics es sonaas kason raus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com E Chapter 2 Installation DATA LINK OR REMOTE I O LINK 1 The power supply and the I O supply should share the same power source 2 Only short circuit the first and the last module In accordance to EIA RS 485 standard DATA LINK can connect Max 8 Modules ID 1 8 REMOTE I O can only connect 2 modules MASTER amp SLAVE i Jf mm i A1 A2 A3 A4 S A1 A2 A3 A4 S 30000000 30000000 RS485 RS485 A1 A2 A3 A4 S A B OOOO0000 j International Office www bb elec com European Office www bb europe com SG2 PLR U M l Se RE ASOD nad 707 Dayton Road P O Box 1040 Westlink Commercial Park yn IL 61350 USA Ora EE Co Galway Ireland Ser Mana B B electronics Les eona kao aus MANUFACTURING COMPANY EE elec com suppor Qbb elec com orders bb europe com suppo
15. ol E EC ol On 005 Iz Oft 006 E J m ix ff 007 C el on iz Off DOS Secure online ordering 24 7 365 from B B electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com 12 Chapter 2 Installation Chapter 2 Installation General Specifications SG2 is a miniature smart PLR Programmable Logic Relay with a maximum of 44 I O points and can be programmed in Relay Ladder Logic or FBD Function Block Diagram program The SG2 can expand to its maximum I O count by adding 3 groups of 4 input X 4 output modules Power Supply Discrete Inputs DC Models 20 4 28 8V 4mA 12VDC NEES EE AC Models 85 265V Current consumption 3 2mA 24VDC 24V DC 10 point 90mA 1 3mA 100 240VAC Power Consumption m E T SCH Input Signal OFF Threshold lt 5VDC lt 40VAC 90m ignal ON Threshol 15VDC gt 79VAC Wire Size all terminals 26 to 14 AWG pes NT GEN gt Programming Input On de
16. 0 d Do You Want To Read Program From Module International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 ok ea Commereial Park O Co Galway Ireland SG2 PLR User Manual H H electronics vas ZE eroe MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 1 Getting Started E From the Input Status dialog click on M1 to activate the contact M1 which will turn ON the Output Q1 as shown below The highlighted circuit will show active and the first Output Q1 on the connected PLR will be ON See Chapter 3 Programming Tools for more detailed software information D LAD Version 1 4 Coil Contact Symbo L LE i T rI a Ki SG2 PLR User Manual Status On 1123456 7BgABC 123455 7BGABC 12345678 Pil 1123456 789ABC 12345578GABCDEF 123456 78 DABCDEF 123456 789ABCDEF 1 12345678 JABCDEF 1123456 T8 GABCDEF r123455 JBUABCDEF 12345678 bo br Input Status loal ooh klo s 4 N le i i xls T ren who m b 3 ei E u A 2 LR L DET JE ow xe m wp G CO um D d G ba H Q 4H slo m M D t i fa 5 LS x F D a CR 3 ol fa LU p nls CH fo D jo tri fo wl je eiie SEE e Capacity 796 free space 001 002 003 E 004
17. 1 Writing Program to PLR From the Operation menu select the Write function and write the program to the connected PLR as shown below OG LAD Version 1 4 File Edit Eenling EE Monitor SS Simulator Coil Symbol E ri w Stop Ctrl T uit CtrlH Used Q T 1234 Read m F E e 91299 RTC Set Password Q 1231 ge Language y 1234 Module System Set Link Com Port EP er Ae EAR LE eae SG2 PLR User Manual Secure online ordering 24 7 365 from BH H electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com Chapter 3 Program Tools E Operation menu The Operation menu includes several system configuration functions for both online and offline setup The following explains the details of each function Monitor Online function for runtime monitor and editing when connected to a controller Simulator Offline function for testing and debugging a program Run Stop Quit Mode change selections for both runtime editing and simulation mode Read Write Reading and writing programs to and from a connected PLR RTC Set Online function for setup of the Re
18. 240 22 22222222 AC 1 00 240V V Input DC A Input e NE TR gt ere E ene CTIE eee Output Terminals 12 240V Cv 50 60 Hz or 12 125V N NEN 12 240V 50 60 Hz International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 ok ea Commereial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser anua ja A el e ctro n i E ES 815 433 5100 Fax 815 433 5104 353 91 792444 Fax 353 91 792445 MANUFACTURING COMPANY orders bb elec com support bb elec com orders Q bb europe com support Qbb europe com Chapter 2 Installation 17 20 point Versions 1 Fuse 2A 0 10V Analog 2 Surge absorber 36V DC 3 Surge absorber 400V AC 4 Fuse or short circuit Protective Device Power Supply and Input Terminals L A D BERE e ERN II AQ TN NN M N SSES SE ER SS RRE SSES DEE AC 100 240v 20 2990 0009 00000000 20 2000 0000 20000000 dH mm INPUT ee DC V INPUT d I E II I gj rs aes ages I l i P ei ei Fa ei ei i i PU Ge Ze i F N LINE 773 A 77 i 1 2 o D o D D Q 2 Q A D DB AA 1i n CO VIG GI IV VIG GO ONA GO I I i Wel XC Y NA Xu XS vu X7 Wel XH Wel Was Wel XS Ne Wel I 1 Y tyr Tyr Tyr i it F Y Y
19. E DC24V INPUT8xDC A1 A2 0 10V SG2 12HR D Es LZ M SC D LyJ Ly Ly Q1 Q2 7 deum I1 12 13 14 15 16 A1 A2 Input X1 X2 X3 X4 QOO OOOOOOOO0 0000 M4X20 8x32 AQ SE DC 24V Input 8 x DC A1 A2 0 10V L N AC 100 240V TEC T SG2 8ER A Output 4 x Relay 8A TEC ZNI Il N NYA e SG2 12HR D A CONNECTOR Output 4 x Relay 8A Cumi OoOo OG OG 1 Q1 Q2 Q3 Q4 A O N SJ O International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics iiis asses eona kao raus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com d Chapter 2 Installation Wiring WARNING The 1 0 signal cables should not be routed parallel to the power cable or in the same cable trays to avoid the signal interference AN To avoid a short circuit on the load side it is recommended to connect a fuse between each output terminals and loads Wire size and Terminal Torque 10 12 point Versions 1 Fuse 2A 2 Surge absorber 36V DC 8 Surge absorber 400V AC 4 Fuse or short circuit Protective Device Power Supply and Input Terminals 100 240V 50 60 Hz 3 200000 DE
20. F d 2 sinin ILLE UL LE LI I 3 Shift number QJ International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park SG2 PLR User Manual B B Oranmore Co Galway Ireland a electronics ali nam e o en o sou MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb europe com support Q bb europe com AND Logic Block Chapter 5 FBD Programming FBD Ladder FBD Ladder 101 102 Note The input terminal is NOP which is equivalent to Hi NAND Logic Block 4 4 gt PPP C 103 FBD Ladder 1014INAND tr I 0 2 FByy I103 4 i03 NAND Edge Logic Block FBD Ladder I01 JNAND 102 4 L LR yy I I03 103 ll TN 3 4 Secure online ordering 24 7 365 from SG2 PLR User Manual BB electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com Idol Ide Boe European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com Chapter 5 FBD Programming OR Logic FBD Ladder 0 HH JE 103 4H FBD Ladder Note The input terminal is NOP which is eq
21. Output Coil Range Input 101 10C 12 Expansion Input X X01 X0C 12 Output Q Q Q01 Q08 8 Expansion Output Y Y Y01 Y0C 12 Auxiliary M M M01 MOF 15 Knoh N N NO1 NOF 15 HMI H HO1 HOF 15 Gjerne Coil Type PWM p PO1 1 e Output Coil Black SHIFT S S01 1 1 0 LINK L LO1 L08 8 Logic Function Block B B01 B99 99 Normal ON Hi Normal OFF Lo No Connection Nop Coil Block Instruction qul I 7 N o Pi Input Terminal Cu Coil Type e Output Coil Block Logic Block Instructions Ede 2 Logic Type 3 Logic Block SCH P TTI LAND 4 Connect with Next Function Block e i ice bb i E Office bb er ere Wee Roed BO ae er SG2 PLR User Manual B B electronics uo RA MANUFACTURING COMPANY orders bb elec com support bb elec com orders Q bb europe com support Qbb europe com EN Chapter 5 FBD Programming PWM Function Block The PWM output terminal Q1 can output 8 PWM waveforms only provided for transistor output version Enable mpute 3 lop r ea op Et op IP 01 SHIFT Function Block Input termmal description Shuft input gt 1 Shift code 2 Shift type Enable mput N o p PWM Function Function Ft4 IL IL HT Sw 2wz Sul T ms tma U D i U U Symbol Description 1 SHIFT code Total 1 group 2 Set output type Q Y 3 Set output shift number 1 8 2 5 Shift ouput range Q1 05 Enable i 2 J d A 5
22. P A pulse output instruction or Flip Flop turns ON a coil Q or an auxiliary contact M when the preceding input contact transitions from OFF to ON Once the output is ON it will remain ON until the preceding input contact transitions from OFF to ON a second time In the example below When Pushbutton 13 is pressed 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 13 I3 a4 Phutton Motor International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming Counter Instructions The SG2 PLR includes a total 15 separate counters that can be used throughout a program Each counter has a choice of 8 operation modes 6 for general purpose counting and 2 for high speed counting Additionally each counter has 6 parameters for proper configuration The tables below describes each configuration parameter and lists each compatible memory type for configuring counters
23. bb elec com orders bb europe com support bb europe com ET Chapter 4 RLL Programming Output Instructions Set Output Instruction Latch 1 A set output instruction or Latch turns ON an output coil Q or an auxiliary contact M when the preceding input contact transitions from OFF to ON Once the output is ON or set it will remain ON until it is reset using the Reset output instruction It is not necessary for the preceding input contact controlling the Set output instruction to remain ON I1 Ql UU 1 IN OFF ON OFF RS OFF ON Reset Output Instruction Unlatch 1 A 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 Iz ani DU Il OFF ON OFF o ON OFF International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming ES Pulse Output Instruction Flip Flop
24. counter will continue counting after its preset value of 20 Counter status bit C1 will be ON when the current value is 20 Input Count Pulse Edit Contact Coil Select Coil HO i1 9 A B C D E F Function Rode M lt tLe With overtaking and Fitheut poser Gem Compare Counter Current valise 000000 Prasat values 0000Z0 M14 000000 000020 Fel AE L gris AE Mnd SER FRA LEE GER Se Go het IS De ERE SL TE 01191 191 201 201 211211201 201 191 191 18 18 191 191 201 01 01 01 0 ed Bener Sa Nada beer dd edt assit weg Se ados tutu ied RES OFF UN OFF OR SG2 PLR User Manual International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park e O Co Galway Ireland B B electronics ali ann Seere Co Gaay sous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming ES Counter Mode 6 Continuous Count Up Down Counter Retentive Mode 6 Counter operation is similar to Mode 4 where its current count value is continuous and retentive except its C1 status bit will only be ON when the counter counts up to its preset or down to its preset from a count higher than its preset Even with its direction bit set to ON it will not turn on its C1 status bit when it counts down to zero The C1 status bit is fixed to the non zero pr
25. standards and codes AN Be sure to properly size cables for the required current rating AN Always separate AC wiring DC wiring with high frequency switching cycles and low voltage signal wiring Precaution for Operation To insure safety with the application of the SG2 PLR complete functional and safety testing must be conducted Only run the SG2 after all testing and confirming safe and proper operation is complete Any potential faults in the application should be included in the testing Failure to do so could lead to improper operation equipment damage or in extreme cases even Death serious bodily injury or considerable damage to property When the power is on never contact the terminals exposed conductors or electrical components Failure to comply could lead to improper operation equipment damage or in extreme cases even death serious bodily injury or considerable damage to property It is strongly recommended to add safety protection such as an emergency stop and external interlock circuit in case the 62 PLR operation must be shut down immediately International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com
26. Bits C Memory Type Counter status bits provide the relationship between the current value and the preset value of a selected counter The counter status bit will be on when the current value is equal to or greater than the preset value of a selected counter In this example each time the input contact I4 transitions from off to on the counter C1 increments by one When the counter reaches the preset of 2 counts the counter status contact C1 turns on When C1 turns on output Q5 turns on When M2 turns on counter C1 will reset If M9 is turned on the counter will change from a count up counter to a count down counter 1 w94 00000 OO0002 Fel I4 DO Common Memory Types General output SET output RESET output PULSE output N O Contact N C Contact Number Symbol f 1 P PAS N O N C Input contact i 12 I1 IC i1 iC Output coil Q Q Q Q Q q 8 Q1 Q8 q1 98 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 Specialty Memory Types General output SET output RESET output PULSE output N 0 Contact N C Contact Number Symbol f 1 P 4b PAS N O N C Expansion input coil X x 12 X1 XC x1 xC Expansion output coil Y Y Y Y Y y 12 Y1 YC y1 yC Differential one shot D Positive d Negative RTC R R r 15 R1 RF r1 rF Ana
27. C 4 Trans N A N A N A SG2 8ER A 85 240VAC 4 AC 4 Relay N A N A N A SG2 4Al 12 24 VDC 4 Analog N A N A N A N A SG2 MODBUS 24 VDC Communications Module RS 485 MODBUS RTU OEM Blind Models No Keypad No Display SG2 12KR D 6 DC 2 Analog 4 Relay X N A 12 24VDC SG2 20KR D 8 DC 4 Analog 8 Relay X N A 20 A SG2 10KR A E 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 12GR D 6 DC 2 Analog 4 Relay X N A 12 24VDC SG2 20GR D 8 DG 4 Analog 8 Relay X N A 20 A SG2 10CR A Jes 6 AC 4 Relay X N A 10 SG2 20CR A 12 AC 8 Relay X N A 20 Accessories SG2 PLO1 SG2 Programming Cable SG2 PM05 SG2 Memory cartridge SG2 SW SG2 Programming software Available on CD or FREE via download from Web SG2 PLR User Manual Secure online ordering 24 7 365 from HiB electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com E Chapter 2 Installation Mounting DIN rail Mounting The SG2 PLR should always be mounted vertically Press the slots on the back of the SG2 and expansion module plug CONNECTOR onto the rail until the plastic clamps hold
28. COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com EN Chapter 3 Program Tools Program Documentation The SG2 Client software includes the ability to document a program using Symbols and Line Comments Symbols are used to label each I O address up to a length of 12 characters Line Comments are used to document sections of a program Each Line Comment can have up to 4 lines with each line containing up to 50 characters in length Below are examples of entering Symbols and Line Comments Symbol The Symbol editing environment can be access through the menu using the Edit gt 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 Select Model EZ EevPad Sy w Ladder Clear Comments XT SE Find Replace Ar HMI Text Symbol Q 12393670 HIT Line Comments Contact Coil Symbol Symbol Contact Coil l I Input Contact Start d Expand Input Contact Return Pret Output Contact Coil pine Seres Expand Output Contact Maker Pri Auxiliary Contact Timer Contact ass BRezet Counter Contact BTC Contact analog Contact HMT Text Contact One Min Time PUM Output Contact E d iH 4 H 0 H AH G bata Link Contact Display Enable Contact Coil Symbol
29. FZ Beja Bras ee iDa dm Hasi enin aon uon a a an La Er EA odi EID ERE International Office www bb elec com European Office www bb europe com SG2 PLRU M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua BH electronics 050 haa ZE feide me MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders Qbb europe com supportQbb europe com E Chapter 1 Getting Started d e Test the simple program From the Operation menu select the Write function and write the program to the connected PLR as shown below 2 LAD Version 1 4 Operation Monitor Simulator Coil Symbol Run Ctrl F w Stop I Chr uit Ctrl Used E 7 I 1234 Read Mu F E E z 1234j RTC Seb 0 1234 Password WS Language Module System Set Link Com Part Select the RUN icon from the toolbar and select No when the pop up message asks Do you want to read program from module as shown below FAD Version 1 4 BES ei bass ea y RD e Coil Contact Capacity 795 free space Symbol Used in Prog Ir1234567B89ABC Nr 127456 7B9ABC i or 12345678 P 1 Y 123456 TBBABC HM 17545676 9ABCDEF Tr 121456 7H9ABCDEF Le 1123456 7BBABCDEF 1234567B8B8ABCDEF m ig 121456 7B89ABCDEF H 123456 789ABCDEF L 12345676 D
30. MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming High Speed Counters DC Version PLRs Only The DC powered version PLRs include two 1Khz high speed inputs on terminal I1 and I2 These can be used as general purpose DC inputs or can be wired to a high speed input device encoder etc when configured for high speed counting These are often used for counting something moving very fast gt 40hz or used as a speed reference on a machine The high speed counters are configured using the same software Edit Contact Coil dialog box except selecting Counter Mode 7 or Mode 8 High Speed Counter Mode 7 DC powered versions only The Mode 7 High Speed Counter can use either input terminals 11 or I2 for forward up counting to 1Khz maximum at 24VDC high speed input signal The selected Counter Coil 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 1 Symbol Description Counting Mode 7 high speed counting ORO High speed counting input terminal 11 or 12 only Use I1 gF to RESET the counting value ON the counter reset to zero OFF the counter continues to count Current Count Value range 0 999999 Preset Value range 0 999999 Counter Coil Number C1 CF total 15 counters Ge EE The f
31. PO Box 1 040 Westin m ur p Ottawa IL 61350 USA ranmore Co Galway Irelan ser anua ja A el e ctro n T E E 815 433 5100 Fax 815 433 5104 353 91 792444 Fax 353 91 792445 MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb europe com support Q bb europe com Chapter 4 RLL Programming as Timer Mode 2 ON Delay with Reset Mode 2 Timer is an ON Delay with reset that will time up to a fixed preset value and stop timing when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR The timer reset 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 Lih Contacti mnl Direction Sat H Conkeact 4 Fe Enable reset relay Enable reset relay SA Timer starts operatinz present value D present value U Timing enable relay 6 Time up TI TF Output Terminal 3 enable reset relay JFF ON OFF target value set in timer International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb el
32. SG2 PLR User Manual International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA Oranmore Co Galway Ireland 815 433 5100 Fax 815 433 5104 353 91 792444 Fax 353 91 792445 orders bb elec com support bb elec com orders Qbb europe com support bb europe com European Office www bb europe com Westlink Commercial Park E Chapter 4 RLL Programming Each HMI instruction has a choice of 2 operation modes The table below describes each configuration parameter 1 REIS ENT GEI Description Display Mode 1 2 HMI character output terminal H1 H8 H1 3 PWM Output Instruction DC Transistor Output Models Only The transistor output model SG2 PLRs include the capability to provide a PWM Pulse Width Modulation output on terminal Q1 The PWM instruction is able to output up to an 8 stage PWM waveform Symbol Description Enbe GP Output PWM 1 Set display stages 1 8 OFF X X X 0 OFF 2 Display the present stage as operation 0 8 ON OFF OFF OFF 1 Set stage 1 3 Input Selected Stage 1 11 9F ON OFF OFF ON 2 Set stage 2 4 Input Selected Stage 2 11 9F ON OFF ON OFF 3 Set stage 3 5 Input Selected Stage 3 11 9F ON OFF ON ON 4 Set stage 4 6 Set PWM pulse width 0 32768ms ON ON OFF OFF 5 Set stage 5 7 Get PWM Period 1 32768ms ON ON OFF ON 6 Set stage 6 PWM out
33. TECQ S62 PLR USER Manual d 41 Eu i L T sG2 1 oH E orna IUE NAN R Ka RE Vi A L E ure ER SE ou TPU HS SG2 Programmable Logic Relay online ordering 24 7 365 from H H electronics og sia pen COMPANY lectronics com 2 o LB Table of Gontents Chapter 1 Getting Started es 4 Examination Before Installation css s x x x x x x x x eee 5 Environmental Precautions 0 000 cee eer h hn 5 SG2 Model Identification llllllllllleeeeeee enhn hh 5 QUICK Start SeluD EE 6 Chapter 2 Installation rn rn rn nn runs 12 General Specifications a E de ceed ei MER RA Eee E dm X RR EUR GNE ERR beer 12 Product SDScilicatlOlS 5 sows sep kassene seeren REQUE a Mu are 0 N 13 MOUNING 22222 29999 Edw xd iE E EEE MSIE SET EE Cine TN LE dE 14 WHINING ovceeer Eee 16 Chapter 3 Program Tools eere nns 19 PC Programming Software SG2 Client leeeeeee eere 19 Odile ie Tode Le LEE 27 LCD Display ana Keypad WEE 28 Chapter 4 Relay Ladder Logic Programming 29 Specialty Memory Types rreeeeeeeeee hh hh hh hh 31 Output Instructions e e r eelleeeeeee hh hh hh hh 32 Counter Instructions cv s e e lt lt PEE ES EETRPRFERITRSGEIEEAGUGENUERESGNEENUN d E 34 High Speed Counters DC Version PLRs Only
34. a imm OPRU Era ee d Downigad te 56 Pregraenmeesg Software fer FREI d dbkirn d ciraLkb zndl Wa ap Select the Downkbrad bk below 2 SHect SAVE ard chansa lar atien on enn harddreer te same he soda A PUR avare ism h bollen st r yaj aed ha bla SET Paograresang Bofada H D MET LCE DAN OW 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 port on the computer Start Screen Run the SG2 Client software and the following Start screen will be displayed From this screen you can perform the following functions EN International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw es a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com New Ladder Program Select File gt New gt New LAD to enter the development environment for a new Ladder program New FBD Program Select File gt New gt New FBD to enter the development environment for a new FBD Function Block Diagram program Open Existing File Select File gt Open to choose the type of
35. a Pld present value U timing enable relay Timer up output terminal L TI TF tl target value set in the first limer t2 target value set in the second timer International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming Di Real Time Clock RTC Instructions The SG2 PLR includes a total of 15 separate RTC instructions that can be used throughout a program Each RIG instruction has a choice of 3 rine set operation modes and has 10 parameters for proper configuration The Year Month Day log plos en initial clock calendar setting for each connected SG2 is set using the Operation RTC Set menu selection from the SG2 Client software Daily Mode 1 The Daily Mode 1 allows the Rx coil to activate based on a fixed time across a defined set of days per week Ihe configuration dialog below allows for selection of the number of days per week i e Mon Fri and the Day and Time for the Rx coil to activate ON and Day and Time for the Rx coil to deactivate OFF Hour Minute D 50 Interval Time Mode 2 weekly Symbol Description 1
36. al time clock calendar see dialog below RIC Set Time Ger Year Month Day Hour Minute S Password Set a password for accessing the current program after upload to the PLR Language Change software language Module System Set Dialog for changing important system setup functions including Module ID Remote UC preferences Expansion UC 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 Client software does not support runtime logic editing changes All logic edits to contacts coils timers counters and circuit connecting lines must be written to the connected PLR while in Stop mode l ee Force IIO T str points 8 l i ichti TE AFT TH Highlight col to view current Timer Counter values Status Bar Filename Firmware Actme circuits version Node Cmblme Offlme change color 5032 odel and IDs International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westlink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics hes seomair kaoa raus MANUFACTURING
37. e Mode 1 Send Data Link instruction L1 L8 is allowed per ID Memory List Location le Master PLR All other Data Link instructions must be Mode 2 Receive 0 Wi W8 instructions 1 Wo Wi6 The Mode 2 Receive memory range is determined by the Controller ID 7 MW Each controller ID is allocated a range of 8 I O points Wx Wx that K can be read into the Master PLR using a DataLink instruction The S ane adjacent table show the memory range of Wx locations associated with EET each controller ID er 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 103 with the resulting range of 5 sending inputs equal to I3 I7 SG2 PLR User Manual Edit Contact Coil P G Select Coil NO Tunccigon Hode Sand 1 2 103 07 L1 Direction Sat Reser Input ES Cont act Contact TL 13 Secure online ordering 24 7 365 from International Office www bb elec com 707 Dayton Road P O Box 1040 a B B electronics 9 99 sm MANUFACTURING COMPANY orders bb elec com support bb elec com European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com EN Chapter 4 RLL Programming Example 1 Data Link Mode 1 oet 1 2 5 set 3 as the initiate of I3 the
38. e 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 the main menu Delete Used to delete an instruction or rung from the ladder program The 4 navigation buttons are used to move the cursor throughout the functions of the SG2 display or active program Secure online ordering 24 7 365 from International Office www bb elec com Fe or Office Hed co 07 Dayton Road P O Box 1040 estlink Commercial Par 350 USA e 707 O Co Gal Ireland B B electronics ali ann Seere Co Gaay sous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming E Chapter 4 Relay Ladder Logic Programming Common Memory Types Inputs I Memory Type The SG2 digital input points are designated memory types The number of digital I input points are 6 8 or 12 depending on each SG2 model Outputs Q Memory Type m Lil Ql The SG2 digital output points are designated Q memory types The number of digital Q output points are 4 or 8 depending on each SG2 model In this example output point Q1 will be turned on when input l1 activated Auxiliary Relays M Memory Type Auxiliary relays are digital internal memory bits used to control a ladder logic program The auxiliary relays are not physical inpu
39. e 15ms normal condition Maximum Humidity a E LER Life expectancy rated load 100k operations Ham 075mm amplitude e Vibration 1 0g acceleration Minimum load 16 7mA 10 point 230g Transistor Outputs Weight 9 point 190g PWM max output frequency 0 5kHz 1ms on 1ms off pond Standard max output frequency 100Hz Agency Approvals cUL CE UL in T 4 N Voltage specification 10 28 8VDC Current capacity 1A l Resistive 0 5A point Maximum Load Inductive 0 3A point Minimum Load 0 2mA Secure online ordering 24 7 365 from de ele ee EEN vesinkconmercalPa TT SG2 PLR User Manual B B electronics aw o Zi a o us MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 2 Installation 13 Product Specifications Part Input Power Inputs Outputs Display RS 485 Communications Max UU SG2 12HR D 6 DC 2 Analog 4 Relay N A 36 SG2 12HT D 6 DC 2 Analog 4 Trans N A 36 SG2 20HR D 8 DC 4 Analog 8 Relay P N A 44 24 VDC SG2 20HT D 8 DG 4 Analog 8 Trans J N A 44 SG2 20VR D 8 DC 4 Analog 8 Relay y Built in MODBUS 44 SG2 20VT D 8 DC 4 Analog 8 Trans J Built in MODBUS 44 A dH SG2 10HR A Beca AG 6 AC elay d N A 34 SG2 20HR A 12 AC 8 Relay J N A 44 Expansion Modules SG2 8ER D 24VDC 4 DC 4 Relay N A N A N A SG2 8ET D 4 D
40. ec com orders bb europe com support bb europe com DI Chapter 4 RLL Programming Timer Mode 3 OFF Delay Mode 3 Timer is an OFF Delay with reset that will time up to a fixed preset value and stop timing when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR In the example below the timer reset input 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 Edit Contact Call B Zalser Coil Bi i 1 5 A B C D E F Funstis Rode J F times 7 Ph Bt tfa l aap aper mode L Time Bara l 300 Cukrsm t valus Pror valus reece typa Fag Fir ctidm Sat Faret Trupsur DENS ATT Cirka enable reset relay p 4 4 A enable reset relay present value 0 Timer starts operating present value U Timing enable relay OFF ON OFF 6 i i rins ua Mia OE ON t OFF output terminal 5 e OFF K 1 enable reset relay t target value set in timer International Office bb elec European Office bb europe com S G 2 PLR U M Secure online ordering 24 7 365 fr iis 707 Dayton Road PO Box 1040 geg Westin Commercial Park i Ottawa IL 61350 USA ranmore Co Galway Irelan ser Manua B B electronics Les eona
41. en db o 59 OR LOGGE A O X 60 NOR bei UE 60 KOR LOG P P eee 60 SR LOGIC Block ge m 60 NOI LOGIC BIOCK zu gies eew ax eder 61 Pulse Logic Block iub Rise wn ou DLA eg 61 Counter Function Block eee eeereeeee enhn nnn 61 Counter Mode 5 P b e 62 Counter Mode Ds coser be REUS EXE ende EG RUE SNR RUNE I ROCA Pc n iN a bas 62 High Speed Counter Function Block leeees erre 63 Timer Function Ce ei 63 HIC Function Block EE 65 Analog comparator Function Block eeeeeeeee 66 International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park SA O Co Galway Ireland SG2 PLR User Manual BeH electronics e E roa MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb europe com support Qbb europe com D Chapter 1 Getting Started Chapter 1 Getting Started The SG2 PLR is an electronic device For safety reasons please carefully read and follow the paragraphs with WARNING or CAUTION symbols They are important safety precautions to be aware of while transporting installing operating or examining the SG2 Controller T WARNING Personal injur
42. eset value regardless of the state of the direction bit Additionally the Mode 5 counter is always 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 the current value is 20 Edit Contact Coall n Select Coil MO i el les k D CD EE Function fede MA 1 3 With overtaking and with power down Compara C BUE Y Current value jonooo0 Prager value io DODZ0D b Drerer type ti mi4 OOO000 l Direction Fae Pesat Input DUDU ZU KC 1 Patt pP Comtact t Si 1 C OPR aE I L eieiei eg 20 SSL GLE M EP EMI VET Fres Fa TEGNE Get Fn Ise ML De ken Se f 4ode18285 01 11 1121 21 31 1 1 1 1 I 191 1121213 31 d Jod db KE JE DANA T k EA w Lb bod 4 acsi 01111121213 1214121666 6 7l I Eb b 4 del SE Sa az frille alen pj bu amp Input Count Pulse International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus
43. file to open Ladder or FBD and choose the desired program file and then click Open Ladder Logic Programming 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 gt New gt and select the desired model of SG2 and the number of connected expansion units if applicable as shown below Select Model Type Specifications av teesases 2 G2 12HR D il L i i31 is 5 e Ur 3 Expansion LICO KS Power Input Output Analog ETC SG2 Client E Chapter 3 Program Tools FE a SS 19 24 VDC Tl I6 A1 A7 dxBRelay 5A Tes Yes DD Output Ho l1EHz Input Il I High Speed Comm Mo LCD Eevypad Yes Er Select Type abz lzHR D Secure online ordering 24 7 365 from SG2 PLR User Manual BB electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 orders bb elec com support bb elec com European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com Chapter 3 Program Tools EI Menus Icons and Status Displays The Ladder programming environment includes the following Menus Icons and Status Displays 1 Men
44. g Cable Remove the plastic connector cover from the 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 port on the computer SN 4 Establish Communication a Open the SG2 Client software and select New Ladder Document as shown below A SG2 Client File Help I Mew Ladder Document Ez TEES File Edit smerny View Help b Select Operation Link Com Port as shown Link Com Port International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics ewe seomair kao raus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com D Chapter 1 Getting Started E Select the correct Com Port number where the programming cable is connected to the computer then press the Link button Link Com Port COM PORT COMS PORT COM2 PORT COMS PORT COMS PORT COM PORT COM4 PORT COMS PORT d The SG2 Client will then begin to detect the connected PLR to complete it s connection as shown below Please Wait Moment How Detect 552 ID 1 H 5 Write simple program a Write a
45. he 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 International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com EN Chapter 3 Program Tools LCD Display and Keypad Most SG2 CPU units include the built in LCD Display and Keypad The keypad and display are most often used for changing timer counter setpoints controller mode changes Run Stop uploading downloading to the PM05 memory cartridge and updating the RTC Real Time Clock Calendar Although logic programming can be performed from the keypad and display it is highly recommended to only perform logic changes using the SG2 Client software Below is an overview of the basic keypad and display functions SG2 PLR User Manual Select Used to select the available memory and instruction types for editing Holding the Select button for 3 seconds and releasing will display all H HMI Text messages on the LCD OK Used to accept the selection displayed of an instruction or J function It is also used to select any of the Main Menu options on the LCD Note Press th
46. igure to the right shows the m Cait Contact Coil relationship between the numbered i yt block diagram for a Mode 7 Counter the ladder diagram view and the software Edit Contact Coil dialog box 3 Ti4 OOO 50000 Fel M5 7 999999 z TEGENE POET SETT EE KEL KLE L TATT VEG CECR AE Bee A ees E E E EH 4 E 3 ili s 19999981999999 999999 999999 0 International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 een Commersial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics ess onair kan raus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com High Speed Counter Mode 8 DC powered versions only Chapter 4 RLL Programming The Mode 8 High Speed Counter can use either input terminals 11 or I2 for forward up counting to 1Khz maximum at 24VDC high speed input signal The selected Counter Coil C1 CF will turn ON when the pulse count reaches the target Preset ON value and remain ON until the pulse count reaches the target Preset OFF value The Fixed Time xxxx The counter will reset when the preceding rung is inactive The table below describes each configuration parameter for High Speed Counter Mode 8 BSE Symbol Description o B d Ln The figure to the right shows the relationship between the numbered block diagram f
47. kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming Di Timer Mode A OFF Delay Mode 4 Timer is an OFF Delay with reset that will time up to a fixed preset value and stop timing when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR In the example below the timer reset input is Input 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 Edit Contact Call Salse Coil Hi T 11 ER 1 9 ABC DEF Funstiies Rode J F L R EL P 7 J Offb bhelay aper mode L Time Bara L Durrant valus Prois valus rere typ F Diractiomnm Sat ra net inpu Cent Bc Cintas enable reset relay p 4 4 d enable reset relay present value 0 Timer starts operating present value Timing enable relay OFF ON OFF 6 C YET Tine up Mam Ef ON OFF output terminal 5 OFF 3 1 enable reset relay t target value set in timer Secure online ordering 24 7 365 from deet Me Baa T S Ottawa IL 61350 USA ranmore Co Galway Irelan SG2 PLR User Manual Bep electronics hau o en res MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb europe com support Qbb europe com
48. lay 240VAC 50ms Programming languages Ladder Function Block 120VAC 90ms Program Memory 200 Lines or 99 Function Blocks DC 3ms Input Off Delay 240VAC 50ms Programming storage media Flash 120VAC 90ms Execution Speed 10ms cycle Transistor device compatibility PNP 3 wire device only LCD Display 4 lines x 12 characters High Speed Input frequency kHz Timers Standard Input frequency lt 40 Hz Maximum Number 15 Timing ranges 0 01s 9999min Required protection nverse voltage protection required Counters Analog Inputs Maximum Number 15 Resolution 10 bit Highest count 999999 Analog input 0 10VDC E l Voltage Range acceptable 24VDC when used as discrete input Resolution 1 RTC Real Time Clock Input Signal OFF Threshold lt 5VDC as 24VDC discreet input Number available 15 Input Signal ON Threshold 9 8VDC as 24VDC discreet input Resolution 1min Sen S Time span available week year month day hour min iid SE udi l Short circuit protection Yes Compare Instructions Analog Timer or Counter Values reser 15 Total number available A1 A8 Compare versus other inputs Timer Counter or Numeric values Relay Outputs Environmental Contact mails Ag Alloy Enclosure Type IP20 Current rating 8A Maximum Vibration 1G according to IEC60068 2 6 HP rating 1 3HP 120V 1 2HP 250V o o o o Hesistive 8A point Operating Temperature Range 32 bs 131 0 a Maximum Load Inductive 4A point SIUE EM Range 10 to G F 40 to 70 2 Maximum operating tim
49. link Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support bb europe com
50. log comparator G G g 15 G1 GF g1 gF HMI H 15 H1 HF PWM P 1 P1 DATA LINK L 8 L1 L8 Secure online ordering 24 7 365 from International Office www bb elec com yrs ee Gale Hed co SG2 PLR User Manual n n electronics SATT E Dm s MANUFACTURING COMPANY orders bb elec com support bb elec com orders Q bb europe com support Qbb europe com Chapter 4 RLL Programming EI Specialty Memory Types Positive Input Differential Instruction One Shot An positive input differential instruction or One Shot holds its status ON for one CPU scan when the preceding series contact transitions from OFF to ON This transition from OFF to ON is called a Positive Input Differential 11 D o1 Qi Il OFF ON OFF D OFF ON OFF 3 One complete scan period O OFF ON OFF Negative Input Differential Instruction One Shot 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 Il OFF ON OFF d OFF ON OFF 1 One complete scan Q OFF ON OFF International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support
51. mbol Description 1 Comparison Mode 1 5 3 4 2 Ax analog input A1 A8 the present value of the timer counter or a constant value 3 Ay analog input A1 A8 the present value of the timer counter or a constant value 5 4 Ax analog input value 0 00 9 99 3 A 5 Ay analog input value 0 00 9 99 6 6 Set reference comparative value could be constant or the present value of the timer counter and analog input 7 Output terminal G1 GF Comparison Mode 1 Av 6 Ax Ax 6 7 ON Comparison Mode 2 Ax lt Av 7 ON Comparison Mode 3 Ax Av 7 ON Comparison Mode 4 Ax lt 6 7 ON Comparison Mode 5 A 6 7 ON Example 1 Analog Signal Compare In the example below Mode 4 is the selected function that compares the value of analog input A1 to a constant value N of 2 50 Status coil G1 turns ON is A1 is to 2 50 Edit Contact Coll E BRafarenca value al LO qe A14 UU UUY Raset Input Az4 UU UUY Fol Contact 0z SOV Secure online ordering 24 7 365 from de ele ee EEN Fr S Nr eee PER weer Manua B B electronics 3h Su ne MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming Example 2 Timer Counter Preset Value Compare The Comparator insturction ca nbe used to compare Timer Counter and RTC values to a constant value or to each other In this example below M
52. nstructions or by using keyboard entry commands Below is an example of some common methods of entering programming 4 instructions ppr ies Gog gt Oo ot Gk 4 amp drag j GE E EE LM 8 The A and L keys or icons are used to complete parallel and serial circuits The rightmost column is for output coils T i i gep j Le eem E Bob Li 09 EE wh HRK Vip e mud za Prag pP ad and SIS I I to form E EE EE en ara D zm we a Lt s GE SE E e m Ux 4p International Office www bb elec com European Office www bb europe com 707 Dayton Road P O Box 1040 Westlink Commercial Park Oranmore Co Galway Ireland Fax 353 91 792445 Secure online ordering 24 7 365 from a B B electronics xs orders bb elec com support bb elec com Ottawa IL 61350 USA 353 91 792444 MANUFACTURING COMPANY SG2 PLR User Manual Fax 815 433 5104 orders bb europe com support bb europe com Chapter 3 Program Tools E Simulation Mode The SG2 Client software includes a built in simulator to test and debug programs easily without the need for downloading to a controller To activate simulation mode simply press the red RUN icon The program below is shown in simulation mode identifying the significant available features e LAD Tiria M f LA pe ges f EE Gi ER Ke ee e miniy JS Toggle me m on Simulation 01 i d d ETE NAT hd nde pars TTE frs apars Fo mede Fmaj al
53. nter Mode 7 Counting Input Up Down Counting Reset ME Counting Parameter Counter Mode 8 Counting Input Up Down Counting Reset ME Counting Parameter Note High speed input terminal 11 12 Timer Function Block Timer Mode 1 ON Delay A Mode Enable Input gt Timing Parameter gt Timer Mode 2 ON Delay B Mode Bx x n 1 Enable Input gt En Reset Bes LB yy Timing Parameter P a r Secure online ordering 24 7 365 from Ee elle EE SG2 PLR User Manual Ottawa L61350USA B B electronics 225 MANUFACTURING COMPANY orders bb elec com support bb elec com BO Cur Value Pre Value 246 Bus mode 8 Counter 8 Fixed Time 22 00 Upper 100 Lover 20 mode 1 Tine 1 Cur Vahl 0 00 Pre Valuel 10 00 Buz B mode 2 Timer 2 Cur Valuel 0 0 Pre Yab l 100 0 European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support a bb europe com Timer mode 3 OFF Delay A Mode Bx PT J Enable Input En C TL Reset Res FB v Timing Parameter P a r t I Timer mode 4 OFF Delay B Mode Enable Input g Reset Timing Parameter gt Timer mode 5 FLASH A Mode Enable Input gt Reset gt Timing Parameter gt Timer mode 6 FLASH B Mode Enable Input Reset
54. ode 5 is the selected function that 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 Edit ContactiCoil select Coil ui 11 9 B C D E F Funct 1054 Hada 1 m EZ od S An PDPefaerence value Current values Fraset value U Prasat ctype 5 Uirecticn Set Berat input 00 DOIS KG D0 15v Cot act Contact International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming E HMI Display Instructions The SG2 PLR includes a total of 15 HMI instructions that can be used throughout a program Each HMI instruction can be configured to display information on the SG2 12x4 character LCD in text numeric or bit format for items such as current value and target value for timers counters Input Output bit status RTC real time clock and Analog comparator Each HMI instruction is configured separately using the Edit HMI Text menu selection from the SG2 Client software In the adjacent example HMI instruction H1 is configured to display the value of 11 and T1 and some descriptive text Nume
55. or a Mode 8 Counter the ladder diagram view and the software Edit Contact Coil dialog box SG2 PLR User Manual Counting Mode 8 frequency comparison High speed counting input terminal 11 or I2 only Use I1 gF to RESET the counting value ON the counter reset to zero OFF the counter continues to count Current Count Value range 0 999999 Preset Value range 0 999999 Ge EE Counter Coil Number C1 CF total 15 counters ILE TIE title H OFF Ti4 00 10 O50000 O60000 Secure online ordering 24 7 365 from B B electronics MANUFACTURING COMPANY International Office www bb elec com 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA 815 433 5100 Fax 815 433 5104 orders bb elec com support bb elec com orders bb europe com support Qbb europe com palice Ee c el 1 9 4 8 c 0 8 F hiret ign Rode n if He I input 45 0 LZ K pr aer European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 Chapter 4 RLL Programming Timer Instructions The SG2 PLR includes a total of 15 separate timers that can be used throughout a program Each timer has a choice of 7 operation modes 6 for general purpose timing and 1 mode 7 for a pulse timer Additionally each timer has 6 parameters for proper configuration The table below describes each configuration parameter and lists each compatible mem
56. ory type for configuring counters 1 Symbol Description Compatible Instructions Range O 1 Timer Mode 1 7 Inputs I1 IC i1 iC Timer Unit 0 00 99 99 sec Outputs Q1 Q8 01 08 4 occa Auxiliary coil M1 MF mi mF 0 9999 min Expansion inputs X1 XC x1 xC SR 5 e ON the timer reset to zero Expansion outputs Y1 YC y1 yC OFF the timer continues to time RTC R1 RF r1 rF 4 Current timer value Counter C1 CF c1 cF 5 Timer preset value Timer T1 TF t1 tF 6 Timer Coil Number C1 CF total 15 timers Analog comparator G1 GF g1 gF Timer Mode 1 ON Delay Mode 1 Timer ON Delay will time up to a fixed preset value and stop timing when the current time is equal to the preset value Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR 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 i EN nnlact t sr e 4 bla Enable Reset Relay R Present Value 0 3 Enab e Reset Relay Present Value 0 Timer Starts Operating Timing enable Relay OFF ON OFF Pm r j 6 3 S DutputTermunal t Timer Target Value International Office bb elec European Office www bb europe com S G 2 P LR U M Secure online ordering 24 7 365 from 707 Dayton Road
57. pe com support Qbb europe com E Chapter 4 RLL Programming Counter Mode 2 Continuous Count Non Retentive Mode 2 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 status bit C1 will be ON when the current value is 20 Edit Contact oi Falart Coil EO E t Si t1 5 4 B C D E F FurirtisEi T Bada ja md 14 0 Counter With overtaking and without pover dom fetein currant Falus Currane salus 000060 0 Prorat talus DER Freret bypel m M14 DUUUUDU OO0020 rct Direcrion Sat karet Inpur Contact H 1 Contact I IZ ok Cancel 0 mr Um EE EI UA E EE SAL b esbant eder LE EE 7 0191191201201 211211 201201191191 181181 0 9 1191191201 0 20 npul Count pulse CEULI OFF ON OFF ON OFF International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming E Counter Mode 3 Fixed Count Retentive
58. put terminal P1 ON ON ON OFF 7 Set stage 7 ON ON ON ON 8 Set stage 8 Edit Contact Coil E G Select Coil NO Output Type p EN E Function Hoda Ho Hode Select L 8 n Current value O0000 me 00000 1 U Preset value 100010 xs 00005 2 I34 00005 Kp 12L 00010 Select input points High gt Low bit l Secure online ordering 24 7 365 from T0 Dayton Road P so ORUM pus aa og Beete SEN SG2 PLR User Manual B B electronics V asse SISO a Fm eu MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming EI Data Link Remote I O Instruction SG2 20Vxx Models Only The SG2 20Vxxx transistor output models include the capability to link additional SG2 20Vxx units via the RS 485 connection terminals Up to 8 additional SG2 units can be configured as independent Slave nodes each running their own logic program and their I O linked to one Master PLR Up to 2 additional SG2 units can be configured as Remote UO nodes and linked to one Master PLR Symbol Description Selectable Points Range 1 Mode setting 1 2 1 sending 2 receiving Inputs I1 IC i1 iC 2 Set the send receive points 1 8 Outputs Q1 Q8 q1 q8 3 Set the send receive points Auxiliary coil M1 MF m1 mF 4 Send receive memory list location Expansion inputs X1 XC x1 xC 5 UO link output terminal L1 L8 Expansion outputs Y1 YC y1 yC Note Only on
59. r the Rx coil to deactivate OFF Ter Contac Col Symbol Description HTC mode 3 Year Month Day oet RTC Year ON Set RTC Year OFF Displays RTC current time Year Month Day Set RTC Month ON Set RTC Day ON Set RTC Month OFF Set RTC Day OFF HTC coil number R1 RF Total 15 RTCs EE eee see 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 e ee eee International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming Comparator Instructions The SG2 PLR includes a total of 15 separate comparator instructions that can be used throughout a program Each comparator has a choice of 5 operation modes Additionally each comparator has 7 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring counters 7 Sy
60. ric display data selections are Timer Counter RTC and Analog Bit display data selections for ON and OFF messages are I inputs M internal 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 w lled Analog Display Set shown below Analog Display Set Select Dam 17999 100 Offset 507 501 10 Phone Number 18009720436 Add help INPUT FAULT Dowd l HHH Counte TIMER VALUE arc TIsBHHHH Ser Analog Cod Saut im w Ini v Lt Analog Display Set Add i Cancel Text ing I BS Cet 70123456709 gt QA BCDEFCHIIRLMNOPQRSTU wWxYZ H abeadefunilklImnop Rr sty un T 161 ams 333116 L L E isi I SAENYODOGUUUVOK AAF 74 ott a3 yt HAT THE HT TTS RCSF UT HIF Z ANE Tha SNE 19310 d 5 n GBYS TI EBRHXe2 2 Y i iE 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 j The Analog Display Set dialog allows the user to specify a scaling factor Gain and an offset for each analog input value A phone number can be displayed on the screen to alert an operator to call for z p Note The Phone Number field does not dial a modem or allow for a modem connection Secure online ordering 24 7 365 from BH H electronics MANUFACTURING COMPANY
61. rt bb europe com Chapter 3 Program Tools 19 Chapter 3 Program Tools PC Programming Software SG2 Client The SG2 Client programming software provides two edit modes Ladder Logic and Function Block Diagram FBD The SG2 Client software includes the following features 1 Easy and convenient program creation and editing 2 Programs can be saved on a computer for archiving and reuse Programs can also be uploaded directly from an SG2 and saved or edited 3 Enables users to print programs for reference and review 4 The Simulation Mode allows users to run and test their program before it is loaded to the controller 5 Real time communication allows the user to monitor and force I O on the SG2 PLR operation during RUN mode Installing the Software Install the SG2 Client Software from CD or from the free internet download at www factorymation com Stam tite X Se ma Welcome to the SG Client Setup VIZ cnc HE pt a ur eder da r e TECO Genie Programming Software E H 8 The 532 Cent DC Ettore prias feo edd modes LADDER aed FED The sofware incksfus Da fleng G Maren I Easy pe Cons Pg CMO and ed ng d Ping ari amp at bo Ler d Een and tee GB any 15 P ina Ca adip bg ppd fom ba Bele ded Than r 6 J Enables unen bn per progeama Su mene med new A Tha Smin Mea mow uim E velualy ran ard be The program b tens d ia leaded Tha Era B 5b Reader COU atn sipag be pet Ex morap tha 253 PLA Pin eme RL modi
62. simple one rung program by clicking on the leftmost cell at line 001 of the programming grid then click on 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 NELLE md uH dd SP ss EREE E dd ENA La de a E net Note If the ladder toolbar is not visible at the bottom of the screen select View gt Ladder Toolbar from the menu to enable International Office www bb elec com European Office www bb europe com SG2 PLRU M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua BH electronics 050 uses soo tzin ree me MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support Qbb europe com Chapter 1 Getting Started D D Use the A key on your keyboard or the A icon from the ladder toolbar to draw the horizontal circuit line from the M contact to the right most cell as shown below TM Ferien i 1 iz Ta eee e k im Foes le e E Ear Eo ao dE dn o Ex ZE C Select the Q coil icon from the ladder toolbar and drop it on the right most cell Select Q1 from the dialog and press OK as shown below See Chapter 4 Ladder Programming instructions for complete instruction set definitions ELT LM s codd wg LOEO REEE rase T
63. state of actual sending terminal 13 17 is sent to memory list the controller ID 3 the state of corresponding memory list position W17 W24 4 and relationship of sending terminal is as below M 1 5 I3 IT7 ID 3 0D W17 W24 Memory List Postion WI Wlo WI W20 Wal W22 W23 Wag A 4 4 m md sendingtermanat D H Ip Pm 0 0 0 Example 2 DataLink Receive mode 2 Set 1 1 2 5 set 3 as start from I3 set 4 as start from W17 when enabling the Data Link the state ON OFF of 13 17 is controlled by the state of memory list position W17 W21 which is irrelative to the actual state of input terminal 0 1 0 5 B B 17 D W17 W21 Memory List Position WI W lo WIS W20 W2l Corrsponding Receiving v y A and sending Terminal I3 T4 UC pu Type sx 1 24 I03 07 Li Direction Sat Wwoo 13 Contact Cancel International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 hodet E Comme B Park yn IL 61350 USA Ora EE Co Galway Ireland ser Manua B B electronics eus 0 ex kaon raus MANUFACTURING COMPANY EE elec com suppor Qbb elec com ane On europe com support bb europe com Chapter 5 FBD Programming E Chapter 5 Function Block Diagram Programming FBD instructions Function Block CD Input Terminal 2
64. support bb elec com orders bb europe com support bb europe com Di Chapter 4 RLL Programming Timer Mode 7 FLASH Cascade without Reset Mode 7 Timer is a Flash timer without reset that uses two timers in a cascade configuration The cascade configuration connects the timer status bit of first timer to enable the second timer The second timer will time up to its preset value then flash and its timer status bit will enable the first timer Additionally the current time value is non retentive and will reset to zero on a loss of power to the PLR In the example below timer status bit T1 will be ON after it completes its timing sequence of 2 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 B Note Timer Mode 7 uses two timers These timers cannot be reused as timers for other modes in other areas of the pp program Edit Cantac1ail Select Coil Ho I 4 TI Sep ABER Funct on oda 1 6 Flash tisser Boda 3 T1 Timo Bass ALS Currant value 100 0 Prasat value Preset type H Direction Zat Reset Input Cont Aer Cent aer Parce enahle reset relay P pida vn scat Enable reset relay present value U pe KR F
65. the rails in place Then connect the expansion module and CONNECTOR with the Master press the PRESS BUTTON simultaneously CONNECTOR NG casa _PRESSBUTTON I1 12 13 14 15 16 A1 A2 DAS NOY SG2 12HR D SG2 8ER A Output 4 x Relay 8A Output 4 x Relay 8A IM M 00000 l l R Bc Din Rail GO 599 GO GO i 11900665 Q1 02 Q3 Q4 Ke Y4 L International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 ok ea Commereial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua ja A el e ctro nics 815 433 5100 Fax 815 433 5104 353 91 792444 Fax 353 91 792445 MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 2 Installation It is recommended to apply a DIN rail end clamp to hold the SG2 in place T m I1 12 I3 14 15 16 A1 A2 Input X1 X2 X3 X4 LOO OOO00000 ll iai i DC24V Input 8x DC A1 A2 0 10V L N AC 100 240V OO TEGE O Run SG2 8ER A SG2 1 2HR D Output 4 x Relay 8A Output 4 x Relay 8A OO 2 VO OO OO OO OO 100000 Q1 Q2 Q3 Q4 Y3 Y4 Direct Mounting A Use M4 screws to direct mount the SG2 as shown For direct installation of the expansion module slide the expansion module and connect with the Master after the Master is fixed Din Rail Ree iu E i
66. time Programs can also be upload fram the controller and then edited 1 3 Enables users to print programs for reference and review d The Simulation Mode allows users to virtually run and test the program before it is loaded to the controller B 5 Real time communication allows the user to monitor the 562 PLR operation during RUN mode Download the SG2 Programming Software for FREE aL ol steel soci Kol ated eral ed al d l zr fe ma 1 Select the Download link below 2 Select SAVE and choose a location on your harddrive to save the software 3 RUN the software from the location where you saved the file oG2 Programming Software 4 39 MB DOWNLOAD NOM 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 AC 100 240V DC 24V 24V 100 240V 50 60 Hz 1 Fuse 2A 2 Surge absorber 36V DC 3 Surge absorber 400V AC International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park O Co Galway Ireland SG2 PLR User Manual B B electronics aw o Zi a mous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 1 Getting Started 3 Connect Programmin
67. ts or outputs that can be wired to any external I2 MI device switches sensors relays lamps etc 7 o oince auxiliary relays are internal bits within the CPU they can be programmed as digital M1 Q2 M1 is being used as an output coil and will energize when input 12 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 selected timer The timer status bit will be on when the current value is equal or greater than the preset value of a selected timer In this example when input I3 turns on timer T1 will start When the timer reaches the preset of 5 seconds timer status contact T1 turns on When T1 turns on output Q4 turns on Turning off I3 will reset the timer inputs contacts or digital outputs coils In 702 oS the first rung of this example auxiliary relay LU OOS UU G International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com EI Chapter 4 RLL Programming Counters and Counter Status
68. u bar Five menu selections for program development and retrieval editing communication to connected controllers configuration of special functions and viewing preference selections 2 Main Toolbar From Left to Right Icons for a New program opening a program and printing Icons for Keypad Ladder view HMI Text editing and Symbol comments editing Icons for Monitor Simulator Controller Mode changes Run Stop and Quit and Read Write programs 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 Status of current open project and connected PLR TUB tercie 1 4 International Office www bb elec com European Office www bb europe com SG2 PLR U M Secure online ordering 24 7 365 from 707 Dayton Road PO Box 1040 Westink Commercial Park Ottawa IL 61350 USA Oranmore Co Galway Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com EI Chapter 3 Program Tools Programming The SG2 Client software can be programmed by either drag and drop of i
69. uivalent to Lo XOR Logic FBD Ladder IO1 102 JH 101 102 H H FBD Ladder Iu XX Hb 102 XX Secure online ordering 24 7 365 from SG2 PLR User Manual MANUFACTURING COMPANY 4 4 International Office www bb elec com 707 Dayton Road P O Box 1040 e HiB electronics ws orders bb elec com support bb elec com orders Qbb europe com support Qbb europe com Idol European Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland Fax 815 433 5104 353 91 792444 Fax 353 91 792445 Chapter 5 FBD Programming EI NOT Logic Block FBD Ladder Note The input terminal is NOP which is equivalent to Hi Pulse Logic Block FBD Ladder Note The input terminal is NOP which is equivalent to Lo Counter Function Block Counter Mode 1 Counting Input Up Down Counting Reset MEM Counting Parameter Counter Mode 2 Counting Input C n t 7 Up Down Counting 7 4 geg Reset gt R e s p xS Counting Parameter gt P ar Note The means the current value appeared will be greater than present value Secure online ordering 24 7 365 from ee o Ge 2 Ottawa IL 61350 USA SG2 PLR User Manual B B electronics 815 433 5100 Fax 815 433 5104 MANUFACTURING COMPANY orders bb elec com support bb elec com Bol mode 1 Counter 1 Cur Value 0 Pre Value 1024 Cur Value Pre Value 125 E
70. uropean Office www bb europe com Westlink Commercial Park Oranmore Co Galway Ireland 353 91 792444 Fax 353 91 792445 orders bb europe com support a bb europe com EI Chapter 5 FBD Programming Counter Mode 3 Counting Input gt C n t T Up Down Counting f 4 Tr Reset Res 4 Hi J Counter 3 Cur Value 0 Counting Parameter P a r PD Pre Value 256 Counter Mode 4 Counting Input Up Down Counting Reset gt Cur Value 0 Counting Parameter gt Pre Value 513 Note The PD means the current value will be retain until the power recover Counter Mode 5 Counting Input Up Down Counting mode 5 Reset gt ne Cur Value 0 Counting Parameter gt Pre Value 2048 Counter Mode 6 Counting Input C n ttc Up Down Counting 44 Tr Reset gt Re s B E a ER Cur Value 0 Counting Parameter P a r c PD Pre Value 135 Note The C means that will keep the current value in 0 during the Reset pin be enable International Office www bb elec com European Office www bb europe com Secure online ordering 24 7 365 from 707 Dayton Road P O Box 1040 Westink Commercial Park e O Co Galway Ireland B B electronics ali ann Seere Co Gaay sous MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com SG2 PLR User Manual Chapter 5 FBD Programming EN High Speed Counter Function Block Cou
71. way Ireland ser Manua B B electronics Les eona kao aus MANUFACTURING COMPANY orders bb elec com support bb elec com orders bb europe com support bb europe com Chapter 4 RLL Programming EI Counter Mode 1 Fixed Count Non Retentive Mode 1 Counter will count up to a fixed preset value and stop counting when the current count is equal to 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 stop counting when it reaches the preset value of 20 Counter status bit C1 will be ON when the current value is 20 Edit Contact Coil ft Select Coil I RIE BAE Type c Dei 1 9 A 8 0 8 F Functricrn Hode l j 1 8 Counter wirhout overtaking and wirthoeut power down retain Current value Eurrent value CUED 1 M14 000000 1 noooz20 Lei Preset type M j IZ Direction Ser kesar Input Preget value CODOIO Cagntacr IR 1 Contact j 20 Ux mund VERS dE o moi se Enna R ct dac Set GENT POSE pater FE 01010117 1712121717101 11919 20 20 20 0 20 201 20 VIAM GENER bei Input count pulse L G 1 us 3 OFF ON OFF OW ON OFF UR FF UR OFF Secure online ordering 24 7 365 from deet Me Baa T S Ottawa IL 61350 USA ranmore Co Galway Irelan SG2 PLR User Manual Bep electronics hau o en res MANUFACTURING COMPANY orders bb elec com support Qbb elec com orders bb euro
72. y may result from improper operation AN CAUTION The SG2 PLR may be damaged by improper operation Precaution for Installation Compliance with the installation instructions and the user manual is absolutely necessary Failure to comply could lead to improper operation equipment damage or in extreme cases even death serious bodily injury or considerable damage to property When installing the open board models insure that no wiring or foreign materials can fall into the exposed circuits and components Damage to equipment fire or considerable damage to property could result T Always switch off power before you wire connect install or remove any module The wiring for the SG2 PLR is open and exposed For the open board models all electrical components are exposed For this reason it is recommended the SG2 PLR be installed in an enclosure or cabinet to prevent accidental contact or exposure to the electrical circuits and components Never install the product in an environment beyond the limits specified in this user manual such as high temperature humidity dust corrosive gas vibration etc Precaution for Wiring DU Improper wiring and installation could lead to death serious bodily injury or considerable damage to property AN 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

Download Pdf Manuals

image

Related Search

Related Contents

181802710(CX user manual)20080519.FH10  取扱説明書  V7 Lamp for select Hitachi projectors  BCV31 DN20 - Blowdown Control Valve    3M™ Overhead Air Ionizer  

Copyright © All rights reserved.
Failed to retrieve file