Home

TECO SG2 Smart PLC User Manual

image

Contents

1. 51 30 Zo DA ES l s J 49 30 l a N E 5 08 3150 J a n m i o Ho B i e An A2 A I OO 00000000 i e N i 5 lt lt DC24V INPUT8xDCIA1 A2 0 10V i f TEC rod i 3 ET x E m EC D Y D co D c co lt gt lt gt 4 Cu sP O OO F O OO UN LA gt On ON ND sa ei CY N H Fm m A T ir Y SG2 12HR D Y OUTPUTAxRELAY 8A ate GEN O Cy GG Y Schei EN Fw 01 02 03 Od 1 d cn Y M uu d od i 500 ml 12 00 59 60 20 points 34 30 3 m o n 5 0 LA NN 47 A d 5 06 3 5 U c i E HA A l A 112 13 14 I5 l6 17 18 A A2 A3 A4 Y qp OO ODO 00000000C i M DC 24V Input 12 x DC A1 A4 0 10V N i HA 7 Z S EL ED xw el e gt ES A VM SC c c c eo es co J Ol col c oo LN E d a Per Sr 5 gt Ol o ei us d L iv T L SG2 20HR D an Output 8 x Relay 8A L 7 S A y A V 3 ES an E ge ee Ree MO gt y es d an x Y 409 99 69 90 99 09 09 QD Q2 Q3 Q4 Q5 Q6 Q7 Q8 i 1 ui LE T3 y 90 00 y 500 Tr A 126 00 59 Secure online ordering 24 7 36
2. Secure online ordering 24 7 3653 from B H electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation It is recommended to apply a DIN rail end clamp to hold the SG2 in place Direct Mounting Use M4 screws to direct mount the expansion module and connect with the Master after the Master is fixed 4 OO NINOS n 2 mB GOOD S S ee ee 4NJ5 16 A1 A2 DC24V INPUT8xDCIA1 A2 0 11V P m TEC SG2 12HR D OUTPUT4XRELAY 8A E ENS ENE CNTY MC NIN INT IN M NA 02 3 Di T Toc 1 bs T l4 15 16 A1 A2 ee QC oC OL OOOO DC 24V Input 8 x DC A1 A2 0 10V TEC SG2 12HR D Output 4 x Relay 8A N C C A C gt NE P Noc NL T T ud Q1 Q2 amp VN LE 3j LO Input X1 X2 X3 gt X4_ fe e e ce 4x AC OOO O Sy NY EN M EE L N AC 100 240V SCH OO fay C SANA du 5 amp ed ECO Jf Jes Ld uS d T C Run c f ri cm EG L7 d SG2 8ER A y Output 4 x Relay 8A d e686 0 67 ru x m Yi Y2 LLL PNET MIO AE WEE ON DIDO WD up JU Y3 Y4 a N
3. s WF TF me T 1 tT TOT Inputs I memory Type The SG2 digital input points are designated I memory types The number of digital I input points is 6 8 or 12 depending on each SG2 model Keypad inputs Z Memory type The SG2 keypad input points are designated Z memory types The number of digital Z input points 1s 4 depending on SG2 H type model and V type model I O NUMBER Z SET enable Display Z state on init screen SIOP Thur 08 45 Outputs Q Memory Type The SG2 digital output points are designated Q memory types The number of digital Q output points is 4 or 8 depending on each SG2 model In this example output point Q01 will be turned on when input point 101 1s activated OUT Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 46 Auxiliary Relays M memory type Auxiliary relays ate digital internal memory bits used to control a ladder logic program The auxiliary relays are not physical inputs or outputs that can be wired to any external device switches sensors relays lamps etc The number of Auxiliary Relays M is 63 Since auxiliary relays are internal bits within the CPU they can be programmed as digital inputs contacts or digital outputs coils In the first rung of this example auxiliary relay MOI is being used as an output coil and will energize when input 102 turns on
4. Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 136 SG2 Modbus protocol If SG2 receive a correct frame it will carry out the command it responses a correct frame to computer or other controller If the command that SG2 received is not allowed SG2 responses Exception code to computer or controller e Command format and Response format CRC verifying range NEN e The Response command format once SG2 receive an unexpected command CRC verifying range MI Command Format 00H broadcast to all the drivers l CRC verifying l 01H to the No 01 driver Write single coil For detail l For detail range contain OFH to the No 15 driver Read registers please fefer please refer Slave Address 10H to the No 16 driver 06H Write single register register Exception Code Function Code Exception Code Exception Code Under communication linking the controller responses the Exception Code and send Function Code add 80H to main system 1f there is error happened 55 Beeret mode and command disoe heen SSCS 56 SG2 RTC not exist can t operate RTC T SG2 the other error Commands do not match SG2 edit mode 53 54 57 58 Get more protocol information form RO9 SG2 C03V30 SG2 Modbus protocol Secure online ordering 24 7 3653 from BH ff electronics NUFACTURING COMP www bb
5. 0 RIC cd ROA o Sr rou Example 1 preset second lt 30s ROI Week CA Time 2 00 8 00 20 ENABLE RTC output OFF ON OFF The present time will be 8 00 00 when it achieves 8 00 20 at first time and RTC status bit ROI will be ON RTC status bit R01 will be OFF when the present time achieves 8 00 20 at second time Then time continuous going So this means that RTC status bit is ON for 21 seconds Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming Example 2 preset second gt 30s Week G Time amp 00 8 00 40 ENABLE ETC output The present time will change to be 8 01 00 when it achieves 8 00 40 and RTC status bit RO1 turns ON Then time is gonging on and R01 turns OFF This means that the RTC status bit will be ON for one pulse 75 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 76 Comparator Instructions The SG2 smart relay includes a total of 31 separate comparator instructions that can be used throughout a program Each comparator has a choice of 8 operation modes Additionally each comparator has 5 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring Comparators Symb D Comparison Mode 0
6. FBD display Parameter display B001 r 32001 1014 JL gt No14 _ Hol Part tL 4 Enable Input gt Reset T 01 00Sec Timing Parameter 5 Timer mode 4 OFF Delay B Mode FBD display r 32001 1014 JL Parameter display BOOT Enable Input gt NO14 Hoi gt Part ft J Reset T 01 00Sec Timing Parameter 6 Timer mode 5 FLASH A Mode FBD display r 32001 1014 L JUL bot 5 Part J Parameter display BOOT Enable Input gt T 01 00sec Timing Parameter 7 Timer mode 6 FLASH B Mode FBD display r 1B001 1014 JL Parameter display BOL Enable Input gt Reset gt T 01 00Sec Nord Do Part JUL 4 Timing Parameter 8 Timer mode 7 FLASH C Mode FBD display Parameter display r 32001 1014 JL BOOL TOLTOe Enable Input JUL bo Part 12 4 tl2 5 00Ss amp c t 02 00Min Timing Parameter Program display Bool mode 2 Timer O1 Pur Valuel Pre Valuel 1 00 Program display Bool mode 4 Timer 01 Cur Ualuel 0 00 Pre WValuel 1 00 Program display Bool mode 5 Timer OL Cur Valuel 0 00 Fre Waluel 1 00 Program display BoOOoL mode B Timer OL Cur Valuel 0 00 Pre Waluel 1 00 Program display 5001 mode T Timer l Cur Valuel 0 00 Fre Valuel 5 060 Timer z Cur WValuez 0 00 Pre Valuez 2 00 Secure online ordering 24 7 3653 from
7. Procedure 2 15 Column Press for 3 times this step leads to editing the action relay 165 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Edit action program and preset the action relay Procedure 2 16 Press gt 2 times Press SEL Begin to modify Appendix Keypad Programming 14 5 161718 Column Procedure 2 164 Press SEL Begin to modify Procedure 2 16B Press SEL Procedure 2 16C Press SEL Procedure 2 17 Press for 5 times Press SEL TA to change I to M Procedure 2 18 Press 2 times Press SEL gt to move the cursor to digital location Procedure 2 19 Press 1 for 3 times Press SEL 1 Y to change 1 to 4 3 Column Column Column Column 166 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming Procedure 2 20 y 1 1213 14 5 16 7 8 Column Press OK Line 1 r 4 7 2 2 4 save the input data 3 3 33Sec e T 0 1 Move the cursor to preset action value area to repeat the step 2 1 Move the cursor to position 2 to repeat the 2 8 column step 2 23 column Press press SEL press T y Select A01 A08 Step 2 24 column Press Press
8. SEL press SEL Select A02 TOI C01 AT01 AQ01 DRO1 AS01 MD01 PI01 MX01 ARO01 00 00 V01 A01 Step 2 25 column Press gt press P Select TO1 T1F CO1 C1F A01 A08 VO1 V08 167 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY 168 www bb electronics com Appendix Keypad Programming 8 column Step 2 26 i 1213 14 5 6 l 7 Press OK line 1 r J Save the present data 3 Continue to input Function Block Next Function Block A 1213 1415 161718 Column Procedure 1 Press SEL Simultaneously Last Function Block Procedure Column Press SEL V Simultaneously Delete Function Block Procedure Press SEL DEL Simultaneously ESC Cancel OK Execute Back to Main Menu 161718 Column Press ESC Secure online ordering 24 7 3653 from a BH electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming 169 Change Function Block Category 8 Column Step 1 Press SEL Step 2 Column Press SEL Step3 Press SEL Step4 Press SEL Steps Press SEL Step 6 Press SEL Step Press SEL Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming 170 Step i i Press SE
9. Status of current open project and connect SG2 smart relay TS LAD Version File Edit Operation View Help Coil Contact Symbol 123456789ABC 12345678 P 1 123456789ABC 123456789ABCDEF al 123456789ABCDEF 1234567898ABCDEF sl 123456789ABCDEF l 2 123456T898ABCDEF c123456789ABCDEF Secure online ordering 24 7 3653 from B B electronics www bb electronics com Chapter 3 Pro gram Tools Programming The SG2 Client software can be programmed by either drag and drop of instructions or by using keyboard entry commands Below is an example of some common methods of entering programming instructions B Sms 5 ENG o SINN A el B CailUCanimst ap acity 117 c Pees Syabel Heed 1 1234567898ABC de 211234 X 1234 556 THDABC Lonlact 12345678 P 1 1 x vn Jo T 123455780ABC d Digital input base module M 123456T6PADCDEF ad I f 01 09 04 08 00 T 123456 78PABCOEF 4 C 123456TBgABCDEF al E 123456789ABCDEF sel at 234 BB TEOABCDEF ad LE 123458789ABCDEF ud F L 1234B8TB af af alto et tc bao eg et an C al Ec d Ldi BE 3R E 28 ES SES EI seg Fer Ser 5 x Status neg B Wedel ES 2OtA Do Eila dii Dparaiicn Yon Beie Bsa A hit Go READ L ae Coil Contact Capacity LIPS ires space Symbol Used 1 123456T898ABC k 1234 Coil column X 123456789ABC v for output 0 12345678 P 1 NIIS N 123458T75DABCDEF aal T 12345B8TB8DABCDEF d
10. 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 The 4 buttons also can be set programmable input coils Z01 Z04 T Z01 Z02 Z03 Z04 Original Screen LCD displays 4 line state G Original screen as power on Input state B on OFF Keypad input Z01 2704 state 4 Z enable X Z disable B Z enable and ON Z enable and OFF Output state Laast v 1 1254 7 o A Se Xion 08 46 gt O OFF RUN zo 08 46 gt a Sa RTC week hour minute Mode display RUN mode STOP mode ib oe oe i tT Secure online ordering 24 7 3653 from BB electronic ANUFACTURING COMPANY www bb electronics com Press the button Under LADDER Mode display the state of relays I e Z e QeXe Y e Chapter 3 Program Tools SEL TL MoNsoToCoRoGoA AT e AQ gt Original Screen Under FBD Mode display the state of relays I e Z 0 X YM eo NA e AT S AQ e Original Screen H Function will be displayed whose mode is 1 as the button is pressed SEL OK Enter RTC setting screen Expansio
11. 01 03 04 datal data2 data3 data4 CRC16 data storage DREO datal lt lt 8 data2 DREI data3 lt lt 8 data4 Receive 01 06 00 03 04 D2 CRC16 Receive 01 06 00 01 04 D2 CRC16 Receive 01 10 00 03 00 01 CRC16 Receive 01 10 00 01 00 02 CRC16 Receive 01 01 02 datal data2 CRC16 data storage DREO datal lt lt 8 data2 Receive 01 01 02 datal data2 CRC16 data storage DREO datal lt lt 8 data2 Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 135 Address 0003 Receive data storage 01 05 00 03 FF 00 CRC16 DRE0 65280 hex FF00 Send 01 05 00 03 FF 00 CRC16 Address DRO3 0001 Receive data storage 01 05 00 01 FF 00 CRCI16 DRE0 65280 hex FF00 Send 01 05 00 01 FF 00 CRC16 Slaver via Modbus RTU protocol Function Description SG2 series PLC can be communication controlled by the computer or other controller with the communication PC and other controller can read and write IO state Function Block preset value It also can use to read Function Block current value control SG Run Stop mode Hardware Configuration l Line some SG2 RS485 port A B as show below 2 Setall the SG2 in the SET menu to No Remote IO 3 Set SG2 ID 01 99 each of those SG2 s ID is different ModBus V SG2 AB V SG2 AB Master ID 01 ID al 02 99
12. 38400 Y signea Back Light Data Link 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 smart relay The Master smart relay s ID must be 00 and Slave nodes ID should start with 01 and be continuous If nodes ID isn t continuous the Master won t communication with those nodes which are behind the first broken For example the nodes ID is 01 02 04 and 05 The Master thinks there are only two Slave nodes whose ID is 01 and 02 and communication with them ID SEI REMOTE Ip max points LO send per stations Max 7 8 756 points LO received per station ID must set to be 0 1 2 max to 7 i f location s wowe sew W Table EO on The Mode 1 Send memory range is determined by the Controller ID Each controller ID is allocated a range of 8 I O points Wxx Wxx that can be read into the Master smart relay using a Data Link instruction The adjacent table show the memory range of Wxx locations associated with each controller ID Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 86 Symbol Type oF points Setting mode 1 2 1 sending 2 receiving 101 10C 101 10C Mi Number of send receive points 1 8 Q01 Q08 q01 q08 Type of send receive points Auxiliary coil M01 M3F m01 m3F MN Send Receive W Table list
13. 402 V Kol L L 000200 4 L 00 00 4 L 00 om r 1 r 1 14101 01 an 14 00000 Hop Ly 4 Hol 00250 pPoif fLowdQ01 Q01 S01 00000 FASO1 L 00000 4 L L 00000 4 ri r2 1 00001 Hop 00001 HIDO1 L 00001 4 r 00000 1 Si r 0000 Hop Low 00000 Low 00000 Hop 0 00000 FPIO1f Low 00000 HIXO1 Low 00000 FAROI 0001 000 014 1 t 00000 4 t 01000 4 1ff Leo E s e r 00000 4 00000 Mop SET ie 00001 Hop Low 00000 Hop Low 00010 Hop 00000 FPIO1 9 0000 1 PIO1 Low 00000 F amp R01 C 3 Low 00 01 FAROL L omg oi 1 Lono 014 2 lo10004 1 Looo00 4 2 Operation Sample more detailed to see Appendix B Secure online ordering 24 7 3653 from BH B electronic MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools PARAMETER Under Ladder mode press SEL key function block display in sequence Ax A01 V ON SU 00 00 Ax A02 V OFF SU 00 00 G 00 00V T 00 00Sec C 000000 MDO1 MXO1 V1 00000 L1 00000 V2 00000 L2 00000 ML 01000 Y1 00001 Y2 00001 Y3 00001 Kp Ti 00000 Td 000 O1Sec 1 Pio PIOL MXO1 SV 00000 Kp 00001 V1 00000 PV 00000 Ti 0000 1Sec V2 00000 Ts 000 01Sec 1 Td 000 01Sec 2 Under FBD mode Press SEL key Block displays in sequence RUN or STOP 1 RUN Mode 2 STOP Mode RUN e v EU GC K Ce ON P3 ROA IT NU Execute the instructio
14. 50 50 ffset 50 450 Gain 1 999 La Summer Time Gain 1 999 D Mode no D Offset 50 50 Sumner pr l SES r 8 gl e afe gt EEN Gain 1 999 10 Winter MT E Offser 50 50 m Offset 50 50 H D e ox Cancel Online Monitoring Editing ATI Gain 1 999 Offset 50 50 Gain 1 999 UA LL 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 LAD Vorsion GEES oye e x el Coil Contact To capacity Lite fraa apace Toggle X Status ON 1 123456789ABC RUN STOP symbol 1234 1234567898ABC 12345678 P 1 123456789ABC Input Status Tool 123455789ABCDEF al 123456789ABC e x A IAAI Active circuits 1123456 789ABCDEF Al gp op pp CIC CIC CC change color 123456788ABCDEF Alz d d BUS 123456789ABCDEF a 123456789ABCDEF Jl 123456 789ABCDEF al m Force IO points l H Status bar filename version mode online offline SG2 mode and ID FJ AE RN TT IMS FARO oS DRE m0 EIS TE L ES Model SG2 20HR D AN Li Nel ing Le Ra ERR ee Monitor High light coil to view current value ka ch Ee Analog 7 E cAnalog 8 m n Y Show Current The SG2 Client software does
15. AS current value is the result of compute Parameters V1 V2 and V3 can be a constant or other function current value The output coil will be set to 1 when the result is overflow And the current value is no meaning at this time But it will do nothing if the output coil is NOP The output coil will turns OFF when the result is right or the function is disabled The example below shows how to configure AS function Edit Contact Coil Is e In AS p Select Coil Ho Error Coil as EN 01 1F ln oi Function Current value PEA RS VI Ve Y Preset ene ooo ooo pre Type fe SI fos e e Error output coil NO1 will turn ON when the compute result is overflow Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 91 MD MUL DIV The SG2 smart relay includes a total of 31MD instructions that can be used throughout a program The MUL DIV Multiplication and Division function enables simple operations to be carried out on integers There are 6 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring MD Symbol Description Uo MD current value 32768 32767 V parameter 32768 32767 V2 parameter 32768 32767 am V3 parameter 32768 32767 Error output coil M N NOP Oo M
16. In the second rung auxiliary relay M01 is being used as an input and when energized will turn on outputs Q02 and Q03 luz mol OO ooa LO The state of auxiliary relays M01 M3F will be kept when the smart powers down if M Keep is active M Keep can be set by the two ways below Kodule System Set SEL Eb Current ID l New 1500 99 1 ale Expand JA IO Num lo I O Alarm Master Slave REMOTE I O LI Back Light B Ser Y Type onm Mode 8 8 2 Baud Rate s8400 Ce Unsiqned C Signed Special Auxiliary Relays M31 M3F Signification M31 User program upstart flag Outputting ON during the first scanning period and used as normal auxiliary relay at other scan period M33 Summer Winter output Summer time turn ON winter time turn OFF used as normal auxiliary relay Output ON when the first channel of SG2 4PT is error ATO02 flag Output ON when the second channel of SG2 4PT is error ATO3 flag Output ON when the third channel of SG2 4PT is error AT04 flag Output ON when the fourth channel of SG2 4PT is error Received wn Rudy MODBUS funcion using Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 47 Auxiliary Relays N memory type Auxiliary relays N is the same to auxiliary relays M but it can t be
17. Main machine peak value 15g 11ms according to IEC60068 2 27 mr Power ACA Y DC HIKV Maximum Noise CO TRATO ESTE I Enclosure Type IP20 installation Direct Mounting or DIN rail 35mm Mounting According to chapter 2 Installing AWG 1 2 mn A 2x90x59 6 mm WxLxH Din rail 72x126x59 6 mm WxLxH Direct 118 Secure online ordering 24 7 3653 from BH ff electronics NUFACTURING COMP www bb electronics com Product Specifications Chapter 6 Hardware Specification 119 mops V ae pe pole Supu PEO sion pwm YO 100 point point input keypad LINK 24V 24V 12V 240V Expansion models Expansion model IHRA O 6 4 ra o 0 0 DQHRD o 8 4 rhy 2 Jol 6 ojoj HTD ei 8 4 transistor 2 o O o DHRDD Leslie 2 O 69 68 o PARMA 6 8 4 rly joeojo o OEM Blind Models No Keypad No Display PRA o lel ey lo e po o Jo E 4 2 1e Jo Jo ep o 8 Hms 2 o e o o mero Jole a ray 2 lo e o egal o ls a ew lo 1 e 1 1 OEM Baseboard Models No Keypad No Display No Expansion RA Jo 6 4 ew e _ DCRD ei 8 4 rly 2 lo loj ESO E 15 t 2 ip E LX e E 20HR A Tel 12 8 rhy eieiei 29HRD Tei D2 8 eh 4 jojo o o WEE EE IU REO NE NI NN 208 120 12D 12 rely ay A O I o
18. Power Supply 24V DC Models 20 4 28 8V 12V DC Models 10 4 14 4V AC Models 85 265V 24V AC Models 20 4 28 8V 24VDC 12 point 125mA 20 point 185mA 12VDC 12 point 195mA 20 point 265mA 100 240VAC 100mA 24VAC 290mA Wire Size all terminals 26 to 14 AWG Programming Input Power Voltage Range Power Consumption Programming languages Ladder Function Block Diagram Program Memory 300 Lines or 260 Function Blocks Programming storage media Flash Execution Speed 10ms cycle LCD Display 4 lines x 16 characters Timers Maximum Number Ladder 31 FBD 250 Timing ranges 0 01s 9999min Counters Maximum Number Ladder 31 FBD 250 Highest count 999999 Resolution l RTC Real Time Clock Time span available week year month day hour min Compare Instructions Analog Analog gain Offset Timer Counter Temperature Input AT Analog Output AQ AS MD PI MX AR and DR Values Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation Analog compare Analog Timer Counter Temperature Input AT Compare versus other inputs Analog Output AQ Analog gain Offset AS MD PI MX AR DR or Numeric values Enclosure Type IP20 Maximum Vibration 1G according to IEC60068 2 6 Operating Temperature Range 4 to 131 F 20 to 55 C Storage Temperature Range 40 to 158 F 40 to 70 C Maximum Humidit
19. RTC Mode 2 Interval weekly The Interval Time Mode 2 allows the Rxx coil to activate based on time and day per week The configuration dialog below example 1 allows for selection of Day and Time for the Rxx coil to activate ON and Day and Time for the Rxx coil to deactivate OFF Example 1 Edit Contact Coal u T c Real time clock R o1 01 1F Function Mode 2 E 0 4 Interval time action mode Week 0n 0 Tu D gt EXC Current Value Preset Walue 08 1 oo On 17 hourg minure Week Monday Tuesday NE Friday gong SO Time 5 00 1700 68 00 17 00 6 00 17 00 00 17 00 00 17 00 ENABLE 3 Fn Output Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 72 Example 2 Monday Tuesday a clamat Sunday S00 1200 a 1 00 ang 1700 8 00 17 00 Example 3 Tuesday Wednesday geng Sunday a D POO 00 1700 S00 17 00 amp 0 17 00 m ER 2 00 i i e i i i i i ESCHER mous El Example 4 Tuesday Wednesday neng Sunday 00 1200 00 TOU ang 17 00 00 17 00 RTC Mode 3 Year Month Day The Year Month Day Mode 3 allows the Rxx coil to activate based on Year Month and Date The configuration dialog below example 1 allows for selection of Year and Date for the Rxx coil to activate ON and Year and Date for the Rxx coil to deactivate OFF RTC Year ON ORTO vewrorr 1 er
20. Te E OOO Eat 2 flex installion trilby L N AC J 50777 eweg status of SG2 V3 x green LED light S button 6 output ports linker Sir HER Chapter 8 Expansion Mode 140 dnput amp xAC Za M0 240v Expansion Output state E ON OFF S2 4A L 8536 i OOOO L t OO 5562 44 Input 4x 0 10 4 20m OODQO 99989 2 v2 C2 Ge Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 141 Size of expansion module All the expansion modules size is the same as shown below Ui t nm 1i nch25 4nm SZ AS INPUT X1 X2 X3 X4 EX BI i 1 L N AC 100 240v QOO O 7 4 00 20 00 106 00 58 00 SW D Psi l SG2 8ER A zi Output 4 x Relay 8A Ka 00000 Yi Y2 O ORO O Installation Al the expansion modules installation method is the same as shown below Input X1 X2 X4 KORG SE ROS L TEAM O AAN EE L N AC 100 240V J XN OO N Vi wv Oy 29 BN MAXZ op Ter cc RF m M Run um AR St MWY N Q I RN be b N U 2 EN SG2 8ER A NN Output 4 x Relay 8A N x ESA ESE ES LORI Le
21. 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming Counter Instructions The SG2 includes a total 31 separate counters that can be used throughout a program Each counter has a choice of 9 operation modes 1 for pulse counter 6 for general purpose counting and 2 for high speed counting Additionally each counter has 6 parameters for proper configuration The tables below describe each configuration parameter and lists each compatible memory type for configuring 3 counters Common Counter Do Counting Mode 0 6 101 I0C i01 i0C Use 101 g1F to set counting up or down OFF counting up 0 1 2 3 ON counting down 3 2 1 0 a Use 101 g1F to reset the counting value Ho a o ON the counter value reset to 0 OFF the counter continues to count Counter C01 C1F c01 c1F Timer TO1 T1F t01 t1F Analog comparator G01 F1F g01 g1F Normal close contact Lo The preset value of Counter could be a constant or other function current value 59 LO bo The figure below shows the relationship among the numbered block diagram for a Counter the ladder diagram view and the software Edit Contact Coil dialog box Edit Contact Coi1 01 1F Function Mode 1 1 8 Counter without overtaking and without power down retain current value Pee sie ia Cat val Flat T2 SE PR P E olo ez Res 1 al e Current Value MOSJ OO00000 Pre
22. BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming Common Counter function block 1 Counter Mode 0 FBD display Parameter display Program display Counting Input E001 mode Counter OL 2 Counter Mode 1 FBD display Parameter display Program display Counting Input Ss IOlr 111 1B001 B001 Up Down Counting vol M SH 1024 L toi C 2555555 SE Counting Parameter L Counter l Cur Walue Pre Value 555554 Par 3 Counter Mode 2 FBD display Parameter display Program display Counting Input IOlT LLL 15001 BOC I Up Down Counting Noid L B Reset 102 Hoi C B55b555b mM Counting Parameter parc EE uci Ee Note The means the current value appeared will be greater than present value 4 Counter Mode 3 FBD display Parameter display Program display Counting Input 1017 1B001 BODI E001 Up Down Counting Nd n Reset 1024 Hol EE mode P Counting Parameter Part ppd Cur Value 0 Pre Value 555555 Note The PD means the current value will be retain until the power recover Counter keeps current value when the smart switches between RUN and STOP when C KEEP enable 5 Counter Mode 4 FBD display Parameter display Program display Counting Input Toy 4B001 BO01 xim Up Down Counting N014 JL Reset gt 1024 bo Ek ER Counting Parameter Part gt PD 4 SE cee Note The means the current
23. BIS SSB HSB SS BS seg DWET gen Ver Ver x x Status Stop OFFLINE Model 5G2 20VT D ID 01 c Select the Q coil icon from the ladder toolbar and drop it on the right most cells Select Q01 from the dialog and press OK as shown below See Chapter 4 Ladder Programming instructions for complete instruction set definitions a irm sm M een B eee BE ee H AM bel Contact Coil ES DEE ej Ed gm Coil Centact PC Mode A Symbol 0 ly In x T Jc dr feed Select Coil No Output Type 1 125456789ABC Reset Ser O P Z 1234 X 123456789ABC 0 12345678 P 1 Y 123456789ABC M 123456789ABCDEF ul T 123456789ABCDEF a Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Quick Start Setup 8 d Test the simple program From the Operation menu select the Write function and write the program to the connected smart relay as shown below Uperation View Help L Monitor Coil Cont symbol simulator simulator Control Eun Ctrltk wv Stop CtrltT Power Pause Ctrl U Quit UtrltH Read RIC Set Analog Set Password Language Module System Set Link Com Port e 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 gelu gai e 58096 e Coil Contact Capacity 1196 free space Symbol Used I 123456789ABC Z 1234 K 12345
24. CG B008 Y eu ar Cur Ualuel 0_00 Bet Value 0 00 Secure online ordering 24 7 365 from BH electronic NUFACTURING COMPANY www bb electronics com 6 Analog Comparison Mode 5 FBD display Parameter display BOOL oU Ax B OUZ V Enable Input gt Analog Input gt Reference G BO0s V 7 Analog Comparison Mode 6 FBD display Parameter display Enable Input gt WOlT 16001 BOOL Gl Ax BO04 V Fef Analog Input Ax fool L d G BO03 V Reference Far 8 Analog Comparison Mode 7 FBD display Parameter display Enable Input M iT 32001 BOOT G1 Ref Az B002 V x oi L J Analog Input G B s V Reference gt Par AS ADD SUB function block FBD display Parameter display Enable Input gt Reference MD MUL DIV function block FBD display Parameter display Enable Input gt Reference Chapter 5 FBD Block Diagram Programming Program display BOOL mode 5 analog 0l Cur Valuel 0 060 Ref Value 0 00 Program display Bool mode b nalog l Cur WValuel 0 00 Ret Value 10 00 Program display B ul mode T analog 0l Cur Valuel 0 00 Ret Value 10 00 Program display BOOL 45 01 Cur Value Pre Valu l 10 Pre Valuez Pre Value Program display Boo HD 01 Cur Value Pre Valuel 1 Fre WValuez 1 Pre Value 1 Secure online ordering 2
25. Display mode 1 2 Oo HMI character output terminal HOT HIE Edit Contact Coil lc R lc HAI display page 01 el 01 1F Function Mode 1 D 1 z Displaf m Secure online ordering 24 7 3653 from BB electronics ANUFACTURING COMP WWW bb electronice com Chapter 4 Relay Ladder Logic Programming 80 The Chinese fixed and Chinese edit are shown below The total number of Chinese edit is 60 Multi Language re Chinese fixed C Chinese edit Text Input F La c7 Hel mi a IH 201 zik des pii UH S EE nm nm zu nb Olt m SF mae xp mE I Ha 2 le bt diede SE SE pu ll e RE SER DI W m gt DA ni cr hall EH Dx Hj 3m Ar c Sit mx mg md Se Bis d D oH EE Set mi ER KSE ZS vi SE del Se E C Chinese fixed Chinese edit Chinese Input Chinese Display Press Edit i Erase Cancel Chinese Input D ml HMI function instruction 1 HMI can display character built in Chinese user defined Chinese and GSM telephone number This information can not be edited through keypad 2 HMI can display function current value T C R G and DR classifying units and un units This information can not be edited through keypad 3 HMI can display preset value of function T C R G and DR This information can be edited through keypad 4 HMI display state of coil I X Z M and N only FBD state of M and N can be
26. E DUI E 129 Remota ee IU RR em 131 SAN doro e BLU NN RU ORE 132 huele CR ET RN MR 133 Slaver via Modbus RTU e E 135 SG2 Modbus porotocol nn nn RR nn nn nn nn DDN nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnins 136 hapter 8 Expansion Module AA ria 137 Distal LR modile EE E E SE EEES EEE 139 Ee eeh 145 communicate 148 MODUS ee rea 148 DeviceNet COMM Module 151 PLOT eer 154 Appendix A Keypad programming in Ladder mode 157 Appendix B Keypad programming in Ladder FUNCTION BLOCK eese nennen 161 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY Summary of changes This user manual is modified by firmware V3 0 and SG2 Client programming software V3 0 SG2 V3 0 adds some new functions with firmware version V3 0 to strong SG2 function The upgrade content is shown as the 2 tables below simply More information about idiographic function to see function instruction Edit and Display DEM SG2 V3 0 SG2 V2 x Ladder 300 lines 200 lines 260blocks 99blocks 4 lines 16 characters 4 lines 12 characters Contact and function block N ut 7 N 63 NO1 N3F Ladder NO 4 ATO1 ATO04 NO NO PWM P J2XPOI PO2 POI adds PLSY mode 1 P1 PWM 31 H0I HIF 15 H1 HF Hu BOHR Timer T T Ladder 31 TO1 TI1F 15 T1 TF Counter C C Ladder 31 C01 C1F 15 C1 CF RTC R R Ladder 31 RO1 RI1F IS R1 RF Analog
27. ED AAA 107 BOOLEAN Loca mm 107 iy AA o TT EORR 108 Timer Function Block 109 Common Counter function block 111 ich Speed Counter Funcion BOCK meridia 112 iS Comparator Deen 113 Analog Comparator Function Block 114 AS ADD SUB function block rd A e 115 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com 4K A72X023 III MD MUL DIV icio GREEN 115 PID Proportion Integral Differential function block 116 MX Multiplexer function block 116 AR Analog Ramp function block 116 DRA Data Register JUBc OPE Dl a c eaae ett etat inet a aee eet e ebbe ater ba etiara ex teda 116 MEX MODBOS Heat HOn DOOR tario 117 hapter 6 Hardware Specification Normal Pec CaN 10 tt bios 118 Product POCOS asia 119 Power Specifeatonsg nennen nennen a 120 Normal model machine Specifications occccccccnnnnnnnnnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnss 120 12 DC OCE DECIMOS rocas 121 DAN AC modek Ee Te E 121 EE dania esis th cess Eeer 122 o AA 123 OO A A 123 EE 123 24V DE TL MOE 124 ZN DE 20 O Eegeregie 125 OUD UE SSG EEN 126 Output Port Wy Mi ANON C Loose idu Mm picem isdem tuned pets aM csse RU lu cM meee 126 Td eil Bo o PRENNENT m 126 Inductanes BEL RR RON 123 PU 127 Sas E 128 hapter 7 20 Pointe V type High powered Models Instruction Funcion SUE REH Le EE 129 IBN
28. On Off gt On 24V AC model Diode Resisrot number 6 digital input ET input Signal current 3 mA input ON current PAC 14 V m gt AC 14 V 3mA se O a lt AC 6 V 0 85 mA lt AC 6 V 0 85mA M rica Im FITWOm ooo response time E d of input Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMP www bb electronics com Chapter 6 Hardware Specification 124 24V DC 12I O model content SG2 12HR D amp SG2 12KR D amp SG2 12CR D SG2 12HT D amp SG2 12KT D amp SG2 12CT D Normal digital input High speed input Analog input used Analog input as normal digital input 103 106 101 102 107 108 WEE 3 Ln DC 3 RE DC 0 LS 0 17 FUE 10V GT 875mA 15V gt 1 875mA 15V gt 0 161mA 9 8V input 0 625mA 5V 0 625mA 5V 0 085mA 5V current IL wem Ten o f 3m om pams mm mm Dm RE GE number iN Typical 3 5ms 0 5ms pps Precision class bit of conversion error enor time sensor resistance Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 6 Hardware Specification 125 24V DC 201 0 model content SG2 20HR D amp SG2 20KR D SG2 20HT D amp SG2 20K T D Normal digital input High speed input Analog input used Analog input as normal digital input 103 108 101 102 I09 I0A IO
29. Procedure 4 Column Press SEL start end modifying parameter 61716 the cursor located in digital Press T for 3 times Press a the digital the cursor located will change from to 4 Secure online ordering 24 7 3653 from B B electronics www bb electronics com Appendix Keypad Programming Procedure 7 LH AS CAE LOTTER Column Press 2 times Linel q O 4 2 Press SEL gt 3 to move the cursor to the position 4 P d e WE M uo Procedure 7 Il 213 14 5 64 748 Column Press OK Linel q 0 4 2 Move the cursor to character in 3 column 3 4 Column Press OK in Column 5 move the cursor to the character in Press SEL when the cursor located at character and digital press SEL to show QOL Procedure 10 Press OK Save the input program data the position of the cursor will not move Procedure 11 Press 3 times Column Move the cursor to column 1 and Line 2 158 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming 159 Procedure 12 6 718 Column Press gt 3 times move the cursor to column 2 Note never press SEL before hand Procedure 14 l Column Press OK Move the cursor to character in column 3 Procedure 15 Press OK in column 5 move the cursor to the
30. Timer ON Delay will time up to a fixed value and stop timing when the current time is equal to the preset value Additionally the Timer current value will reset to zero when Timer is disabled In the example below the timer is 5 TOL Trung enable relay time TO output temina LO 1 TIE enable reset relay C3 present value 0 will stop timing when it reaches the preset value of 5 seconds Timer status bit TO1 will be ON when the current value Edit Contact Coil Y n ln T lc Select Coil No Output Type T oi sl 01 15 e CR C Sec C p Function Mode i D 0 6 7 P On delay timer mode 1 Enable Output e Time Base 1sEC Current Value 5 sec Preset Value 0005 Sec Preset Type Ny EA Direction Set Reset Input Contact Y Contact 7 ec Q cmm limer starts operating P ON OFF C ON OFF t Timer preset value TOE and TOF keep their current value after a loss of power to the smart relay if M Keep is active but the others reset to 0 Secure online ordering 24 7 3653 from B B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 53 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 Timer current value will be kept when Timer i
31. Toc l1 l2 I3 14 15 l6 A1 A2 Input XI X2 X3 X4 KC Eb CH S ra a M fe OO OOOOQOC OO des OOC JO S i 19 DC24V Input 8 x DC A1 A2 0 10V LN AC 100 240V OO FA N f ES Run A 3 7 A K C C Ar Jt N Y A J e SG2 8ER A SG2 1 2HR D Output 4 x Relay 8A N EE X OOO MODO N n 1 TY N Output 4 xRelay 8A Yi Yo K Din Ra AN cy CN ENT ONES NN VA T d M NINOS E ee E AH INR INS DDN NINA LY f xf Ly Ly EH J Q1 Q2 Q3 Q4 Y3 Y4 iJ SG2 as shown For direct installation of the expansion module slide the Secure online ordering 24 7 3653 from HR Wiring T A and loads electronics MANUFACTURING COMPANY www bb electronics com Wire size and Terminal Torque Input 12 24V DC Sensor Connection to avoid the signal interference CA EM gt Chapter 2 Installation WARNING The I O signal cables should not be routed parallel to the power cable or in the same cable trays To avoid a short circuit on the load side it is recommended to connect a fuse between each output terminals 2 mm 0 14 1 5 0 14 0 75 0 14 2 5 0 14 2 5 0 14 1 5 AWG 26 16 26 18 26 14 26 14 26 16 AREAS Lu D 0 14in gt 3 5 0 6 5 4 P A EM r TTA A1 A2 MI N N N N N 0 10V Analog Toc 1 12 13 14 15 l6 A1 A2 7 7 D D D Z e D CA VW ZA
32. Ts sampling time 1 32767 0 01s D Kp Proportion 1 32767 Ty Integral time 1 32767 0 1s 0000 000 IN Tp Differential time 1 32767 0 01s Error output coil M N NOP LH PID code PIO1 PIOF The parameters from to can be constant or other function current value The error coil will turn ON when either Ts or Kp is 0 But it will do nothing if the output coil is NOP The output coil will turns OFF when the result is right or the function 1s disabled PID computes formula EV SV PV API K Cv EV Ju 7 EV ni I D bD OPV PV PV S PI gt API The example below shows how to configure PID function Edit Contact Coil B las Le Select Coll Mo PIb nh 01 0F Function Current value PID 32748 32767 Desc V y 90120 327 amp B 32767 Test v u 00100 32760 32767 Sex fly lien 1 a2767 Gain lu sl nion 1 32767 Int T in nion TI 1 322767 001 CP Dir T u nion 1 32 D 00100 00100 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 93 MX Multiplexer The SG2 smart relay includes a total of 15 MX instructions that can be used throughout a program This special function transmits 0 or one of 4 preset values to MX current value memory The MX function enables simple operations to be carried out on i
33. bit OFF OFF 1 stop bit 1 odd verifying bit OFF 1 stop bit 1 even verifying bit SWI 1 SWI 5 are inefficacy communication format is default as 38 4Kbps 2 stop bits no verifying bit canbe ON or OFF Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com State indication and unconventionality manage Error E State indication Error type and reason Manage method The error LED light flick slow 2Hz The error LED light is ON The error LED light flick slow 2Hz The error LED light flick quickly 5Hz The connection between SG2 and COMM Mode is improper SG2 set error IO number set is different from factual ModBus order error data code address of register frames function CRC data unseemliness verifying error etc COMM data error Verifying bit error Length of data respond error CRC error More information to see SG2 MBUS user manual Chapter 8 Expansion Mode check up among SG2 IO mode and COMM Mode check up SG2 set check up the order and communication set according COMM protocol Make sure the connection between SG2 and COMM Mode is credible describe environment interfere 150 remark connection The question is connection with the mode before 1t if there are many expansion modes Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electr
34. can identify the baud rate on Profibus automatically when at least one master sends right message The baud rate range is 9 6Kbit s 6Mbit s In equipment network each slave node has a difference ID and the maximal number of ID is 127 0 126 Its ID can be set by 8 bit switch integration on itself orr Io Io forr or or or o OFF OFF OFF OFF OFF OFF ON OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF The eighth bit is reserved Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 156 LED state display SG2 PBUS mode has two number of double color LED green and red used for fast diagnostics to indicate the state of COMM Bus and itself 1 power LED Yellow red and grec fash GHA 2 BUS LED Connect with DP Net and communication right Not connect with DP Net More information to see SG2 PBUS user manual Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming 157 Appendix Keypad Programming Appendix A Keypad programming in Ladder mode Operation Sample Procedure 1 Press OK Enter LADDER Edition When cursor located at character or digital press the button to show I01 Procedure 3 x e 415 61718 Column Press 1 3 times Press T l and the digital cursor located will change from I to G
35. display information on the SG2 16x4 character LCD 1n text numeric or bit format for items such as current value and preset value for functions Input Output bit status and text There are three kinds of text in HMI They are Multi Language Chinese fixed and Chinese edit Multi Language is shown in the adjacent example Each HMI instruction can be configured separately using the Edit gt gt HMI Text menu selection from the SG2 Client software In the adjacent example HMI instruction HOI is configured to display the value of T01 and some descriptive text Allows the SEL button on the SG2 keypad to activate the selected message onto the LCD even the Hxx is inactive Phone Number sescesaze Add Bo Io Ion Ian ms mos m07 Display Analog Display Set AEN v Mulri Language Chinese fixrd Chineme rdir Texr Inpur Ham xz Clear Cancel u w amp 0123456T789 lt gt TP ABC DEFGHITELENOPQRSTUVEXTZ X 8 abcdefsz hiijiklmnap arstuvwxyz l amp a2353222 5111 iKa t Nvoo oo a u onnRf 741 z4 1259174714 A II SE IN O IEA SETS Love FO aBys2zTIvEHHECOos e YuAAAE A phone number can be displayed on the screen to alert an operator to call for help But the phone number field does not dial a modem or allow for a modem connection Each HMI instruction has a choice of 2 operation modes The table below describes each configuration parameter Symb Oo
36. down counter 104 mos 000000 002 oooonz 9 col NN 00d Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 48 Specialty Memory Types rat oume omp epe eme emer NH output output output output contact contact symbol P AE Vk ome to p SHE Voir function block Expansion inputeo X a Datt MEME Dimmm l mse P 4 KIC S R RRA Analog comparator G E mo H mm EM B LC LLLOMERNS DEAUNK L BOLO sur s E Positive input Differential Instruction One Shot A 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 HT 001 101 OFF CH CON EA one compelet scan period i i ON GER OFF 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 101 d 001 006 101 OFF ON OFF ON d OFF OFF lt gt one compelet scan period I l ON 201 OFF OFF Secure online ordering 24 7 3653 from BH H electron
37. edited through keypad HMI status 1 HMI scanning state press SEL into at IO interface Vas TO1 20 00Sec 2 1234 x Q UA TOL Sec Q 12345678 lt gt TOL D A RUN Wed 09 T 1 123456789ABC 2 HMI running state HMI is enabled at IO interface I 123456789ABC Yo x z dit DD T01 20 00Sec 2 1234 x Q Q 12345678 94 gt RUN Wed 09 18 AVA Q Enable Mor 0l234 T01 00 005ec Enable M02 fox BEE gt 00 0 hs gaap Secure online ordering 24 7 365 from BH electronic ANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 81 3 HMI edit preparing state press SEL when HMI is scanning or running state flicker cursor will show if there 1s edited content T01 20 00Sec TO1 00 00Sec 00 00 X02 ON TO1 H0 00Sec cPresssEL T01 00 00Sec 00 00 Bir M02 ON T01 20 005ec T01 00 0O0Sec 00 00 MO2 0N TOLM 00Sec T01 00 00Sec 00 00 MO2 0N Keypad instruction Abrogate operation Into status 3 if there is edited content at status 1 or 2 Into status 4 Change preset type under status 4 Under status 4 change data and number function preset data change coil state SEL 7T V Not in status 4 move cursor up and down Under status 2 find the nearest enabled HMI Under status 1 find the nearest HMI whose mode is 1 Move cursor lift and right Validate editing and store automatic Secure online or
38. for the influenceing of YO1 and Y02 in master Q01 and Q02 in slave will on You can see the consequence on the IO interface show below I O State on Slave Run mode I O State on Master Run mode 1 10B 4567890ABC X 1ME 4567890ABC 7 1234 y MP34567890ABC 0g834567890ABC EXE MO 14 42 2010 05 09 Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 152 IO Link Function Hardware Configuration l Link not more 8 V type SG2 as show below 2 Setall the SG2 in SET menu to No Remote IO 3 Set those SG2 s ID continuously 00 01 02 The max number of the ID is 07 VSG2 AB ID 0 Example l Link 8 20 pointe V type SG2 according to the steps of the Hardware Configuration 2 Create a ladder program as show below in those 8 SG2 L 01 101 MOI M02 M03 M04 MO M06 M07 MOS 3 Set L1 of the SG2 which s ID 7 as fellow illustration rl 1 e1moi os8 Li ot Hoi lig7 64 4 4 Ll of other 7 SG2 be set as fellow illustration E 1 d 101 03 it T Hoi ljn7 54 4 5 Run program Let I01 of the SG2 which s ID 7 on And M01 MO6S will be on state 6 You will find MO1 MOS of other 7 SG2 will be controlled by the M01 MOS of the SG2 which s ID 7 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 133
39. light and the SG2 status State or ih Power up SG2 is stopping Flicker slow 2Hz SG2 1s running ROM error illogicality in user program EEPROM error expansion model error Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools 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 a 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 smart relay operation during RUN mode Installing the Software Install the SG2 Client Software from CD or from the free internet download at www taian technology com A Setup SG Client Welcome to the SG2 Client Setup Wizard This will install 52 Client 2 9 09041 7 an your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup Cancel Secure online orderin
40. non zero preset value regardless of the state of the direction bit Its status bit will be ON when the counter current value isn t less than its preset value and will be OFF when the current value is less than its preset value The Mode 5 Counter will count up to a fixed preset value and continue counting after the preset value Additionally the current count value is non retentive and will reset to 0 on a loss of power to the smart relay Additionally the Mode 5 counter is always reset to zero and the current value also is always 0 when the smart switches between RUN and STOP unrelated to the state of its direction bit In the example below the counter will continue counting after its preset value of 20 Counter status bit CO1 will be ON when the current value is 20 Edit Contact Coil n 8 T Counter c fo 01 1F Function Hode 1 8 With ovectaking and without power down Compare Counter Current value Preset Value 000020 Preset Type N P Direction Set Reset Input Contact x fo1 Contact 1 02 E l Eo Ee E E E ud CO SCO L ASE E i 1191 191201 201 211211201 201 191 191 181 181 191 191 201 d d d 01 input count 14 r pulse KS OFF ON OFF ON OFF Under this mode the count will continuous after reaching its preset value The current value is always 0 regardless of the state of its direction bit when the reset is availability The current value is always 0 regard
41. other controller as master slave mode SG2 MBUS works as RTU slave node responses RTU master node s request but it can t communicate initiatively SG2 MBUS makes the scan period of SG2 become long it is different from difference communication order Normally the extend time is less than 20ms but it will be 100ms if the order is to rework the preset value of function SG2 MBUS Cell Configuration no Connecting port Power SW2 2 bit switch terminal resistance selection RUN running LED light COMM Communication LED light Error state LED light RS 485 port CL EN EJ EJ E O E E SW 8 bit switch set format of communication Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 149 Connect with electrical source SG2 MBUS uses 24V DC provide for oneself Communication set The SG2 MBUS communication baud rate and format can be set by 8 bits switch DIP SWI Baud rate SW1 3 SW1 1 set communication baud rate is 57 6K 38 4K 19 2K 9 6K 4 8K as shown below can be ON or OFF Verifying bit and stop bit set SWI 4 sets stop bit and verifying bit SW1 5 sets verifying format SW1 4 1 availability SW1 6 assembled set SWI 7 SW1 8 reserved More information as shown below SWI 8 SWI 7 SWI 6 SWI 5 SWI 4 Stop bit verifying bit assembled set OFF OFF 2 stop bits no verifying
42. programming cable into the SG2 smart relay as shown in the figure below Connect the opposite end of the cable to an RS232 serial port on the computer Establish Communication EN a Open the SG2 Client software and select New Ladder Document as shown below left b Select Operation Link Com Port as shown below right En E e H 62 Client F File Help File Edit MBA View Help Mo nitor Simulator Simulator Control Run Stop Power Pause iuit Re ad Write RIC Set Analog Set Password Language Module System Set Link Lom Port Ctrltk CtrltT Ctr1 1 Ctrlt Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Quick Start Setup 6 c Select the correct Com Port number where the programming cable is connected to the computer then press the Link button Link Com Port C COMS PORT C COM PORT COME PORT cOM3 PORT C COM PORT COM4 PORT C COME PORT d The SG2 Client will then begin to detect the connected smart relay to complete its connection Write simple program a Write a 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 M01 and press the OK button See Chapter 4 Ladder Programming instructions for complete instruction set definitions E Version E
43. to Reset the counting value pulse count reaches preset value and remain ON The ON the counter reset to 0 The Mode 7 High Speed Counter can use either input counter will reset when the preceding rung is inactive or OFF the counter continues to count the Reset Input is active In the example below shows the Current Count Value range 0 999999 relationship among the numbered block diagram for a D Preset Value range 0 999999 Mode 7 Counter the ladder diagram view and the DEB Counter Coil Number C01 C1F total 31 counters software Edit Contact Coil dialog box 1 Edit Contact Coil 5 1014 000000 050000 Q Cnumrerz c jo sl 01 1F Function Mode 7 F 0 8 1 EX scale Input Counter 5 050000 T TERENAS merged DAXTMEDSTUE SNR OEE uvuenn e Duce Y Fees DAS ee DEEN 149999 5000050000 500000 i Lar val EEEUEDE EAE ELT E La JUL SU E KEN E r EN PEEN ELT j l ON OFF ON OFF ON OFF Currenr Value Preset Value 005o00 Example Preset Type Je lppur 1752 Reset Input om IO1 deren Contact T ER Contact di IW los 004 000100 f 01 01 coi 005 DR Cancel 006 I03 M01 C01 Q01 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com 68 Chapter 4 Relay Ladder Logic Programming High Speed Counter Mode 8 DC powered versions only The Mode 8 High Speed Counter can use e
44. value appeared will be greater than present value The PD means the current value will be retain until the power recover Counter keeps current value when the smart switches between RUN and STOP when C KEEP enable 111 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming MK 6 Counter Mode 5 FBD display Parameter display Program display Counting Input 1017 LiL B001 B001 Up Down Counting Noid Ll Reset 1024 bo C 555555 mode So Counting Parameter Part C gt 4 See N Note The gt means the current value appeared will be greater than present value 7 Counter Mode 6 FBD display Parameter display Program display Counts Tapii 1017 111 1B001 pont d i Up Down Counting NO14 II Reset 1024 _ bo C 555555 mode 6 Counting Parameter Part C Pp4 eer Note The means the current value appeared will be greater than present value The PD means the current value will be retain until the power recover Counter keeps current value when the smart switches between RUN and STOP when C KEEP enable Note Only first 31 Counter functions can keep their current value after a loss of power to the smart relay High Speed Counter Function Block 1 Counter Mode 7 FBD display Parameter display Program display High counting input gt IO1T 38001 Bani 2002 Enable Input gt NO14 Reset gt HOH Hoi
45. when the current time is equal to the preset value Additionally the Timer current value will reset to zero when Timer is disabled In the example below the timer reset input is Input 101 The timer status bit TO1 will turn ON only after its rung transitions from true to false Timer status bit TO1 will turn OFF when the current time value reaches its preset value of 10 seconds Edit Contact Coil v x Ei T lc Select Coil No utput Type T oi 0l 1F Ce C CP Function Mode em 0 6 7 P Off delay timer mode Zz Enable Output Time Base 1SEC v Current Values Sec Preset Value 0010 Sec Preset Type N Po Direction Set Reset Input Contact E Contact Low KH TOL enable reset relay it Timer start operating Al enable reset relay present value U present value 0 Timig enable relay OFF ON OFF lime up output terminal TO1 T1F EE ON OFF A t enable reset relay OFF t preset value TOE and TOF keep their current value after a loss of power to the smart relay if M Keep is active but the others reset to 0 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 56 Timer Mode 5 FLASH without reset Mode 5 Timer is a Flash timer without reset that will time up to a fixed preset value and then change the state of its status bit Ad
46. 050 O5ee T 1 010 See TESTO1O amp Press 1 or to choice the nearest H coil Press SEL 9 or and OK update TOI preset value In this example 050 0 can update TOI preset value depends on HMI TEXT edit frame setting HMI TEXT Example Capacity 1188 free space H coil display set 01 z z ood I pi len H3 Ha PM COMPLEMENT RTOSR TOS5 60 00Sec HOl Ce oe Fl Fa c Ph Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Power ON and RUN initial display Press TT Z01 and display H03 coil Press SEL to display cursor Press 1 lt lt 5 to move cursor Press SEL again to choice modified position 29 66 Press 1 to change number and press e 5 to move cursor Press OK to make sure the modify value Press Z02 to disable H03 coil and the LCD display changes to initial I l23456T89ABC UN 7 1834 frame HO 12545678 mRUN Fri 11 21 Press to reset Timer TO1 TO2 T03 as program designed Secure online ordering 24 7 3653 from B H electronics www bb electronics com Chapter 3 Pro gram Tools Program Documentation The SG2 Client software includes the ability to document a program using Symbols and Line Comments Symbols are use
47. 172 1 l 4 AR 1 2 l pi l L DR 1 6 oo j pot MU j 2 poo j i1l Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming IWY Function displaying Function type The code of block 1s auto distributed the first unused code Set parameter Connect with next Function block Timer Function Block TOE and TOF keep their current value after a loss of power to the smart relay if M Keep is active But the other Timers current value is 0 1 Timer mode 0 Internal coil Mode FBD display Parameter display Program display Boos Enable Input gt mode Timer 03 2 Timer mode 1 ON Delay A Mode FBD display Parameter display Program display Boos BOOS Enable Input gt T l sec mode 1 Timer Timing Parameter Cur Valuel 0 00 Pre Valuel 1 00 3 Timer mode 2 ON Delay B Mode FBD display Parameter display Program display r 16005 BOOS Enable Input gt I 44 IL Reset gt Mop l on T 01 00Sec node 2 Timer 0 Timing Parameter gt Part JL 1 Cur Valuel 0 00 Pre Valuel 1 00 Secure online ordering 24 7 3653 from BH electronic ANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming IEK 4 Timer mode 3 OFF Delay A Mode
48. 2 M 12 I3 14 DOODO A Lag Lr e nt AT Ts D N 4 EE S S p do Hx JA NN 25 Dia A4 Ib 16 17 18 DUDO A1 A2 A3 A4 FON ON E A ITA AT OOO CET Input DC V INPUT w N ESNA COS s gt RN J IIN BK HM I2 I3 14 15 16 A1 A2 Input A1 A2 A3 A4 d va TATA CACM va Ko ee ke Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Input 100 240V 24V AC L V mu A WV Tf CAPR d N 3u zo MZ N m LN DO l1 12 18 14 15 16 QOOOOO Chapter 2 Installation ie AC V H 12 I3 14 I5 le I7 18 I9 IA IB IC OOOO OOOO ooooeeee ei ECO Output Relay Output 4 x Relay 8A tho Go AD oo OO OC N Q1 Q2 Q3 o pe Output Transistor rm oj PUX 4 02 Q1 E KONG LA LTA Af A DO CO CX ra z OUTPUT 4x TR 0 5A l 4 LANL SS Q4 i J Output 8x Relay 8A y 20 CO Qo q
49. 32767 3Z758 32767 3A 75658 32767 3Z 75858 32767 3a7585 32767 3A 75658 32767 0 865535 0 865535 0 865535 0 865535 0 865535 0 665535 0 665535 0 865535 0 665535 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Memory Cartridge sold separately PMOS 3rd is a special kind of PMOS it can be used in all version of SG2 There is an icon 3rd on SG2 V3 smart and side of PMOS 3rd About to use PM05 and PMOS 3rd with SG2V2 3 see next figure SG2V2 PM05 SG2V2 SG2V3 gt PMOS 3rd 5G2V3 The optional PMOS 3rd memory cartridge 1s used to easily transfer programs from one smart relay to another The PMOS 3rd 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 below 2 Insert the PMOS 3rd memory cartridge onto the connector as shown below 3 From the display keypad on the face of the SG2 smart relay select either WRITE or READ to transfer the program to PMOS 3rd or from the PMOS 3rd memory cartridge to the smart relay 4 K type and C type electrify the product the program in PMOS 3rd will automatically download and executed 5 Program in different types are not compatible here are the regulations A 1 10 12 point type program available in 20 point type
50. 4 7 3653 from BH electronic NUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming PID Proportion Integral Differential function block FBD display Enable Input gt Reference Fart FID 4 Program display Bool Parameter display BOOL ON 0010 FIOI PV 00100 Ts 002 sec 1 SEL lt gt PIOI F 150011 1014 ae Hol PID o1 Cur Value TargetiValue 120 TestiValue 100 Samp ime 200 PropGain 100 InteT ime 100 DittTime 100 Ep 00100 Ti 0010 sec Id O01 005e Z MX Multiplexer function block Enable Input Selection inputl Selection input2 lxs Reference FBD display Parameter display Program display Bool Boe 1B001 X014 SEL lt gt Mov 42 ENOL Part MX 4 H ol Cur Value Pre Waluel 15 Fre Valuez 1516 Pre Value 4565 Pre Valued 55d6 AR Analog Ramp function block Enable Input Select level input Stop input yx l4 Reference FBD display Program display B nl DR Data Register function block Enable Input gt Reference 117 72001 mod FL 1024 m bin SEL lt gt Y n Part AR 4 QOOO00 ARUL EE 001 0 LewelZ 300 MaxL 1000 01 00 Sep 0 Rate Lu gogai Fain 1 00 ffzet FBD display Parameter display Program display Bool BOOT DROL BOUZ DF OL Cur Value Pre Value oO 116 Secure online ordering 24 7 3653 from B
51. 51 01 2 21 21 21 31 1 1 1 tot 1 9 7171 21 213 EE eeneg RENE IER Eer NN erun SO erg GENE A IERI XE eene A ES Dee s Hode384861 01 21 21 21 21 31 1 1 1 3 4 4 5 5161 input count pulse ME rm PN MIN o This mode is similar to mode 5 but The current value is kept on a loss of power down to the smart when it status is RUN The current value is kept when the smart switches between RUN and STOP if C Keep is active Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 67 High Speed Counters DC Version Only The DC powered version smart relays include two 1 KHz high speed inputs on terminal I01 and 102 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 They 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 Symb terminals 101 or 102 for forward up counting to 1 KHz nmm Counting Mode 7 high speed counting maximum at 24VDC high speed input signal The Lo High speed counting input terminal 101 or 102 only selected Counter Coil CO1 C1F will turn ON when the Use 101 g1F
52. 53 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 129 Chapter 7 20 Points V type Models Instruction Only SG2 20VR D SG2 20VT D SG2 20VR 12D do have V type special function The setting takes effect after power up again if the smart if set to V type Function Summarization Communication parameter Communication mode parameter and baud rate Remote IO function It can be used to communication between 2 SG2 units For more information you could refer to Chapter 4 Remote IO I O Link function Up to 8 additional V type SG2 units can be configured as I O Link nodes Each SG2 can make used of the I O information of other SG2 for detail please refer to Chapter 4 Data Link Modbus RTU master SG2 can be used as master Modbus communication SG2 can be controlled by computer or other controller with Modbus protocol via RS 485 port Detail instruction Communication parameter 1 About SG2 communication parameter SG2 provides different communication parameter to satisfy your needs And there are two ways to set that parameter e Setting communication parameter via SG2 Client 1 Insert the plastic connector end of the programming cable into the SG2 smart relay Connect the opposite end of the cable to an RS232 serial port on the computer 11 In SG2 Client Soft Select Operation gt gt Module System Set to open the dialog box as show below Bodule Sys
53. 6789ABC Q 12345678 P 1 Y 123456789ABC M 123456789ABCDEF l d T 123456789ABCDEF al C 123456789ABCDEF 1a R 123456789ABCDEF Ll G 123456789ABCDEF a H 123456789ABCDEF L 12345678 D Secure online ordering 24 7 363 from BH B electronics MANUFACTURING COMPANY www bb electronics com Quick Start Setup 9 f On the Input Status dialog click on MOI to activate the contact M01 which will turn ON the Output Q01 as shown below The highlighted circuit will show active and the first Output Q01 on the connected smart relay will be ON See Chapter 3 Programming Tools for more detailed software information Beet dp ca e a 9 8 9 8 De a el EES RE Capacity 1196 free space symbol Status ON I 1234556T7T8984ABC Z 1234 X 125d458T88ARBC Input Status Tool GQ 12545678 Bet X Y 12354586T88ARBC EE eit mc D MM N 1234586789ABCDEF l x T 1234586T789ABCDEF l C 1234586789ABCDEF l R 123458789ABCDEF l G 1234586T789ABCDEF l H 123456789ABCDEF l L 12345678 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation Chapter 2 Installation General Specifications SG2 1s a miniature smart 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 and 4 output modules
54. 7 Ax analog input value 0 00 99 99 5 L y analog input value 0 00 99 99 Oo R eference comparative value could be constant or other data code O0 Qutput terminal G01 G1F a The preset value and can bea constant or other function current value Comparator Mode 0 Internal Coil Mode 0 Comparator Internal Coil used as internal auxiliary coils No preset value In the example below shows the relationship among the numbered block diagram for a Mode 0 Comparator the ladder diagram view and the software Edit Contact Coil dialog box Edit Contact Coil T le Analog comparator G loz 01 1F Function Mode 0 7 O Internal Coil AN Ay Current Value Sec Sec Preset va Ref i ne Ee ON 101 OFF OFF ON 5001 OFF OPE Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 77 Analog comparator Mode 1 7 1 Analog Comparator mode 1 2 Analog Comparator mode 2 3 Analog Comparator mode 3 4 Analog Comparator mode 4 5 Analog Comparator mode 5 6 Analog Comparator mode 6 7 Analog Comparator mode 7 Ay 8S Ax Ay L ON Ax Ay ON Ax Ay ON Ax ON lt Ax ON Ax ON Ax ON Example 1 Analog Signal Compare In the example below Mode 4 is the selected function that com
55. 7898ABCDEF al 1234567898ABCDEF l Return P Edit Comments 123456789ABCDEF 12345678 Line main program and total time zc 4E L L 46 0 beet aen deen bro abro abo Ho HR O10 0 89 09 S 8 S SI zb none gen Ver 2 9 Status Stop OFFLINE Model 5G2 20HE D ID 01 AQ Set The AQ editing environment can be access through the menu using the Edit gt gt AQ Set selection shown below The range of AQ is 0 1000 if the output mode of AQ is voltage mode And the range is 0 500 if the output mode is current mode The preset value of AQ can be set as either a constant or a code of other data The output mode of AQ and preset value are set as below More information about output mode and displaying to see Chapter 4 Relay Ladder Logic Programming TE LAD Yersion select Model Keypad wv Ladder d nnna Inda LtrltZz Y E s m he d LirlTi Clear Comments 0000 LL onu lt UMM GILT S d Find 0000 Replace DE E LIES m m reset value when HMI Text Symbol lata Register Set Secure online ordering 24 7 365 from BB electronics MANUFACTURING COMPANY www bb electronics com Data Register Set Chapter 3 Program Tools The content of Data Register is eithe
56. A 2 20 point type program unavailable in 10 12 point type B 1 AC type program available in DC type B 2 DC type program unavailable in AC type C 1 Relay type program available in Transistor type C 2 Transistor type program unavailable in Relay type D 1 Not V type program available V type D 2 V type program unavailable Not V type E 1 SG2V2 program available SG2V3 type E 2 SG2V3 program unavailable SG2V2 type Secure online ordering 24 7 3653 from B B electronics www bb electronics com Chapter 3 Program Tools LCD Display and Keypad 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 set points 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 1s an overview of the basic keypad and display functions Select SEL Used to select the available memory and instruction types for editing Holding the Select button will display all H HMI Text messages on the LCD OK Used to accept the selection displayed of an instruction or function It is also used to select any of the Main Menu options on the LCD Note Press the SEL and OK
57. B IOC 6 P NENNEN AAA A 3 1mA 24V DC 3 1mA 24V DC 0 63mA 24V 0 17 mA 10V ON current gt 1 875mA 15V gt 1 875mA 15V gt 0 163mA 9 8V input hane 0 625mA 5V lt 0 625mA 5V lt 0 083mA 5V input ire Tengin T 100m ET 100m SEA SEUA ge TOS aa VDC Precision 0 01V DC n n M Seege AA I E nee ZA Lo number LL Conversion time 100m eem PLA A PL ML pem LO a EE ft TS ohm C lt C p lt O Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 6 Hardware Specification 126 Output Specifications output circuitry EE Extern power Less than AC265 DC30V 23 9 24 1V Extern power Opa dina RA SE DENN Response OFF gt ON ime ONOFF Less than 0 6 ms Output Port wiring notice Light Load The current value will be 10 20 times of normal value for several 10ms when filament is turning on A distributaries resistance or restricted current resistance is added at output port to reduce the concussion current value distributaries resistance restricted current resistance of v f N istributaries TN Restricted resistance resistance There is a little current makes light shine The brightness will be described 1f the faintness so the value of resistance must be resistance value 1s too big careful Secure online ordering 24 7 3653 from BH H electronics MANUFACTURIN
58. C 555555 Drog Counter OL Cur Value 0 Pre Value 555555 EE Note High speed input terminal 101 102 Y Counter Parameter 2 Counter Mode 8 FBD display Parameter display Program display High counting input I0lr 111 1B001f B001 coll e Enable Input N01 TL T 10 00Sec l bot CT 000050 pub Counter Parameter gt Part 2 Hz 4 CL 000030 ren sD Lower 20 Note High speed input terminal 101 102 Secure online ordering 24 7 3653 from BH electronic NUFACTURING COMPANY www bb electronics com 113 Chapter 5 FBD Block Diagram Programming RTC Comparator Function Block 1 RTC Mode O Internal Coil FBD display Parameter display Program display r 1 E OI B 0l Enable Input gt 1014 PL I Lui mode IE BIC 1 2 RTC Mode 1 Daily FBD display Parameter display Program display BOOL F 15001 B001 Enable Input 1014 e JUL oni ON NO 08 00 RTC Parameter gt Part po 4 OFF FR 17 00 3 RTC Mode 2 Continuous FBD display Parameter display Program display Boo F 15001 B001 Enable Input 1014 e I L bon ON MO 08 00 RIC Parameter gt Part ww 4 OFF FR 17 00 4 RTC Mode 3 Year Month Day FBD display Parameter display Program display E001 r 72001 BOO Enable Input gt 1004 e L Koo JON 09 02 17 erem RTC Parameter gt Pari yp 4 OFF 10 11 11 eech On 05 2 17 BEES IB IIl Iil 5 RTC Mode 4 30 second adjustment FBD dis
59. C ID and the maximal number of ID is 64 0 63 The address of node can be set by SW1 1 SW1 6 of SG2 DNET oneself mode And the baud rate of communication can be set by SW1 7 and SW1 8 the baud rate set must be the same as equipment network SW setting 000000 ID 0 ID in swieswii oe ee network 111110 ID 62 111111 ID 63 00 Baud rate 125K 01 Baud rate 250K Baud rate SW 8 SW1 7 0 aud rate i g Baud rate 500K standby default baud rate 125K Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 153 LED state display SG2 DNET has two LED lights watching itself and COMM Bus state 1 mode state LED MS Double color LED green and red indicates SG2 DNET state Power up Module status LED Explanation Correct or prevent fault Normal operation status No No connected with SG2 basic unit Connected with SG2 correctly Red flash Connect with SG2 but communication error Set SG2 IO number correctly Red on Device hardware error Use a new module 2 network state LED NS Double color LED green and red indicates equipment network bus state Net status LED Explanation Correct or prevent fault Off No power Power up LEN The device is a single node in the net Add other device in the net Green on Normal operation mode and connected No HEN RN Green flash Normal operation mode but not No ndi conn
60. Comparator G G Ladder 31 G01 G1F 15 G1 GF FBD 250 AS01 ASFA FBD 250 MD01 MDFA FBD 30 PIO1 PIIE FBD 250 MX01 MXFA FBD 30 AR01 ARIE MU MODBUS Ladder 15 MUO01 MUOF NO FBD 250 MU01 MUFA Bic 260 B001 B260 The capability of 99 B01 B99 The capability of each each block is alterable and the total block is fixed capability of block is 6000bytes PMOS5 3rd PMOS 3rd can be used with allPMOS can not be used with SG2 V3 x version of SG2 Auxiliary relay N ii Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 1 Getting Started Chapter 1 Getting Started The SG2 tiny smart Relay 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 injury may result from improper operation A CAUTION The SG2 smart relay may be damaged by improper operation Precaution for Installation T 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 T When installing the open board models insure that no wiring or foreign materials can fall into the e
61. D code MD01 MDIF Compute formula MD V1 V2 V3 MD current value is the result of compute Parameters V1 V2 and V3 can be a constant or other function 0000 current value The output coil will be set to 1 when the result is overflow And the current value is no meaning at this time But it will do nothing if the output coil is NOP The output coil will turns OFF when the result is right or the function is disabled The example below shows how to configure MD function Edit Contact Coil lc E las MD pr Select Coil N Error Coil Mb 01 el 01 1F ln o1 Function Current value HbsVlI V2 V3 vl V Y3 Preset 16586 Pre Type D ll v for X Error output coil MOI will turn ON when the compute result is overflow Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 92 PID Proportion Integral Differential The SG2 smart relay includes a total of 15 PID instructions that can be used throughout a program The PID function enables simple operations to be carried out on integers There are 9 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring PID Symbol Description oO PI PID current value 32768 32767 SV target value 32768 32767 PV measure value 32768 32767 MM
62. FF The next coil turns ON at each rising edge of SHIFT input and others turn OFF Secure online ordering 24 7 3653 from a BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 89 AQ Analog Output The default output mode of AQ is 0 10V voltage the corresponding value of AQ is 0 1000 It also can be set as 0 20mA current the corresponding value of AQ is 0 500 The output mode of AQ is set by the current value of DRDO DRD3 as shown below DRDO DRD3 data definition Setting the output of AQ0I 0 voltage mode AQ output value is 0 under STOP mode DRDI Setting the output of AQ02 DRD2 Setting the output of AQ03 DRD3 Setting the output of AQ04 1 current mode AQ output value is under STOP mode 2 voltage mode AQ keeps output value under STOP mode 3 current mode AQ keeps output value under STOP mode It will be thought as 0 if the value of DR isn t in the range of 0 3 That means the output mode of AQ is mode 1 AQ displays preset value constant of code of other data under STOP mode displays current value under RUN mode AQ preset value can be a constant or other function current value AQ display AQ displays the preset value under STOP mode and displays the current value under RUN mode 2 number of expansion analog output 2AO AQOI AQ04 AQ01 201 23V OL 10VDC voltage mode AQ value OL 1000 depending on DRDO AQ02 08 92mA oL 20mA current mode AQ value O
63. Fil PC Hode Program um _ Edit Contact Coil T lc In o HMI display page H 01 1F Y 123456T89ABC gt Function M 123456789ABCDEF sl Mode i 1 2 T 123456T789ABCDEF d FEF HOL n2 123456 7B9ABCDEF pal az Hoa Hos Le T01 50 00Sec q Lee ror cuerens y es TOL Current unit TESTRTOl4 Ol ur wc 5 Analog Preset unit or 125456 T898ABCDEF aal 123456789ABCDEF al ea H 123456789ABCDEF wl Je NAME RED t F Current L 12345678 aii 1 Preset unit Analog Display Set Current unit p 6 e H Current Fh Humber D x GI H z i S Multi Language gt Xhinese fixed C Chinese edit Text Input ix U 5 amp 0 4 7 V0123456789 lt gt 7 ABC DEFGHITELNNOPQRSTUVWXTZ A 8 abedefz B F amp oz E Fo G Be o4 Ek n mo7 nos dr Timer Counter sed in program Secure online ordering 24 7 3653 from BH B electronics CO DO O O L3 MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Enter HOT coil Into HMI TEXT edit frame Choice the T Choice the E Choice TO1 current Choice TO1 current unit Choice TO1 present unit user can modify TO1 preset value when H coil enable and display on LCD Download to SG2 and I01 turn ON or press SEL if the H coils is set to mode 1 then the SG2 LCD will display the first H text as shown below T 1
64. G COMPANY www bb electronics com Chapter 6 Hardware Specification 127 Inductance Load There will be a concussion voltage KV when the inductance load switches between ON and OFF especially relay model The methods of different power mode for absorbing the concussion voltage are shown below a AC power CR absorbing b DC power flywheel diode CR absorbing Flywheel diode Please do can t use capacitance alone as absorbing as shown below Life of relay Life Expectancy Operation x 10 D 1 2 3 4 5 6 7 8 8 10 Contact Current 41 The data of picture above is standard but the life of relay is influenced by the temperature of operation environmental The life is more than 100K times if the current is less than 2A Power mode Input Output DC 12V AC 100 240V DC 12V Accessory description PM05 3rd memory cartridge SG2 Client SG2 program software Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY Chapter 6 Hardware Specification 128 Size diagram of SG2 10 12 points
65. H electronic NUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming EK MU MODBUS function block Model FBD display Parameter display Program display BOOL r BOO Enable Input 1014 01 ID 01 So V1 0 001 MODBUS 1 mode l Reference Part MU We DREUI ID 01 id 0000 Data 0000 Mode2 FBD display Parameter display Program display B l r BOO Enable Input 1014 02 ID 01 E vi n ni MODBUS 01 mode Reference Part MU V 2 DR L ID 01 amp dd 0000 Data 0000 Mode3 FBD display Parameter display Program display B l r BOO Enable Input 1014 03 ID 01 M DETS 01 o7 v1 0001 mode 3 Reference Part MU Y2 DR01 ID 01 2dd 0000 Data 0000 Mode4 FBD display Parameter display Program display E001 BOOT Enable Input ID l vV1 5n MODEVS 01 mode 4 Reference V2 DR OI ID 01 Add 0000 Data 0000 Mode FBD display Parameter display Program display B l BOOT Enable Input ID l MODETS 01 Y1 0500 E Reference VZ DR UI ID 01 2dd 0000 Data 0000 Secure online ordering 24 7 3653 from B H electronics MANUFACTURING COMPANY www bb electronics com Chapter 6 Hardware Specification Chapter 6 Hardware Specification Normal Specification Mode of user program Ladder amp FBD 40 to 158 F 40 to 70 C Environmental l Maximum Humidity 90 Relative non condensing EE 0 075mm amplitude 1 0g acceleration TER according to IEC60068 2 6
66. L Line 13 1415 161718 Column Step 9 Press SEL Step 10 A Column Press SEL Step 10 B Column Press SEL gt Step 11 Press SEL Step 12 A Press SEL Step 12 B Column Press SEL gt Step 13 Column Press SEL TE SG2 Smart PLC USER Manual 56G2 Programmable Logic Smart Relay 4KA72X023 Version 03 2009 07 03 0086 0510 8522 7555 Apply to 562 firmware version 3 0 PC client program software version 3 0
67. L LED EO aBvS2Tlw EHREUCOo se Y BABE PWM function block only transistor output version PWM mode The PWM output terminal Q01 or Q02 can output 8 PWM waveforms M l l A POL EFE Function gt Function Mode l Output Q F md select 1 8 1 D Tims Current Value Freset Value E Mode 1 N01 N02 Po wos SLI oput TP1 00000 TT1 00001 102 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com PLSY mode The PLSY output terminal Q01 can output preset number of pulse whose frequency is variable from 1 to 1000 Hz MULT Nord Nop POL Nop Data Link function block M l SHIFT function block 1 0 Link l Mode 1 Hum 10190 8 2W16 Chapter 5 FBD Block Diagram Programming PRE Fonction Bod Se nm PF TUR m DO Mode 2 w Rl d ED PF 00100 PN 00000 Function ua p Mode j pM MM Receive r Function select l 8 5 al Shi It l Start Coil lo o Timing diagram Symbol Type 401 405 ET Num 5 MTI uu 4 2 J 4 5 5 7 8 9 Shift input 102 UUUUUUUUUL Q01 Q02 Q03 Q04 Q05 103 Secure online ordering 24 7 3653 from BH H electronics NUFACTURING COMP WWW bb electronics com Chapter 5 FBD Block Diagram Programming Logic Block Instructions 3 Logic b
68. Modbus RTU master MODBUS function carries out Modbus RTU master communication at RS485 port There are 15 MODBUS functions MU01 MUOF Remote IO and Date Link are precedence than MODBUS MODBUS is executed when the system setting is N Remote IO and ID isn t 0 MODBUS comes into possession of communication port release the port when disable and one MODBUS period is completed There can be a number of communication orders in one program but only one order can come into possession of communication port at the same time And the others keep their enable state for executing function Function mode corresponding communication function code mode Communication function code 03 read register 06 write single register 10 write some registers 01 read coil 05 write single coil The coil used in MODBUS function Received M3D M3D is set to ON after received then check up for error Transferring data to target address if there is no error Time out flag M3F M3F is set to 1 when the time from after sending to start receiving is longer than setting and M3D also be set to 1 M3F is automatically reset if M3D reset The time out time is depending communication baud rate as shown in the table below H9 89 There are 5 parameters in MODBUS function as shown below D MODBUS mode 1 5 Lm Communication address slave ID range 0 127 Communication content address and data length 1 address is cons
69. N A 44 4 Expansion Modules SG2 8ER D LAVDC 4 DC 4 Relay N A N A N A SG2 8ET D 4 DC 4 Trans N A N A N A SG2 8ER A 100 240VAC 4AC 4Relay N A N A N A SG2 8ER 24A 24VAC 4 AC 4Relay N A N A N A SG2 4AI 4 Analog N A N A N A N A SG2 4PT 4 Analog N A N A N A N A SG2 2A0 N A 2 Analog N A N A N A SG2 MBUS 24 VDC Communications Module RS 485 ModBus RTU slaver SG2 DNET Communications Module DeviceNet Group2 slaver SG2 PBUS Communications Module Profibus DP slaver ENO1 Communications Module TCP IP OEM Blind Models No Keypad No Display SG2 12KR D 6 DC 2 Analog 4Relay X N A 36 SG2 12KT D VDC 6 DC 2 Analog 4 Trans X N A 36 SG2 20KR D 8 DC 4 Analog 8 Relay X N A 44 SG2 20KT D 8 DC 4 Analog 8 Trans X N A 44 SG2 I2KR 12D 12VDC 6DC 2 Analog 4Relay X N A 36 SG2 10KR A 6 AC 4Relay X N A 34 100 240VAC SG2 20KR A 12 AC 8 Relay X N A 44 OEM Baseboard Models No Keypad No Display No Expansion SG2 12CR D 6 DC 2 Analog 4Relay X N A 12 SG2 12CT D VDC 6 DC 2 Analog 4 Trans X N A 12 SG2 20CR D 8 DC 4 Analog 8 Relay X N A 20 SG2 20CT D 8 DC 4 Analog 8 Trans X N A 20 SG2 10CR A 6 AC 4 Relay X N A 10 100 240VAC SG2 20CR A 12 AC 8 Relay X N A 20 Accessories SG2 PLO1 SG2 Programming Cable SG2 Programming software SG2 PM05 3rd SG2 Memory cartridge If module with keypad and display Max IO can be added keypad input Z01 Z04 More information about Product Specifications to see chapter 6 Product Specification
70. NY www bb electronics com Chapter 8 Expansion Mode 144 4 Transistor output SG2 8 DERE i T 5A w wi A J A M eut Nac W 1A quick blowing fuse circuit breaker or circuit protector Surge absorber 36V DC Surge absorber 400V AC Fuse circuit breaker or circuit protector Inductive load AC inductive load needs parallel connect Surge absorber to describe noise if the SG2 output is relay DC inductive load needs parallel connect commute diode if the SG2 output is relay The commute diode s inverted voltage should be more than 5 10 times of load voltage and the positive current should be more than load current Inductive load needs parallel connect commute diode if the SG2 output is transistor Digital IO module and Analog module both have indicator light The state of indicator light is the same The state of indicator light is shown below H z215MWisiA e inp EE SSS status of expansion mode flicker 5Hz expansion mode is fault data transfer error connectting is error with mode before Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 145 Analog module The maximal assembled of Analog expansion module to SG2 is 2 2AO 1 4PT and 1 4AI The nearer 2AO to SG2 corresponds with AQ01 AQO02 and the farer 2AO to SG2 corresponds with AQ03 A
71. O NN C Yi Yo Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode LO NNEC TOR PRESS BUTTON S2 BER A E NN x Relay ER Din Rail Input X1 X2 XP diia ERRE oom loo S t li DD H B IB Al Ae oo d0000000 DC24v Input 8x DCI AT A2 0104 MAX20088x37 5G2 8ER A Quipul x Relay mn Essen E a GG ETA We CONNECTOR Output 4 x Relay BA euer ue SP er Ye 7 A f aa CoAT oo mm 0 14 1 5 0 14 0 75 0 14 25 014 25 0 14 1 5 AWG 26 16 26 18 26 14 26 14 26 16 35 Nm 0 6 ii a C 0 14in E Ib in 5 4 Please do power down before maintaining equipment 142 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Wiring 1 24V DC power input SG2 SER D SET D 2 24V 100 240V AC power input 3 relay output nv LL 100 240V 50 60 Hz N SG2 SER A SER 24A SG2 8ER A Output 4 x Relay 8A Chapter 8 Expansion Mode LB SCSG B alcb ciii c c ccc c Ac HS Em emm un vn wm emus 738 143 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPA
72. Press SEL 163 Secure online ordering 24 7 3653 from B B electronics www bb electronics com Appendix Keypad Programming 164 Step 2 3I 1213 1415 161718 column Press SEL line 1 r l 7 ek Jd Step 2 3J column Press SEL Step 2 3K Press SEL Step 2 3L column Press SEL column Repeat step2 4B press J is also available the preset value of A01 A08 will be periodically changed And so on Analog gain offset value V01 V08 and the other function blocks time counter present value is set as preset value to repeat the step to select T01 T1F C01 C1F V01 V08 step 2 5B column press OK save the present data Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming Procedure 2 8 ii 2 3 14 5 Oi 738 Column Press SEL Line 1 r l J 2 4 begin to edit data 3 133 33 SectTol A L d Procedure 2 9 I 120 9 1442 1641718 Column Press T Line 1 r 1 7 2 2 Press SEL TA 3 133 33 SecttTot1 to change 1 to 2 4 l 4 Procedure 2 10 Press OK Column save the input data Procedure 2 11 Column Press P move the cursor to 1 position Procedure 2 12 Press SEL begin to edit data 2 13 Press 1 for 3 times Press SEL and followed by T Press OK save input data
73. Procedure 1 The present value will appear when SG2 is under RUN mode Press OK Enter FUNCTION BLOCK edition Secure online ordering 24 7 3653 from BH B electronics www bb electronics com Appendix Keypad Programming 162 A 2 3 1415 161718 Column Never press gt to move to the Line 1 r 1 J digital position 2 1 4 If T02 is required to be changed 3 00 00d0S ec Dm Press T V and SEL to execute 4 Step 2 modify present target value preset the action relay Preset the target value move the cursor to the preset action area Procedure 2 2 Press SEL begin input the target value Procedure 2 3 Column Press Tt for 3 times Press SEL and followed by Tv The digital 0 is changed to 3 Procedure 2 4 Press OK Save the input data Procedure 2 6 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming As the present value of the timer counter analog input A01 A08 and analog gain value V01 V08 is set as the preset value of them Next to the step 2 2 to execute the following operation Step2 3A Press SEL Step2 3B E Column Press SEL Step 2 3C press SEL Step 2 3D Press SEL Step 2 3E column Press SEL step 2 3F Press SEL Step 2 3G column Press SEL Step 2 3H
74. Q04 The 4 input of 4AI corresponds with AO5 A08 The current value of 2AO output displaying as shown below Wiring Dc 24v T PT100 I SG2 4PT Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Voltage output DC 24v content SG2 2AO Chapter 8 Expansion Mode Current output DC 24v ZAU standard Temperature input range wwe Leen be bigger than 5000 be smaller than 500 2A0 SS The input value of SG2 4PT is over range if wiring error or no input SG2 will not receive and store the value of corresponding channel and the corresponding channel s coil M turns ON ATOI SG2 4PT channel 1 error ATO2 SG2 4PT channel 2 error ATO3 SG2 4PT channel 3 error AT04 SG2 4PT channel 4 error 146 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com ECKE bo 50 O 1124 pa 20100 zen E AD amm en CHO SBE ee SITO HPH OK 14 V4 C4 l4 V4 CA P I m ts FE a H T E ES S2 4AAT Chapter 8 Expansion Mode 20mm Analog 147 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 148 Communication module ModBus module Summarize SG2 MBUS module makes SG2 which doesn t have communication ability to communicate with
75. T 500 depending on DRD1 AQ03 A01 V AQ04 DR3F mA The value will be judged if it s over flow when writing AQ preset value or current value through PC communication So output mode information should have been written before preset value AQ is current mode AO current value 500 AQ display value 20 00mA AQ current value is different from display value and current value is used in operation and storage AQ display is shown below set ago N x 0100 v AQ01 01 00V Display AQ02 04 00mA AQ03 02 00V AQ04 08 00mA AQ03 um agoa w 0200 Current mode keep value when stop T Cancel Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 90 AS Add Subtract The SG2 smart relay includes a total of 31AS instructions that can be used throughout a program The ADD SUB Addition and or Subtraction function enables simple operations to be carried out on integers There are 6 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring AS Symbol Description Uo AS current value 32768 32767 Uo V parameter 32768 32767 V2 parameter 32768 32767 Uo V3 parameter 32768 32767 Error output coil M N NOP oO AS code ASO1 ASIF Compute formula AS V1 4 V2 V3
76. TECO SG2 Smart PLC USER Manual SG2 Programmable Logic Smart Relay 4KA72X023 Version 03 2009 07 03 Secure online ordering 24 7 365 from BH fH electronics Apply to SG2 firmware version 3 0 morer delia om PC client program software version 3 0 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com I 4K A72X023 Contents Examination before Installation EEN 2 Environmental PrecautiOfis EE p SG2 Model TGC UTC AOD EE 2 Install SG 2 Client SOM Ware E 4 Connect Power to SG2 smart relay ocococcccncnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnninininss 4 Connect Programming Ee 5 EStablish KEIER EE 3 ac en 6 TSTMS a EE 10 ele ee ee 13 fe IBID RE l4 PC Programming co MAMA En 19 Tastolhus te MAA ee S 19 KEE 20 iE RIS UC OM COPPER ETT TT o e sombeseuasauasunas 20 Ladder Logic Programming Environment eee NENNEN ENNEN 21 Menus Icons and Status DISPLAYS haba 22 Ee o NE OU TE 23 TII SANTO TD V LOTES MERO ET APA TO TT 24 eer 24 MUEIOIHS roca oon detener ion den Iason deiude cn dedisse desi Mem des d UE UE 25 KEIER 25 Online Monitoring e ee 26 Eh a AND d nasa HN 27 Program Documental ON eec tee ote dee tetto bale roue A Ee 30 IO C 31 Memory Ca
77. USWESTHSFRESASSUSMO 3 hour 00 23 minute 00 59 Summer Winter setting NO EUROPE USA OTHER NO ESC 1 Cancel the Input Data when press SEL 2 Back to Main Menu RTC precision 3s day 20 C 50 C 6s day Secure online ordering 24 7 3653 from Hg estrena www bb electronics com Chapter 3 Program Tools RTC Summer Winter setting There are 2 fixed Summer Winter EUROPE and USA 1 edit Summer Winter in SG2 Edit rule The last Sunday is defined as 0 Hour range 1 22 Summer hour and Winter hour are the same Summer Winter can be set through the two methods as shown below 1 PC Client B LAD WVerzion File Edit ROSEN View Help Es E Ie EE Monitor simulator simulator Control symbol Ctrltk Used CtrltT Hour Minute TE le Js I 1234hf pr PHI Year Month Day SE le ae us 7 Z 1234 Ctrl xcccH Summer Time X 1234ht Mode gyms 0 12 45 dg SUMME r Y 123451 Winter M f EE Module System Set T 123456 Link Com Port 2 Keypad RIC SET Vx x SUM WIN SET SUM WIN SET 2009 05 07 Press SEL twice EUROPE H 01 Ihur 11 16 E pen SUM M 02 D 00 EUROPE standard WINTER M 09 D 00 Press SEL once H 02 Press SEL once Display fixed gt E K 02 D 02 oA e USA standard WINTER M 10 D 01 WINTER M 01 D 01 Then pressing selects edit location pressing 1 edit
78. ape N 6 Preset stage 6 F 7 _ Preset sage 7 N 8 Preset stage8 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 83 The state of M01 M02 and MO3 are 010 so PWM output pulse is like this as setting above The state of M01 M02 and M03 decide PWM output PWM stages can be changed by the status of M01 M02 and M03 when POT is running displays the number of pulse when POI is running but equals 0 when P01 is disabled PLSY mode Only P01 can work under this mode and the output is Q01 PLSY has 6 parameters for proper configuration The table below describes the information of PLSY parameters Po PSY mode Tea namber oF pte tori in DRC Preset equnsy oF PESY 1 1000 2 Peet puke mmber oF PLSY0 32767 Co oor qp Pee The preset frequency and pulse number could be constant or other function current value They are variable if the preset are other data code The PLSY will stop output if it has outputted the number of pulse PLSY will run again if it is enabled for a second time Example Parameter setting 500Hz 5 output as shown below PLSY stops outputting when the number of output pulse 1s completed Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 84 In the example below the freq
79. ately when its rung is true and begin its timing sequence Timer status bit T01 will turn OFF when the current time value reaches its preset of 10 seconds This Flash sequence of the timer status bit TO1 will continue as long as its rung remains true Edit Contact Coil Y n N Select Coil No Output Type T o 01 1F Sat ig C Sec C P Function Mode EM 0 6 7 P Flash timer mode 2 Enable Er RS e SS Sa Reset Ouput PLT LL Time Base user Current Values Sec Preset Value 0010 Sec Preset Type N e Direction Set Reset Input Contact Contact Low e od TOl enable reset relay enable reset relay present value 0 ple Timer starts operating JJ Lt present value Trung enable relay Time up Output terminal TO1 T1F enable reset relay t preset value The current value of Timer can not be kept on a loss of power to smart Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 58 Timer Mode 7 FLASH Cascade without Reset Mode 7 Timer is a Flash Timer which using two Timers in a cascade configuration without reset The second Timer number follows the first Timer 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 ti
80. aximum operating time 15ms normal condition Life expectancy rated load 100k operations Minimum load 16 7mA Standard max output frequency Resistive 0 5 A point Inductive 0 3A point Maximum Load Minimum Load Secure online ordering 24 7 3653 from Hab electronics MANUFACTURING COMPANY n Chapter 2 Installation Product Specifications Display amp T Part Input Power Inputs Outputs RS 485 Communications Max I O Keypad SG2 12HR D 6 DC 2 Analog 4Relay W Z01 Z04 N A 36 4 SG2 12HT D 6 DC 2 Analog 4Trans W Z01 Z04 N A 36 4 SG2 20HR D T 8 DC 4 Analog 8Relay V Z01 Z04 N A 44 4 SG2 20HT D ids 8 DC 4 Analog 8 Trans V Z01 Z04 N A 44 4 SG2 20VR D 8 DC 4 Analog 8Relay W Z01 Z04 Built in MODBUS 44 4 SG2 20VT D 8 DC 4 Analog 8 Trans Vv Z01 Z04 Built in MODBUS 44 4 SG2 12HR 12D 6 DC 2 Analog 4Relay wW Z01 Z04 N A 36 4 SG2 20HR 12D 12 VDC 8 DC 4 Analog 8Relay v Z01 Z04 N A 44 4 SG2 20VR 12D 8 DC 4 Analog 8Relay W Z01 Z04 Built in MODBUS 44 4 SG2 10HR A 6 AC 4 Relay V Z01 Z04 N A 34 4 100 240 VAC SG2 20HR A 12 AC 8 Relay W Z01 Z04 N A 44 4 SG2 12HR 24A 8 AC 4 Relay V Z01 Z04 N A 36 4 SG2 20HR 24A a 12 AC 8 Relay W Z01 Z04
81. ay if M Keep is active but the other Timers current value is non retentive Each Timer has a choice of 8 operation modes 1 for a pulse Timer and 7 for general purpose Timer Additionally each Timer has 6 parameters for proper configuration OJO T o The table below describes each configuration parameter and lists each compatible memory type for configuring Timers Timer Mode 0 7 101 I0C i01 i0C Timer Unit 1 0 01s range 0 00 99 99 sec Z01 Z04 z01 z04 2 0 1s range 0 0 999 9 sec Q01 Q08 q01 q08 3 1s range 0 9999 sec MO1 M3F m01 m3F 4 min range 0 9999 min NO1 N3F n01 n3F ON the Timer reset to 0 X01 X0C x01 x0C OFF the Timer continues timing Y01 Y0C y01 y0C Timer code T01 T1F total 31 Timers TO01 T1F 401 t1F Analog comparator G01 G1F g01 g1F The preset value of Timer could be a constant or other function current value The current value of TOE and TOF will be kept when SG2 on a loss of power if the M Keep is active Timer Mode 0 Internal Coil Mode 0 Timer Internal Coil used as internal auxiliary coils No timer preset value The status of T coil becomes with enable coil as shown below Q 002 ON OFF 2n OFF 101 OFF T01 OFF Go OFF SUN OFF 101 is enable coil Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Timer Mode 1 ON Delay Chapter 4 Relay Ladder Logic Programming 52 Mode 1
82. cased Blind no LCD amp Keypad C Bareboard E Expansion Secure online ordering 24 7 363 from BB electronics wi bb electronios oom Quick Start Setup d Quick Start Setup This section is a simple 5 steps guide to connecting programming and operating your new SG2 smart 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 Install SG2 Client Software Install the SG2 Client Software from CD or from the free internet download at www taian technology com d Setup 562 Client ja lx Welcome to the 562 Client Setup Wizard This will install SG2 Client 2 9 09047 7 on your computer It is recommended that you close all other applications before continuing Click Nest to continue or Cancel to exit Setup Cancel Connect Power to SG2 smart relay Connect power to the Smart Relay using the below wiring diagrams for AC or DC supply for the applicable modules See Chapter 2 Installation for complete wiring and installation instructions EE e e 100 240V 50 60 Hz N E Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Quick Start Setup Connect Programming 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
83. character in Column Procedure 16 Press SEL When the cursor located in digital or character press SEL Q01 will Column Press for 5 times Press SEL Py The character Q the cursor locating will change to C Procedure 18 gt D gt Press 2 times Secure online ordering 24 7 3653 from 214 electronics E Bestoe Appendix Keypad Programming 160 Procedure 19 Column Press 1 for 6 times The digital 1 the cursor locating will change to 7 Auto Enter Function Block Edition Procedure 20 Press OK Auto shift to FUNCTION BLOCK and the counter input parameter Column LADDER edition screen Delete the Program Element Procedure Press DEL to delete the element C07 the cursor Press SEL ESC simultaneously The Line 4 displays where the cursor locating and operation state of SG2 Delete the whole Line Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Appendix Keypad Programming 161 Procedure 1 1213 1415 161718 Column Press SEL DEL Simultaneously Line 1 q9047M01 I1I03 Q 0 1 2 L 0 e C07 3CLEAR L n C ESC Cancel ORK Execute 4E SC d Insert a whole line Step Press SEL 0OK at the same time column Step Press SEL T V at the same time I column Present action area
84. content Example Year 2009 SUM M 05 D 01 gt 2009 5 3 M 10 D 00 2009 10 25 SUM WIN SET 2009 5 3 8 00 2009 10 25 5 00 OTHER H 08 Time gt SUE top D 01 WINTER M 10 D 00 2009 5 3 9 00 2009 10 25 9 00 Summer Winter Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY Chapter 3 Program Tools www bb electronics com 6 ANALOG SET ADISGAIN oc P AI GAIN 010 gt GAIN 0 999 default 10 OFFSET 00 OFFSET 00 OFFSET 50 50 default 0 AO2 GAIN 010 IN 010 OFFSET 400 OFFSET 00 A3 A8 Gain Offset Now Press 1 Move downward the Cursor Ta 2 Switch the setting screen from A01 A02 A03 A04 A50 A06 gt A07 A08 Begin to input parameters SEL ten T K SC SEL then YY J 1 GAIN 000 999 2 OFFSET 50 50 E 1 Cancel the Input Data when press SEL 2 Back to Main Menu save edit data V01 A01 A01 GAIN A01 OFFSET VOS A08 A08 GAIN A08 OFFSET 7 PASSWORD setting password x PASSWORD x Now Press 1 Begin to input numeral 2 When the password is ON it will not display 0000 but Save the input data not 0000 or FFFF as the PASSWORD is ON ESC 1 Cancel the Input Data when press SEL 2 Back to Main Menu A Class Password number is set to 0001 9FFF B Class Password number is set to A000 FFFE Password number 0000 or FFFF is disabled Password function Default
85. d 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 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 Contact Coil Symbol 3 Element Type E 5 LAD Version File PEA Operation View Help t Status E Select Model Coil Eeyped Symb w Ladder Us Let Z 1 Find 1 Replace HMI Text V 1 RN Data Register Set T 1 set 4 Display Enable Contact Coil e Both Symbol Secure online ordering 24 7 363 from B B electronics www bb electronics com Chapter 3 P rogram Tools Line Comments 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 and then type the desired comments and press OK X 123456T7894ABC 12345678 P 1 e D 123456789ABC Click amp release 123456789ABCDEF l 123456789ABCDEF al oe eek 123456789ABCDEF al 123456
86. dering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming PWM Output Instruction DC Transistor Output Models Only The transistor output model smart relay includes the capability to provide a PWM Pulse Width Modulation output on terminal Q01 and Q02 The PWM instruction is able to output up to an 8 stage PWM waveform It also provides a PLSY Pulse output output on terminal Q01 whose pulse number and frequency can be changed The table below Mide Tom describes number and mode of PWM P01 and P02 both can work under this mode Each PWM has 8 group preset stages which contents Width and PWM mode Period The 8 group preset values can be constant or other function current value Each PWM has 10 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring PWM SEE Po PWM mode oF resent stages as operating 08 ON O E ser or ON 0 sSse bre ON sees do it ON 0 Se OX o on fo Se OX fo Se CoN o Se Period oF preset sage 1 32767 ms Example Edit Corntnct Cnil 01 01 02 Function Mode n 1 2 DNR Select l1 8 3 Current Value Ba Preset Walue 00010 E E Ol OOO IO Preset Type u e CS Select input pointa high gt low bit l 82 o gt omo ON reis OS rset
87. ditionally the Timer current value will reset to zero when Timer is disabled In the example below timer status bit T01 will be ON immediately when its rung is true and begin its timing sequence Timer status bit TOI will turn OFF when the current time value reaches its preset of 10 seconds This Flash sequence of the Timer status bit T01 will continue as long as its rung remains true Edit Contact Coil Y M T lc Select Coil No Output Type T oi 01 1F AR a Cop p Ti P Flash timer mode 1 Enable J IER Output Time Base 1SEC Current Value Sec Preset Value 0010 sec Preset Type ISCH Direction Set Reset Input Contact T Contact 7 IE enable reset relay enable reset relay Sab T tart ting p present value 0 pou a present value 0 Timing enable relay lime up output terminal 1U1 T1E t preset value The current value of Timer can not be kept on a loss of power to smart Secure online ordering 24 7 3653 from B B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 57 Timer Mode 6 FLASH with Reset Mode 6 Timer is a Flash timer with reset that will time up to a fixed preset value and then change the state of its status bit Additionally the Timer current value will reset to zero when Timer is disabled In the example below the timer reset input is Input 101 Timer status bit TO will be ON immedi
88. e OP OP O22 OP Q3 Q4 Q5 Q6 Q7 Q8 j EN de gt J Ps 12 125V rs o o o Z H H OUTPUT 8 x TR 0 5A T y A CAT A TARTA CA EK CATA TATA vo Va NES aL vo Ya vov vov Q4 05 06 Q7 08 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation Data Link OR Remote I O Link a AL AZ AB Ad S AB h Au A2 A3 M S AB j a A1 A2 A3 A4 S A B p RS485 d RS485 3 RS485 The power supply and the I O supply should share the same power source Only short circuit the first and the last module When I O link the net can connect 8 products in max ID 0 7 When Remote I O is available it only can connect 2 products max Master amp Slave 1A quick blowing fuse circuit breaker or circuit protector Surge absorber 36V DC Surge absorber 400V AC Fuse circuit breaker or circuit protector Inductive load Only short circuit the first product and the last product Comply with standard EIA RS 485 More information about V type communication to see Chapter 7 20 Pointe V type High powered Models Instruction K type Indicator Light There is an indicator light to indicate the status of SG2 K type smart and the below table shows the relationship between the
89. ected with master or had be set free HE Red flash IO connection time out waiting green No We WEE Red on Dup mac id check error Replace node address and More information to see SG2 DNET user manual Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 154 ProfiBus Summarize SG2 PBUS makes SG2 which can t work in ProfiBus DP network to work in ProfiBus DP network At ProfiBus DP side SG2 PBUS mode is a gateway a slave node in network At PLC side SG2 PBUS communicate with SG2 through SG2 COMM Port it is point to point communication equipment SG2 PBUS is together with SG2 as one slave equipment in ProfiBus DP network SG2 PBUS Cell Configuration 2 bit switch terminal resistance selection 24V DC power supply port Power indicate light BUS indicate light Port connection with SG2 8 bit switch slave node ID set 9 hole PROFIBUS DP socket O ODO L3 L3 A Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode Connection with Profibus Net Using 9 hole pin to connect with PROFIBUS DP bus please use the regulated pin and cable Ports assign Ho memwd G mew oo 3H Ierd S veers 5VDC Gupply bus expansion Gp omm DREES 5 mm Baud rate adapt oneself and address set 155 After SG2 PBUS mode powers up it
90. electronics com Chapter 8 Expansion Mode 137 Chapter 8 Expansion Module Summarize Digital Input Output module SG2 8ER A SG2 8ER D SG2 8ET D SG2 8ER 24A Analog Input module SG2 4PT SG2 4AI Analog Output module SG2 2A0 Communication module MBUS DNET PBUS TCP IP SG2 V type H type and K type all can connect expansion module And the maximal expansion team is 3 Digital modes 2 Analog Output modes 2 Analog Input modules each of 4PT and 4AT and 1 Communication module The sequence of these expansion modules connect with SG2 1s digital analog and communication SG2 4AI must be the last one of analog module The digital models have 2 kinds version 1 2 and version 3 0 They can connect with SG2 together There are 3 kinds of connecting of expansion modules as shown below Mainframe digital IO V1 2 V3 0 3 AAI 1 COMM 1 SG2 V3 X IO IO IO digital IO SG2 8ER A SG2 8ER D SG2 8ET D SG2 8ER 24A Digital IO version can be either 1 2 or 3 0 Mainframe digital IO V1 2 V3 0 3 2AO 1 APT 1 S72 V3 x 2A0 IO IO IO 4PT digital IO SG2 SER A SG2 8ER D SG2 8ET D SG2 8ER 24A Either 2AO or APT Secure online ordering 24 7 3653 from B B electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 138 Mainframe digital IO V3 0 3 2A0 2 4PT 1 4AI 1 COMM 1 S02 V3 x b RH i V3 0 Digital IO version is V3 0 The method ofall expans
91. en the current value is 20 Edit Contact Coil n Hu T Counter c Eg Ol IF Function Mode D 1 8 Counter without overtaking and without power down retain current value Fa Ce va E PETIT Da bulk A A ee ee IE JLILILIUTT TLILITLITLI E EE pama Ge Ni eer Eros ll E A eee usp r1 ez EE Current Value Preset Value 000020 Preset Tyne u i Direction Set Reser Input BO LA 000000 i Conract se 01 Contact nz oonozo f m zii IE TUA dq oc v1 RO dq oTi X1 od c1 T di e CT VCECUCTU PUTTU T eee OF ge URE eee iig gels sg zm soc E Under this mode the counter current value will be init value when the smart is power up or switching between RUN and STOP The init value is 0 if the counter configured as counting up else it is preset value Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 62 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 but it won t count when the current value equals 0 if it s configured as down Counter Additionally the current count value is non retentive and will reset to init value on a powering up to the smart relay or switching between RUN and STOP In the example below the counter will continue counting after its preset value of 20 Counter status bit C01 wi
92. etails 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 simulator Control Self motion simulator control Run Stop Quit Mode change selections for both runtime editing and simulation mode Read Write Reading and writing programs to and from a connected SG2 smart relay RTC Set Online function for setup of the Real time clock calendar see dialog below left Analog Set setup analog input AO1 A08 gain and offset see dialog below right Password Set a password for accessing the current program after upload to the smart relay Language Change SG2 smart relay menu language Module System Set Dialog for changing important system setup functions including Module ID Remote I O preferences Expansion I O settings and Retentive memory preferences Keeping for C Counters M Auxiliary Coils and Z keypad input set and the LCD Backlight Link Com Port Select the port communication with SG2 smart relay Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Analog Set Cain l 999 Time Set Week i AZ sl A Hour Minute m 40 Gain 1 999 ser 50 450 lag Offset 50 4 50 Year Month Day g 3 a A 10 ESA 50 450 A 5 Gain 1 999 Offset
93. for 10s after pressed M non Volatile V Volatile x Non Volatile Siren setting when is not available to Expansion UO Points V Yes x No in stop run switching Counter Present Value Keeping V Yes x No Setting the Data Register type U 16bit unsiged S 16bit sign Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Now Press Begin to edit SEL then lt gt Move the cursor for ID SET item and V COMM SET item SEL then PA 1 ID SET 00 99 I O NUMBER 0 3 2 REMOTE I O NGGMoeSeSN 3 BACK LIGHT C KEEP Z SET xv 4 M KEEP I O ALARM Ve gt x 5 V COMM SET 0 3 0 5 6 DATA REG USS ESC 1 Cancel the setting when pressed SEL When DATALINK is selected ID setting range is 0 7 which should be continuous ID 0 default as Master ID 1 7 default as Slave When REMOTE I O is selected the distribution of the remote I O is as follows Mar Se XOI X0C SEI vm SES The high bit of V COMM SET detects the form of RS 485 and the low bit detects the baud rate of RS 485 More detailed to see chapter 4 Relay Logic Programming Data Link Remote IO Instruction 5 RTC SET Year month day Now Press Enter RTC setting or Summer Winter setting Begin to input parameters SEL then e gt 1 year 00 99 month 01 12 day 01 31 SEL then TW 2 week MOST
94. g 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools 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 smart relay 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 below Start screen will be displayed From this screen you can perform the following functions E SG Client File Help 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 2Open to choose the type of file to open Ladder or FBD and choose the desired program file and then click Open Secure online ordering 24 7 365 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Ladder Logic Programming Environment The Ladder Logic Programming Environment includes all the functions for programming and testing the SG2 using the Ladder Logic programming language To begin a new program select File gt New and select the desired model of SG2 and the number of connected expans
95. hen it powering down Mode 3 Counter will count up to a fixed preset value and stop counting at that value or stop counting when its current value is 0 if it s configured as down counter Additionally the current count value is retentive when the smart switches between RUN and STOP if C Keep is active In the example below the counter will stop counting when it reaches the preset value of 20 Counter status bit C01 will be ON when the current value is 20 Edit Contact Coil u ly T Counter c n 01 1F Function Mode 3 0 8 Counter without overtaking and with power down retain current value Pre vale 1 Lur val o le To ifi 1 K NT Cat Hi Mi hue prnl Current Value MOl4 000000 Preset Value 000020 000020 Preset Type N Direction Set Reset Input Contact ln ol Contact I mz This mode is similar to mode 1 but The current counter value will keep on a loss of power when the smart status is RUN The current counter value will keep when the smart switches between RUN and STOP 1f C keep is active Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Counter Mode 4 Continuous Count Retentive Mode 4 Counter operation is similar to Mode 2 except its current count value is retentive The current count value is retentive and will keep its current count after a loss of power to the smart relay Mode 4 Counter
96. ics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 49 Output Instructions Set Output Instruction Latch A 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 101 QO1 007 O 101 OFF ON OFF ON 001 OFF Reset Output Instruction Unlatch Y 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 1s OFF or reset it will remain OFF until it if reset using another output instruction It is not necessary for the preceding input contact controlling the Reset output instruction to remain ON 101 001 008 101 OFF ON OFF Q01 ON OFF Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 50 Pulse Output Instruction Flip Flop P A pulse output instruction or Flip Flop turns ON a coil Q or an auxiliary contact M when the preceding input contact transition from OFF to ON Once the output is ON it will remain ON until the preceding input contact transitio
97. ics com Chapter 4 Relay Ladder Logic Programming 100 Address 0003 Length 1 l data storage DRE0 1234 hex 04D2 91 10 00 03 00 01 CRC16 000z Send L DREO 01 10 00 03 00 01 02 04 D2 CRC16 3 r3 Receive Write register Receive 01 10 00 01 00 02 CRCI16 Address DRO3 0001 Length DRO4 0002 data storage DRE0 1234 hex 04D2 DRE1 5678 hex 162E Send 01 1000 01 00 02 04 04 D2 16 2E r4 o 0003 L DREQ ro o 0003 L DREQ CRC16 Address 0003 Length 10H Send 01 01 00 03 00 10 CRC16 Address DR03 00011 Length DR04 0016 Send 01 01 00 01 00 10 CRC16 Max value in DRO4 is 400 Address 0003 data storage DRE0 65280 hex FF00 Send 01 05 00 03 FF 00 CRC16 Address DRO3 0001 data storage DRE0 65280 hex FF00 Send 01 05 00 01 FF 00 CRC16 Receive 01 01 02 datal data2 CRC16 data storage DREO datal lt lt 8 data2 Receive 01 01 02 datal data2 CRC16 data storage DREO datal lt lt 8 data2 Receive 01 05 00 03 FF 00 CRC16 Receive 01 05 00 01 FF 00 CRC16 Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming iQ Chapter 5 Function Block Diagram Programming FBD Instructions DES Keypad input Z 4 Z01Z04 I oww Lo mu LH po mu e mm swr s pew wom n
98. ics com Chapter 3 Program Tools Press the Button SEL 1 Ixx gt ixx gt gt space gt Ixx only for digital and character position of 1 3 5 column 2 Qxx gt space gt Qxx only for digital and character position of 8 column 3 7 gt Space T all available but the 2 4 6 column of the first line SEL al L l IOCGXoZoQoYoMoNoOoODoOToOCOoORoGOI When the cursor located at 1 3 5 Column 2 00 YOM eNeTocCceoRoGeHsoLeP lt oS5SoAS gt MD o Pl MX SAR SOS DR 3 MU 20 When the cursor located at 8 Column 3J SASVWVoPSo When the cursor located at 7 Column and the 8 Column is set as Q Y M N 4 SP o When the cursor located at 7 Column and the 8 Column is set as T Confirm the input data and move the cursor move the cursor DEL Delete an instruction ESC 1 Cancel the Instruction or action under Edition 2 Back to Main Menu after query the program save program 1 Confirm the data and automatically save the cursor moves to next input position 2 When the cursor is on Column 8 Press the button to automatically enter the function block and set the parameters such as T C Operation Sample more detailed to see appendix A FUNCTION BLOCK program input Into FUNCTION BLOCK cursor flicker on T press SEL key Ladder function block display in sequence 1 5C RGH L P S AS MD PI 5MX ARMU T ro 1 r SU SU 1 rl 1014 01 00 14 Aol V loo 00 Frou 000250 Ko 00 00 bo
99. ims ou 2 Ios EB 115200 115200 bps sis 2 SG2 RS485 port default communication parameter as table show below Data bit Sm EA Frame length maximum 128 bytes SG2 V2 RS485 port communication parameter as table show above The communication parameter setting takes effect after power up again Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 131 Remote IO function Function Description Up to 2 additional SG2 units can be configured as Remote I O nodes and linked to one master smart relay The Master can run its programming but the Slave can t The Master writes its state of expansion output coil Y to Slaver s output coil Q The Slaver writes its state of input coil I to Master s expansion input coil X Input Coils mun Output Coils Q01 Q08 Expansion Input Coils X01 X0C I01 IOC Expansion Output Coils YOI YOC Q01 Q08 Hardware Configuration 1 Link 2 V type SG2 as illustration show below 2 Set left SG2 in the illustration to master 3 Set another SG2 to Slave SGaslave amp B SG master Create a Ladder program as show below in SG2 which is master Example If input coils 102 and 103 in the Slave are on X02 and X03 in master will be on state with the influenceing of 101 and 102 in the Slave Obviously YO1 and YO2 in the master will be the on state Then
100. ion Inputi q Bx block code Inputz Inputs real table output Input 4jg j The relationship between input and real table is shown below Input2 Input4 sias EH Real table Input3 Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming HS Function Block Function Block includes three kinds of function special function adjust controlling function and communication function Function type and number are shown in the table below Function type number special function Analog Comparator adjust controlling function The capability of each block is alterable it depends the type of function There are total of 260 blocks and the total capability of block area 1s 6000 bytes For example the block is Timer mode 7 the block seize is 12 bytes Source table e P ee Timer Counter RTC AS MD PID MX AR DR MU byte comparator LE se aww 29 20 ne 20 no oe e oe oe o source DIDI e mode Timer wiel 1 9 ef lll lll Timer t pao pp Counter 5 1 5 1 l1 Lll Counter ausit ri III Counter wee fe vil l ll lll RTC e 1 5 Jil l4 L Ille RTC au 1 S LI lll mie tts l lll modeO emit ee Pf O E D BEE moe OH LI l T 99 AA AAA PD 1 17 rr y pil MX 1
101. ion modules connecting with SG2 is the same as shown above The number of digital module must be accord with IO number set if there are other modules after digital module But the IO number set can be less than connecting if there is no other expansion module after digital module Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Digital IO module Chapter 8 Expansion Mode 139 The SG2 must set the number of expansion IO when connect expansion module The method of setting IO number is shown below 1 Keypad 2 SG2 Client software Bodule System Set Set ID Remote I 0 Current ID 1 NO C Maste New ID 00 99 i Ce ave Others Y M Keep C Keep Back Light 2 Set v Tes 7 DR Fomat Set Comm Mode 8 12 Unsigned Baud Rate 38400 v C Signed IF Set gt r Watchdog Ze y Ze N C High Speed 0 3ms C Alarm C Low 3peed 3ms C Error Scan Time No C User Defined ls 06 90ms cnc Secure online ordering 24 7 3653 from BB electronics ANUFACTURING COMP WWW bb electronios com Expansion display State Expansion Input state E ON L OFF Expansion module state B Linked e Not Linked L Not Set Installation and Wiring E type of expansion module SG2 8ER D 8ET D AC100 240V 9G2 8ER A 8ER 24A EGz BSER A Dapit x Re By Be FF E 1 power ports ies xix x3 xd
102. ion units 1f applicable as shown below Select Hodel Iype apecifictions 24 WDC 11 16 41 42 JxRelay 85 4 ES ETE ES PUM Output No LES Input 11 12 High Speed Comm Mo LCD Eevpad Yes l Extension Yes Select Type Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Menus Icons and Status Displays The Ladder programming environment includes the following Menus Icons and Status Displays 1 Menu 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 create a new program open a program save a program and print a program Icons for Keypad Ladder view HMI Text edit and Symbol comments edit Icons for Monitor Simulator Simulator Controller Controller Mode changes Run Stop and Quit and Read Write programs from to the SG2 smart relay 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
103. is BB a gt BESS SAN Biase ta a e Coil Contact Capacity 1200 free space Symbol Used 123456789ABC 1234 1234567589ABC Edit Contact 12345678 P 1 jo dY 1234567898ABC p Internal auxiliary relay 123456789ABCDEF l x mH 01 3F 123456789ABCDEF l A SV 123456789ABCDEF mul ps im STR NOT Jj 123456789ABCDEF l 123456789ABCDEF ul 1 123456789ABCDEF l 12345678 O iata GB aha o atl lla la Gl Ea wd dco SSSSsssgs Al seg DWET gen OU Ver Vers x Statuz Stop OFFLINE Model 562 20VT D 1D 01 Note If the ladder toolbar 1s not visible at the bottom of the screen select View gt gt Ladder Toolbar from the menu to enable Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Quick Start Setup b Use the A key on your keyboard or the A icon on the ladder toolbar to draw the horizontal circuit line from the M contact to the right most cell as shown below CS LAD Version DAR Eile Edit Operation View Help BEE 40 4 0558 ARA a Ca1l Contact Capacity 1137free space PC Hode Synbol Used I 123456788ABC 2 1234 123456789ABC 12345678 P 1 123456789ABC 123456789ABCDEF ul ene zd 123456789ABCDEF ul 123456789ABCDEF ul 1234567898ABCDEF l 123456789ABCDEF l 12345678 0 eee do do Ho o o de do Ho
104. is equivalent to Lo Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming NOR Logic Diagram FBD LADDER r 32001 Not 101 or 102 or 103 Note The input terminal is NOP which is equivalent to Lo XOR Logic Diagram FBD LADDER l r 32001 101 102 BOOL 1014 AUR H H 5 102 1024 B002 i01 102 L J Jr 101 XOR 102 Note The input terminal is NOP which is equivalent to Lo SR Logic Diagram FBD LADDER Logic Table o 0 holding mpi no nope Note The input terminal is NOP which is equivalent to Lo NOT Logic Diagram FBD LADDER 101 5001 r 18001 101 SE I01 NOT H O Hagi L J Not I01 Note The input terminal is NOP which is equivalent to Hu 101 102 103 101 NOR 102 5001 I024 HBO Tost J m r 18001 na 2002 1014 s 5 dr i R 5002 102 in un J H 106 Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming IWJ Pulse Logic Diagram FBD LADDER 101 XX Note The input terminal is NOP which is equivalent to Lo BOOLEAN Logic Diagram FBD LADDER Boge HOST 1B002 NO I01 BL EM z 1024 1548 FB001 Boost d Note The input terminal is NOP which is equivalent to Lo Descript
105. ither input terminals 101 or 102 for forward up counting to 1 KHz maximum at 24VDC high speed input signal The selected Counter Coil CO1 C1F 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 counter will reset when the preceding rung 1s inactive The table below Counting interval time 0 99 99 sec Counter on preset Value range 0 999999 Counter off preset Value range 0 999999 UU Counter Coil Number C01 C1F total 31 counters describes each configuration parameter for High Speed Counter Mode 8 000005 000003 Edit Contact Coil E E T Counter C oi 01 1F Function Mode ls el 0 8 1K Hz Input Counter Fed tnesis On743 Off 2 amp 15 TP 2 18 HS TER ir Ute Current Value Preset Value 000005 000003 oft Preset Type N TEES N IE Input Il IZ2 Reset Input Contact mmm o SE IE Fixed Tine N a px gt 01 00 Sec 8 G 015 01s gie ois ols 0 1s D 5 3 5 4 3 4 D 3 o OFF ON OFF Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 69 Real Time Clock RTC Instructions The SG2 smart relay includes a total of 31 separate RTC instructions that can be used RTC SET V3 0 throughout a program Each RTC instruction has a ch
106. kept when the smart powers down In the first rung of this example auxiliary relay NOI is being used as an output coil and will energize when input 103 turns on In the second rung auxiliary relay NOI is being used as an input and when energized will turn on outputs Q04 and Q05 00d O05 O06 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 103 turns on timer TO1 will start When the timer reaches the preset of 5 seconds timer status contact TO turns on When TOI turns on output Q04 will turn on Turning off 103 will reset the Timer OUO OZ Counters and Counter Status 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 or greater than the preset value of a selected counter In this example each time the input contact I04 transitions from off to on the counter C01 increments by one When the counter reaches the preset of 2 counts the counter status contact C01 turns on When C01 turns on output Q05 will turn on When M02 turns on counter C01 will reset If M09 is turned on the counter will change from a count up to a count
107. l C 123456TBBABCDEF al R 123456T89ADCDEF ul 6 123456T89ABCDEF Ld H 1234580TBBABCDEF ual L 12345678 d dr L La a we e e n a AA AE ER Var Ver x x Stata Zte OFFLINE Nedel SOz 20VI D Zo Secure online ordering 24 7 3653 from B HB electronics www bb electronics com Chapter 3 Program Tools 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 B ep in Fie Help Ln Capacity ll gfrae Fp ca High light Togele coil to view news Symbol Status ON 1 123456T894BC simulation 1234 mode X 123456T89ABC c 7 24001 2 TON de e anl p a Expand Anaiug y oimulatio EN Q 12345678 P 1 Y 123456T89ABC M 123456789ABCDEF Active circuits T 123456T898ABCDEF D C 123456T789ABCDEF change color R 123456 T898ABCDEF G 123456T789ABCDEF H 1234586T788ABCDEF M Status Tool 23415678 SABE L 123456T8 BID ID DID Aa D poon oa wanan EU Show Current Establish Communication The following is the simple procedure for establishing communication between PC and the SG2 smart relay a Select Operation Link Com Port as shown below ER LAD Yerzion File Edit IHN View Hel
108. less of the state of its direction bit when the smart switches between RUN and STOP Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 66 Counter Mode 6 Continuous Count Up Down Count Retentive Mode 6 Counter s operation is similar to Mode 4 except its current count value is continuous and retentive The status bit 1s fixed to the non zero preset value regardless of the state of the direction bit Its status bit will be ON when the counter current value isn t less than its preset value and will be OFF when the current value is less than its preset value Additionally the Mode 6 counter is always reset to zero unrelated to the state of its direction bit The current count value is retentive and will keep its current count after a loss of power to the smart relay And Counter will keep current value 1f C Keep 1s active In the example below the counter will continue counting after its preset value of 20 Counter status bit C01 will be ON when the current value isn t less than 20 Edit Contact Coil Counter c o1 01 1F Function Mode e 0 8 With overtaking and with power down Compare Counter Poe vs Z i Cur wal 6 Current Value Moll 000000 Preset Value 000020 oooozo F tu preset Tenech ll Direction Set Reset Input Contact Im o Contact P o2 HA a al o ee decedere ccc f Hode18206
109. ll be ON when the current value is 20 Edit Contact Coil lm ln T Counter c DU L LlF Function Mode la 1 8 Counter With overtaking end without power down retain current value e PE ER GS Esha ES SUL LU CITU UUU a qo BR eer rey hag MH pe E nienn EENE DM ppc m ry EE Current Value yA Freset Value 000020 MO1J 000000 Preset Type w 000020 col Direction Ser Reset Input Contact n oi Contact E oz CE 4 wo amp o gd dr d de amp d E TO E T d B d LUT A Q1 19 191 201 201 211211 20 20 19 191 18 18 9 91191 191 201 0120 input counter pulse OFF ON OFF ON OFF ON OFF O OFF Under this mode Counter will continue counting after reaching preset value if it s configured as counter up But it stops counting when its current value is 0 if it s configured as counter down The counter current value will be init value when the smart s status switches between RUN and STOP or the smart is power up If the counter configured as counting up the init value is 0 else it is preset value Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 63 Counter Mode 3 Fixed Count Retentive Mode 3 Counter operation is similar to Mode 1 except its current count value is retentive when Counter powers down So the current value won t be init value when Counter powers up but be the value w
110. location X01 X0C x01 x0C Oo UO link output terminal LO1 L08 Y01 Y0C y01 y0C Only one Data Link instruction can work at Mode 1 and the other Data Link instructions must be Mode 2 Edit Contact Coil G E I 0 Link L Io 01 08 Function Mode F D 1 2 Send 5 4 I03 I07 LO l 1 WO3 W13 Select 1 8 s From 103 07 To Example 1 Data Link Mode 1 Set 1 2 5 set as the initiate of 103 the state of actual sending terminal 103 107 is sent to memory list the controller ID 1 the state of corresponding memory list position W09 W13 and relationship of sending terminal is as below 1 U 4 5 4103 107 ID 1 U W09 W13 Memory List Position W09 Wio WII WI2 WI3 W14 WI5 Wio Corresponding receiving 4 4 4 A A 4 4 4 Or sending terminal 103 104 IOS 106 I07 0 0 0 Example 2 Data Link Mode 2 Set 2 5 set as start from M03 set as from W17 when enabling the Data Link the state ON OFF of M03 M07 is controlled by the state of memory list position W17 W21 1 U 5 U 2 MO34MOT W17 W21 Memory List Position W17 W18 W19 W20 W21 Corresponding receiving v Y Y Y Y Or sending terminal M03 M04 MOS M06 M07 Secure online ordering 24 7 363 from BH B electronic ANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 87 Remote I O Up to 2 additional SG2 units can be configured as Remote I O nodes and linked to one master s
111. lock number 41 connect with next input terminal Function block Dinp Logic type Logic function block source gt f bok Namib Total book 20 600 m TT AND EDGE 33 In nao J o f eo maoe 31 8 NOR dl m E A BECH XR 1 6 Rs pot j 6 PLUSE BOOLEAN AND Logic Diagram FBD LADDER r 38001 1014 AND POOL I01 102 I03 I02 bon gt JE Ta3t 1 I01 And 102 And 103 Note The input terminal is NOP which is equivalent to Hu AND EDGE Logic Diagram FBD LADDER _ r 1B I014 AND 101 102 Boog 102 TL ong gt L be K D I034 1 101 And 102 And 103 And D Note The input terminal is NOP which is equivalent to Hu 104 Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming INS NAND Logic Diagram FBD LADDER I r 18001 101 1014 NAND t Boo 1024 B002 EN 02 103 J Y H i03 i Not 101 And 102 And 103 Note The input terminal is NOP which is equivalent to Hu NAND EDGE Logic Diagram FBD LADDER r 15001 101 1014 NAND D _ Io Bool 104 4L on SE 1034 J DE y Not 101 And 102 And 103 And D Note The input terminal is NOP which is equivalent to Hu OR Logic Diagram FBD LADDER r 18001 101 101 OR FP Ide Bool ee leide I02 Ka 4H 101 or 102 or 103 Note The input terminal is NOP which
112. maa o rh ew lololo pede tie oe E CS A DED transistor CC deg NEM KA mero To W 8 ww 4 e elei zxr o U0 8 rw fol eo l OEM Mdh Models No Keypad No Display No Expansion cra o lels relay lo moro o s ray a o e xci o ill 4 o olo mom o lies lo lol veo e gt y e 9 o 6 lo raven lo ill 4 o o o o o 20 VR DD O P 8 ra 4 ollo o jol o 8RA o 4 4 relay J 8RD O 4 4 ea STD o 4 4ymmir 8ERR24A el 4 4 relay J AL je je Jaf aT dol Litt 4 Y 200 JO Jj 2j sdg 1l l o exist There are analog input points in Secure online ordering 24 7 3653 from BH ff electronics UFACTURING COMP MONDD electronics com Power Specifications Normal model machine Specifications Chapter 6 Hardware Specification content SG2 10HR A SG2 20HR A SG2 20HR D SG2 12HR D SG2 10KR A SG2 20KR A SG2 20KR D SG2 12KR D SG2 10CR A SG2 20HT D SG2 12CR D SG2 20KT D SG2 12HT D SG2 12KT D SG2 12CT D operation AC 100 240V AC 100 240V DC 24V DC 24V Frequency 50 60 Hz 50 60 Hz ll Frequency 47 63Hz 47 63Hz A A instantaneous 10 ms half cycle Power range 10ms 10times IEC61131 2 10 m
113. mart relay ID SET REMOTE 1 0 BACKLIGHT Set to slaver Set to master M KEEF ID SET SG2 20VT D REMOTE 1 0 Remote I O disable REMOTE 1 0 BACKLIGHT BACKLIGHT M KEEP M KEEP 562 20VT D Set to master User p EU valid User program not valid X slave input Y slave output Input X coil of master Output Y coil of master Set to slave Don t use expansion DI DO modules when remote 1 O function is enabled Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 88 SHIFT shift output The SG2 smart relay includes only one SHIFT instruction that can be used throughout a program This function output a serial of pulse on selection points depending on SHIFT input pulse It has 4 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring SHIFT Symbol Preset number of output pulse 1 8 SHIFT input coil I01 g1F SHIFT output coils Q Y M N Dod SHIFT code S01 In the example below 5 101 Q03 Q07 Edit Contact Coil PI mx lag R Select Coil No s 01 Function Pulse Coil HN o Select 1 8 s Start Coil fo os QU Q03 is ON and from Q04 TO Q07 are OFF when ENABLE is active Q04 turns ON when I01 s rising edge coming on and others points turn O
114. mer status bit will enable the first timer Additionally the Timer current value will reset to zero when Timer is disabled In the example below timer status TO1 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 TO2 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 1s necessary to count the number of time cycles completed The two Timers used in Timer Mode 7 cannot be reused as Timers for other modes in the same program Edit Contact Coil ly lm x T lc Select Coil No Output Type T oi 01 1F 3 zi C 1 fe P Function Mode r 0 6 7 P Flash timer mode 3 TTx Tx lof n lefu Ww TOL TOZ Time Base 0 15EC lo 1sEc sl Current Value Sec Sec I Pam Preset Value 002 5 Sec 001 0 sec ON Preset Type N et D Direction Set Reset Input Contact Contact lr pz enable reset relay enable reset relay present value 0 ain Timer status operating EC present value timing enable relay Timer up 101 T1E output terminal Timer z IN ee EE tl preset value of the first timer t2 preset valueot the second timer The current value of Timer can not be kept on a loss of power to smart Secure online ordering
115. n then back to main menu DATA REGISTER SEL ASO1 V1 00000 V2 00000 1 0001 V2 DRO1 EN V3 00000 V4 00000 Les K Ensure the edit Enter edit edit DR display number or DR preset value SEL then SEL Edit DR preset value type SEL then T l Edit DR display number only first line 2 Edit DR preset value 1 Cancel edit 2 Back to main menu save DR preset data SEL 1 4 Tip up down page Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Other Menu Items Chapter 3 Program Tools 40 1 CLEAR PROGRAM Clear RAM EEPROM and Password at the same time CLEAR PROG TES ANO 2 WRITE save the program RAM to PMOS 3rd program spare cartridge 3 READ read the program from the PM05 or PMOS 3rd program spare cartridge to SG2 RAM WERIT Ties 2NO 1 3 Now Press VON Qo VOS r W OK Execute the instruction 4 SET system setting DS REMOTE 1 0 BACKLIGHT MN KEEP 1 0 NUMBER T O ALARM C KEEP amp DEl V COMM SET DATA REG oer eat 01 gt gt V COMM SET 03 gt DATA REG gt M KEEP function is available for keeping M status and current value of TOE TOF when power is re supplied after loss ID setting 00 99 Remote I O Mode N none M Master S Slave Back light mode N always light x light
116. n dialog below example 1 allows for selection of the number of days per week 1 e Mon Fri and the Day and Time for the Rxx coil to activate ON and the Day and Time for the Rxx coil to deactivate OFF Example 1 Edit Contact Coil ly T lc Real time clock 01 1F Function Every day action mode Week 0n 0 mo m sl Current Value Preset Value 08 foo n IK op oft hour minure Week Monday Tuesday Wednesday Fnday vaturday Sunday Time eco 1700 800 17 00 s00 1700 eon 1700 ENABLE Enn Output Example 2 Monday Tuesday Wednesday ses Fnday salda sunday S00 17 00 SD0 1200 s00 17 00 S00 17 00 38 00 Week Monday Tuesday Wednesday Friday meng Sunday Time O00 17 00 00 1700 00 17 00 S00 17 00 8 00 1700 00 17 00 ENABLE rt NEN DEDI 7700 1 Lo Kl oL LP En Output Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 71 Example 4 Monday Tuesday Friday SO Sunday all 17 00 00 17 00 S00 17 00 amp 0 1700 8 00 17 00 Week Monday Tuesday e Friday geng Sunday Time S00 17 00 00 17 00 S00 17 00 800 17 00 00 17 00 ENABLE Week Monday Tuesday I Friday SD Sunday Time S00 17 00 00 17 00 S00 17 00 00 17 00 00 17 00 maus 1 1 1 1 3 En Output o
117. n display State Expansion Input state Expansion B ON mE Output state L OFF i M ON OFF Expansion module state B Linked e Not Linked L Not Set Expansion module setting refer to Main Menu SET Other Display State Ladder edit mode Coil I Z X Q Y M N T C R G D Analog input A01 A04 Expansion Analog input A05 A08 temperature analog input ATO1 AT04 analog output AQ01 AQO04 FBD edit mode Coil I Z X Q Y M N Analog input A01 A04 Expansion Analog input A05 A08 temperature analog input ATO1 AT04 analog output AQ01 AQ04 Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Analog input A01 A04 0 9 99V Expansion Analog input A05 A08 Eee Analog 5 01 00 00V A05 00 00V 02 00 00V A06 00 00V A05 00 00V A07 00 00V nalog 6 o H 04 00 00V A08 00 00V mis AU Analog 7 Expansion Analog input A05 A08 Lum 0 9 99 voltage or 0 20mA current Analog SS SG2 client software can display EJ voltage and current value LCD Display Main Menu 1 The Main Menu as SG2 under STOP Mode Into ladder main function to press ESC after power on when the user program is ladder type or empty program Into FBD main function to press ESC after power on when the user program is FBD type or empty program FUN BLOCK PARAMETER FUN BLOCK Ladder f
118. nd All inputs and All inputs and All inputs and relays are ON relays are ON relays are ON relays are ON 270mA 250mA 290mA 260mA All inputs and All inputs and All inputs and All inputs and Relays are OFF Relays are OFF Relays are OFF Relays are OFF 160mA 160mA 200mA 200mA IPA Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com e Chapter 6 Hardware Specification Power circuitry diagram 1 AC 10 20 points AC100 240V Varistor Vccl to Relay Back Circuit Vec2 to System 2 DC12V DC 24V DC 12 24V aad Switch O Circuit Vccl to Relay Varistor Vec2 to System 3 Mainframe expansion and communication power in power in S2 V3 x noumenon ll S02 V3 x expansion Buck expansion Circuit 2 c LA c i c photo couplers PC LINK amp PMOS l2 Secure online ordering 24 7 3653 from BH ff electronics NUFACTURING COMP www bb electronics com Chapter 6 Hardware Specification 123 Input Specifications 100 240V AC model Diode Resisrot 12 digital input Signal current AC 110V AC 220V AC 110V AC 220V input 0 66 mA 1 3 mA 0 55mA 1 2 mA ON current AC 79 V 0 A1mA AC 79 V 0 4mA po O s curent lt AC 40 V 0 28 mA lt AC 40 V 0 15mA po eegeg eege wire length wire length lt lt 100m 100 m lt 100m response time A On gt Off of input Off gt
119. not support runtime logic editing changes All logic edits to contacts coils Timers Counters and circuit connecting lines must be written to the connected smart relay while in Stop mode Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com HMUTEXT Chapter 3 Program Tools This function block can display information on 16x4 LCD screen Information displaying can be present value or target value of Counter Timer RTC and Analog comparator etc Under running mode to modify the target value of timer counter and analog comparator via HMI is available HMI can display the status of input terminal I Z X and Auxiliary terminal M N only FBD T LAD Version File EMM Operation View Help B Select Model Keypad v Ladder Find Replace mos Hoe HoT Display Analog Display Set D Mulri Language Chinese fixed C Chineme rdir Texr Input ugue JA 0123455TEU0 4 2 FR ABC DEFGHITELANOPORSTUVEXTYZ X B abcdefe ew a E A E a of a E a LL S hiijiklmnaparstuvwxyzt l amp a332525 555111 A E E AN AA LSS VA IET Q li symbol Data Register Set Tri ag set HMI TEXT setting Love FO ao byt tTlwhAA Goe e uURAARE e m aaa a a a le Coil Contact HOL Capacity 1178 free space Symbol A TOL Used 001 1 123456789ABC 1 2 ER E 2 1234 002 XY 123456T89ABC K Q 12345678
120. ns from OFF to ON a second time In the example below when Pushbutton I03 is pressed and released Motor Q04 will turn on and remain on When Pushbutton 103 is pressed again Motor Q04 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 103 103 nus LOD 103 OFF ON OFF ON OFF ON OFF i03 oo ON OFF ON OFF Analog memory type To nat bes umi Analog input parameter 8 01 V08 mmm iq Temperature input Analog output Add Subtract control PID contrl Garam 15 MX01 MXOF 15 ARO1 AROF Data Register DR 240 DRO1 DRFO MODBUS 15 MU01 MUOEF Analog value A01 A08 V01 V08 ATO1 AT04 AQ01 AQO04 and current value of functions T01 T1F CO1 CIF AS01 AS1F MDO1 MDI1F PIOI PIOF MX01 MXOF ARO1 AROF and DROI DRFO can be used as other function s preset value And the parameter preset value is its limit value when the current value of those functions 1s Data Multiplexer control Analog Ramp control EE Multiply Divide control PID EE bigger or less than parameter s limit value Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 51 Timer Instruction The SG2 includes a total of 31 separate Timers that can be used throughout a program TOE and TOF keep their current value after a loss of power to the smart rel
121. nt level to be changed by step from starting level to target level at a specified rate There are 12 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for AR current value 0 32767 Levell1 10000 20000 configuring AR Level2 10000 20000 MaxL max level 10000 20000 start stop level StSp 0 20000 AR code AROI AROF AR current value AR current level B A EM o o EN o LH Per DU o o H H 0 The parameters from to can be constant or other function current value The table below describes detail information of each parameter of AR Sel Selection level Sel 0 target level Levell Sel 1 target level Level2 MaxL is used as target level if the selected level is bigger than MaxL Selection stop coil The St s state becomes from 0 to 1 will startup the current level decrease to start stop level StSp excursion B and then keep this level for 100ms Then AR current level is set to B which will make AR current value equals 0 The output coil turns ON when A is 0 The output coil can be M N or NOP The output coil is set when the wrong thing happens but it will do nothing if the output coil is NOP And the current value is no meaning at this time AR will keep the current level at StSp Offset B for 100ms when it s enabled Then the current level runs from StSp Offset B to ta
122. ntegers There are 7 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring MX D V parameter 32768 32767 V2 parameter 32768 32767 V3 parameter 32768 32767 O d V4 parameter 32768 32767 o Selection bit 1 S1 D Selection bit 2 S2 Do MX code MX01 MXOF The parameters from to can be constant or other function current value The table below describes the relationship between parameter and MX current value enable S1 0 S2 0 MX VI S1 0 S2 1 MX V2 SI 1 S2 0 MX V3 SI LS2 1 MX V4 The example below shows how to configure MX function Edit Contact Coil las m Select Coil No mx lol D 01 0F Function Current value Data multiplexer utput value selected by 31 and 32 Preset Valuel mg esis Preset Value aT l m D Preset Valued AQ lo j Preset Valued DR jon 31 S2 Contact 1 D o Contact m oi 16513 1014 ATOL an pes fon DROL Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 94 AR Analog Ramp The SG2 smart relay includes a total of 15 AR instructions that can be used throughout a program The AR function enables simple operations to be carried out on integers Analog Ramp instruction allows AR curre
123. oice of 5 operation modes and has 10 2009 06 36 parameters for proper configuration The initial clock calendar setting for each connected SG2 Fri 10 11 is set using the Operation RTC Set menu selection from the SG2 Client software Symbol Description Input the first week to RTC Input the second week to RTC RTC mode 0 2 0 internal coil 1 daily 2 consecutive days RTC displays the hour of present time RTC displays the minute of present time Set RTC hour ON Set RTC Minute ON set RTC Hour OFF Set RTC Minute OFF RTC Coil Number RO1 RIF Total 31 RTC O O LEO EC EDO EC EC EC RTC Mode 0 Internal Coil Mode 0 RTC Internal Coil used as internal auxiliary coils No preset value In the example below shows the relationship among the numbered block diagram for a Mode 0 RTC the ladder diagram view and the software Edit Contact Coil dialog box Edit Contact Coil m ly T lc Real tine clock R fol ei O1 LF Function Mode Y 0 4 Internal Coil Week On gt 0 5 Current Value Preset Value 00 loo on foo foo ore hour minute Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 70 RTC Mode 1 Daily The Daily Mode 1 allows the Rxx coil to active based on a fixed time across a defined set of days per week The configuratio
124. onics com Chapter 8 Expansion Mode Deg DeviceNet COMM Module Summarize SG2 DNET makes SG2 which doesn t have the ability of DeviceNet to work in DeviceNet network At DeviceNet side SG2 DNET is a GROUP 2 ONLY equipment slave equipment in this network At PLC side SG2 DNET communicate with SG2 through SG2 COMM Port it is point to point communication equipment SG2 DNET is together with SG2 as one slave equipment in DeviceNet network SG2 DNET Cell Configuration n 24V DC power supply port Network state LED light NS Mode state LED light MS 5 pin DeviceNet port Button Linker Port connection with SG2 SWI 8 bit switch set network s ID and baud rate SW2 2 bit switch network terminal resistance selection O O CO CO CO CF CO AO AO A Flexed installation feet Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 8 Expansion Mode 2 Connect with DeviceNet network Using 5 pin network tie in connect SG2 DNET to DeviceNet bus Please use network tie in and cable ordained by ODVA The style of cable decides the maximal length of cable and baud rate of communication at more degree Ports assign AN L Shield CAN H Li V 24V L n E hn EA E 1 GND black 2 CAN L blue 3 Shield no color 4 CAN H white 5 24V red Address and COMM Baud rate set In equipment network each slave node needs a difference MA
125. p Monitor Simulator simulator Control Link Com Fort selecting COM Ze COM 1 PORT Pause Ctrl U COM 2 FORT uit Ctrlt COM 3 PORT Read C COM 4 PORT Eun Ctrl Stop tle Power trite Mode LIE Set Analog Set Password Cc Search ID Language Module System Set Ce Single Link Com Port b Select the correct Com Port number where the programming cable is connected to the computer then press the Link button c The SG2 Client software will then begin to detect the connected smart relay to complete 1ts connection Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools Writing Program to smart relay From the Operation menu select the Write function and write the program to the connected smart relay as shown below or press Write button to write program to connected smart relay as shown below File Edit View Help E E E Monitor Simulator Simulator Control Run Ctrlth Used v Stop CtrltT echt Powe Pause LtrltU Z 1234 Quit Ctrl g X 12345 Read Q 125454 RIC Set inalog Set Y 125458 F assword E W i2345 CT Module System Set T 12345t Link Com Port EE Capacity space fei ite r The Operation menu includes several system configuration functions for both online and offline setup The following Operation menu explains the d
126. pan of your SG2 Please carefully choose an installation site that meets the following requirements Mount the unit vertically Environment temperature 4 F 131 F 20 C 55 C Avoid placing SG2 close to any heating equipment Avoid dripping water condensation or humid environment Avoid direct sunlight Avoid oil grease and gas Avoid contact with corrosive gases and liquids Prevent foreign dust flecks or metal scraps from contacting the SG2 smart relay Avoid electric magnetic interference soldering or power machinery Avoid excessive vibration if vibration cannot be avoided an anti rattle mounting device should be installed to reduce vibration Disclaim of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described Since variance cannot be precluded entirely we cannot guarantee full consistency However the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions SG2 Model Identification 502 ES Input Power D 24V DC Powered 12D 12V DC Powered A 100 240V AC Powered 24A 24V AC Powered Controller Type I O Count 8 8 points expansion modules 10 10 I O points 12 12 1 0 points 20 20 I O points Output Type R Relay Form Factor T Transistor H Encased LCD amp Keypad V Encased LCD Keypad amp RS 485 Communication K En
127. pares the value of analog input A01 to a constant value N of 2 50 Status coil G01 turns ON when AOI is not less than constant 2 50 Edit Contact Coil T c IR A nalog comparator G oi Ol lF Function Mode la D 0 7 Ax lt Ref Ax Ay la oi 2 Current Value Sec Sec Preset Value 02 50 Ref Preset Type ln Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 78 Example 2 Timer Counter present value Compare The Comparator instruction can be used to compare Timer Counter or other function values to a constant value or each other In this example below Mode 5 is the selected function that compares the value of Counter C01 with the value of Timer T01 Status coil GOI turns ON if present value of CO1 isn t less than present value of TOI Edit Contact Coil Ti s R Analog comparator oi 01 1F r Function Mode s l 0 7 Ax gt Ref el RE Current Value e See Preset Value 00 0 Preset Type o1 Secure online ordering 24 7 3653 from BH B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 79 HMI Display Instructions The SG2 smart relay includes a total of 31 HMI instructions that can be used throughout a program Each HMI instruction can be configured to
128. peration gt gt module system set menu selection from the SG2 Client software There are 2 parameters for proper configuration The table below describes each configuration parameter and lists each compatible memory type for configuring DR Preset value DR SET 0 0 65535 2 mE DR SET 1 32768 32767 O LU DE cade pooo The parameter can be a constant or other function current value The example below shows how to configure DR function Edit Contact Coil mo jr e a Select Coil No DR o 01 FO Function Preset Value Preset Type Sl oi DRO1 STOP RUN DRO1 C01 current value DROI Col DROL 00003 DROZ 00000 DROZ 00000 DROS ODODO DROS OOO00 DROd 00000 DROd ODODO Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 97 The data registers from DR65 to DRFO will be kept when the smart powers down The last 40 DR that from DRC9 to DRFO are special data register as shown below The content of DRC9 is PLSY S total number of pulse and DRDO DRD3 are output mode registers of AQ01 AQO04 and DRCA DRCF DRD4 DRFO are reserved DRC9 PLSY total number AQO I output mode register Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 98 MU MODBUS only V type model MODBUS function carrie
129. play Parameter display Program display BOOL Enable Input RTC Parameter gt SU 08 20 20 Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 5 FBD Block Diagram Programming GE Analog Comparator Function Block 1 Analog Comparison Mode 0 Internal coil FBD display Parameter display Program display BOOL L Enable Input gt mode analog l 2 Analog Comparison Mode 1 FBD display Parameter display Program display B l Enable Input HOLT 780111 BOO Analog Input y Axz B002 V Analog Input gt az aol Ay B003 V ay mane Reference Part Ay R 4 c ROO04 V Cur Valuel 0 00 Cur WValuez 0 00 Bet Value 0 00 3 Analog Comparison Mode 2 FBD display Parameter display Program display BOOL Enable Input EOGI Analog Input Az B002 Y mode z Analog Input gt Ay B003 V A Reference gt G B O4d V Cur Valuel 0 00 Cur UValuecz 0 00 Bet Value oO _O0 4 Analog Comparison Mode 3 FBD display Parameter display Program display BOOL Enable Input BOO Analog Input Az B002 Y mode 2 Analog Input Ay B003 V a Reference gt G B004 Y Cur Valuel 0 00 Cur Valuez 0 00 Ref Value 0 0060 5 Analog Comparison Mode 4 FBD display Parameter display Program display BOOL Enable Input gt WOlT 1B001 BOO G l Ref Ax B002 V Analog Input gt 24 aol mode 4 Reference Part J
130. r unsigned or sign it can be set as shown below Selecting Unsigned the range of DR is 0 65535 and selecting Signed the range of DR is 32768 32767 FE LAD Verzion File Edit DIAS simulator Coil Cont symbol Eun Used v Stop p 123d58 E Z2 1234 Bait X 1253454 Q 125458 RIC Set Analog Set Y 125451 a M1254 5 nnE g Module Sys T 1253456 Link Com P View Help simulator Control Bodule System Set Ctrl4R Set ID Remote I O e Dd Current ID 1 E Master New ID 00 99 1 Ltriti C Slave Ctrlt Set Expand 1 0 Others Iw M Keep I O Num o C Keep o Back Light I O Alarm GC Z Set V Type tem Set ort Comm Mode 5 872 Baud Rate 38400 v Unsigned Signed After the operating above the Data Register editing environment can be access through the menu using the Edit gt gt Data Register Set selection shown below The preset value of DR can be set as either a constant or a code of other data type FE LAD Yersion Operation View Select Model Keypad Coil Svmb Y Ladder Dx mel Clear L ie l Find X 1 Replace HMI Text Ql Symbol lata Register Set Help DR is set as signed shown below Data Register 5et 12545 01 0000 OOOO gaga 0000 OOOO 0000 0000 agb 78 OOOO OOOO OOOO OOOO 00000 0000 OOOO o0000 3z768 32767 01 04 3a7568 32767 3Z7568
131. rget level at enactment Rate If St is set the current level decreases from current level to level StSp B at enactment Rate Then AR holds the level StSp Offset B for 100ms After 100ms AR current level is set to offset B which makes AR current value equals 0 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 95 Timing diagram for AR Lewel Levell 3tSp B E 100ms leg 100ms The example below shows how to configure AR function Edit Contact Coil m PI vx AR lor Select Coil Ho Error Coil AR mE 01 0F NOP Function Current value l AR Level Offtset Gain Levell 10000 lt 00001 Lewelz 10000 200001 MaxL 1000020000 stp 0 20000 pacta 110000 0 10 00 Wei EEEEE Apal Gain Offset Sel at Contact u l o ALL 10000 10000 4 Contact M a Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 96 DR Data register The SG2 smart relay includes a total of 240 DR instructions that can be used throughout a program The DR function 1s transferring data DR is a temp register DR sends data from prevention registers to current register when it s enabled The data can be sign or unsigned by setting DR SET bit through o
132. rtridge sold separately Ts 33 ODEPA B iori RR E E Soe caie eee sae nes saree sae as sae ee EEE 34 o NENNEN Tuc 34 Ba TMV te CB D EE 34 Secure online ordering 24 7 3653 from B HB electronics www bb electronics com AK A72X02 3 Common Memory MV SRRRRRRRRRRRERRRERRREEEEEEEEEEEEEEEEEEEEEEEEMEEEEEEMM 45 Specialty Memory Ty DOS ege 48 Rhett 49 PAA mie HOD Di iii 50 TIME EIC EE 5 Sis AA A 59 Real Time Clock RTC InsbPilellOllS id 69 TEE He HMI Display Instructtons nana anna 79 PWM Output Instruction DC Transistor Output Models Ont 82 Data Link Remote I O Instruction SG2 20Vxxx model only 85 SI ERR rins O PP A RE SI UP E nn ee ee 88 OA ne 89 e ASA 90 MA NOU EEDAN Ses 9 PID4Propotrtion Integral Daler ema tia a ad 92 MX Mulopnlexer nn nn nn nn n RR nn n nn nana R nr nn nn nn nn rra nana nnnnnnnns 93 A A teatesasdeatosaeteanosargees 94 DR DATOS NN tdetaas 96 MUIMODEB ES toni V type Mode src tarea 98 PWM function block only transistor output vergionl nn 102 Das eege 103 SEDES TUBIO NOBCDIODE PMA OE EE E E AAEE 103 Lope BOCKE TENCON m Omen 104 ANDES AAA RN EE ETE 104 AND EDGE Logo Diada ostia dee 104 NAND KOSEC D T sobe 105 NANDTEDGE WE 1 Dido tini ia iia 105 OR Logic Diagram nono ono non nono nono nono nora nn n nro anna nn nn n nen non nro n nn nn n nn neon non nn nn nn nn nn nn nn nn nn n nn nn nn nn nn nnnnos 105 NOR Losie BE EE 106 ROR TO Kee 106 AIN AAA E A 106 WIRE ostia cobol 106
133. s Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation Mounting DIN rail Mounting The SG2 smart relay 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 the rails in place Then connect the expansion module and CONNECTOR with the Master press the PRESS BUTTON simultaneously A PU B PU fr Ly la j LJ MD f i ru gt SL NJ N 7 4 oh Si pi ld ma en o EL SS d E CONNECTOR Y A h N A x xr LM MW l2 18 4 I5 16 Al A2 Input E A als 7 OA OOOQOQOQOQOOS IN GE i PRESS BUTTON Il L N AC 100 240V DC24V Input 8x DC A1 A2 0 10V Ad A LY NL P di hn P ey uU SS Pa E d T il A Run J m Sa SG2 8ER A L Output 4 x Relay 8A N ji Yt Y2 J b x f 3 99 Oc 8966600 END O O DA y O s Y QOO w s YAS OC y ILU Qi Q2 Q3 Q4 ya Y4 Ga E Y LE a e Ga
134. s disabled In the example below the Timer will stop timing when it reaches its preset value of 5 seconds Timer status bit TO1 will be ON when the current value is 5 The timer reset input is input 101 The timer current value will reset to 0 and Timer status bit TO1 will turn off when I01 is ON Edit Contact Coil Y n N Select Coil No ol 01 1F Function Mode a 0 6 7 P On delay timer mode z Enable el cl A FY Reset pal Output j Time Base 1SEC Current Value sec Preset Value 0005 Sec Preset Type N LJ Direction Set Reset Input Contact S Contact Low present value 0 ON timing enable relay eeh Ba x p enable reset E 4 E REN um E 4 enable reset relay present value time up 5 t 11 2 ON OFF output NS T1F 3 OFF ON OFF enable reset relay t Timer preset value TOE and TOF keep their current value after a loss of power to the smart relay if M Keep is active but the others reset to 0 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Timer Mode 3 OFF Delay Chapter 4 Relay Ladder Logic Programming 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 Timer current value will reset to zero when Timer is disabled In the example below the timer re
135. s half cycle Ims lOtimes 20 times IEC61131 2 IEC61131 2 power down 420 times Edw Mw None None None Consume 7 5 W 12 5 W 5 W 4 5W power 120 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 6 Hardware Specification 12V DC model Specifications SG2 12HR 12D SG2 20HR 12D Voltage Rating DC 12 V DC 12 V operation Power DC 10 4 14 4 V DC 10 4 14 4 V range instantaneous 10 ms 10 times IEC 61131 2 1 ms 10 times IEC 61131 2 power down time allowable fuse Need connect a fuse or breaker of Need connect a fuse or breaker of Current 1A current 1A None 7 Current DC 12V DC 14 4V a 12V DC 14 4V average All inputs and All inputs and All inputs and All inputs and relays are ON relays are ON relays are ON relays are ON 195mA 195mA 265mA 265mA All inputs and All inputs and All inputs and All inputs and Relays are OFF Relays are OFF Relays are OFF Relays are OFF 160mA 160mA 200mA 200mA 25W 24V AC model Specifications content SG2 12HR 24A SG2 20HR 24A SG2 12KR 24A SG2 20KR 24A Voltage Rating AC 24V AC 24V operation Power 20 4 28 8V AC 20 4 28 8V AC range instantaneous 10 ms half cycle 20 times 10 ms half cycle 20 times power down time allowable fuse Need connect a fuse or breaker of Need connect a fuse or breaker of Current 1A current 1A on Current average AC 24V AC 28 8V EM E I EUN 24V AC 28 8V All inputs a
136. s is constant range 0000 ffff length must be 1 word 2 DR code get address and length from this DR and the next DR code store sending receiving data from this DR B MODBUS code MU01 MUOF Secure online ordering 24 7 3653 from BH electronic ANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 99 The example below shows how to configure DR function Edit Contact Coil select Coil Mo mu o1 01 0F Function Mode 1 e Read register Remote ID oy 0 FF Comm add Ze 0003 C DR 0 FFFF Comm data HUOl Examples 1 rl Address 1s constant 0003 Receive Read 01 Length 1 01 03 02 datal data2 CRC16 register 0003 Send 01 03 00 03 00 01 CRC16 data storage L DREO datal lt lt 8 data2 DREO rl Address is DR03 0001 Receive 01 03 04 data1 data2 o1 Length is DR04 0002 data3 data4 CRC16 DROS Send 01 03 00 01 00 02 CRC16 data storage L DRED DREO datal lt lt 8 data2 DREI data3 data4 2 r2 Address 1s constant 0003 Receive Write 01 Length 1 01 06 00 03 04 D2 CRCI6 single 0003 data storage DRE0 1234 hex 04D2 register L open Send 01 06 00 03 04 D2 CRC16 Address DRO3 0001 Receive data storage DREO 1234 hex 04D2 01 06 00 01 04 D2 CRC16 Send 01 06 00 01 04 D2 CRC16 Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electron
137. s out Modbus RTU master communication at RS485 port ID SET There are 15 MODBUS functions MUOI MUOF Remote IO and Date Link are REMOTE 1 0 precedence than MODBUS MODBUS is executed when the system setting is N No BACELIGHT Remote IO and ID isn t 0 M KEEP MODBUS comes into possession of communication port release the port when disable and one MODBUS period is completed There can be a number of communication orders in one program but only one order can come into possession of communication port at the same time And the others keep their enable state for executing function Function mode corresponding communication function code mode Communication function code 03 read registers 06 write single register 10 write some registers 01 read coils 05 write single coil The coil used in MODBUS function Received M3D M3D is set to ON after received then check up for error Transferring data to target address if there is no error Erorr 05 Time out flag M3F M3F is set to 1 when the time from after sending to start receiving is longer than setting and M3D also be set to 1 M3F is automatically reset if M3D reset The time out time is depending communication baud rate as shown in the table below LA 8200 There are 5 parameters in MODBUS function as shown below NA MODBUS mode 1 5 MN Communication address slave ID range 0 127 Communication content address and data length 1 addres
138. set Value 000002 ODODOZ col Preset Type M DR Direction Set Reset Input Contact n os Contact n E o2 Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 60 Counter Mode 0 Internal coil Mode 0 Counter Internal Coil used as internal auxiliary coils No counter preset value In the example below shows the relationship among the numbered block diagram for a mode 0 counter the ladder diagram view and the software Edit Contact Coil dialog box Edit Contact Coil Internal Coil Enable _ Output i a Current Value col Preset Value Preset Type E Direction Set Reset Input Contact DS a po Contact DS E 101 OFF ON OFF Gs OFF COl OFF SUN ON OFF OFF Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 61 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 or count down to 0 and stop counting when the current count is equal to 0 Additionally the current count value is non retentive and will reset to init value on a powering up to the smart relay In the example below the counter will stop counting when it reaches the preset value of 20 Counter status bit C01 will be ON wh
139. set input is Input 101 Timer status bit TO1 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 TO1 will turn OFF when the current time value reaches its preset value of 10 seconds enable reset relay present value Timing enable relay OFF Edit Contact Coil Q Y nu Select Coil No N T c Output Type Er T 01 sec P Ol lF Function Mode 3 0 6 7 Fj Off delay timer mode 1 Enable j dos a e Output i Time Base 1SEC Current vale Sec Preset Value 0010 Sec Preset Type N eat Direction Set Reset Input Contact mm Contact Low ell enable reset relay Dre Timer start operating present value 0 ON OFF meme 9 OW Mor ob omo output terminal 3 enable reset relay OFF Timing enable relay OFF Timing TQ 01 T1F output terminal S 3 enable reset relay OFF OFF ON t preset value OFF ON t preset value TOE and TOF keep their current value after a loss of power to the smart relay if M Keep is active but the others reset to 0 Secure online ordering 24 7 3653 from B B electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 55 Timer Mode 4 OFF Delay Mode 4 Timer is an OFF Delay with reset that will time up to a fixed preset value and stop timing
140. setting 0000 Secure online ordering 24 7 3653 from BH electronics NUFACTURING COMP www bb electronics com Chapter 3 Pro gram Tools A B Class password Description VO cannot use under password protected LADDER 4 Y maner T y Y PARAMETER RUN STOP NM DATA REGISTER CLEAR PROG 3 3 er xes ANNNOGSET 3 LANGUAGE 3 8 LANGUAGE Selection menu language ENGLISA gt English FRAN AIS gt French ESPANOL gt Spanish ITALIANO gt Italian ITALIANO DEUTSCH gt German a s gt Portuguese gt fal FRA NN y Simplified Chinese Now Press Vertically move the Cursor OK o Select the language the cursor located Back to Main Menu 9 INITIAL select Ladder Logic and Function Block Diagram FBD INITIAL LADOER FBD Now Press Vertically move the Cursor Select the mode the cursor located ESC Back to Main Menu A The origin program will be cleared as the change of edition method Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 45 Chapter 4 Relay Ladder Logic Programming Common Memory Types General SET RESET PULSE N O N C Number output output output output contact contact Sm 1 4 OR AF Eon I t contact K d Input pue QO G Q RS Auxili relay Auxiliary N N N N N n 63 NO1 N3F n01 n3F relay ws
141. t LosoFundionBlok B B 260 001 5260 Normal ON Hi Normal OFF Lo men el leen ran Analog input parameter V 8 OI VO Analog output 4Q 4 AQ01 AQ04 NENNEN Analog temperature input 4 AT01 AT04 FBD program can only be edited and modified in the SG2 Client software and write to SG2 controlled equipments via communication cable Via controlled equipment FBD program is available for querying or the parameter of the function block of the program for modifying The preset value of Block could be a constant or other block code That means the preset value of this block is other block s current value Each FBD block s size isn t restricted it depends its function Coil Block Instruction Input terminal Output coil block Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com HMI Mil H l TI 1 Mold Hoi L c1 Chapter 5 FBD Block Diagram Programming x Block H l H F no Hxx D Text Display Parameter Analog Display set Mobile Number Add C Chinese fixed Display Hobile Message Text Multi Language C Chinese edit Text Input BS POST HOD EHE H Ao Ipsis ien Spon LKERPREBE DEFGHITELENNOPQRSTUVWXTZ X B abcdefz hi klmneorparstuvwxvzt l e aaaaaes8ese8ilii illt E INIPAO ROO Fara eE I EA LCMEACEH IEPDPEPELPEPPPEUFILHEEBLEEDPEREbLPEREBDPIV
142. tant range 0000 ffff length must be 1 word 2 DR code get address and length from this DR and the next DR code store sending receiving data from this DR MIN MODBUS code MU01 MUOF Secure online ordering 24 7 3653 from BH H electronics NUFACTURING COMP WWW bb electronics com Examples Chapter 7 20 Points V type Models Instruction 134 ri Read o register 0003 l DREO ri o DROS L DREQ 2 r Write o single 0003 L DREQ register 3 E Write n1 register 0003 L DREQ r4 o 0003 L DREQ Address is constant 0003 Length 1 Send 01 03 00 03 00 01 CRC16 Address 1s DRO3 0001 Length is DR04 0002 Send 01 03 00 01 00 02 CRC16 Address 1s constant 0003 Length 1 data storage DREO 1234 hex 04D2 Send 01 06 00 03 04 D2 CRC16 Address DRO3 0001 data storage DREO 1234 hex 04D2 Send 01 06 00 01 04 D2 CRC16 Address 0003 Length 1 data storage DREO 1234 hex 04D2 Send 01 10 00 03 00 01 02 04 D2 CRC16 Address DRO3 0001 Length DR04 0002 data storage DRE0 1234 hex 04D2 DRE1 5678 hex 162E Send 01 10 00 01 00 02 04 04 D2 16 2E CRC16 Address 0003 Length 10H Send 01 01 00 03 00 10 CRC16 Address DRO3 0001 Length DR04 0016 Send 01 01 00 01 00 10 CRC16 Max value in DRO4 is 400 Receive 01 03 02 datal data2 CRC16 data storage DREO datal lt lt 8 data2 Receive
143. tem Set Set ID Remote 1 0 Ce WO Current ID 1 Master New ID 00 99 1 C Slave aet Expand Le Others w M Keep I O Num lo kd C Keep Back Light I 0 Alarm BH Comm Mode Y Type DR Fomat Set omm Mode 8 We Baud Rate dela Unsigned Baud Rate 38400 Signed JEL Cancel Secure online ordering 24 7 3653 from BH ff electronics MANUFACTURING COMPANY www bb electronics com Chapter 7 20 Points V type Models Instruction 130 ill As the illustration show you can set Communication Mode and Baud Rate iv In the table below list the options which you can choose from 8 N 2 Data 8bit No Parity 2 Stop bit Comm 8 E 1 Data 8bit Even Parity 1 Stop bit Mode 8 0 1 Data 8bit Odd Parity 1 Stop bit 8 N 1 Data 8bit No Parity 1 Stop bit 4800 bps 9600 bps 19200 bps Baud Rate ae ES 38400 bps 57600 bps 115200 bps e Set communication format and Baud Rate on SG2 1 Press ESC to enter main menu 11 Press UP DOWN to choose SET menu and press OK to enter 1t 111 Press UP DOWN makes the LCD to display the options as show below Y COMM SET 03 Low bit DATA EEG High bit iV Changing high bit would set Comm Mode changing low bit would set Baud Rate 8 N 2 Data 8bit No Parity 2 Stop bit 1 8E Data 8bit Even Parity 1 Stop bit Content Data ES High bi r r 8 0 1 Data 8bit Odd Parity 1 Stop bit E 8 N 1 Data 8bit No Parity 1 Stop bit Lo
144. tial 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 T 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 A It 1s strongly recommended to add safety protection such as an emergency stop and external interlock circuit in Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 1 Getting Started case the SG2 smart relay operation must be shut down immediately Examination before Installation Every SG2 smart relay has been fully tested and examined before shipment Please carry out the following examination procedures after unpacking your SG2 smart relay Check to see if the model number of the SG2 matches the model number that you ordered Check to see whether any damage occurred to the SG2 during shipment Do not connect the SG2 smart relay to the power supply if there is any sign of damage Contact T E CO if you find any abnormal conditions as mentioned above Environmental Precautions The installation site of the SG2 smart relay is very important It relates directly to the functionality and the life s
145. uency is other data code C01 So the wave s frequency will change following the current value of CO1 Edit Contact Coil Current Value Und T Preset Value Lu Hz Preset Type c D oi In the example above frequency is 1000 if the current value of C01 is bigger than 1000 PLSY stops outputting pulse after it has output 100 pulses PLSY will be going on as long as it s enabled if is 0 Secure online ordering 24 7 3653 from BB electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 85 Data Link Remote I O Instruction SG2 20Vxxx model only The SG2 20Vxxx models include the capability to link additional SG2 20Vxx units via the RS 485 connection terminals The baud rate and communication format V COMM SET 03 DATA REG Low bit Hizh bit both can be set using the Operation Module System Set menu selection from the SG2 Client software They also can be set through keypad like adjacent picture The two bits of keypad how to decide the communication format and baud rate like describing below Module System Set Set ID Dam Meaning SC Current ID 0 8 NI2 Data 8bit No Parity 2 Stop bit A UD mm High bit 8 E 1 Data 8bit Even Parity 1 Stop bit SICHT Data 8bit Odd Parity 1 Stop bit 8 N 1 Data 8bit No Parity 1 Stop bit 1 0 Num fo y 0 4800bps 0 00 0000000 NE s a Mode e 8 2 Y unsigned Baud Rate
146. unction block PARAMETER RUM timer counter RTC edit RUN DATA REGISTER FBD display DATA REGISTER CLEAR PROG PARAMETER FBD block or ES function CLEAR PR G WEITE block parameter display wem READ RUN or STOP gt READ SET DATA REGISTER DR display A CLEAR PROG Clear the user program and the password RIG SET ANALOG SET ANALOG SET PASSWORD Save user program to PMOS 3rd gt PASSHORD SLANCIACE Read user Program from PM05 ANALOG SET ANALOG SET RIC setting LANGUAGE LANGUAGE gt INITIAL INITIAL Password setting Select the language initially set Edit method Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 3 Program Tools 2 The Main Menu as SG2 under RUN Mode SLADDER SFED E FBD FUN BLOCK PARAMETER FUN BLOCK PARAMETER STOP STOP DATA REGISTER En Y STOP DATA REGISTER WRITE WRITE RTC SET DATA REGISTER EIC SEI PASSWORD WRITE PAso WORD LANGUAGE RTC SET WRITE PASSWORD RIC SET LANGUAGE PASSWORD LANGUAGE Press the Button i1 Move the Cursor to select Main Menu Confirm the selected Function ESC Skip to Initial Screen SG2 can be modified edited cleared and read user program only when it is under STOP Mode As the program is modified SG2 will automatically backup it to FLASH Main Menu LADDER Secure online ordering 24 7 3653 from BH electronic MANUFACTURING COMPANY www bb electron
147. weisen 0 Display RTC present time Year Monthy IS mem mem o ewo p Rok RRR oT ES Secure online ordering 24 7 3653 from BH electronics MANUFACTURING COMPANY www bb electronics com Example 1 09 10 090329 0z 17 11 11 ROL Year Month Day 2009 02 17 Time 0 00 EM ABLE ETC output OFF Example 2 Year Month Day ETC output Example 3 Year Month Day ETC output Chapter 4 Relay Ladder Logic Programming 73 Edit Contact Coil ly T lc Heel time clock R fol Ol lF Function Mode 3 0 4 Interval month action mode Year On gt 0 os gt 10 Current Value Preset Value 02 a 17 On 11 DI DEE Year Day 2010 11 11 0 00 OFF 2009 02 17 2010 11 11 0 00 0 00 2008 02 17 2010 11 11 0 00 0 00 Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 74 RTC Mode 4 30 second adjustment The 30 second adjustment Mode 4 allows the Rxx coil to activate based on week hour minute and second The configuration dialog below shows for selection of week hour minute and second for the Rxx coil to activate ON and 30 second adjustment then Rxx OFF Edit Contact Coil v T lc Real tine clock Function Mode la 0 4 303 modify mode Symbol Description Co Meam meet Teens 7 mees 0000 0 Wimmer 1 ATC amores 00 1 emo
148. will count up to a fixed preset value and then continue counting after the preset value but it won t count when the current value equals 0 if it s configured as down Counter Additionally the current count value is retentive when the smart switches between RUN and STOP if C Keep is active In the example below the counter will continue counting after its preset value of 20 Counter Chapter 4 Relay Ladder Logic Programming status bit CO1 will be ON when the current value isn t less than 20 4 BO LA 000000 000020 102 This mode is similar to mode 2 but Edit Contact Coil n ly lr Counter c lor 01 1F Function Mode m gt 1 8 Counter with overtaking and with power down retain current value Pre sabse I ui DRAE Current Value Preset Value 000020 Preset Type N a Direction Set Reset Input Contact n o1 Contact 1 loz The current counter value will be kept on a loss of power when the smart status is RUN The current counter value will be kept when the smart switches between RUN and STOP if C keep is active Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 4 Relay Ladder Logic Programming 65 Counter Mode 5 Continuous Count Up Down Count Non Retentive Mode 5 Counter s operation is similar to Mode 2 except its current count value is continuous and non retentive The status bit is fixed to the
149. xposed 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 T The wiring for the SG2 smart relay is open and exposed For the open board models all electrical components are exposed For this reason it is recommended the SG2 smart relay be installed in an enclosure or cabinet to prevent accidental contact or exposure to the electrical circuits and components A 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 T Improper wiring and installation could lead to death serious bodily injury or considerable damage to property A The SG2 smart relay should only be installed and wired by properly experienced and certified personnel A Make sure the wiring of the SG2 smart relay meets all applicable regulations and codes including local and national standards and codes A Be sure to properly size cables for the required current rating A Always separate AC wiring DC wiring with high frequency switching cycles and low voltage signal wiring Precaution for Operation T To insure safety with the application of the SG2 smart relay complete functional and safety testing must be conducted Only run the SG2 after all testing and confirming safe and proper operation is complete Any poten
150. y 90 Relative non condensing Vibration 0 075mm amplitude 1 0g acceleration 8 point 190g Weight 10 12 point 230g C type 160g 20 point 345g C type 250g Agency Approvals CUL CE UL Discrete Inputs 3 2mA 24VDC 4mA 12VDC 1 3mA 100 240VAC 3 3mA 24VAC 24VDC lt 5VDC 12VDC lt 2 5VDC 100 240VAC 40VAC 24VAC 6VAC 24VDC 15VDC I2VDC gt 7 5VDC 100 240VAC gt 79VAC 24VAC gt 14VAC 24 12VDC 5ms 240VAC 25ms PP DEN 120VAC 50ms 24VAC 5ms 24 12VDC 3ms 240VAC 90 85ms 50 60Hz 120VAC 50 45ms 50 60Hz 24VAC 3ms Current consumption Input Signal OFF Threshold Input Signal ON Threshold Input Off Delay Secure online ordering 24 7 3653 from BH H electronics MANUFACTURING COMPANY www bb electronics com Chapter 2 Installation Analog Inputs l Basic unit 12 bit Resolution l Expansion unit 12bit Basic unit Analog input 0 10VDC voltage 24VDC when used as discrete input Voltage Range acceptable l l l Expansion unit Analog input 0 10VDC voltage or 0 20mA current Input Signal OFF Threshold lt 5VDC as 24VDC discreet input Input Signal ON Threshold gt 9 8VDC as 24VDC discreet input Short circuit protection Yes Basic unit A01 A04 Expansion unit A05 A08 Total number available Relay Outputs Contact material Ag Alloy Current rating A HP rating 1 3HP 120V 1 2HP 250V Resistive 8A point Maximum Load Inductive 4A point M

Download Pdf Manuals

image

Related Search

Related Contents

Emerson T208 Drawings & Schematics  SEGA GENESIS Portable  NA 700 Series manual  Samsung Samsung S5600 Vartotojo vadovas  Samsung RSJ1FEBP Наръчник за потребителя    Samsung TC240  PS-J20  USER`S MANUAL DMR-6000  Xacti Software DVD 1.1 For Digital Movie Camera INSTRUCTION  

Copyright © All rights reserved.
Failed to retrieve file