Home
C120 User's Manual
Contents
1. 6 4 e qsta LROO to 30 SQUARE u s S Sti HROO to 30 72 ROOT 10 LSB MSB TIM CNTOOO to 126 DMOOO to 510 DMO00 to 511 5 Same as MOVE instruction Exchanges data between FUNTS m channels DATA Same as BLOCK MOVE 73 EXCHANGE iz 31 10 02 00704 instruction Shifts data between the start and end channels 5 to the left by 1 digit Same as BCD TO BIN LM li e 4 bits CONVERSION instruc ONE DIGIT 74 10 02 4 34 SHIFT LEFT ps e fJ i Same as MOVE instruction Shifts data between the igit designation start and end channels 0000 to 0003 FUNIS to the right by 1 digit m i e 4 bits ONE DIGIT 75 SHIFT 10 x 4 35 4 Decades 4 bit binary data of 16 bits toa 16 bit channel data 4 70 16 s 1 4 36 DECODER 9 Digit 3 2 1 0 Owe designation D Only 1 bit is 1 Encodes a 16 bit decimal data into 4 bits Arun BUNT of another 16 bit binary data 16 TO 4 s 77 EMT 10 15 9 4 37 ENCODER D s wse LSB 1 of MSB side E queEmhe o s ale Ot0F Converts 4 bits of 16 bit data into an 8 bit Fone data for 7 segment display 7 SEGMENT 10 ee Pers DECODER si Umam D Bit data APPENDIXES FLOATING POIN
2. 20VA max 20VA max 580g max 600g max 3300 0 334F 9100 0 1535 IN 00 IN 00 IN 01 IN 01 T IN 02 IN 07 IN 07 5 8 COM 5 s E 5 RUN output S RUN output End RSU POWER indicator Endi RSU setting setting Power AC input supply AC input supply ONO circuit circuit AC 250V 1 AC 250V 1A Channel setting tee Channel setting T Switch 44 0 switch oe TAR ERR indicator T R ERR indicator Short circuit End RSU Open Unit other than end RSU Short circuit End RSU Open Unit othar than end RSU RUN output RUN output Power supply Power supply 110 120 110 120V 7 29 omnon SYSMAC C series APTER 7 SPECIAL I O UNITS PART2 OUTPUT UNIT 15 22k2 50Hz 18kQ 60Hz 10mA typ AC 200V 10ms max 15ms max 8 8 points common AC 120V max AC 40V min AC 220 240V 50 60Hz 20VA max 600g max 9100 0 16 TUER GE Internal circuit xk RUN output End RSU setting TT AC input Short circuit End RSU Open Unit other than end RSU RUN output Power supply AC 220 240V 7 30 SYSMAC C series OMRON SPECIAL 1 0 UNITS 3 G5A2 0622 AC 250V 2A 1 DC 24V 2A 8A common DC 5V 100mA 15ms max 15ms max
3. OMRON SYSMAC C series Internal auxiliary relay is used for diagnostic operations related to the remote I O units only when the 59CH is in use LIST OF RELAY NUMBERS APPENDIXES 35CH 36CH 37CH 38CH 62CH 63CH Refer to 7 7 Remote 1 0 unit in Part 2 for details APPENDIXES SYSMAC C series omnon LIST OF RELAY NUMBERS 60 This relay turns ON when the FUNO99 STOP instruction is executed and indicates that a power failure has occurred in the input power supply This relay serves as data retention flag When it is turned ON the data of relays internal auxiliary relays and link relays are retained and when it is turned OFF those data are all cleared on starting the RUN operation This relay func tions only when the operation mode of the PC is changed from PROGRAM to MONITOR or RUN CH 3 2 6015 This relay serves as LOAD OFF If it is turned ON all outputs will be turned OFF and if this flag is turned OFF all outputs will continue These relays can be turned ON or OFF by an OUT or OUT NOT instruction 6100 6101 6102 6103 6105 6106 1 x 10 Whe
4. TIMING These pulses are input as data to contacts 0 to 7 of the n channel Data 0107 4 X X X X X 4ms STBO STBi STB2 STB3 5 f 5 5 STB6 5 LS ST87 Yes 32ms omnon SYSMAC C series SPECIFICATIONS PART 1 2 2 6 DC output 64 point unit Since this unit is of dynamic output type the wiring of a device to be connected to it such as a numeric display device can be simplified CONNECTION EXAMPLE 2 980 Relay No 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 nCH 0o1000031 1 001000 0 1 n 1CH 100001 11 031 100 1 0 1 n 2 CH n 3 CH NOTE Channel n is determined according to the sequence in which the DC output unit is mounted to the SYSMAC 500 Refer to 3 2 Free location concept and I O channels CAUTION FOR HANDLING Since the DC output unit is operated by an extremely small current provide an adequate distance between the wires of the unit and high tension equipment or power lines when performing wiring otherwise use shielded cables Also keep the length of the wires within 10m In the above diagram supply voltage of DC 24V must be applied at the same time or before applying the supply voltage of DC 12V The DC 24V supply voltage must be turned o
5. 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15 Link relay 512 21CH 22CH 24CH 25CH 26CH 27CH 28CH 29CH 30CH 31CH 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 05 05 05 05 05 05 05 05 05 05 05 05 05 05 os 05 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06 07 07 07 07 07 07 07 07 07 07 07 07 07 07 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 NOTE If PC link unit is used the link relays can be used as internal auxiliary relays For details on how to use these relays refer to the user s manual for the PC link unit A4 SYSMAC C series omnon APPENDIXES LIST OF RELAY NUMBERS APPENI
6. 244 5 PART 1 1 5 WIRING AND POWER SUPPLY 1 5 1 CPU rack EXTERNAL INPUT TERMINAL AC input AC 110 120 220 240V Must be grounded at ground resistance of 1000 or less PROGRAMMABLE CONTAQLLER star wit RUN OUTPUT START INPUT DC 24 output WIRING AND POWER SUPPLY OF CPU Input Transformer 5 110 120 220 240V Perform grounding at a ground resistance of G less than 1600 when noise is great and SYSMAC C120 malfunctions Be sure to connect this ground terminat at a ground resistance of less than 1000 for prevention of electric shock 1 Use to stop SYSMAC C120 ICAUTI 1 by external signal Ni Use to supply power to expansio 10 RUN START um 24 OUTPUT INPUT eo 4H i SYSMAC C series om RON CONFIGURATION OF PC 1 5 2 1 O rack AC power supply CPU Fackpower Expansion rack connecting cable Expansion rack power supply The following three 1 O connecting cables are available 50cm Type 3G2A5 CN511 1m Type 3G2A5 CN121 NOTE Refer to 5 4 Processing of wiring within control panels for details on wiring 4 Turns on during RUN operation
7. yp ala 2loi2 2 2 25 o 5i2 25 2 olo a a 25ij2 2 2lol5 o l2 olojo 2 ol oloi2j 2 2loi l2io 25 i2loj io olo 2io 5i2 25 2 212 4 40 4 46 FLOATING POINT DIVIDE FUN79 INSTRUCTION This instruction is used to divide 7 digit BCD data while automatically accounting for the position of the radix point i e floating point arithmetic operation The result of the arithmetic operation is output as 7 digit data to two channels 1 Data to be divided 2 Divided data D Result of division channel number Contents of data ae co i 00 to LROO to 30 HROO to 30 TIM CNTOOO to 126 DMOOO0 to 510 DMOOO to 511 NOTE When the R register is logical 1 the floating point divide instruction is executed at each scanning To execute it only once program a differentiating circuit for input SYSMAC C series om RON PART 1 OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the register is logical 1 7 digit BCD division is performed The dividend divisor and quotient each require two channels In the above program the contents of DMOO0 and 001 of which each holds 16 bit data are div
8. Data NOTE When the R register is logical 0 rotating right of 16 bit memory data is executed at each scanning To execute it only one DM010 time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content is logical 1 16 bit data including a carry is rotated to the right In the above program al the 16 bit contents of DMO10 including a carry 6304 are rotated one bit to the right If the result of the operation is 0000 special auxiliary relay 6306 is turned ON Data memory DMO10 Cany ROTATING LEFT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will accur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare um instruction 4 21 omnon SYSMAC C series 3 INSTRUCTION WORDS ROTATING RIGHT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303
9. 10G in X Y Z directions respectively 3 times Operating 0 to 50 C Storage 20 C to 65 C 35 to 80 RH without condensation Must be free from corrosive gases Module type Ivory white See Section 1 1 Available Types 1 Publ 529 momentary power failure of less than 10ms is ignored by the programmable controller and it will continue operation Stored program yem LSI TTL C MOS Ladder diagram 3 to 10 byte address 1 address instruction 1 68 to 1Ous address basic instruction Approx 2 2K address RAM EPROM 1 8K bytes 256 Relay Nos 0000 to 1515 459 points Relay Nos 3200 to 6010 512 points Relay Nos HROOOO to 3115 3 128 points Timer 0 to 999 95 Counter 0 to 9999 counts SYSMAC C series om non SPECIFICATIONS CH 8 points Relay Nos 0 to 7 45 points Relay Nos 6011 to 6315 2 512 points 16 bits point START INPUT In RUN mode PC operates when contact is closed and stops when contact is opened RUN OUTPUT Contact is closed while PC is RUN DC 24V 0 1A incorporated Status data of respective holding relays counters and data memories before power failure is retained in memory Service life of built in battery is about 5 years at a temperature of 25 If ambient temperatur
10. Printer EPSON terminal printer Model MX 80 TYPE II III or Model RX 80 X Y plotter manufactured by GRAPHTEC CORP Models WX4638R WX4731 MP1000 WX4675 or WX4631R Cassette tape recorder commercially available 94 SYSMAC C series omnon APPENDIX LIST OF RELAY NUMBERS APPENDIX A LIST OF RELAY NUMBERS 0000 to 3115 04CH 05 06 07CH O8CH 09CH 10CH 11CH 12CH 13CH 14CH 15CH 00 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01 02 02 02 02 02 02 02 02 02 03 03 03 03 03 03 03 03 03 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 input output 25 06 o 06 06 06 o6 o6 06 o6 o6 o6 o6 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 1 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 NOTE Relays 1600 to 3115 i e 256 points in other words relays of channels 16 to 31 can be used as internal auxiliary relays 02CH O3CH 01 01 01 01 02 02 02 02 02 03 03 03 03 03
11. Timer counter 128 omnon SYSMAC C series LIST OF RELAY NUMBERS APPENDIXES DMOOO to 511 020 050 060 070 080 090 100 110 120 130 140 150 021 051 061 071 081 091 101 111 121 131 141 151 022 052 062 072 082 092 102 112 122 132 142 152 023 053 063 073 083 093 103 113 123 133 143 153 074 084 094 104 114 124 134 144 154 075 085 095 105 115 125 135 145 155 006 016 026 036 046 056 066 076 086 096 106 116 126 136 146 156 007 017 027 037 047 057 067 077 087 097 107 117 127 137 147 157 008 028 038 048 058 068 078 088 098 108 118 128 138 148 158 009 029 039 049 059 069 079 089 099 109 119 129 139 149 159 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 161 171 181 191 201 211 221 231 241 251 261 271 281 291 301 311 162 172 182 192 202 212 222 232 242 252 262 272 282 292 302 312 163 173 183 193 203 213 223 233 243 263 263 273 283 293 303 313 464 174 184 194 204 214 224 234 244 254 264 274 284 294 304 314 165 175 185 195 205 215 225 235 245 255 265 275 285 295 305
12. The above program is executed when the NO contact of 0000 turns ON Because DMO10 is indirectly addressed the data 100 in DMO10 specifies DM100 and the 16 bit contents of DM100 5678 are decremented by 1 The result of the decrement operation 5677 is stored in the 16 bit locations of DM100 4 30 PART 1 SYSMAC C series OMRO 4 36 SET CARRY STC FUN40 CLEAR CARRY CLC FUN41 INSTRUCTIONS The STC instruction is used to set the carry register 6304 to 1 and the CLC instruction is used to reset the carry register 6304 to 0 0000 H STC CLC 0200 LD 0000 0201 STC 40 LD 0001 0203 CLC 41 1m OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the STC instruction causes the carry register 6304 to be set to 1 and the CLC instruction causes the carry register 6304 to be reset to 0 4 37 BLOCK MOVE FUN70 INSTRUCTION The BLOCK MOVE instruction is used to transfer channel data consecutively at one time 0000 1 Big W Number of channels words S Stan channel number of data to be transferred D Start channel num ber of destination INSTRUCTION WORDS E Contents of data LROO to 31 HROO to 31 TIM CNTOOO to 127 OMOCO to 511 DMOOO to 511 N
13. Programmable USER S Controller MANU c cC120 Package type small multi function PC Best suited for small and medium scale control The SYSMAC C120 is best suited for a small and medium scale control where 32 to 256 I O Points are required Component type Both the CPU and the expansion 1 0 rack are component type which are only 100mm in depth They can be mounted on a DIN rail with a DIN rail attachment instruction words compatible with either series products The user program of the SYSMAC C120 is compatible with programs of the SYSMAC C250 and the SYSMAC C500 The same user program can be used within the SYSMAC C series products son m Wide variation of I O units A wide variation of I O specifications is available I O unit easy to use A terminal block type connector that can be easily con nected disconnected is employed in the 1 unit allowing easy replacement of the unit Additionally each output relay can be replaced With these features maintainability of the is significantly improved Same peripheral equipment usable The same peripheral equipment can be used for all models of the SYSMAC C series SYSMAC C120 SYSMAC C250 and SYSMAC C500 CONTENTS FEATURES PART 1 CHAPTER 1 CONFIGURATION OF PC 1 1 Available types rr da Ra rer Saltese 1 1 122 parts skies Ye ee ye Rad RUE BOR E Se me eed 1 2 1 8 System configu
14. DC 24 10mA DC 24V 10 10ms 15ms max 15ms max 8 8 points common T RERR indicator 10 2V max 10 2V max 3 0V min 3 0V min AC 110 120V 50 60Hz AC 220 240V 50 60Hz 20VA max 20VA max 580g max 580g max 1 8KQ IN 00 IN 00 iN 02 IN 02 IN 07 IN 07 RE e 8kn s F 5 5 E 8 2 3 2 g RUN output RUN output Cc End RSU End RSU setting setting AC input AC input ono ono AC 250V 1A AC 250V 1A Channe setting irm E Chanel setting switch Su Ilii Switch oe Short circuit End RSU Open Unit other than end RSUI RUN output 1 1 1 l acc 1 12 to 24V T Power supply 110 120 7 28 Short circuit End RSU Qpen Unit other than end RSU RUN output 1 1 l WL 12 to 24V T Power supply AC 220 240V SYSMAC C series omnon SPECIAL 1 0 UNITS nies AC 11 OV 10 50 60Hz 15 9 7 50Hz 8 60Hz 10mA typ AC 100V 10ms max 220V 10 50 60Hz 15 22kQ 50Hz 18kQ 60Hz 10mA typ AC 200V 10ms max 15ms max 15ms max 8 8 points common AC 60V max AC 20V min AC 110 120V 50 60Hz 8 8 points common AC 120V max AC 40V min AC 110 120V 50 60Hz
15. TABLE COMPARE OF INDIRECTLY ADDRESSED DATA Data memories DMOOO to 511 can be indirectly addressed for the data to be compared and the output channel num ber For the start channel number of the table 000 to 495 can be indirectly addressed If the contents of the indirectly addressed area are other than BCD data or 0 00 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed lf the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 53 WATCHDOG TIMER SETTING FUN94 INSTRUCTION This instruction is used to refresh the time of the watchdog timer FUN94 02 00 00 N The number of times the watchdog timer is refreshed in units of 100 msec 00 to 63 230 msec 2 330 msec 130 msec 230 msec 100 n 1 130 msec 130 msec NOTE 1 Input the number of times the watchdog timer is to be refreshed in the same manner as setting channel number 2 The second and third data are ignored OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the watchdog timer is refreshed Once the FUN94 instruction has been executed the watch dog timer is r
16. 00 to 60 LROO to 31 HROO to 31 DMOO0 to 511 1 DMOOO to 511 NOTE When the R register is logical 1 the increment of a 4 digit BCD data is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER No operation is performed when the content of the R register is logical O When the content of the R register is logical 1 the 4 digit BCD data in the specified data is decremented by 1 In the above program the 16 bit contents of DMO10 are decremented by 1 and the result of the decrement opera tion is stored in DMO10 If the result of the operation is 0000 special auxiliary relay 6306 is turned on Data memory Data memory DMO01O 1234 DM010 1233 2 To 21 9 17 22 X10 2 x10 The CPU checks whether the data to be decremented are in four BCD digits If not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed DECREMENT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error wil occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed DEC 39 om s s
17. the channel of each optical transmitting 1 0 unit by its DIP switch This remote slave unit is R222 Expansion rack specified asthe end SU Expansion rac gee Pt 14 15CH 16CH 17CH Example 2 a This optical transmitting unit is specified as the end station 2 CPU rack Optical Optical Optical Optical transmitting itransmitting transmitting transmitting Bg 1 0 unit 1 0 unit unit 8170 unit SCH 6CH 30 channel L 30 channel 31 channel L 31 channel H 1 209 SCH 4CH st the channel of each optical transmitting 1 0 unt by its DIP switch 7 37 om RON SYSMAC C series PART 2 SPECIAL 1 0 UNITS remote 1 master unit can be connected to either of them Specify the 1 0 unit that has been connected last to the SYSBUS as the END station When doing so confirm Observe the following procedures when newly mounting that any other unit connected to the SYSBUS is not remote I O unit s or optical transmitting 1 O unit s to the specified as the END station CPU rack 5 Turn on the power of each unit in the system This may 1 Check the 1 O units currently mounted to the CPU rack be done in any order 7 9 2 Mounting procedures of remote I O units and optical transmitting I O units MOUNTING REMOTE I O UNITS AND OPTICAL 4 TRANSMITTING UNITS for the last 1 O c
18. Check program NOTES Oto 3 denote rack numbers 3 denote remote numbers 6 9 SYSMAC C series omnon PART2 SPECIAL I O UNITS CHAPTER 7 SPECIAL UNITS 77 1 AVAILABLE TYPES 600g max Oto 10V 600g max 3G2A6 AD002 5V 600g 3G2A6 AD003 10 to 10V 600g max 3G2A6 AD004 5 to 5V 600g max 3G2A6 AD005 1 to 5V 4 to 20 650g max 3G2A6 AD006 Oto 10V 6509 max 3G2A6 AD007 1 to 45V 4 to 20 600g max 3G2A6 DA001 to 10V 600g max _3G2A6 DA002 6009 max 3G2A6 DA003 10 to 10V 6009 3G2A6 DAO04 5 to 45V 600g max 3G2A6 DAO05 700g max 3G2A6 CT001 E 5009 max 3G2A6 RMOO1 E With one fiber optics connector for connecting only one slave unit to master unit 5009 362 5 1 With two fiber optics connectors for connecting T two slave units to master unit 500g 3G2A5 RT002 E AC 110 120V 580g max 3G5A2 1D001 E AC 220 240V 580g 3G5A2 1D002 E AC 110 120V 580g max 3G5A2 IM211 E AC 220 240V 580g max 3G5A2 IM212 E AC 110 120V 10mA 8 points AC 110 120V 580g max 3G5A2 1A121 E AC 110 120V 600g max 3G5A2 1A221 E AC 220 240V 600g max 3G5A2 1A222 E Relay contact AC 250 DC 24V 2A 8 points 600g max 3G5A2 OC221 E Triac AC 85 to 250 1A 8 points A 6009 max 3G5A2 OA222 E Transistor DC 12 to 48V 0 3A 8 p
19. LR 0000 to 3115 HR 0000 to 3115 TIM CNTOOO 127 OPERATION OF EACH REGISTER The LD instruction causes the content ON or OFF state of the specified relay number to be stored in the RESULT REGISTER hereafter referred to as R register It also causes the previous result in the R register to be transfer red to the STACK REGISTER hereafter referred to as S register The content of specified relay No R s LD NOT The LD NOT instruction causes the content of the specified relay number to be inverted and then stored in the R register The content of specified relay No gt Like the LD instruction this instruction causes the previous result in the R register to be transferred to the S register omnon SYSMAC C series INSTRUCTION WORDS The OUT instruction causes the content of the R register to be output to the specified relay number in th s case the content of the R register will remain unchanged Specified relay No OUT NOT The OUT NOT instruction causes the content of the R register to be inverted and then output to the specified relay number In this case the content of the register will remain un changed 1 4 AND The AND instruction causes the logical AND operation to be performed between the content of the specified relay number and the content of the R register The result
20. 4 9 SHIFT REGISTER SFT FUNT10 instruction 4 10 LATCHING RELAY KEEP FUN11 4 11 UP DOWN COUNTER CNTR FUN12 instruction 4 12 DIFFERENTIATION UP DIFU FUN13 DIFFERENTIATION DOWN DIFD FUN14 instructions 4 13 HIGH SPEED TIMER TIMH FUN15 4 14 WORD SHIFT WSFT FUNT16 instruction 4 14 COMPARE CMP FUN20 instruction 4 15 MOVE MOV FUN21 MOVE NOT MVN FUN22 instructions 4 16 BCD TO BIN CONVERSION BIN FUN23 4 17 BIN TO BCD CONVERSION BCD FUN24 instruction 4 18 ARITHMETIC SHIFT LEFT ASL FUN25 instruction 4 19 4 22 ARITHMETIC SHIFT RIGHT ASR FUN26 instruction 4 20 4 23 ROTATE LEFT ROL FUN27 instruction 4 20 4 24 ROTATE RIGHT ROR FUN28 4 21 4 25 COMPLEMENT COM FUN29 instruction 4 22 4 26 ADD ADD FUN30 instruction 0 0 cece cee ne 4 22 4 27 SUBTRACT SUB FUN31 4 23 4 28 MULTIPLY MUL FUN32 4 24 4 29 DIVIDE DIV FUN33 instruction 4 25 4 30 AND WORD A
21. Input Resistance 9 Line 2 Input Shield v gt 1 E ov TV 1 E Twisted pair ov shielded cable Input Resistance input Shield Line 1 Input Resistance Line 2 Input Shield Connection for current input Input side V Input Resistance tied Twisted pair shielded cable Input Shield Input Resistance Line 2 Input Shield NOTES 1 Be sure to use a twisted pair shielded cable for input 2 Short circuit the Shield Input and Input terminals of the circuit that is not used 7 7 OMRON SYSMAC C series SPECIAL 1 0 UNITS 4 CHANNEL TYPE Connection for voltage input Input side Input Resistance Input Shield Line 1 Input Resistance input Shield Line2 Twisted pair shielded cable Input side Input Resistance Input Line3 Shield Input o Resistance Line4 Input Shield ov m Twisted pair shielded cable NOTES 1 Be sure to use a twisted pair shielded cable for input 2 Short circuit the Shield Input p and Input terminals of the circuit that is not used 7 8 Connection for current input Input side V Input Resi esistance 3 Line 1 Input Shield ov V Input Resistance 3 Input Shield Twisted pair d
22. Inpuvourput T contro circuit 1 5 eu SYSMAC C series HAPTER 1 CONFIGURATION OF PC PART 1 1 6 OPERATING PROCEDURES OF PROGRAMMABLE CONTROLLER Here are the procedures from the designing of the sequence circuit to RUN operation of the PC System design Generation of sequence circuit unit relay 2 No assignment of ladder agram Power application of PC Generation of 1 O table Wiring between PC and 1 0 devices Test run and debugging Correction of ladder diagram storage of program e Refer to Chapter 3 and Appendix A 1 eee Set the PC in PROGRAM mode and connect the programming console to the PC Apply power to the PC First the message I O VER ERR will appear on the LCD of the programming console Clear it by generating an 1 O table with the programming console Refer to 3 2 for details e Clear all memory contents by performing Program Clear operation before program ming NOTE 1 0 table generation is not neces sary each time the power is applied to the PC unless I O unit location will change later Correct the program 2 Ladder diagrams can be printed out with a printer Programs can be recorded on a cassette tape or an EPROM chip NOTES 1 Refer to the user s manua of program ming console for details 2 Refer to the user s manual of printer interface unit for d
23. NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terminal numbers and 1 channel relay numbers of an 1 unit are changed according to the position on the CPU or expansion O rack on which the I O unit is mounted The termina connections shown above are for when the 1 0 unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and 1 channel relay numbers 2 10 SYSMAC C series SPECIFICATIONS 0 2ms max 0 3ms max 64 points 450g max DC 5V 300mA max No fuse DC 24V 10 50mA max Internal circuit Internal circuit NOTE The terminal numbers and channe relay numbers of an 1 unit are changed according to the position of the CPU or expansion O rack on which the I O unit is mounted The terminal connections shown above are for when the O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and I O channel relay numbers 2 11 omnon SYSMAC C series R SPECIFICATIONS Unit designation Input output Point designation 16 32 64 points 450g max DC 5V 35mA max DC 24V 10 30mA max Short circuit input Open output Short
24. 0209 FALS 07 NOTES 1 FAL No is O1 to 99 2 Use FALOO instruction to reset FAL area display 3 Note that the FAL number is commonly used by FAL and FALS instructions OPERATION OF EACH REGISTER The FAL or FALS instruction is executed only when the content of the R register is logical 1 and is not executed when the content of the R register is logical O When the FAL instruction is executed the FAL number applicable to the failure is output to the FAL area and the ALARM indicator LED on the front panel of the CPU illuminates The CPU continues program execution how ever 6107 6106 6105 6104 6103 6102 6101 6100 FAL area FAL10 ee e 23 22 2 2 23 2 2 A maximum of two FAL errors can be stored memory when another FAL error is detected before the first FAL error has been removed To reset the FAL area output remove the cause of the FAL error and then execute a FALOO instruction If the programming console is connected to the PC FAL area outputs can also be reset by performing a FAILURE READ operation Each time the FALOO instruction is executed the FAL area output is reset and another FAL error retained in the memory is output Other alarms and failures such as battery error and remote error are also output to the FAL area in addition to FAL and FALS instructions OMRON SYSMAC C series NSTRUCTION WORDS r CAUTION When the FALS instruction is exe
25. B 8 SYSMAC C series omnon APPENDIXES LIST OF INSTRUCTIONS APPENDIX B RELATIONSHIP BETWEEN Compare oo ep instr ction is Instruction UN executed is less executed lt nee 1 TIM 1 TIMH 15 1 CNT CNTR 12 1 CMP 20 1 1 1 MOV 21 22 BIN 23 BCD 24 ASL 25 ASR 26 1 t ROL 27 1 1 ROR 28 1 1 29 t 1 WSFT 16 ADD 30 1 t SUB 31 MUL 32 t DIV 33 t 1 ANDW 34 1 t ORW 35 1 1 XORW 36 XNRW 37 1 INC 38 DEC 39 1 STC 40 41 FUN 70 1 FUN 71 E FUN 72 FUN 73 74 FUN 75 FUN 76 t FUN 77 78 EUN 79 t FUN 80 t 81 1 FUN 82 t FUN 83 d 1 FUN 84 1 1 FUN 85 t 1 END 01 o uid 0 QU NOTES 1 The BCD check operation of a set value is performed at reset of a TIM TIMH or CNT Legend Change instruction or at count up of a CNTR instruction Vacant No change When special auxiliary relay 6303 ER turns ON no instruction is executed except the TIM TIMH CNT and CNTR instructions When the 6303 is ON the status of other special auxiliary relays 6304 to 6307 is not changed The status of these special auxiliary relays is not changed by executing instructions other than thos
26. CPU rack power supply iG cj ansion connecting Fxpansion Vo cable m am omnon SYSMAC C series INSTALLATION AND WIRING Connect the ground wire to the terminals LG and FG on the operating panel of the CPU rack power supply Use a wire of more than 2mm for grounding Expansion 1 0 rack connecting cables are available in three standard lengths 50cm 3G2A5 CN511 1m 3G2A5 CN121 Avoid accommodating the power supply cable for expan Sion rack and the 1 O connecting cable in the same duct as other wiring Limit the total length of three expansion I O rack connect ing cables to 2m 4 Wiring of 1 O units For the wiring of I O units use a wire of 1 25 or less If an input device with a neon lamp operation indicator is used the operation indicators LEDs of an 1 0 unit may be caused to illuminate at a voltage lower than the rated voltage To prevent this insert a bleeder resistor in parallel with the input signal When a triac output type unit is used the output device connected to the triac output may not be turned off because of a leakage current If a low capacitor load is to be connected to the triac output type output unit insert a bleeder resistor in parallel with the output device 5 5 OPERATION AT POWER FAILURE 1 Suppiy the power to the PC within the operating voltage range 2 The power sequence circuit is incorporated in the power supply un
27. Destination position 0 Lower two digits 8 bits 1 Higher two digits 8 bits Number of digits to be decoded 0 One digit is decoded 1 Two digits are decoded 2 Three digits are decoded 3 Four digits are decoded Designation of digit to be transferred Designate the digit from which data is transferred by using the digit number of that digit INSTRUCTION WORDS OMRON SYSMAC C series WHEN DECODING PLURAL DIGITS To execute the 7 segment decoder instruction on plural digits designate the lower order digit as the digit destina tion Digit Position at designation designation 0120 Data 01CH 02CH 7 SEGMENT DECODING OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or more than 512 an error wil occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed if the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 2a 2aj2 o 2i2 ti 10 1 41 11 0 0 0 1 1 1 1 0 0 1 1 1 1
28. K 2 2110 K Ro 23 0011 21185011 2111 Los HR2211 0012 aof LR2012 HR2112 HRZ21Z 210013 211282013 HR2113 2 HR2213 22 0014 X10 zz X10 22 14 10 Sol 2214 PTO 2x 6015 2382015 HR2115 P BRZ215 The CPU checks whether the data for BCD division are in four BCD digits If not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed DIVISION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 if the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause specia auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 30 AND WORD ANDW FUN34 INSTRUCTION The ANDW instruction is used to perform a logical AND operation between two specified data 16 bits each 0000 1 4 26 1 Arithmetic operation data 1 2 Arithmetic operation data 2 D Result of arithmetic operation channel number ANDW A Contents of data 00 to 59 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO to 511 DMOOO to 511 0000 to FFFF NOTE When the R register is logical 1 an ANDW instruction is executed at each scanning To execute it only one
29. flag Input only 6307 Tempo rary memory g TR relay NOMBWN Oo Temporary memory relay 0 Temporary memory relay 1 Temporary memory relay 2 Temporary memory relay 3 Temporary memory reiay 4 Temporary memory relay 5 Temporary memory relay 6 Temporary memory relay 7 NOTE For function details and use of relays 1 to 3 refer to the following 1 7 7 Remote 1 unit in Part 2 2 User s manual for PC link unit 3 User s manual for Host link unit These relays used with an LD or OUT instruction omnon SYSMAC C series LIST OF RELAY NUMBERS APPENDIXES LROOO00 to 3115 7 10CH 11CH 12CH 13H 14cH i5cH oo oo 00 o0 00 1 01 01 02 02 02 o2 02 02 02 02 02 2 02 02 02 o3 03 04 04 04 04 04 04 04 04 04 04 04 04 05 05 05 05 05 05 05 05 os 05 05 05 05 06 o o6 06 06 06 06 06 07 o7 07 o7 07 07 07 07 o 7 07 07 07 08 o8 08 08 08 09 09 09 09 09 09 09 2
30. 4 digit constant to a 00 to 63 specified channel data LROO to 31 HROO to 31 5 S TIM CNTOOO to 127 D CY DMOOO to 511 DMOOO to 511 Performs BCD subtrac Constant 0000 to 9999 tion of a channel data 5 or a 4 digit constant from a specified channel Same as MOVE SUBTRACT data instruction s 5 cv D cY ADO FUNJDI 2 MUL FUN32 Performs BCD multi plication of a channel data by a channel data Same as ADD MULTIPLY or a 4 digit constant instruction S 0 DH D LSB MSB 00 to 59 DIV FUN33 Performs BCD division LROO to 30 of a channel data by a HROO to 30 specified channe data DMO000 to 510 DIVIDE or a 4 digit constant DMOOO to 511 S S Remainder D 1 i ANDW FUN34 Performs a logical AND operation between two 16 bit data Same as MOVE AND WORD 8 AS gt D instruction 1 1 D Same as MOVE instruction Performs a logical OR operation between two 16 bit data S VS ORW FUN35 OR WORD B 4 APPENDIXES SYSMAC C series OMRON XORW IFUN38 Performs an exclusive logical OR operation EXCLUSIVE between two 16 bit OR WORD
31. 8 8 points common Electrically 300 000 operations Mechanically 50 000 000 operations Internal circuit COM Lu RUN output POWER indicator End RSU setting Power Th H supply AC input circuit AC 250V 1A Internal circuit Channel setting switch Short circuit End RSU Open Unit other than end RSU RUN output 1 i Power supply AC 110 120 220 240V 7 31 omnon SYSMAC C series CHAPTER 7 SPECIAL 1 0 UNITS 3 AC 85 to 250V 10 1A 50 60Hz 15 265 DC 12 to 48V 10 0 3A 15 10mA AC 100V 3mA max AC 100V max AC 200V 1 2 100 max 1 5V max 1115 max 0 2115 max 1 2 load frequency max 8 8 points common 0 3ms max 8 8 points common 5A 8 points No fuse is provided AC 110 120 220 240V 50 60Hz 20VA max 600g max AC 110 120 220 240V 50 60Hz COM Internal circuit RUN output POWER indicator End RSU setting Power supply AC input circuit AC 250V 1A Channel setting switch ma T R ERR indicator Internal circuit 25 POWER indicator End RSU setting i Tac input ono AC 250V 1A Channel setting switch T R ERR indicator Short circuit End RSU Open Unit other than
32. 9998 9999 0000 0001 0001 0000 9999 9998 PART 1 Therefore note that the count output carry or borrow is different from the count NUMBER OF CONTACTS A count output contact designates the same number as the counter number Both NO and NC contacts can be used in the required quantity EXTERNALLY SET UP DOWN COUNTER DATA MUST BE 4 DIGIT BCD The CPU checks whether the externally set data is in four BCD digits If not special auxiliary relay 6303 is turned ON indicating an error In this case the program can still be executed but count down operation may not be accurate USE OF EXTERNALLY SET UP DOWN COUNTER in the above circuit example counter 011 is used for external up down count setting An external count setting device is connected to channel No 01 of its own system and the number of counts ring value is determined by the set value of the setting device Because the ring value is 5814 the up down counter repeats its operation in this way When performing add operation bigau 5813 5814 0000 0001 When performing subtract operation 0001 0000 5814 5813 4 14 DIFFERENTIATION DIFU FUN13 DIFFERENTIATION DOWN DIFD FUN14 INSTRUCTIONS The DIFU and DIFD instructions are used to output the differentiation of an input condition to a specified relay for 1 scan time 0000 0001 DIFU Input Differentiation up output 0200 Differentiation d
33. If a failure is occurring in the specified channel its channel number is CMP displayed If not all the D000 3100 contents of 59CH are cleared to 0 Program for verification and error processing FALS 01 If a failure occurs in the optical transmitting unit specified as 31CH L the programmable controller stops its operation END 7 9 5 Identifying abnormal 1 0 unit when transmission error occurs in SYSBUS FAILURE BEFORE REMOTE 1 MAIN UNIT RECOGNIZES END RSU On some occasions the T R ERR indicator on the remote I O master unit blinks while the END RS CHK indicator remains illuminated even though the end RSU is specified In such case chances are that the transmission line SYSBUS may be disconnected or the power of the expansion 1 or optical transmitting 1 0 unit may be turned OFF To spot the location of the failure observe the following procedures 1 Specify 1 unit immediately before the one specified as the end RSU Check that the END RS CHK indicator on the remote 1 O master unit extinguishes Repeat this procedure until the END STA CHECK indicator goes out When the END STA CHECK indicator extinguishes it means that the failure occurred in the transmission line between the 1 0 unit being specified as the end RSU when the indicator goes out and the O unit that was specified as the end RSU immediately before 2 SYSMAC C series SPECIAL 1 0 UNITS
34. S Transfer data D Transfer destination channel number 3 S Transfer data Transfer destination channel numbei Coding LROO to 31 HROO to 31 DMOOO to 511 DMOOO to 511 amp 0000 to FFFF NOTES 1 if the transferred data are all 0 special auxiliary relay 6306 turns ON 2 When the R register is logical 1 a MOV or MVN instruction is executed at each scanning To execute it only once program a differentiating circuit for the input 4 16 PART 1 SYSMAC C series OMRON INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 transfer of data or of inverted data is performed When the above program is executed the 16 bit data of OOCH 0000 to 0015 is transferred to HR20CH HR2000 to HR2015 then inverted to be further transferred to LR20CH LR2000 to LR2015 Holding VO relay rela 00CH HRZOCH Link relay LR20CH HR2000 1 0 HR2001 1 aon 0 LR2008 LR2009 LR2010 0 HR2013 E HR2014 0 The result of the transfer will be HR20CH 0 gt 6306 1 LR20CH 0 gt 6306 0 In constant designation hexadecimal 4 digit binary 16 bit data is either transferred or inverted and then transferred TRANSFER OF INDIRECTLY ADDRESSED DATA The o
35. When executing this instruction make sure that the con tents of the preceding data memory are equal to or less than those of the subsequent data memory and that all the channels are within the same relay area If these conditions are not satisfied an error will occur causing special auxiliary relay 6303 to turn ON and the instruction to be not executed The contents of the carry flag special auxiliary relay 6304 and the error flag 6303 are changed as follows NSTRUCTION WORDS PART 1 If the contents of the data are different from those in the table with the heading Contents of data an error occurs causing special auxiliary relay 6303 to turn ON and the instruction to be not executed LEFT RIGHT SHIFT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO to DM511 If the contents of the indirectly addressed area are other than BCD data or 000 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 52 TABLE COMPARE FUNS85 INSTRUCTION This instruction is used to compare 16 bit data against data in 16 channels table and to output the results of the comparison to a specified channel 0000 e S Data to be compared T Start CH No of table D Output CH No 4 48 Contents of data 06 to 63 00 to 45 00 to 60 LROO to 31 H
36. master station 3G2A5 RMO01 E or 3G2A6 RMOOT E is called the remote master unit RMU and the other serving as a slave station Type Selector circuit 5 Series CPU SYSBUS 3G2A5 RT002 E or 3G2A5 RTOO1 E is the remote slave Z iani unit RSU The two stations are connected with SYSBUS iam nesr ok a pair of fiber optics cables and can optically transmit 7 We ENDS data to each other at a high speed Ramote VO master unit Because the remote I O master unit can be used as a primary station of the remote 1 0 slave unit and an optical transmitting 1 unit Type 3G5A2 XXX E as well various system configuration is possible by using the master unit such as connecting the master unit to the optical transmit ting unit s only or to a combination of the remote I O slave unit and optical transmitting I O unit s electricity converter System SYSMAC Series interface ISYSMAC Series 170 unit The remote I O master and slave units are capable of trans mitting a maximum of 512 points at a transmission RUN output speed of 128 points per 16ms Remote slave unit 7 7 1 Characteristics 4 wire half duplex system 187 5k bps 128 points per 16ms Polymer clad quartz core fiber optics 800m max 512 1 0 points max including special
37. 315 166 176 186 196 206 216 226 236 246 256 266 276 286 296 306 316 167 177 187 197 207 217 227 237 247 257 267 277 287 297 307 317 512 x 168 178 188 198 208 218 228 238 248 258 268 278 288 298 308 318 PRETAN 16bit 169 179 189 199 209 219 229 239 249 259 269 279 289 299 309 319 320 330 340 350 370 380 390 400 410 420 430 440 450 460 470 371 372 373 374 004 014 024 054 005 015 025 055 321 331 341 351 361 381 391 401 411 421 431 441 451 461 471 322 332 342 352 362 382 392 402 412 422 432 442 452 462 472 323 333 343 353 363 383 393 403 413 423 433 443 453 463 473 324 334 344 354 364 384 394 404 414 424 434 444 454 464 474 325 335 345 355 365 375 385 395 405 415 425 435 445 455 465 475 326 336 346 356 366 376 386 396 406 416 426 436 446 456 466 476 327 337 347 357 367 377 387 397 407 417 427 437 447 457 467 477 328 338 348 358 368 378 388 398 408 418 428 438 448 458 468 478 329 339 349 359 369 379 389 399 409 419 429 439 449 459 469 479 480 490 500
38. 4 NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terntinal numbers and 1 0 channel relay numbers of I O unit are changed according to the position of the CPU or expansion 1 O rack on which the I O unit is mounted The terminal connections shown above are for when the I O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and 1 channel relay numbers 24 SYSMAC C series omnon SPECIFICATIONS DC 5 to 12V 1096 5 DC 12 to 24V 10 5 22 9 16 DC 12 10mA TYP DC 24V 1 5ms max 1 5ms max 1 5ms max 1 5ms max 16 points 8 points common 16 points 8 points common 450g max 450g max DC 4 0 max DC 10 2V max DC 1 5V min DC 3 0V min DC 5V 10mA max DC 5V 20mA max Internal circuit Internal circuit NOTE Tow wire system sensor cannot be used with this imput unit DC5 to 12V DC 12 to 24V Bah ee We VER RE ENE Spe BAARIA DC 12 to 24V NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until
39. 510 481 491 501 511 482 483 493 484 494 504 485 495 505 486 496 506 487 497 507 488 498 508 489 499 509 NOTE The contents of the data memories are retained during a power failure A data memory consists of 16 bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12111 1019 81716 54 312 10 NOTES 1 The data memories cannot be used with bit designation instruction for example LD AND OR OUT or SFT instruction 2 The data memories can be specified indirectly 6 SYSMAC C series OMRON cB APPENDIXES LIST OF INSTRUCTIONS APPENDIX B LIST OF INSTRUCTIONS BASIC INSTRUCTION LOAD Relay No Logica start operation LOAD NOT Relay No Logical NOT start operation AND Relay No Logical AND operation Logicai AND NOT operation Logical OR operation AND NOT Relay Relay ve Logical OR NOT Relay vo operation Input output relays Internal auxiliary relays 0000 to 6307 Link relays LROOOO to 3115 Holding relays HR0000 to 3115 Timers TIMOOO to 127 Counters CNTOOO to 127 Temporary memory relays TRO to 7 Temporary memory relays can only be used with the LD instruc tion Logical AND operation A
40. OMRON SYSMAC C series J INSTRUCTION WORDS If an attempt is made to execute this instruction with 0 as the dividend and the quotient exceeds the valid range an error will occur and special auxiliary relay 6303 turns ON disabling the instruction from being executed Since the arithmetic operation is performed with BCD data only the data is checked 1f the data is discovered not to be BCD an error will occur If the contents of the data are different from those in the above table an error will also occur Should an error occur special auxiliary relay 6303 will turn ON and the instruction will not be executed FLOATING POINT DIVIDE OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO0 to DM511 Hf the contents of the indirectly addressed area are other than BCD data or DMOOO to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 47 DATA DISTRIBUTION FUNS0 INSTRUCTION This instruction is used to distribute 16 bit data 0000 4 5 Data to be distrib uted D1 Base address D2 Offset data Coding 17705 0200 0201 4 42 PART 1 Contents of data LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO to 511 DMOOO to 511 NOTE When the R register is logical 1 the DATA DISTRIBUTE
41. incrementing flag Remote 1 0 failure flag Number 8 indicates that a failure has occurred in a remote O master unit Number 0 indicates that a failure has occurred in the remote 1 slave unit mounted to the expansion 1 rack number 0 Number 1 indicates that a failure has occurred in the remote slave unit mounted to the expansion I O rack number 1 Numbers 00 to 31 indicate the channel numbers Optical assigned to the optical transmitting I O unit in transmitting use unit Number indicates the optical transmitting 1 unit specified as an L channel Number 1 indicates the optical transmitting unit specified as an H channel Failure display incrementing flag When a failure has occurred in plural units the displayed failure code can be incremented by turning this flag ON and OFF Remote I O failure flag EXAMPLES OF IDENTIFYING ABNORMAL UNIT CPU rack 7CH 5 6CH 1CH 2CH 3CH 4CH L This flag indicates that a failure has occurred in a remote I O unit or an optical transmitting I O unit Expansion rack 12CH 13CH 10CH 11CH Optical Optical Optical 1 Optical Lemno transmitting transmitting transmitting rack rack 11 0 rack rack 30 channel L 30 channel H 31 channel L 31 channel 14CH 15CH 16CH 17CH 7 44 s
42. operation may be inaccurate L 9 4 16 WORD SHIFT WSFT FUN16 INSTRUCTION TIMO11 D e D The WSFT instruction is used to shift words in I O channel data units i e 16 bits Timer input Time up output WSFT 0000 0200 Time up output DM 010 Start channel om 2 912 012 End channel External setting value 58 145 WSFT 5 01 TIMH Fon 5 1 Start channel number 0201 AND NOT 0202 TIMH 15 0203 TIMH 15 NOTES 1 Timer numbers O00 to 127 can be assigned to a TIMH instruction 2 The time setting of the TIMH instruction can be performed in units of 0 015 from 00 00sec to 99 99sec NOTE When the H register is logical 1 word shifting of 16 bit 3 High speed timer numbers data is executed at each scanning To execute it only one are shared by timers time program a differentiating circuit for the input counters and up down counters Therefore a number al ready assigned to a high speed timer cannot be used for any other timer or counter 4 14 series omnon PART 1 INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the data between the start and the end channels are shifted in units of 16 bits In the above program the 16 bit con
43. Set this pin in the OFF position when the output from the sensor that is 7 8 connected to count input 1 is of the emitter follower type Otherwise set the pin in the ON position Set this pin in the position when the output from the sensor that is 8 connected to count input 2 is of the emitter follower type Otherwise set the pin in the position omnon SYSMAC C series SPECIAL 1 UNITS 7 6 5 Assignment of relay numbers Counter preset xx Preset data 1 Set count value preset Preset data 2 Present count data 1 Borrow Present count data 2 Count gate UP DOWN count command Preset data 4 eh Preset data 8 Present count value gt set count value Present count data 4 Present count value set count value Present count data 8 Carry reset Preset data 1 Present count value lt set count value Present count data 1 Borrow reset Preset data 2 Normally ON Present count data 2 Coincidence reset Preset data 4 Output enable Preset data 8 Normally ON Normally ON Present count data 4 Present count data 8 Preset data 1 Preset data 1 Present count data 1 Preset data 2 Preset data 4 Preset data 4 Preset data 2 Present count data 2 Present count data 4 Present count data 1 Present count data 2 Present count data 4 Preset data 8 Preset data 8 Present count d
44. control panel Secure the DIN rail attachment to the rear sides of the PC and expansion I O racks NOTE Use Type PFP 100N2 DIN rail and Type 3G2A9 DINOT DIN rail attachment Vertical mounting A CPU rack l A a 4 4 a Y Expansion VO rack 7 Horizontal mounting i p CPU rack Expansion 4 4 2 q A 7 A 2 Mounting dimensions Use M4 mounting screws to secure the CPU rack or expansion rack If an intermediate mounting plate is required it must be grounded completely and must have been finished with high conductivity plating to enhance noise immunity Limit the total length of three expansion rack connect ing cables to 2m 340 5 Mounting holes for M4 screw CPU rack 3 Wiring ducts Use of wiring ducts is recommended for the external wiring of I O units Provide each wiring duct with mounting base to facilitate the wiring from each unit so that the height of the wiring duct becomes nearly the same as that of the expansion I O rack Standard duct dimensions Expansion rack Mounting base SYSMAC C series OmRON PART 1 INSTALLATION AND WIRING 5 4 PROCESSING WIRING WITHIN 1 Pay attention to the following points for wiring within a control panel Provide a distance of more th
45. recommended for protection of the output elements 5 5 SYSMAC C series omnon MAINTENANCE AND INSPECTION CHAPTER 6 MAINTENANCE AND INSPECTION To sustain the proper system operation at al times it is necessary to inspect the PC daily If any trouble occurs in the PC how the system should be protected and how soon it can be recovered from the failure become important In this chapter the items to be inspected on the PC and the actions to be taken if the PC fails are described 6 1 INSPECTION To make the most of the functions of the PC under the best condition it is necessary to inspect the PC daily or periodically INSPECTION ITEMS The PC employs semiconductors as its main component elements However the semiconductors may deteriorate depending on the environmental conditions and must therefore be inspected periodically The standard inspec tion cycle is 6 months to 1 year If environmental conditions require it the date of inspection should be moved up As a result of the daily or periodic inspection if the PC is found to be outside the criteria in the following table be sure to correct it so that it falls within the prescribed criteria AC power supply a Voltage 6 Fluctuation 1 15 the rated voltage available when measured at the AC input terminal block 2 Does a momentary power failure occur frequently or is there any sharp rise or drop in the supply voltage Sorter Supply volta
46. 04CH O5CH 07CH 08CH Holding relay This relay retains the data during a power failure TIM CNTOOO to 127 000 010 020 030 040 050 060 070 080 O90 100 110 120 001 011 021 031 041 051 061 071 081 091 101 111 121 002 012 022 032 042 052 062 072 082 092 102 112 122 003 013 023 033 043 053 063 073 083 093 103 113 123 004 014 024 034 044 054 064 074 084 094 104 114 124 005 015 025 035 045 055 065 075 085 095 105 115 125 006 016 026 036 046 056 066 076 086 096 106 116 126 007 017 027 037 047 057 067 077 087 097 107 117 127 008 018 028 038 048 058 068 078 088 098 108 118 009 019 029 039 049 059 069 079 089 099 109 119 NOTES 1 Because the same timer or counter number is shared by the TIM TIMH CNT and CNTR instructions no timer or counter number can be assigned to those instructions in duplication Therefore do not program 8 Circuit in which timers or counters having the same number may be simultaneously turned on 2 When a power failure occurs the data in the area used by a counter instruction CNT or CNTR is retained
47. 1 0 G6B SPST NO relay contact closed during RUN mode Contact capacity AC 250V 2A p f 71 DC 24V 2A 45V 750mA max 5V max Z 500g max 500g max 7 24 SYSMAC C series omnon PART2 SPECIAL 1 0 UNITS CHAPTER 7 7 7 3 Setting address and end RSU SETTING ADDRESS AND END RSU OF REMOTE I O SLAVE UNIT Remove the indication panel from the remote 1 0 slave unit with a flat blade screwdriver and a 4 pin DIP switch will be found PC board Set the DIP switch in reference to the following figure and table Address End RSU setting DIP switch ee To specify No 0 sub unit as the end RSU 4 To specify sub unit other than No 0 as the end RSU To specify No 1 sub unit as the end RSU To specify sub unit other than No 1 the end RSU NOTES 1 A protective cap is attached as an accessory Put it on the unused fiber optics connector of the remote 1 O slave unit specified as the end RSU to prevent a mal function of the unit from external interference light Although Type 3G2A5 RT001 E is exclusively used as the end RSU perform the setting for the end RSU in the same manner as the other remote I O slave units sure to perform the setting with the power turned OFF If the same address is specified to plural remote slave units in duplication 3 two slave units are assigned address 0
48. 10 operations Mechanically 50 000 x 10 operations 5 years CEMETERIES 4 caution Be sure to turn off the power before replacing any unit of the _ J 6 1 OMRON SYSMAC C series NOTES ON INSPECTION 1 1 a defective unit is discovered and replaced confirm whether or not the replaced unit is abnormal 2 In the event of a faulty contact of the cable wipe the connector pins with a clean all cotton cloth moistened with industrial alcohol Be sure to plug in the flat cable after removing the cloth waste TOOLS AND TESTING EOUIPMENT REQUIRED FOR MAINTENANCE In the maintenance of the PC the following tools and testing equipment will facilitate the daily or periodic inspection of the programmable controller 1 Tools and testing equipment recommended as mandatory Screwdrivers phillips and round blade Tester or digital voltmeter Industrial alcohol and all cotton cloth 2 Measuring instruments recommended only if required Synchroscope Pen recording oscilloscope MAINTENANCE PARTS 1 Spare parts If the PC fails its repair is impossible without any spare parts no matter how early the trouble is discovered So it is recommended to have at least one 1 O unit as a spare part 2 Consumables Fuses for overload protection For CPU rack power supply and expansion rack power suppl
49. 8 points common 500g max DC 10 2V max DC 8V max DC 3 0V min DC 3 0V min DC 5V 10mA max DC 5V 200mA max Internal circuit Internal circuit eis AC DC 12 to 24V 3 FJ D C C o x jo A etia M O4 4 i PIR US 22 ab i L a NOTES The delay time fram the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terminal numbers and 1 channel relay numbers of an 1 0 unit are changed according to the position on the CPU expansion 1 rack on which the I O unit is mounted The terminal connections shown above are for when the I O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and 1 O channel relay numbers 2 3 omnon SYSMAC C series SPECIFICATIONS PART 1 AC DC 24V 10 15 3 3kQ 7mA TYP DC 24V 15ms max 15ms max 32 points 8 points common 500g max DC 16 0V max DC 5 0V min DC 5V 200mA max Internal circuit Q po 4 9 been We ES lt 8 8 p
50. BCD division is executed at each scanning To execute it only once program a differentiating circuit for the input LROO to 30 HROO to 30 4 25 omnon SYSMAC C series INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 4 digit BCD division is executed Two channels are required for the operation result area In the above program the 16 bit contents of OOCH 0000 to 0015 are divided by the 16 bits of LR20CH LR2000 to LR2015 in units of four BCD digits and the result of the division is output to the two 16 bit locations of HR21CH and HR22CH HR2100 to HR2215 If the result of the division is 0000 special auxiliary relay 6306 is turned ON Holding Holding relay relay relay Link relay HRZICH HR22CH 00CH LR20CH quotient remainder 0000 LR2000 HR2100 P 21 0001 22 LR2001 HR2101 2 s 21002 10 gt 58200 0 2212 70 2 gas 23 R2003 HR2103 2 HR2203 A 0004 al LR2004 HR2104 x HR2204 21 0005 2I LR2005 HR2105 2 HR2205 aoi 210006 10 2 LR2006 X10 22 HR2106 2 2208 M2 0007 W2 LR2007 _ 2 HR2107 2 HR2207 ol 0008 ER2008 8 HR2108 x HR2208 2f o9 2182009 2109 21 HR2209 ape z 0010 19 2
51. D conversion OV 1V 5V input unit analog input 4 20mA 1to 5V 410 20 BIPOLAR INPUT SIGNAL only for 2 channel type e Input range 5 to 5V or 10 to 10V e Converted output Sign bit 1 bit and A D converted 11 bit binary data NOTES 1 Bit No 11 is the sign bit The level of this bit becomes 0 when the analog signal input to the A D conversion input unit is positive and becomes 1 when a negative analog signal is input 2 Conversion code Sign magnitude method Relation between analog input signal and A D converted data Output from A D conversion input unit digital output 2047 Input to A D 110 conversion input unit 45V analog input 7 10 SYSMAC C series omnon PART2 SPECIAL 1 0 UNITS PTER 7 7 4 6 Programming example In this example two types of analog signals are input to the A D conversion input unit from external devices and are converted by the unit into decimal 4 digits less than 4095 A D conversion input unit Output unit Output unit Analog input Analog input 2 4 digit decimal 4 digit decimal 01CH output output _ p I N X10 x10 EN m Analog input 7 x10 X10 Analog input x10 x10 WORSE cw x10 xi Normally 1 6113 Circuit for
52. D conversion input unit 3G2A6 AD000 D A conversion output unit 3G2A6 DA000 High speed counter unit 3G2A6 CT001 E SSS Seen l 7 3 3 Optical transmitting 1 0 unit Jaa o soem 3G5A2 ID000 E IM210 E IADO0 E OC221 E OA221 E OD411 E 7 3 2 Remote 1 0 units Remote 1 0 master unit 3G2A6 RMOO1 E SL 250 34 5 TA SYSMAC C series omnon PART2 SPECIAL 1 0 UNITS 7 4 A D CONVERSION INPUT UNIT The A D conversion input units available are broadly divided into two types by the number of channels 2 channel type and 4 channel type The 2 channel type A D conversion input unit is capable of converting an analog input signal into a 12 bit binary data Various input signal ranges are available For voltage input the signal range can be 0 to 10V 0 to 5V 1 to 5V 5 to 5V or 10 to 10V For current input a signal range of 4 to 20mA is available This type of A D conversion input unit has identical circuitry for each of the two channels Line 1 and Line 2 The 4 channel type A D conversion input unit converts an analog input signal into 10 bit binary data For voltage input the signal range can be to 10V or 1 to 45V Fo
53. E 600g mex Specify the external output range when placing your order refer to 7 1 Available types Current output is available only in Type 3G2A6 DA001 whose voltage output range is 1 to 5 The binary code output from the types with the voltage output ranges consists of 1 sign bit and 11 bits NOTES 1 Connect the D A conversion output unit to the SYSMAC C250 via an expansion I O rack of either the SYSMAC C120 or SYSMAC C500 Insert the D A conversion output unit to the upper slot of an expansion I O rack when mounting the unit to the SYSMAC C120 To mount the unit to the SYSMAC C120 use Type 3G2C4 51025 or 3G2C4 SI026 Be 22 Load side Voltage output Voltage output 0V Line 1 Current output Current output Voltage output Voltage output 0V Line Current output Current output Twisted pair 2 1 Shielded cable TR CONNECTION FOR CURRENT OUTPUT Load side Voitage output amp Voltage output 0V Line Current output Current output 1 Voltage output Voltage output QV Current output Current output Line 2 Twisted pair shielded cable NOTES 1 Be sure to use a twisted pair shielded cable for external output connection Use the shielded cabie at current and voltage outputs the toad side for both SYSMAC C series omnon PART2 7 5 4 Assignment of relay number D A convert
54. HROO to 31 OPERATION OF EACH REGISTER The timer starts when the content of the R register is logical 1 and resets when the content of the R register is logical 0 NUMBER OF CONTACTS A time up contact designates the timer number itself Both NO and contacts can be used in the required quantity TIMER IS DECREMENTING TYPE The timer is a decrementing type that produces an output when the present value time remaining becomes 0000 When the timer input is turned off the present value of the timer returns to the preset value The timer output is transmitted externally through an output relay as shown in the above circuit example TIMER IS RESET AT THE TIME OF A POWER FAILURE If a power failure occurs the timer is reset and the present value returns to the preset value Therefore if retaining the present value of the timer in the memory is required a memory retentive type timer circuit as shown below must be used for programming 4 4 CONSECUTIVE OUT INSTRUCTION AND TIM INSTRUCTION 0000 When the NO contact 0000 turns ON output relay 0200 is energized and at the same moment timer 010 starts operating EXTERNALLY SET TIMER DATA Externally set timer data must be in four BCD digits and the CPU checks whether it is or not If it is not special auxiliary relay 6303 is turned ON indicating an error In this case the program can still be executed but the time up operation may not be accurate M
55. NOT OUT OUT ILC 03 NOTE When the IL condition is OFF i e when input 0000 or 0001 is OFF in the above example the state of each relay between the IL and ILC instructions is However when the IL condition is ON the state of each relay is the same as that in an ordinary relay circuit without IL ILC instructions OMRON SYSMAC C series INSTRUCTION WORDS PART 1 OPERATION OF EACH REGISTER When the interlock flip flop ILF in the CPU is 0 the content of the R register is fixed to 0 Therefore until the ILF is set to 1 the output relay will remain OFF IL instruction ILC 4 instruction The IL instruction causes the content of the R register to be transferred to the ILF Therefore the ILF is set to 0 if the content of the register is 0 The ILC instruction causes the ILF to be set to 1 regardless of the content of the R register NOTE The invert output relay is also turned OFF IL ILC ERROR If IL and ILC instructions are not used in pairs as IL IL ILC in the above example this is judged as an IL ILC error during the program check The operation of the circuit in th s case will be as programmed which is shown below 1 If the condition of IL is OFF output relays 0200 0201 and 0202 are all OFF and counter CNTO10 retains its present count value 2 the conditions of both IL and IL are OFF the state
56. bit data of 0200 0010 the O1CH 0100 to 0115 that is being turned ON is 0201 encoded to a 4 bit BCD value expressed as decimal O to 0202 15 and transferred to the least significant four bits 4 bits 0203 M 0204 2 to 2 in DMO10 0205 0206 0207 0208 0209 0210 0211 0212 0213 0214 0215 Least VO relay Data memory Digit significant 01CH DM010 designation digit Encode 16 TO 4 ENCODING OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other M than BCD data more than 512 error will occur this Significant will cause special auxiliary relay 6303 to turn ON and the digit program will not be executed 4 38 SYSMAC C series omnon INSTRUCTION WORDS If all the bits of the input of a 16 TO 4 ENCODER instruc tion are 0000 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 45 7 SEGMENT DECODER FUN78 INSTRUCTION The 7 SEGMENT DECODER instruction is used to convert 4 bits of 16 bit data into 8
57. by 1 bit When the instruction should be executed at the leading edge of the clock program a differentiating circuit for the clock input The instruction is executed as follows according to the con tents of the control data 1 When reset input is applied M o 4 47 series omnon INSTRUCTION WORDS 2 To shift from LSB to MSB 3 To shift from MSB to LSB CONTROL DATA To the contro data the direction of the shift DR data input IN clock input CP and reset input R are assigned MSB LSB DR IN c R DIRECTION OF SHIFT D12 1 The data is shifted from the LSB to MSB 0 The data is shifted from the MSB to LSB DATA INPUT D13 The content of the data to be shifted CLOCK INPUT D14 The data is shifted when the clock input turns ON RESET INPUT D15 All the 16 bits are reset when the reset input turns ON The reset input takes precedence over the clock input SHIFTING MORE THAN 16 BITS This instruction can also be used to shift more than 16 bits To do so specify channels according to the number of bits to be shifted to accommodate them In the above program for example 32 bits in data memories and 01 are shifted by 1 bit omnon SYSMAC C series
58. can be specified for trans ference and the data must satisfy these conditions Only BCD data are acceptable when specifying the number of channels Block area must be within the same data area Start channel number number of channels 1 lt Start channel area maximum channel number If these data conditions are not satisfied an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 38 BLOCK SET FUN71 INSTRUCTION This instruction is used to transfer the same data to all consecutive channels 0000 Setting data D1 Setting start chan number D2 Setting end channel number 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO to 511 DMO00 to 511 wooootorrer NOTE When the R register is logical 1 a data transfer operation is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the same data is transferred to all consecutive channels In the above program constant 1234 16 b
59. circuit Short circuit Open 2 12 SYSMAC C series omnon PART 1 SPECIFICATIONS 2 2 4 Terminal numbers and 1 O channel relay numbers When mounting an 1 unit on the CPU or expansion 1 rack the relation between the terminal numbers and 1 channel relay numbers of the 1 0 unit will be as follows according to the mounting position of the I O unit When mounting 16 point units Jels Terminai number o is bit 09 of channel 01 MCN Terminal numbers 17 and 8 are common terminals unit pnr 0 lt Terminal number 19 is bit 00 of channel 00 Terminal numbers 11 and 2 are common terminals When mounting 32 point 1 0 units Terminal number is bit 00 of channel 02 Terminal numbers A8 and 17 are common terminals Terminal number BO is bit 00 of channel 03 Terminal numbers B8 and B17 are common terminals lt Terminal number B18 is bit 00 of channel 00 Terminal numbers B10 and B1 are common terminals lt Terminal number A18 is bit 00 of channel 01 Terminal numbers A10 and A1 are common terminals omnon SYSMAC C series SPECIFICATIONS The terminal connections shown in 2 2 1 0 unit specifica tions are when the I O unit is mounted on the UNIT 1 position of the CPU or expansion I O rack The terminal connections are as follows when the 1 0 unit is mounted on the UNIT 0 position T
60. confirm its direction when connecting it and be sure to insert the connector until it locks Be careful not to soil the connecting portion of the fiber optics connector Place the protective cap attached as an accessory on the connector when not in use Should the connector be soiled wipe the dirt off gently with absorbent cotton soaked with ethyl alcohol or a clean tissue paper Fiber optics cord Fiber optics connector plug Protective 7 46 SYSMAC C series omnon PART 2 GUIDE FOR SYSTEM CHAPTER 8 GUIDE FOR SYSTEM 8 1 HOST COMPUTER LINKAGE SYSTEM CONFIGURATION The SYSMAC C Series realizes an efficient as well as effective decentralized control of factory automation by linking a host computer to the PC CONNECTING PLURAL PROGRAMMABLE CONTROLLERS 1 TO 32 WITH ONE HOST COMPUTER SUCH AS MINICOMPUTER OR PERSONAL COMPUTER SYSWAY All internally controlled data of the programmable con troller such as the SYSMAC V8 SYSMAC C500 or SYSMAC C250 can be transmitted to from the host computer The data transmission rate is selectable from 300 600 1 2k 2 4k 4 8k 9 6k and 19 2k bps The RS 232C or RS 422 interface can be used to connect the host computer with the programmable controller For data transmission between the host computer and programmable controller an exclusive synchronization is employed Therefore the data transmission rate of the host computer must be synchroniz
61. data 8 448 gt D XNRW FUN37 Performs an exclusive logical OR NOT EXCLUSIVE operation between two OR NOT 16 bit data WORD 5 5 gt D Increments 4 digit INCREMENT BCD data by 1 INC DECRE Decrements a 4 digit MENT BCD data by 1 DEC D 1 D Sets the carry CY to SET CARRY ISTC STC FUNAO 1 1 0 Clears the carry CY to CLC 30 gt FU INTO BLOCK 70 MOVE 10 BLOCK FUN71 71 SET 10 Transfers consecutive channel data at one time No of words 5 s 3 1 Ds No of D t LL words Sets the same data to all consecutive channels Data 02 APPENDIXES Number of words 0000 to 0511 s Same as BCD TO BIN CONVER SION instruction Same as 5 of MOVE instruc tion 0 D 432 00 to 60 LROO to 31 TIM CNTOOO to 127 000 to 511 DMO00 to 511 Computes the square root of an 8 digit BCD
62. data will compete for the SYSBUS causing a transmission error to occur Therefore never specify the address in duplication Me a 1 2 J 7 7 5 Hints on correct use A maximum of four remote master units can be connected to the CPU or the expansion 1 0 rack of the SYSMAC C500 and three to the expansion 1 0 rack of the SYSMAC C120 The remote 1 0 slave unit must be inserted to the leftmost slot of the expansion rack of the SYSMAC C500 362 5 01 or 3G2A5 RTOO2 E The remote I O master unit must not be mounted to the SYSMAC C500 to which a remote 1 0 slave unit is already mounted 362 5 001 362 5 001 3G2A5 RTOO2 E The expansion rack of the SYSMAC C500 must not be connected for the purpose of system expansion to the SYSMAC C500 to which a remote 1 0 slave unit is already mounted 362 5 01 or 3G2A5 RTOO2 E 3G2A5 11002 7 25 omnon SYSMAC C series SPECIAL 1 0 UNITS 7 8 OPTICAL TRANSMITTING 1 0 UNIT By connecting the optical transmitting unit to the remote I O master unit with a fiber optics cable high speed optical data transmission can be performed The remote 1 O master unit which serves as the primary station of a data transmission system configured thereby can be con nected to plural optical I O transmitting units only or to a combination of the remote 1 O slave unit and o
63. for voltage output and 4 to 20mA for current output The D A conversion output unit has an identical circuitry for each of the two channels Line 1 and Line 2 7 5 1 Specifications CHARACTERISTICS Oto 10V 0 to 5V 1 to 5V 10 to 10V b to 5V 4 to 20 Voltage output Current output Voltage output 0 59 7 5 2 Block diagram Line 1 Isolation Vokage a amp up 99 analog OV 3 oak gt 8 Current 2 4 8 out ai 1 E ete From Em E 5 eres creuit Line 2 4 eat EH Analog OV DAK H Current jd one k 5 output yo 3 8 H solation Mid Analog power supply ov The current output 4 to 20mA is available only in the unit with the voltage output range 1 to 8V The terminal for the current output of the unit with the other voltage range is therafore opened 7 5 3 External connection diagram CONNECTION FOR VOLTAGE OUTPUT Voltage output 15mA Current output 5502 max 1 4 095 of full scale Binary 12 bits 1 2 LSB max at 25 C 0 2 max of full scale at 25 C 50PPM C 5ms max Program execution cycle of SYSMAC C Series Terminai block cannot be dismounted 5 550 max i
64. instruction is executed at each scanning To execute it only once program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 specified data is distributed to a channel that is a base address added with an offset That is S gt 21 D2 In the above program when the contents of CH35 that holds offset data are 0005 the contents of CHO1 which are data to be distributed are distributed to DMOOB the fifth channel from DMOOO0 holding the base address If the distributed data is 0000 as a result of the execution special auxiliary relay 6306 turns ON DM005 CH01 Data to Destination of be distributed distribution DMO000 Base address 5 CH35 Offset data 1234 0005 DATA DISTRIBUTION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays to DM511 If the contents of the indirectly addressed area are other than BCD data or DMOOO0 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed SYSMAC C series omnon If the offset is not in BCD or exceeds the relay area within which it is specified or data other than those in the above table will cause an error to occur If an error occurs special auxiliary relay 6303 turns O
65. memory reten tion during a power failure or as a long time timer The relay output can also be used as a flicker signal Relay No 6303 This relay operates ON when the result of an arithmetic operation is not output in BCD or when an address higher than 511 is specified in indirectly addressing the data memory Relay No 6304 This relay serves as a carry flag and operates or releases ON or OFF according to the result of an arithmetic operation It is forcibly turned ON by an STC Set Carry instruction and OFF by a CLC Clear Carry instruction Relay No 6305 This relay operates if the result of a Compare operation CMP instruction executed is more than gt Relay No 6306 This relay operates if the result of a Compare operation CMP instruction executed is equal It may operate if the result of an arithmetic operation is 0 Relay No 6307 This relay operates if the result of a Compare operation CMP instruction executed is less than 32 Relay Nos TR 0 to TR 7 Relay numbers 0 to 7 may not necessarily be assigned consecutively Temporary memory relay coil numbers cannot be used in duplication within the same block With two or more blocks they can be used in duplication When using a temporary memory relay the letters TR must be prefixed to the relay number e g TRO 3 2 FREE LOCATION CONCEPT AND 1 0 CHANNELS gt The PC employs a free location concept
66. of each relay is the same as 1 3 If the condition of IL is ON and that of IL is OFF output relay 0200 turns ON or OFF if input 0001 is ON or OFF and output relays 0201 and 0202 remain in the OFF state Counter CNTO10 retains its present count value 4 If the condition of IL is OFF and that of IL is ON the state of each relay is the same as 1 and 2 4 8 4 9 JUMP JMP FUNO4 JUMP END JME FUNO5 INSTRUCTIONS The JMP instruction is used in conjunction with the JME instruction and causes the contents of a program between these two instructions to be ignored or executed according to the result immediately before the JMP instruction 0000 0001 JMP 0002 0003 JMP 04 LD AND NOT OUT LD OUT JME 05 NOTE When the JMP condition is OFF i e when input 0000 or 0001 is OFF in the above example the state of each relay between the JMP and JME instructions is However if the JMP condition is ON the state of each relay is the as that in an ordinary relay circuit without JMP JME instructions OPERATION OF EACH REGISTER If the content of the register is 0 the program steps between the JMP and JME instructions are not executed In other words the states of output relays internal auxiliary relays timers and counters remain unchanged f the content of the register is 1 the program steps between the two instructions are executed SYSMAC C series o
67. operation is inverted and then stored in the 16 bit locations of DMO12 If the result of the operation is 000 special auxiliary relay 6306 is turned ON Data relay Link relay memory 00CH LR11CH DM012 EXCLUSIVE LOGICAL OR NOT OPERATION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMG00 to DM511 If the contents of the indirectly addressed area are other than 000 to 511 an error will occur this will cause special auxiliary relay 6306 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction The constant can be specified as a hexadecimal 4 digit binary 16 bit data 4 34 INCREMENT INC FUN38 INSTRUCTION The INC instruction is used to increment a 4 digit BCD data by 1 0000 omon D Data channel number Codi LD INC 38 Contents of data D LROO to 31 HROO to 31 DMOOO to 511 DMOO0 to 511 NOTE When the R register is logical 1 the increment of a 4 digit BCD data is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logica 0 When the content of the R register is logical 1 the 4 digit BCD data in the specified data is increment
68. processing analog input D ad The contents of 01CH OFFF are converted into a binary data that is in turn stored in that is in turn output to O3CH The contents of 0115 Input failure output DMO00 are converted into a decimal data Normally 1 6113 Circuit for processing analog input 2 The contents of 02 OFFF are converted into a binary data that is in turn stored in DMOO1 The contents of 7 11 Output unit 05CH 0j 00 0 2 o 3 03 4 04 5 05 6 06 7 07 8 COM 9 08 10 09 11 10 12 _11 13 12 14 13 15 14 16 15 17 COM 18 19 Analog input 1 Input failure Analog input Input failure DMO01 are converted NOTE Data are output from the A D conversion input unit in into a decimal data increments of 16 bits Because a Sign bit is output from the that is in turn output unit in addition to the A D converted data only the 10 0 converted data are fetched into the CPU by program E D steps 1 and 2 above Input failure output OMRON SYSMAC C series SPECIAL 1 0 UNITS 7 5 D A CONVERSION OUTPUT UNIT The D A conversion output unit is capable of converting a 12 bit binary data from a SYSMAC C Series programmable controller into an analog output signal A wide variation o output signal ranges are available 10V 0 to 5V 1 to 5V 10 to 10V 5 to 5V
69. shielded cable V Input 5 Resistance Line3 input Shield ov Input Resistance Line4 1 Shield Twisted pair Ve shielded cable SYSMAC C series omnon PART2 SPECIAL I O UNITS 7 4 4 Assignment of relay number Output from A D conversion input unit 2 CHANNEL TYPE A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 23 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 27 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 21 A D converted data 21 A D converted data 21 1 input Line 2 input NOTES Bit No 11 is used as either an A D converted data or the sign bit When used as the sign bit the level of this bit becomes 1 when the level of the input signal is high and becomes 0 when the level of the input signal is iow Bit No 15 of Type 3G2A6 AD001 A D conversion 1 0 input unit 1 to 5V for voltage input or 4 to 20mA for current input detects an input failure The level of this bit becomes 1 when a
70. slave units can be connected to a remote master unit Set the address of each connected remote 1 0 slave unit so that the remote 1 O master unit identifies the address of each expansion 1 O rack to which each 1 0 sub unit is mounted For details on DIP switch setting of the remote slave unit refer to 7 7 4 Setting address and end RSU remote O slave unit wl Programmabie controller Remote VO slave unit Expansion 1 0 rack No 1 CHANNEL SETTING FOR OPTICAL TRANSMITTING 1 O UNIT Remote VO master unit N Optical transmitting 1 O unit An 1 channel of the SYSMAC C Series programmable controller consists of 16 points and that of an optical transmitting unit 8 points When setting the O channel of an optical transmitting 1 O unit pay attention to these two items SYSMAC C series OMRON PART 2 SPECIAL I O UNITS First the channel of the programmable controller to which the optical transmitting I O unit is assigned must be determined Unlike the remote 1 0 slave unit that is auto matically assigned with channel when it is mounted to the expansion I O rack the channel of each optical transmitting I O unit must be set by using the DIP switch incorporated in the unit Second as stated an O channel of the SYSMAC C Series programmable controller consists of 16 points whereas that of an optical transmittin
71. the unit that has been mounted on the right most position of the existing I O unit row After the replacement addition or removal of an 1 0 unit the relay numbers will not be modified unless the statuses of the mounted 1 0 units have been registered in the CPU memory At this point however an verify error or 1 0 setting error occurs 2 If a vacant position s is required to mount additional unit s in the future because of possible modifica tions in design use a dummy I O unit s 3G2A6 DUMO 1 to reserve desired channels so that no program modification will be required SYSMAC C series omnon INSTRUCTION WORDS CHAPTER 4 INSTRUCTION WORDS See Appendix for List of instructions 4 1 LOAD LD AND AND OR OR OUTPUT OUT INSTRUCTIONS 4 1 1 LOAD LD amp OUTPUT OUT instructions If each logic line starts with an NO contact use the LD instruction Use the OUT instruction for relay coil fF Logic line Gea Bus bar Pm i vu 4 1 2 AND instruction NO contacts in series are processed by the AND instruction 0000 4 1 3 OR instruction NO contacts in parallel are processed by the OR instruction 0000 1 0001 4 1 4 1 4 LOAD NOT LD NOT instruction If each logic line starts with an NC contact use the LD NOT instruction in place of the LD instruction 2 0000 0001 0002 Contents of data 0000 to 6307 0000 to 6015
72. unit Basic output unit D A conversion output unit High speed counter unit Basic input unit Remote 1 master unit Basic output unit 7 2 NAMES OF PARTS 7 2 1 A D conversion input unit Type 3G2A6 7 2 2 Remote I O master unit Type 3G2A6 ADOOL D A conversion output unit Type RM001 E 3G2A6 DA000 High speed counter input unit Type 3G2A6 CT001 E Fiberoptics TEST Indicator block connector connector Switch Terminal 7 2 SYSMAC C series OmRO ER PART2 SPECIAL I O UNITS 7 2 3 Remote I O slave unit Type 3G2A5 RT002 E RT001 E OFF ON Address setting DIP switch pins NC End RSU setting DIP switch pin T R ERR indicator ERR indicator DIP switch for specifying address and end RSU Fiber optics connectors Type 3G2A5 RT001 E remote slave unit is provided with only one connector RUN OUTPUT terminals INDICATORS Blinks XX during normal data transmission and lights when a transmission error occurs Master slave unit Lights up XX if the transmission line is normal and does not O if it is abnormal when the transmission line is tested by using the TEST switch This test can be repeatedly conducted while the TEST switch is being held down but the TEST OK indicator goes out if a failure in the transmission line is detected Lights up if no end RSU is found and does not O if the end RSU is found Ligh
73. using the contacts of this relay Relay No 6109 This relay operates when the scan time exceeds a pre determined period or when the processing time of a user program exceeds 100msec Relay No 6110 This relay operates when the number of 1 O units actually mounted disagrees with those registered by means of a free location concept Relay No 6113 This relay is normally ON Relay No 6114 This relay is normally OFF Relay No 8115 This relay serves as an initial cycle ON flag It operates only one scan time on start of the RUN operation One scan time is the time required to execute a user program once starting from step 0000 to the END instruction of the program Start of RUN operation omnon SYSMAC C series ASSIGNMENT OF RELAY NUMBERS Relay No 6300 This relay is used to generate a 0 1 sec clock When used in conjunction with a counter it functions as a timer for memory retention during a power failure 0 05 sec 0 1 sec NOTE The ON time of a 0 1 sec clock is 50msec Therefore note that if the program execution time is prolonged the CPU may fail to read the clock Relay No 6301 This relay is used to generate a 0 2 sec clock When used in conjunction with a counter it functions as a timer for memory retention during a power failure or as a long time timer Relay No 6302 This relay is used to generate a 1 sec clock In conjunction with a counter it functions as a timer for
74. voltage or a current Five types of units with different output signal ranges are available Make a correct choice from these five types The converted analog signal may be output from only a positive pole of the terminals or from both the positive and negative poles depending on the signal range of the used unit Note that the resolution of the signal also differs depending on the signal range Unipolar output signal Output range O to 10V 0 to 5V 1 to 5V 4 to 20mA D A converted data A 12 bit binary data is input to the unit SPECIAL 1 0 UNITS Relation between input digital signal and output analog signa Output from Output from D A conversion D A conversion output unit output unit 45V 20mA x 10V 5V 1V 4mA ov Input Input 0 4005 0 4095 data 1to 5V or 4 to 20mA output signal range Oto 10V or 0 to 5V output signal range Note that an input binary data exceeding 12 bits decimal 4095 cannot be converted into an analog signal Bipolar output signal Output range 10 to 10V 5 to 5V D A converted data A binary 11 bit data with one sign bit is input to the unit NOTE Bit 11 is a sign bit The level of this bit becomes 0 when the digital data input to the D A conver sion output unit is positive and it becomes 1 when the input digital signal is negative Relation between input digital and output analog signal The digital data input to the D A c
75. when the 1 N transmission control procedure is used Transmission line Twisted pair shielded cable Personal computer or minicomputer Link adapter Type 382A9 AL003 3G2A9 ALO04 E SYSWAY 1line SYSMAC C500 SYSMAC C500 SYSMAC C500 CPU rack CPU WEE CPU rack SYSMAC C500 host SYSMAC C500 host SYSMAC C500 host link unit SYSMAC C500 host SYSMAC C250 link link unit linkunit Type 362A5 LKO07 E link unit connecting cable Type 3G2A5 LK007 E Type 3G2A5 LK007 E 3G2A5 LK008 E Type 3G2A5 LK007 E Type 3G2A4 CN511 3G2A5 LK008 E 3G2A5 LK008 3G2A5 LK008 E Maximum No of programmable controllers connectable 32 or SYSMAC V8 x 32 65 536 PROGRAMMABLE CONTROLLER LINKAGE SYSTEM CONFIGURATION 8 2 This system is designed for the purpose of decentralized control and allows data transmission between program mable controllers to be easily performed by using an exclusive relay area The wiring procedure has been simplified thereby sig nificantly reducing the installation cost Be sure to use an exclusive power supply unit Type 3G2A4 PS221 E for the link rack of the SYSMAC C250 Maximum No of points available SYSMAC CB00 x 32 16 384 128k bps 8 when SYSMAC C250 or SYSMAC C500 serves as a master station Twisted pair shielded cable Approx 25ms 64 points x 8 programm
76. 00002 instruction in block b the result of the operation in block a is transferred into the S register and the result of the logical operation by instructions LD0002 and AND NOTOOOS in block b is stored in the R register 3 The OR LD instruction causes a logical OR operation to be performed between the R register and the S register The result of the logical OR operation will be newly stored in the R register 4 3 po 15 s NUMBER OF BLOCKS The number of blocks is not limited for OR LD operation on a logic line As many blocks as required can be continued for parallel connection by means of LD to OR LD keys AND NOT LD NOT AND NOT OR LD LD 44 TIMER TIM INSTRUCTION 3j The TIM instruction can be used as an ON delay timer in the same manner as a relay circuit 0000 0001 mie 15 0sec External setting 01CF 581 4sec Timer input Time up output 0200 Time up output 0201 Externally set value 881 4sec OMRON SYSMAC C series 1 INSTRUCTION WORDS 0201 0202 AND NOT TIM 0201 011 NOTES 1 Timer number 000 to 127 Time setting value 0000 to 9999 x 0 15 2 Timer numbers are shared by both timers and counters Therefore a number already assigned to a timer must not be used for any other timer or counter 00 to 63 LROO to 31 Externally set channel
77. 00519 X 000520 X 000521 X 000522 X 000523 101123 X 001124 Set count value preset data Coincidence Coincidence external output Output enable Coincidence reset The level of the coincidence signal becomes high when the present count value of the counter coincides with the set count value This high level will be retained until the level of the coincidence reset or external reset signal becomes high The coincidence signal is not output until the level of the output enable signal becomes high 721 OmRON SYSMAC C series SPECIAL 1 0 UNITS 7 6 7 Programming examples DOUBLE PRESET COUNTER In this example two count values 052200 and 112300 are processed with a double preset counter The high speed counter unit is assigned to Channel Nos 2 to 5 in the CPU rack Nos 3200 to 3206 denote the internal auxiliary relays of the programmable controller Staar D Gea 3200 t il 3203 0403 3200 3205 0403 320 4l ll 3206 t 4 Y processing 3202 3204 3206 NOTE Preset 1 command preset 2 command and coincidence reset command cannot be executed properly if their coil numbers are used in duplication memory Coincidence reset 7 22 T 34 Preset data 02 3200 TR 3201 Hi i Present count Pi t1 value is preset command to 000000 3200 t 1 Preset data 292 Auxiliary relay Count v
78. 01 and 0102 on the input unit Check the terminal voltage of relay Nos _ 0100 0101 and 0102 using the tester Abnormal Abnormal Normal LED on the input unit is defective Abnormal Normal Check the terminat voltage of relay Nos 0100 0101 and 0102 using the tester Abnormal Re check by disconnect ing external wiring and applying dummy input Replace defective input unit Check input devices LS1 152 and 153 Normat TERMINALS Check each 1 0 unit for loose terminals Check the power supply terminals for loose connection Check each unit for loose mounting screws Check the expansion 1 O rack connecting cable for proper mounting PART 1 SYSMAC C series OMRON MAINTENANCE AND INSPECTION CPU RACK Check external devices Is output inhibit Is RUN indicator ON input applied Remove output inhibit input 6015 Is START input Turn START signal applied input signal on Does CPU stop due to failure FALO1 CPU rack is abnormal EXTERNAL ENVIRONMENT Consider the installation of a fan Does ambient temperature c lair cooler etc exceed 50 15 ambient temperature below 0 C NO Is ambient humidity w operating range Consider the instailation of a heater etc Consider the installation of an air conditione
79. 35 OMRON SYSMAC C series 7 SPECIAL 1 0 UNITS PART 2 Example 2 Connection between SYSMAC C500 and optical transmitting I O unit Optical transmitting transmitting 1 0 unit 170 unit 5CH 6CH L 30 channel H 31 channel L 31 channel H Rui E er 2CH SCH ACH N sc the channels of each optical transmitting 1 0 unit by its DIP switch Optical transmitting Because the channel is automatically assigned to the I O 00 Channel unit mounted to the CPU rack unit s mounted to the CPU rack of the programmable 01 Channel unit mounted to the remote rack controller to the expansion I O rack in sequence starting Shonna from channel 00 the channel to optical transmitting 1 O 04 Channel unit s must be assigned in reverse sequence starting from channel 31 In so doing pay special attention so that the channels of the programmable controller and those of the optical transmitting I O units do not overlap 31 Channe Optical transmitting units Example 3 Connection between SYSMAC C500 remote units and optical transmitting units Expansion 1 0 rack 12CH 13CH 10 11CH Optical Optical Optical transmitting transmitting transmitting V O unit unit V O unit 30 channel L 30 channel H 31 channel L 31 channel N Set the channel of each optical transmitti
80. 9 R Set input Reset input Latching relay output 0200 0203 AND 0204 KEEP 11 0000 to 6015 j LROOOO to 3115 HROOOO to 3115 NOTE A latching relay program must be entered in the order of a set input circuit a reset input circuit and a latching relay coil OPERATION OF EACH REGISTER The latching relay operates when the content of the R register is logical and the content of the S register is logical 1 The relay releases when the content of the R register is logical 1 When both a set input and a reset input are applied simultaneously the reset input takes precedence If a holding relay HR is used as a latching relay data in the memory are retained during power failure until a set or reset input is applied OMRON SYSMAC C series INSTRUCTION WORDS 4 13 UP DOWN COUNTER CNTR FUN12 INSTRUCTION The CNTR FUN12 instruction can be used as an up down reversible counter in the same manner as a relay circuit 0001 0002 UP input 0003 0001 0002 TE 0004 0005 External setting 01CH 5814 counts ONTOI1 AND NOT LD AND NOT LD CNTR 12 LD OUT LD AND NOT LO AND NOT LD CNTR 12 LD PART 1 Externally set channel 00 to 63 LROQO to 31 4 12 HROO to 31 NOTES 1 An externally set up down counter program must be ent
81. C to which the remote master unit is mounted and the user program of the controller to which an 1 O link unit is connected the data of the base can be transmitted received among a maximum of 16 PCs Connector for link connecting cable is provided on the left side only SYSMAC C500 CPU rack SYSMAC C500 CPU rack SYSMAC C500 PC tink unit type 3G2A5 LKOO3 E SYSMAC C500 PC link unit type 3G2A5 LK003 E The PC to which the remote I O master unit is connected f nctions as the primary station that controls the flow of data The PCs to which an 1 0 unit is connected functions as a secondary station that actually transmits and receives data The maximum number of link units that can be controlled by the remote 1 master unit differs depending on the maximum number of O points provided to the PC to which the remote master unit is connected and the number of 1 0 points of each 1 0 link unit connected The number of the 1 0 link units is determined as follows The maximum number of 1 points of the program mable controller to which the remote O master unit is mounted gt the total number of I O points of each 1 0 link unit connected omnon SYSMAC C series GUIDE FOR SYSTEM PART2 CONNECTING 1 O LINK UNITS ONLY TO REMOTE 1 O MASTER UNIT SYSBUS SYSBUS 1line 800m max 800m max 800m ma
82. CPU rack and associated units Power supply terminals Operation failure indicators Control YO terminals Peripheral equipment connecting connector Input unit only Battery compartment CPU FRONT INDICATION BATTERY 1 2 USER MEMORY MOUNTING FOR 3G2C4 SCO23 E SC024 E No user memory is mounted in the CPU rack of the SYSMAC C120 Select the RAM H 6264 or equivalent or ROM H 2764 or equivalent and mount the memory in the CPU rack in accordance with the following procedures 1 Turn off the power 2 Remove the terminal block mounting screws A with a screwdriver to detach the terminal blocks from the CPU rack 3 Remove the CPU rack cover mounting screws B to detach the cover 4 Pull the ROM board C out of the CPU rack 5 To exchange RAM with ROM 1 Short circuit the JT2 and 3 pins of the ROM RAM selector jumpers 2 Pull out the RAM chip from the user memory socket 3 Insert the ROM chip into the socket 6 To exchange the ROM with RAM 1 Pull out the ROM chip from the socket 2 Insert the RAM chip into the socket 3 Short circuit the JT2 and 3 pins of the ROM RAM selector jumpers boards CPU rack cover mounting Screw B Terminal CPU blocks rack Terminal block cover mounting screw A SYSMAC C series OmRON CONFIGURATION OF PC PART 1 NOTE 1 Replacing the ROM chip with the RAM chip will cause memory fai
83. DC 24V 7 32 points PNP NPN input 2 450g max 3G2A6 IM213 DC 5 to 12V 16mA 16 points NPN input 3 450g max 3G2A6 ID112 DC 12 to 24V 10mA 16 points NPN input 3 450g max 3G2A6 1D213 DC 24V 7mA 32 points NPN input 3 4509 3G2A6 1D217 DC 24V 10 64 points dynamic scan method 450g max 3G2A8 1D212 Relay contact AC 250V DC 24V 2A 16 points with relay socket 450g max 3G2A6 0C221 Relay 250V DC 24V 2A 24 points without relay 500g max 3G2A6 0C222 socket E Triac AC 85 to 250V 1A 16 points 500g max 3G2A6 0A222 Transistor DC 12 to 48V 1 16 points 500g max 3G2A6 0D411 Transistor DC 12 to 48V 0 3A 32 points 530g max 3G2A6 OD412 Transistor DC 24V 0 1A 64 points dynamic scan method 450g max 3G2A6 OD211 1 0 16 32 64 points common 450g max 3G2A6 DUMO1 64 bits 2764 509 max ROM H 64 bits 6264 50g max RAM H 100g max 3G2A9 BAT08 4 Covers vacant slot on SYSMAC C120 509 max 3G2A6 COV01 For mounting SYSMAC C120 to DIN rail 500g max 3G2A9 DINO1 hens NOTES 1 ON delay time 35ms OFF delay time 55ms 2 ON delay time 15ms OFF delay time 15ms 3 ON delay time 1 5ms OFF delay time 1 5ms 4 The EPROM and RAM chips are optional 1 1 RON SYSMAC C series CONFIGURATION OF PC 1 2 OF PARTS 1 2 1
84. E NE PEN dE 7 2 7 9 Dimerisions y c e me der res Vela POUR DNI 74 7 4 A D conversion input unit 7 5 7 5 D A conversion output unit 7 12 7 6 High speed counter unit 7 15 JL area s 7 24 7 8 Optical transmitting 1 O unit 7 26 7 9 Operation diagnostic functions and failure detection of remote I O unit and optical transmitting O unit 7 34 7 10 Handling fiber optics cable 7 46 CHAPTER 8 GUIDE FOR SYSTEM 8 1 Host computer linkage system configuration 8 1 8 2 Programmable controller linkage configuration 82 8 3 1 0 linkage system 8 3 CHAPTER 9 PERIPHERAL EQUIPMENT 9 1 Available types 2 1 eee ener Mid Reg hie EN GU ad Co 9 1 9 2 Appearance vos eL pe Peu tele wa ey Rakin oes 9 2 9 37 GONNECHON csse eam PRaAd cuam ge o EY aad ees 9 3 9 4 Available functions RR RI y ras 9 4 APPENDIXES Appendix A List of relay A 1 Appendix B List OF instructions vu sese exa Ra EA RU DET ATUS B 1 This user s manual mainly describes the pr
85. ED indicator is detective 6 6 Since this type of defect does not impede normal operation repair it in spare time or at the next periodic inspection OUTPUT UNITS output units do not turn SYSMAC C series omnon MAINTENANCE AND INSPECTION 1 Load power suppl not applied 2 Signal level within unit is defective Apply the load power supply Raise the voltage Remove all the 1 units being used and insert them one by one to find the defective unit All of specific output units do not turn 1 Same 1 1 Same as above 2 Screws of terminal board are loose Retighten screw terminals 3 Contact of jack is defective Clean the contact with alcohol moistened cloth 4 Fuse is blown Replace defective fuse 5 Internal circuit is defective Replace defective unit All of specific output units do not turn off 1 Contact of jack and connector is defective Clean with alcohol moistened cloth 2 Gate circuit is defective Replace defective unit Output of a specific relay No does not turn on Operation indicator LED is not illuminating 1 ON time duration of output is short 2 Relay Nos of the OUT instruction in the program are in duplication 3 Power circuit is defective Correct the program Correct the program Replace defective unit Operation indicator LED is illuminating 1 B
86. EMORY RETENTIVE TYPE TIMER A circuit to retain the present value of the timer during a power failure is configured using a combination of clock instruction and counter CNT instruction 0000 6301 NOTE Special auxiliary re lay 6301 is used to generate 0 25 clock pulse USE OF AN EXTERNALLY SET TIMER In the above example the timer 011 of the other system is used for externa time setting An external time setting device is connected to channel No 01 C 1 O input unit of its own system so that the timer operation will be up after the lapse of 581 4sec set by the external time setting device SYSMAC C series omnon PART 1 INSTRUCTION WORDS External time Input unit setting device XY X10 X10 X10 men 98 alele 4 5 COUNTER CNT INSTRUCTION The CNT instruction can be used as a preset counter in the same manner as a relay circuit 0000 0001 Input 3 counts 0000 0001 Input 4I CP CNT 0002 Reset 9n External setting R OICH 5814 counts 5813 5814 5815 Count input Count up output 0200 Count up output 0201 Reset input AND NOT Lb CNT AND NOT LD CNT NOTES 1 A counter program must be entered in the order of a count input circuit a reset input circuit and a counter coil 2 Counter number 000 to 127 Counter setting
87. FER B 7 Tranfers channel data in units of digits 4 bits to a specified channel L 5 Control data Digi from which datas uansferred No of digits to bo transferred Digit to which datais transferred Ignored Same as of ADD instruction Contro data 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 0 000 to 511 DMOOO to 511 Constant 22 as D of BLOCK SET instruction APPENDIXES OMRON SYSMAC C series Shifts specified 16 bit 00 to 60 data 1 bit to the left or LROO to 31 to the left or to the HROO to 31 data right LEFT RIGHT SHIFT HR Enach J senci REGISTER INIS o 15 i Ench stan cy jH Compares 16 bit data against data in 16 Control data channels table and Outputs the results to a Ne specified channel 00 to 60 0 LROO to 31 TABLE 1 HROO to 31 COMPARE z 2 000 to 511 DMOOO to 511 e Start CH lt End The start CH must be in the same relay area as the end CH Refreshes the set time n of the watchdog timer Oto 63 isagraement greement WATCHDOG TIMER SETTING Stops the RUN opera tion when the specified relay is turned OFF and starts the operation when it is turned ON RUN STOP
88. I O points provided to the System 296 Count the number of VO units on the remote slave unit in units of 8 points in the same manner as the optical transmitting VO unit For example a unit provided with 16 points is counted as two units 7 38 SYSMAC C series omnon SPECIAL I O UNITS The remote 1 0 master unit can be inserted in the upper slot of the SYSMAC C120 expansion 1 rack or in any 1 0 connector of the SYSMAC C500 expansion 1 rack It cannot however be directly connected to the SYSMAC C120 CPU rack Up to two remote I O slave units or 64 optical transmitting units can be connected to a remote main unit Note however that I O units cannot be connected to the SYSMAC C120 exceeding 256 1 0 points because the maximum number of 1 0 relays provided to the PC is 256 In terms of the optical transmitting unit the maximum number of units taht can be connected to the SYSMAC C120 is 32 because eight O points are provided per optical transmitting I O unit When mounting Type 3G2A6 RMO001 E remote master unit to the SYSMAC C120 expansion I O rack use Type 362 4 51027 51028 When connecting remote 1 0 slave unit and optical transmitting I O units to SYSMAC C250 via remote I O master unit SYSBUS SYSMAC C250 jen CPU rack cE m SYSMAC C500 expansion 1 0 rack Remote VO master unit Type 3G2A5 RM001 E exclusive
89. If these data conditions are not satisfied an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed ONE DIGIT SHIFT LEFT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays 000 to DM511 Use data memory area for the start and end channels If the contents of the indirectly addressed area are other than BCD data or DMOO0 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed NOTE If the range of the data shift exceeds 50 channels 200 digits a power failure may cause the execu tion of the shift operation to stop midway Be sure to use no more than 50 channels The ONE DIGIT SHIFT RIGHT instruction is used to shift data between the start and end channels by four bits to the left 0000 11 D1 Start channel number D2 End channel number Coding 0200 Lo 0201 FUN75 Contents of data D1 D2 NOTES 1 The third data is ignored when the instruction is executed 2 When the register is logical 1 the ONE DIGIT SHIFT RIGHT instruction is executed at each scan ning To execute it only one time program a differe
90. N and the instruction will not be executed NOTE For details on base address and offset data refer to 4 48 Data Extraction Instruction 4 48 DATA EXTRACTION FUN81 INSTRUCTION This instruction is used to extract 16 bit data from a specified channel 0000 1 Base address S2 Offset data D Address from which data is extracted LROO to 31 to 31 d TIM CNTOOO to 127 t DMOOO to 511 2 DMOOO to 511 NOTE When the R register is logical 1 the DATA EXTRACTION instruction is executed at each scanning To execute it only one time program a differentiating circuit for input INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the R register is logical 0 When the R register is logical 1 16 bit data is extracted from a channel that is a base address added with an offset and is transferred to a specific channel That is 1 S2 gt D In the above program when the contents of CH35 that holds the offset data are 0005 the contents of DMOOS that is the fifth channel from the base address DMOOO0 are extracted and transferred to CHO1 If the extracted data is 0000 special auxiliary relay 6303 turns ON DM000 Base address CH35 Offset data 3500 1 3501 3502 DM005 Data to be extracted CH01 Destination 0005 1234 DATA EXTRACTION OF INDIRECTLY ADDRESSED DATA The only relays that can be indi
91. ND LOAD with the previous condition Logicat OR operation OR LOAD with the previous condition Outputs the result of a logical operation to the specified output relay internal auxiliary relay latching relay or shift register Relay No Inverts the result of a logical operation and then outputs it to a OUT NOT Relay No specified output relay internal auxiliary relay holding relay or shift register Timer ON delay timer operation Set value Set time 0 to 999 9 sec Down counter COUNTER We operation Set value 0 to 9999 Set value B 1 0000 to 6015 LRO0000 to 3115 HRO0000 to 3115 TRO t0 7 Temporary memory relays can be used with the OUT instruction only Timers counters 000 to 127 Set value Constant 0000 to 9999 External setting 00 to 63 LROO to 31 HROO to 31 omnon SYSMAC C se es LIST OF INSTRUCTIONS APPENDIXES APPLIED INSTRUCTIONS i On b NO 00 FUNCTION 3 nor runoon e Causes all the relay coils between this instruc tion and the ILC instruction to be reset 02 INTERLOCK 4 or not reset according e to the result immediate ly before this instruc tion INTERLOCK EN Clears the IL 93 CLEA
92. NDW FUNS34 instruction 4 26 4 31 OR WORD ORW FUNS35 instruction 4 27 4 32 EXCLUSIVE OR WORD XORW FUNS6 4 27 4 33 EXCLUSIVE OR NOT WORD XNRW FUNS37 instruction 4 28 4 34 INCREMENT INC FUN38 instruction 4 29 4 35 DECREMENT 9 instruction isle 4 30 4 38 SET CARRY STC FUN40 CLEAR CARRY CLC FUN41 instructions 4 31 4 37 BLOCK MOVE FUNT70 instruction 4 31 4 38 BLOCK SET FUN71 instruction 4 32 4 39 SQUARE ROOT FUN72 instruction 4 32 4 40 DATA EXCHANGE 73 4 33 4 41 ONE DIGIT SHIFT LEFT FUN74 instruction 4 34 4 42 ONE DIGIT SHIFT RIGHT FUN75 instruction 4 35 4 43 4 TO 16 DECODER FUN76 4 36 4 44 16 TO 4 ENCODER FUN77 4 37 4 45 7 SEGMENT DECODER FUN78 instruction 4 39 4 46 FLOATING POINT DIVIDE FUN79 instruction 4 40 4 47 DATA DISTRIBUTION FUNSO instruction 4 42 4 48 DATA EXTRACTION 81 instruction 4 43 4 49 BIT TRANSFER FUN82
93. O unit have two fiber optics connectors The fiber optics cable from the 7 9 3 System configuration examples When connecting remote 1 slave unit and optical transmitting I O units to SYSMAC C120 via remote 1 master unit 1 SYSBUS exclusive fiber optics cable SYSMAC C120 CPU rack Hieren SYSMAC C120 expansion rack 3G2C4 S1027 51028 master unit Type 3G2A6 RMOO1 E Transmission distance SYSMAC C500 800m max expansion rack SYSMAC C500 remote slave unit Type 3G2A5 RTOO2 E Optical transmitting 1 0 units Optical transmitting units The number of 1 0 points provided NL 32 1 0 units to the system 256 max Count the number of UO units on the remote slave unit in units of 8 points in the same manner as the optical transmitting unit For example a unit provided with 16 points is counted as two units SYSBUS exclusive fiber optics cable SYSMAC C120 CPU rack B SYSMAC C500 expansion 1 0 rack SYSMAC C500 expansion 170 rack SYSMAC C500 remote VO master unit Type 3G2A5 RM001 E Transmission distance 800m max SYSMAC C500 remote slave unit Optical transmitting units 3G2A6 RT002 E Optical transmitting 1 0 units et ee 32 units max The number of
94. O units max Transmission distance 800m mex Remote slave unit E Optical transmitting VO units Type 3G2A5 RTOO2 E Repeater Optical transmitting VO units Count the number of VO units on the remote VO slave unit in units of x 8 points in the same manner as the optical transmitting unit The number of 1 O points provided For example unit provided with 16 points is counted as two units to the system 512 max The remote I O master unit can be connected to any connector on the SYSMAC C500 CPU rack or to the SYSMAC C500 expansion I O rack Up to two remote I O slave units or 64 optical transmitting units can be connected to a remote master unit Note however that I O units cannot be connected to the SYSMAC C500 exceeding 512 1 0 points because the maximum number of 1 0 relays provided to the PC is 256 In terms of optical transmitting I O unit the maximum number of units that can be connected to the SYSMAC C500 is 64 because eight points are provided per optical transmitting 1 0 unit If more than 32 units of the optical transmitting and remote I O slave units are to be connected to the program mabie controller a repeater Type 3G5A2 RPTO1 must be connected as the 33rd unit In this case disregarding the number of points the remote I O slave unit possesses count it as one unit 7 40 SYSMAC C series OMRON SPECIAL 1 0 UNITS 7 9 4 Diagnostic funct
95. ONS 1 O UNITS SPECIFICATIONS G2AGIAI2 AC 100 120V 10 15 50 60Hz eminus AC 200 to 240V 10 1596 50 60Hz 9 7kQ 50Hz 60Hz 22k 2 50 2 18k 60Hz 10mA AC 100V 35ms max 10mA AC 200V 35ms max 55ms max 55ms max 16 points 8 points common 450g max 16 points 8 points common 450g max AC 60V max AC 120V max AC 20V min AC 40V min DC 5V 10mA max DC 5V 10mA max 3309 0 334F 6800 0 15pF Internal circuit NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signa until the inactivation of the output terminal of the unit The termina numbers and channel relay numbers of an 1 unit are changed according to the position on the CPU for expansion 1 0 rack which the I O unit is mounted The terminal connections shown above are for when the I O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and I O channel relay numbers 22 AC DC 12 to 24V 10 15 SYSMAC C series omnon AC DC 12V 10 1596 1 8kQ 1 2kQ 10mA TYP DC 24V 7mA TYP DC 12V 15ms max 15ms max 15ms max 15ms max 16 points 8 points common 4509 max 32 points
96. OTE When the R register is logical 1 a channel data transfer operation is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical When the content of the R register is logical 1 channel data are consecutively transferred at one time In the above program data of 3 channels 48 bits 00 to 02CH 0000 to 0215 are consecutively transferred to DMO11 to 013 by channel unit 1 O relay Data memory The transfer operation is consecutively executed from the start channel to a specified channel NOTE Be sure not to specify the same block in duplica tion though both start channels and end can be specified within the same area BLOCK TRANSFER OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays 00 to DM511 If the contents of the indirectly addressed area are other than 000 to 511 an error will occur causing special auxiliary relay 6303 to turn ON and the program not to be executed DATA OF BLOCK MOVE INSTRUCTION The data of a block transfer instruction that must be specified are the start channels of the source and destina tion of the transfer operation and the number of channels to be transferred Any number of channels within the 4 31 OMRON SYSMAC C series INSTRUCTION WORDS limitation of the hardware
97. PART 2 This transmission line is defective mi CPU rack E T d The END RS The END RS 1 0 unit that was CHK indicator CHK indicator originally specified as goesoutwhen doesnotgoout the end RSU this unit when this VO isspecified as unitis specified theendRSU asthe end ASU S Remote VO unit or optical transmitting unit AFTER REMOTE I O MAIN UNIT RECOGNIZES END RSU Check the I O units one after another The failure has occurred between the I O unit whose T R ERR indicator is illuminating and the one whose T R ERR indicator is blinking This transmission line is defective e i a iag ee CPU rack 3 3 3 L The T R ERR indicator The T R ERR indicator of this YO unit is of this unitis blinking blinking N Remote unit or optical Do not use an organic solvent other than ethyl alcohol 7 10 HANDLING OF FIBER OPTICS CABLE The fiber optics cable is very flexible and has a minimum bending radius of 15mm but avoid using it with small bending radius Although the fiber optics cable possesses adequate mecha nical durability be careful not to drop any heavy object on it Connect or disconnect the fiber optics connector by hold ing its plug and never by the fiber optics cable The fiber optics connector cannot be connected in the reverse direction so
98. Phase differential input mode Initial condition setting by program Count input 1 Up Count input 2 Present count value In this mode whether the UP or DOWN operation is performed is specified by the phase difference between count inputs 1 and 2 When count input 1 leads count input 2 by 90 at the leading edge of count input 1 the UP operation is specified at the trailing edge of count input 1 The DOWN operation on the other hand is specified when count input 1 lags count input 2 by 90 at the leading edge of count input 1 Permissible phase differential error range is 90 545 7 20 PART2 SYSMAC C series omnon PART 2 SPECIAL I O UNITS TIMING CHARTS OF CARRY BORROW AND COINCIDENCE SIGNALS Carry signal Present count value 999998 X 999999 X 000000 X 000001 999998 X 999999 X 000000 Carry Carry reset The level of the carry signal becomes high when the present count value of the counter changes from 999999 to 000000 This high level will be retained until the level of the carry reset or external reset signal becomes high Borrow signal Present count value 900001 Borrow Borrow reset The level of the borrow signal becomes high when the present count value of the counter changes from 000000 to 999999 This high level will be retained until the level of the borrow reset or external reset signal becomes high Coincidence signal Present count value 0
99. R 4 instruction 7 Causes all the contents of a program between this instruction and the JME instruction to be 04 SUME 4 ignored executed as according to the result immediately before this instruction O5 JMP END ow 4 JME FUNOSI Cia AME 48 FAL Clears FAL or FALS Content of an alarm is 06 FAIL RESET 6 FAL FUNO6 00 instructions or alarm cleared at one scanning 4 9 indications 4 if Indicates the type of 06 DIAGNOSTIC 6 FAL FUNO6 No failure abnormal 01 to 99 Indicates the type of 4 9 DIAGNOSTIC 5 FALS FUNO7 No failure or abnormal 97 FALS E mode that causes the PC to stop its operation Shift register operation Channel Numbers Start de 00 10 60 FUN10I CH No LROO to 31 qo SHIFT ce a s end cH stan cH IN HROO 031 REGISTER CH No Start CH lt End CH Ed Start and end channels can be used at same area Latching relay LATCHING operation Relay 11 RELAY 6 KEEP FUN11 Relay 0000 to 6015 4 11 R LROOOO to 3115 HROO00 to 3115 Up down counter Timer counters NS operation 000 to 127 12 COUNTER e ui 8 RENS Constant 0000 to 9999 4 12 Re et vane External setting 00 to 63 LROO to 31 to 31 SYSMAC C APPENDIXES series omnon TUERI LIST OF INSTRUCTIONS DIFFEREN TIATION UP SA DIFU FUN13 Relay No Causes a
100. R2100 to LR2115 If there is a carry in the result 6304 is turned ON and if the result of the addition is 0000 6306 is turned ON 1 0 relay Internal auxiliary relay Q0CH Contents of LR21CH 2 xi 21 LR2101 22 0002 2 inno 10 2 2 182103 2 2 182104 1 1 27 T 2 2 22 182106 A 2 2 182107 1234 6304 2 7 182108 2 2 LR2109 X10 xix 2 22 182110 2 2 182111 2 2 182112 2 2 182113 3 22 0014 X10 2 182114 2 0015 2 182115 NOTE Before executing an ADD instruction the carry register 6304 must always be cleared using a CLEAR CARRY CLC instruction Execution of CLC is omitted in multistage addition The CPU checks whether the data for BCD addition are in four BCD digits If not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed ADDITION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMO00 to DM511 the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 0100 CLC ADD Constant 16 bits 1 2 3 4 o 2 o rie owm _ _ ie The program shown above is executed when the NO contact of 0100 turns ON Because DMO22 is indirectly addres
101. REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the 4 digit decimal data in the specified channel is con verted into 16 bit binary data In the above program the 16 bit contents of the 4 digit decimal data in 0000 to 0015 are converted into 16 bit binary data then output to the 16 bit locations of HR20CH HR2000 to HR2015 Holding relay HR20CH relay 00CH x10 x10 X10 X10 The result of the conversion will be HR20CH 0 gt 6306 1 0 gt 6306 0 The CPU wil check whether the data to be converted is in four digit BCD If not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed BCD TO BINARY CONVERSION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays 00 to DM511 If the contents of the indirectly addressed area are greater than DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 20 BIN TO BCD CONVERSION BCD FUN24 INSTRUCTION The BCD instruction is used to convert 16 bit binary data into 4 digit decimal data and to output the converted data to a specified channel Conversion data channel n
102. ROO to 31 TIM CNTOOO to 127 LROO to 31 HROO to 31 TIM CNTOOD to 127 LROO to 16 HROO to 16 TIM CNTOOO to 112 000 to 511 DMOOO to 496 DMOOO to 511 DMOOO to 511 000010 NOTE When the R register is logical 1 the TABLE COMPARE instruction is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 16 bit data is compared against data of each channel of the specified 16 channels As result of the comparison when the 16 bit data is found to be in agreement with the data in the channels 1 is sequentially output to the cor responding bits of a channel specified for the output starting from the least significant bit In the same manner Q is output when the 16 bit data disagrees with the data in the 16 channels If 0 is output to all the 16 bits of the output channel special auxiliary relay 6306 turns ON Comparison table Output CH DM000 to DM015 Data to be compared CH35 DMo001 DM002 DM003 DM004 H DM005 I DM006 m DM007 r DM008 DM009 DM010 DM011 DM012 m DM013 H DM014 L DM015 Comparison EE E Er ted gb or gg g gr gi 1 SYSMAC C series omnon INSTRUCTION WORDS
103. SMAC C series To specify an optical transmitting I O unit as the end RSU short circuit terminal Nos 0 and 1 as shown in the above figure Put the protective cap attached as an accessory on one of the fiber optics connectors to prevent a malfunction caused by an external interference light 7 9 OPERATION DIAGNOSTIC FUNC TIONS AND FAILURE DETECTION OF REMOTE 1 0 UNIT AND OPTICAL TRANSMITTING 1 O UNIT 7 9 1 Address and channel setting and assignment of 1 channels SIGNIFICANCE OF ADDRESS SETTING Up to two remote slave units each of which functions as a slave station or 64 optical transmitting units can be connected to a remote I O master unit that serves as master station 7 34 PART2 The maximum number of points of the optical trans mitting 1 0 units that can be connected to a SYSMAC C Series programmable controller is the same as the total number of the 1 0 relays provided to that programmable controller For example because the SYSMAC C500 has 512 1 relays up to 512 points of the optical transmitting 1 O units can be connected to this programmable controller Because the remote 1 master unit must recognize the addresses and channels of each I O unit connected to the master unit setting the addresses and channels of these 1 0 units is important to facilitate the managing of the con nected 1 0 units by the master unit ADDRESS OF REMOTE I O SLAVE UNITS Two remote O
104. T DIVIDE SYSMAC C series omnon n LIST OF INSTRUCTIONS M Funes Data RRE Performs a floating point arithmetic apera tion between two 7 digit BCD data LSB 58 S1 Si 1 82 S2 1 D D 1 an as SQUARE instruction n Same as MULTIPLY instruction DATA DISTRIBU TION Distributes 16 bit data to a channel that is a base address with an offset added m Ls Base address ve Offset 02 02 1 L s Same as 5 Jof MOVE instruction p1 52 Same D of BLOCK MOVE instruction Extracts 16 bit data from a channel that isa base address with an offset added and trans fers the data to a specific channel Offset 52 25 57 Base address 51 1 00 to 63 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOQ00 to 511 DMOOO to 511 s2 p Same PES of BLOCK MOVE instruction BIT TRANSFER Transfers a specific bit to dhother specified UE ZZ Controi data jit from which dala is transferred To specify bit to which data is transferred 5 00 to 63 LROO to 31 HROO to 31 DMO00 to 511 DMOOO to 511 Constant 000 to FFFF Control data 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 to 511 DMOOO to 511 Constant 5 Same as D of MOVE instruction DIGIT TRANS
105. TION OF EACH REGISTER 7 Nothing is executed when the content of the R register is B a logical 0 When the content of the R register is logical 1 XO the square root of a BCD 8 digit integer is computed 25 In the above program the square root of BCD data 16 bits x 2 in the 00 and DMO01 is computed and the result 4 digit integer is output to the O1CH 16 bits If the result is 0000 special auxiliary relay 6306 turns ON Data memory DMO01 1 0 relay high order digits low order digits O1CH 2 To 2 x10 2 1 x10 2 0 0101 2 2 0 0102 2 2 0103 2 2 0104 amm T xi 2 x10 z 514 m 00 to 60 Le eas LROO to 31 x10 x10 Ea Te 10 HROO to 31 2 ont 0 TIM gt To enz e CNTOOO to 127 xio L2 xio ALT 0113 o DMOOO to 511 pam o z a ERE ee DMO00 to 511 0152 42800 1234 EE 4 33 omnon SYSMAC C series INSTRUCTION WORDS NOTES 1 The third data 1 is ignored when the instruction is executed 2 When the R register is logical 1 a data exchange operation is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the co
106. WORDS Only a 4 digit integer is output as a result data and a frac tion is rounded off at the decimal point Arithmetic operation data mu D Result of arithmetic operation SQUARE ROOT OF INDIRECTLY ADDRESSED DATA The only data that can be indirectly addressed are data MESE NER DNE memory relays DMOOO to DM511 Cod If the contents of the indirectly addressed area are other than BCD data or DMO000 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed Contents of data 00 to 62 00 to 60 LROO to 30 LROO to 31 to 30 HROO to 31 TIM CNTOOO to 126 DMOOO to 510 DMO00 to 511 DMO00 to 511 The DATA EXCHANGE instruction is used to exchange one channel of 16 bits data with another 4 40 DATA EXCHANGE FUN73 INSTRUCTION NOTES 1 Two channels 16 bits x 2 are required for the opera tion data area 0000 2 The third data is ignored when the instruction is FUN73 executed 3 When the R register is logical 1 computing the square root of 8 digit data is executed at each scanning _DM 010 To execute it only one time program a differentiating 0 circuit for the input OPERA
107. a or greater than 512 an error will occur this will cause specia auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 21 ARITHMETIC SHIFT LEFT ASL FUN25 INSTRUCTION The ASL instruction is used to shift to the left 16 bit data including a carry 0000 ASL DM 010 HROO to 31 9 000 to 511 INSTRUCTION WORDS NOTES 1 Two addresses must be used to program an ASL instruction 2 When the R register is logical 1 shifting left of 16 bit data is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 16 bit data including a carry is shifted to the left In the above program all the 16 bit contents of DMO10 including a carry 6304 are shifted one bit to the left the result of the operation is 0000 special auxiliary relay 6306 is turned on 0 Data Data memory memory DMO010 DMO010 ARITHMETIC SHIFT LEFT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occ
108. able controllers 500m max branch cable 10m max CPU watchdog timer transmission error check When 8 programmable controllers linked 64 points controlier When 4 programmable controllers linked 128 points controller When 2 programmable controllers linked 256 points controller NOTE When the system is configured of SYSMAC C series programmable controllers only the number of controllers to be linked can be specified by using a selector switch PART 2 SYSMAC C series omnon SYSMAC C500 CPU rack sysmac csoo PC link unit Type 3G2A6 LK003 E SYSMAC C500 PC link unit Type 3G2A5 LKO03 E When the SYSMAC C500 or SYSMAC C250 serves as a remote VO master unit a maximum of 8 programmable controllers can be connected Link adapter Type 3G2A9 AL001 SYSMAC C250 link rack SYSMAC C500 CPU ii SYSMAC C250 CPU rack SYSMAC C500 PC link unit Type 3G2A5 LK003 E SYSMAC C500 PC link unit Type 3G2A5 LK003 E SYSMAC C250 link connecting cable Type 3G2A4 CN511 8 3 LINKAGE SYSTEM CONFIGURA TION The employment of fiber optics cables has improved noise resistance of the PC resulting in higher reliability of the system The wiring procedure has been simplified thereby sig nificantly reducing the installation cost The maximum transmission distance between the PCs is 800m By using the user program of the P
109. alue e cgincidengs is preset to 052200 6203 Preset 2 command 203 Count gate 0403 3200 il lI 151 stage coincidence memory 3203 3203 3205 A Preset data n Count value is Auxiliary relay for Preset to 112300 coincidence reset 3203 2nd stage coincidence Initial condition setting 2 SYSMAC C series OMRON SPECIAL 1 0 UNITS CHAPTER 7 MULTIDIGIT PRESET UP COUNTER MORE THAN 6 DIGITS In this example count value 87654321 is processed with a multidigit preset UP counter The high speed counter unit is assigned to Channel Nos 2 to 5 in the CPU rack Present count value Preset data is preset to 000000 Preset 1 command Preset data Preset 2 Count value command is preset to 654321 Count gate Carry reset Output enable External coincidence output disable Coincidence reset 8 digit coincidence output 0 in counter unit START END IE Eoo S Tak 3201 C p 63 3200 0200 aa 0 0400 f It 0401 mA 0400 m t 0087 6306 2 6305 3202 3200 ptor 0403 0207 0403 3200 69 3203 1 4 Eel processing 7 23 Initial condition setting om RON SYSMAC C series SPECIAL 1 0 UNITS PART 2 7 7 REMOTE 10 UNIT 7 7 2 Configuration Two remote 1 units are used to control 1 units le enn remotely situated from a SYSMAC C Series programmable controller one serving as
110. an 200mm between the high tension or power lines and the PC Avoid accommodating the connecting cable in the same duct as other wiring Complete the wiring so that the lines do not touch the CPU rack Complete the wiring to facilitate the mounting and removal of I O units Complete the I O wiring so that the 1 0 operation indicators on each I O unit are easily visible 2 About wiring and power supply AC input uo Transformer 71 i 8696 6 LG FG L 110 1207 220 240V Perform grounding at a ground resistance of tess than 1000 when noise is great and SYSMAC C120 malfunctions Be sure to connect this ground terminal at a ground resistance of less than 1000 for prevention of electric shock Use to stop SYSMAC C120 CAUTION 77 by external signal iNormally shor ithese two terminals 1 Use ta supply power to expansion racks etc START 24 INPUT output e elo eje e n RUN OUTPUT Turns on during RUN operation Power supply capacity The power consumption of the PC is less than 60VA However upon power application inrush current of about 5 times the steady state current will flow through the programmable controller Take this point into account As the power supply line of the PC employ a wire of 2mm min to prevent voltage drop Use of twisted pair wires 15 recommended LL i
111. are available and that their input signal ranges are different from each other In terms of input signal two types of analog input signals are available one is a unipolar signal input only to the terminal of the unit and the other is a bipolar signal input to both the and terminals The resolution differs depending on which input signal range is employed UNIPOLAR INPUT SIGNAL Input range 2 channel type Oto 10V to 5V 1 to 45V or 4 to 20mA 10V 1 to 5V or 4 to 20 Converted output 2 channel type 4 channel type 4 channel type A D converted 12 bit binary data A D converted 10 bit binary data NOTE Bit No 15 of Type 3G2A6 AD001 1 to 5V for voltage output or 4 to 20mA for current output is an input failure detection bit The level of this bit becomes 1 when an input failure occurs and becomes 0 during norma operation If the voltage input signal decreases below 0 5V or if the current input signal decreases below 2mA an input failure is detected and therefore the level of bit No 15 becomes an ike Relation between analog input signal and A D converted data Output from A D conversion input unit digital output 4095 Input to A D conversion input unit analog input ov 10V 5V Oto 10 Oto 5V Output from A D conversion input unit digital output 4096 5 r 1 i 1 1 0 Input to A
112. ata 8 Presnet count data 8 Preset data 1 Preset data 2 Preset data 4 Preset data 1 Preset data 2 Present count data 1 Present count data 2 Present count data 1 Present count data 2 Preset data 4 Present count data 4 Present count data 4 Preset data 8 Preset data 8 NOTE The term set count value is synonymous with preset data 7 18 Present count data 8 Present count data 8 SYSMAC C series omnon PART 2 SPECIAL 1 0 UNITS CHAPTER 7 FUNCTION OF RELAYS The following signals are input to the programmable The following signals are input to the high speed counter controller from the high speed counter unit unit from the programmable controller Presets the data set as a preset data to the counter in other words modifies a currently set value Presets data set as a preset data to the set count value memory Controls starting and stopping the counter When this relay is turned ON the counting operation starts and when it is turned OFF the counting operation stops On power application the count gate relay specifies that the counting opera tion is stopped Specifies the up count or down count operation by the user program when the high speed counter unit is in the com mand input 1 mode When this relay is turned ON the down count operation is specified When it is OFF the up count operation is specified On power applica tion th
113. bit data for 7 segment display 0000 Contents of data 00 to 60 31 31 TIM CNTOOO to 127 DMOOO to 511 HROO to TIM CNTOOO S to 127 DMOOO to 511 E See NOTE 1 The constant is determined according to the designated diait When the H register is logical 1 the conversion is executed at each scanning To execute it only one time program a differentaiting circuit for the input 4 39 OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 specified 1 digit 4 bits binary data in a channel is converted to 8 bit data for 7 segment display and trans ferred to the destination channel In the above program the values of the four bits expressed as hexadecimal 0 to F of the least significant digit 2 to 23 are converted to 8 bit data for 7 segment display transferred to the eight bits of I O relay channel number 01 0100 to 0107 Digit Position at designation destination Data memory VO relay DM010 O1CH 0 1 2 3 Digit designation 0000 DIGIT DESIGNATION Designate the destination the number of digits to be decoded and the digit from which the data is to be transferred Digit from which data is transferred 0 to 3 No of digits to be decoded 0 to 3 Destination designation 0 and 1 Ignored
114. ced in the same duct at the termination process of the cable laying work Weak current cable 300mm min SYSMAC circuit SYSMAC power supply circuit 3 General control circuit 3 Power circuit 300mm min Power cable mi xe Grounding at a grounding Metal plate resistance of less than 1000 200mm min Grounding at a grounding i resistance of less than 1000 SYSMAC C series omnon PART 1 INSTALLATION AND WIRING b 7 NOTES ON OUTPUT If any electrical devices likely to generate electric noise are to be employed as the output loads of the PC be sure to take measures to absorb this noise For example electro magnetic relays and valves generating a noise of 1 200 to 1 300V minimum are subject to noise suppression For AC operated noise sources connect a surge suppressor in parallel with the coil of each device For DC operated noise sources connect a diode in parallel with the coil of each device AC power source DC power source O 54F 20 min Select a diode with the Nonpolarity breakdown voltage and Withstand voltage 1 500V min current ratings according 502 30 0 5W to the load Since the output elements of the PC are packaged on a printed circuit board and connected to the terminal board short circuiting any of the loads connected to the output elements may result in the burning of and consequent damage to the PC board Therefore the use of fuses is
115. cified as a 4 digit hexadecimal binary 16 bit data 4 32 EXCLUSIVE OR WORD XORW FUN36 INSTRUCTION The XORW instruction is used to perform an exclusive ogical OR operation between two specified data 16 bits each 0000 4 27 omnon SYSMAC C series INSTRUCTION WORDS cC INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data zr memory relays DMOOO0 to DM511 If the contents of the indirectly addressed area are other PEE than O00 to 511 an error will occur causing special auxiliary relay 6303 to turn ON and the program to be not executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction Fa 3 EXCLUSIVE LOGICAL OR OPERATION OF LD XORWI36 The constant can be specified as a hexadecimal 4 digit binary 16 bit data Contents of data 4 33 EXCLUSIVE WORD 00 to 63 XNRW FUNS7 INSTRUCTION LROO to 31 HROO to 31 The XNRW instruction is to perform an exclusive logicai OR NOT operation between two specified data 16 bits each DMOOO to 511 DMOOO to 511 i 0000 to FFFF 0000 1 NOTE When the R register is logical 1 an exclusive logical OR operation is executed at each scanning To execute it only LR 11 one time program a differentiating circuit for the input OPERATION OF EACH REGISTER XNRW gt 2 Nothing is executed
116. ctive Since this type of defect does not impede normal operation repair it in spare time or at the next periodic inspection 6 4 DIAGNOSTIC FUNCTIONS The PC was manufactured with a consistent design philosophy supported by advanced technology for high density packaging or PC components under stringent quality control The PC is capable of minimizing the system s downtime should a failure occur in the PC because it is provided with various diagnostic functions Abnormal Diagnostic functions for hardware CPU unit remote 1 0 for example Alarm System diagnosis 6 7 These abnormal statuses can be monitored by messages and FAL numbers displayed on the LCD of the programming console In addition the PC has special auxiliary relays some of which are assigned for abnormal status output These relays provide the PC flexible countermeasures against failures because by the user program written to output FAL numbers in these relays the system CPU operation can be stopped or continued as desired in the event of a system failure omnon SYSMAC C series INSTRUCTION WORDS LIST OF ERROR MESSAGES AND ALARM OUTPUTS Remote power ON wait Remote power is OFF state Start input wait START INPUT terminal is open Power failure Power failure has occurred longer than 10ms CPU failure Watchdog timer 130msec
117. cuted a FALS number is output to the FAL area and the ERR indicator LED on the front panel of the CPU illuminates Then the PC l stops l L To reset the FALS output remove the cause of the FALS errors and then perform a FAILURE READ operation using the programming console with the program mode set by its mode selector switch The FALS output can also be reset by restarting the PC using the mode selector switch RUN to PROGRAM to RUN after removing the cause of the FALS error If a FALS error or any other error that causes the PC to stop has occurred while a FAL error is being detected that FALS or failure number is output in place of the FAL number Priority of output The output of the FALS or the failures that cause the PC to stop take precedence over the FAL or those that do not 4 11 SHIFT REGISTER SFT FUN10II ie INSTRUCTION The SFT instruction can be used as a serial input shift register BOG End channel number AND NOT LD LD SFT 10 LD Contents of data start channel and end channel numbers NOTE A shift register must be programmed in the order of data input clock input reset input and an SFT instruction from the start channel to the end channel Each SFT instruction must be specified in units of 16 bits In the above example 16 bits from 2000 to 2015 are transferred The 16 bit contents 2000 to 2015 in the above example of the shif
118. d Bidirectional half duplex Transmission format 1 N Transmission rate 187 5k bps Transmission system TDM Time Division Multiplex system Synchronization Start stop synchronization Transmission control procedure Exclusive transmission cyclic control system Maximum number of programmable controllers con nectable 64 transmission capacity 8 points unit Transmission cable 2 core fiber optics cable quartz polymer 250um dia SYSMAC C series omnon PART 2 PERIPHERAL EQUIPMENT CHAPTER 9 PERIPHERAL EQUIPMENT 9 1 AVAILABLE TYPES Supply voltage AC 110 120V No of pieces of peripheral equipment that can be mounted 2 3G2A5 MSBO1 E 8kg max Programmable controller connectable Memory cassette option Supply voltage AC 220 240V No of pieces of peripheral equipment that can be mounted 2 3G2A5 MSBO2 E 8kg max e Programmable controller connectable e Memory cassette option Vertical type for SYSMAC C500 and SYSMAC C250 e Current consumption 260 max 3G2A5 PRO13 E 400g max Horizontal type for SYSMAC C120 e Current consumption 260mA max 3G2A6 PRO15 E 4009 max Connect this adapter to the PC when the programming console 3G2A5 APO01 E 400g max is connected to the controller via a connecting cable Mount this base to the programming console when the programming console is connected to the controller via a 3G2A5 BP001 400g max connecting cabl
119. differential inputs Specifies whether UP DOWN count command is to be executed by the phase dif ference between count inputs 1 and 2 as follows UP When count input 1 leads count input 2 by 90 DOWN When count input 1 lags count input 2 by 90 The above three modes are selectable by using the DIP switch in the unit Solid state input cps 20K cps max for phase dif ferential input Contact input 30 cps max The above two counting speeds are selectable by using the DIP i switch in the unit H 6 to 12V L 0to4V 1 5ms max 2ms max Output by hardware Coincidence signal Relay contact output and transistor open collector output Present count value gt set count value output signal transistor open collector output 5V 300mA max Terminal block cannot be dismounted DC 12V 10 100mA point DC 24V 10 500mA 700g max SYSMAC C series om RON Relay contact output G6B AC 250V 2A p f 1 DC 24 2 10ms max 15ms max Electrically 300 x 10 operations Mechanically 20 x 105 operations DC 24V 200mA 5004A max 1 3V max 5Ous max 50us max NOTES 1 Connect the high speed counter unit to the SYSMAC C250 via an expansion I O rack of either the SYSMAC C120 or SYSMAC C500 2 Insert the high speed counter unit to the upper slot of an expansion rack when mounting the unit to
120. e For PROM ROM GA 2732A ROM H 2764 ROM I 27128 Current consumption 850 max 3G2A5 PRWO04 E 540g max Interface for X Y plotter or printer Memory cassette option 3G2A5 PRT01 E 540g max e Current consumption 400mA max Interface between programmable controller and graphic 7 i programming console CRT or multisupport base MSB 362 5 1 001 4009 For SYSMAC V8 SYSMAC M1R SYSMAC M5R SYSMAC POR and SYSMAC S6 3G2A5 CMT01 E 400g e Current consumption 160 max For SYSMAC V8 programming console or MSB interface 3G2A5 AP002 400g max For SYSMAC C Series ladder diagram 3G2A5 MP001 E 100g max For SYSMAC C Series ladder diagram 3G2A5 MP002 E 200g max For SYSMAC M1R or SYSMAC M5R 3G2A5 MP003 E 200g max For SYSMAC POR 3G2A5 MP004 E 2009 max For SYSMAC S6 3G2A5 MP005 E 200g max For SYSMAC V8 3G2A5 MPO06 E 200g max For SYSMAC C Series ladder diagram AC 100 110 120V 3G2A5 CRT19 20kg max Keyboard unit e Memory cassette mounted AC 220 240V 3G2A5 CRT20 20kg max Keyboard unit for CRT of C series incl 3G2A5 CMPO1 3G2A5 CKB19 1kg max Memory cassette 3G2A5 CMPO1 500g max Character generator ROM 3G2A5 CCGO01 PC board of RAM mounting 3G2A2 CMBO01 Connecting interface board 3G2A2 CIB12 2m for programming console CRT multisupport base and SYSMAC V8 3G2A2 CN221 350g max 2m also f
121. e at which battery is to be used exceeds 25 battery life will be shortened Replace battery within one week after battery low indicator illuminates and within approximately 5 minutes after turning off power switch RUN mode CPU failure watchdog timer Battery failure Scan time failure Memory error O bus failure PROGRAM mode program check Coil duplication check END instruction check Circuit error check IL ILC error check JMP JME error check DIF instruction over error check Programming capacity The user program memory of the PC is bytes The programming capacity i e number of addresses is calculated on the assumption that one address is 3 6 bytes on the average Address The length of instruction words for the PC is variable within the range from 3 to 10 bytes Each instruction has a respective length Because instruction words are variable in length a maximum number of addresses that can be written in a specific program varies depending on the instructions used in that program 12 Refer to 3 1 Explanation of special auxiliary relay numbers and temporary memory relay numbers for details on the description of the special auxiliary relays 3 The link relays of the SYSMAC C250 and SYSMAC C500 are used when linking the PC to another PC The link relays of the SYSMAC C120 however are used only as auxiliary relays 2 2 omnon SYSMAC C series SPECIFICATI
122. e listed in the above table 9
123. e up count command is given Resets the Carry signa of the counter Once the Carry signal has been reset it will not be set again until the count gate relay is turned ON and a counting opera tion is performed Resets the Borrow signal of the counter Once the Borrow signal is reset it will not be set again until the counter gate relay is turned ON and a counting operation is performed Resets the present count value set count value signal of the counter Once the present count value set count value signal has been reset it will not be set again until the counter gate relay is turned ON and a counting operation is performed If this relay is turned ON while the present count value coincides with the set count value the present count value set count value relay i e bit No 3 of n 2CH will not be turned ON Enables the external output signals coincidence output and present count value gt set count value output to be output On power application the output is disabled and therefore both the contact and transistor outputs are turned OFF Represent the preset data of the counter or the set count value memory If these relays represent the data of the counter those data are the present count value The value of the data can be 000000 to 999999 On power application the data are 000000 7 19 Turns ON when the present count value changes from 999999 to 000000 during the Add operation This r
124. ed by 1 In the above program the 16 bit contents of DM010 are incremented by 1 and the result of the increment operation is stored in DMO10 If the result of the operation is 0000 special auxiliary relay 6306 is turned ON Data memory Data memory DMO010 1234 DM010 1235 zp xio 200 Ba 2 2 Bo The CPU checks whether the data to be incremented is in four BCD digits not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed INCREMENT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 29 ae INSTRUCTION WORDS MRON SYSMAC C series The above program is executed when the NO contact of 0000 turns ON Because DMO10 is indirectly addressed the data 100 in DMO10 specifies DM100 and the 16 bit contents of DM100 5678 are incremented by 1 The result of the increment operation 5679 is stored in the 16 bit locations of DM100 4 35 DECREMENT DEC FUN39 INSTRUCTION The DEC instruction is used to decrement a 4 digit BCD data by 1 DEC 99 9 D Data channel number Coding
125. ed data 2 inputs to D A conversion output unit D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 23 D A converted data 23 D A converted data 2 D A converted data 25 D A converted data 2 D A converted data 2 D A converted data 25 D A converted data 2 D A converted data 27 D A converted data 27 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 D A converted data 2 Line 1 input Line 2 input NOTES 1 During the D A conversion the contents of bits 12 to 15 are ignored These bits can thus be used as internal auxiliary relays 2 The function bit 11 performs changes depending on whether the unit in use is designed for unipolar output or bipolar output That is bit 11 of a unipolar output type unit is a D A converted data and bit 11 of a bipolar output type serves as a sign bit The level of the sign bit becomes when the unit outputs a negative analog signal and becomes 1 when the unit outputs a positive analog signal 7 5 5 Operation CONVERTED DATA AND OUTPUT SIGNAL The D A conversion output unit converts an input digital data into an analog data It converts a 12 bit binary data output from a SYSMAC C Series programmable controller into a
126. ed with that of the program mable controller Type 3G2A5 LK007 E 3G2A5 LKOO8 E host link unit must be mounted to the programmable controller SYSMAC C500 and SYSMAC C250 The number of 3G2A9 AL001 link adapters that serve as the distributor for the data transmission cables is determined by the number of pieces of equipment linked with the programmable controller That is where the number of those pieces of equipment is represented as n 1 link adapters are required The twisted pair shielded cable of the RS 422 interface provides an extension of 500m Systems configured of remote 1 0 1 0 or PC link unit can be used in parallel with the system of the host computer linkage Be sure to use an exclusive power supply unit Type 3G2A4 PS221 E for the linkage rack of the SYSMAC C250 8 1 omnon SYSMAC C series GUIDE FOR SYSTEM SYSWAY SYSTEM Communication method 4 wire half duplex system Transmission format 1 N RS 422 or 1 1 RS 232C Transmission rate 300 600 1 2k 2 4k 4 8k 9 6k or 19 2k bps selectable Synchronization system Start stop synchronization system independent synchronization system Host computer Link adapter 3G2A9 AL001 Total extension length 500m max SYSMAC C250 link rack PART 2 Transmission control procedure Exclusive control proce dure 1 N or OMRON original protocol 1 1 Maximum No of programmable controllers connectable 32
127. efective Replace CPU rack Replace CPU rack RUN indicator does not illuminate EXPANSION I O RACKS Operation is not executed after specific relay No 1 DC voltage is not supplied 2 Programming error END instruction is missing 1 Pattern is broken Replace CPU rack Correct program Check each bus line by buzzer 2 Improper soldering Resolder Abnormal relay Nos of expansion I O rack are in units of 8 1 Cable wiring is broken 2 Improper soldering Check each bus line by buzzer Resolder of a specific relay No turns on All the retays of a specific 1 0 unit do not operate 1 Improper soldering of connector Operation indicators LEDs are not illuminating 1 External input voltage is not supplied or is low Operation indicators LEDs are illuminat ing 1 Signal level within unit is faulty Check each bus line by buzzer Check each bus line by buzzer Supply the power Raise the supply voltage Remove the 1 units being used and insert them one by one to find the defective unit All of specific input units do not turn on 1 Same as above Same as above Replace defective input unit 2 Screws of terminal board are loose Retighten terminal screws All of specific input units do not turn off 1 Gate circuit is defective Replace defective input unit 2 External vol
128. efreshed the number of times specified by the instruction This instruction can be used more than once Unless the FUN94 instruction exists in the program the time of the watchdog timer is automatically set to 130msec 4 54 RUN STOP FUN99 INSTRUCTION This instruction is used to stop the RUN operation of the programmable controller when the specified input relay is turned OFF When the specified input relay is turned ON the RUN operation is started from the initial state into which the programmable controller is set upon power application 0000 0000 LD 0000 0001 FUN99 Be sure to specify a contact number of the input unit By so doing this instruction can be used to monitor the power supply to the input unit and thus to protect the system from damage in case of a power failure When the specified input relay is turned ON i e when the R register is logical 1 this instruction is processed as NOP If the address immediately before that for this instruction holds any other instruction than the LD instruction the error flag special auxiliary relay 6303 is turned ON and the RUN STOP instruction is processed as NOP When the power supply to the specified relay has been restored after the relay was turned OFF causing the programmable controller to stop the RUN operation special auxiliary relay 6011 is turned ON to indicate that the RUN operation was temporarily stopped The spec al auxiliary rela
129. elay Link relay 1 0 relay LR2ICH LR22CH O0CH low order digits high order digits 2 0000 21 0001 LR2101 x10 1 2 0002 LR2102 23 0003 LR2103 2 0004 LR2104 21 0005 LR2105 1 X10 5 2 LR2106 fao 2 Constant LR2107 2 LR2108 2 LR2109 X10 X10 X108 2 i LR2110 2 LR2111 2 LR2112 5 ina x10 x107 2 LR2114 2 182115 182115 The CPU checks whether the data for BCD multiplication is in four BCD digits If not an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed MULTIPLICATION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction DIVIDE DIV FUN33 INSTRUCTION The DIV instruction is used to execute BCD division between two specified 4 digit BCD data 0100 9 3 3 00 to 63 00 to 59 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMO000 to 511 DMO000 to 510 DMOOO to 511 0000 to 9999 NOTES 1 Two channels 16 bits x 2 are used for the operation result area 2 When the R register is logical 1 a
130. elay is turned OFF by the carry reset relay or an external reset signal Turns ON when the present count value changes from 000000 to 999999 This relay is turned OFF by the borrow reset relay of an external reset signal Turns ON when the present count value is greater than the set count value Turns ON when the present count value coincides with the set count value This relay is turned OFF by the coincidence reset relay or an external reset signal Turns ON when the present count value is less than the set count value Present count value 000000 to 999999 OMRON SYSMAC C series SPECIAL 1 0 UNITS 7 6 6 Operation TIMING CHARTS OF COUNT MODE Command input mode 1 Initial condition setting by program Count input 1 UP DOWN count command program 03 Present count value In this mode the counter counts each leading edge of count input 1 The user program specifies either the UP or DOWN operation The signal of count input 2 is ignored Command input mode 2 Initial condition setting by program Count input 1 Countinput 2 UP DOWN count command Present count value 000000 Down In this mode the counter counts each leading edge of count input 1 Count input 2 specifies either the UP or DOWN operation That is the UP operation is performed when the input level of count input 2 is high and if it is low the DOWN operation is specified
131. end RSU RUN output AC 85 to 250V BEGBEDOSOOBOSE Power supply AC 110 120 220 240V 7 32 Short circuit End RSU Open Unit other than end RSU RUN output 12 10 48V Power supply AC 110 120 220 240V SYSMAC C series om RON PART 2 SPECIAL I O UNITS CHAPTER 7 7 8 3 Channel and end RSU settings DIP switch CHANNEL SETTING A A B 0 channel L 123456 10 set channel N To specify a A A A A 0 channel un B 1 channel L DIP switch BERE 1 channel H 123456 D orm S 8 23 amp Remove the operation indicator panel of the optical transmitting 1 O unit with a flat blade screwdriver Set the channel by using the 6 pin DIP switch mounted on the PC board The channel number is set as a binary number Set the channel in reference to the examples shown on the right 27 channel L 5 6 1 sure to perform the setting with the power turned OFF I 2 When the same channels are specified in duplication for the input or output of an optical transmitting 1 E of 27 6 unit the data will compete for the SYSBUS causing a transmission error to occur Therefore never set the same channel in duplication teats ees T E MM 7 33 OMRON SY
132. ered in the order of an UP input circuit a DOWN input circuit a reset input circuit and a counter coil Externally set up down counter numbers are shared with timers high speed timers down counters and up down counters Therefore a number already assigned to an externally set up down counter cannot be used by any other counter or timer COUNT OUTPUTS CARRY AND BORROW 9997 9998 9999 0000 0001 UP input Count output rounded up 0002 0001 0000 DOWN input Count output rounded down The present value of the counter is retained in memory during a power failure The present value of the counter is reset to 0000 when a reset input is applied At the leading edge i e from OFF to ON of an UP or DOWN input the counter increments or decrements the count value by 1 Count input Leading edge When both an UP DOWN input and a reset input are applied simultaneously the reset input takes precedence Even if the reset input is removed after this the counter performs no counting operation until the UP DOWN input has been removed once When both an UP input and a DOWN input rise simul taneously the counter performs no counting operation When a reset input is applied the present value of the counter is reset to 0000 However no count output is generated The up down counter performs a ring counter operation according to the ring vaiue UP DOWN gt gt
133. eries OMRON PART 2 SPECIAL UNITS 1 In the above system if a failure occurs in the optical transmitting unit specified as channel number 31 with lower order addresses 31CH L the contents of number 59 channel will be as follows 15 0 59CH At this point when number 59 channel is monitored by using the multipoint monitoring function of the programming console the following message will be displayed on the console Denotes the optical transmitting unit specified as 31CH ape To display the contents of the optical trans mitting 1 0 unit following the one whose con tents are currently being displayed on the programming console number 5900 internal auxiliary relay that serves as a failure display incrementing flag is monitored When a forced SET operation is subsequently performed the programming console displays the contents of the next optical transmittina 1 O unit If a failure occurs in the remote O master station mounted on the CPU rack the display becomes as follows 7 45 2 Example of user program for failure display The following is the user program for failure display 59CH 5903 When failure occurs the contents of S9CH are saved to data memory DMOOO 5900 The next channel to be displayed is specified Relay Nos 00 to 03 of are masked ANDW FFFO 0000 0000
134. erminal block No IN 1 th channel DC 12 to 48V 1 SYSMAC C series omnon PART 1 SPECIFICATIONS CHAPTER 2 2 2 5 DC input 64 point unit Since this unit is of dynamic input type a maximum of 16 digits of data can be input to the programmable control ler from thumbwheel switches or a keyboard with the wiring simplified CONNECTION EXAMPLE 1 EOS 9 9 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 n CH 1 CH n 2 CH n 3 CH When the key corresponding to A is depressed relay 00 of the channel n turns ON i e becomes logical 1 NOTE 1 Channel n is determined according to the sequence in which the DC input unit is mounted to the SYSMAC C500 Refer to 3 2 Free location concept and 1 channels Insert a diode to each key as follows if more than one key is depressed at the same time EE CAUTION FOR HANDLING Since the DC input unit is operated by an extremely small current provide an adequate distance between the wires of the unit and high tension equipment or power lines when performing wiring otherwise use shielded cables Also keep the length of the wires within 10m 2 15 CONNECTION EXAMPLE 2 STBO STBI STB2 STB
135. etails SYSMAC C series OMRON PART 1 OPERATING MODE OF PC The following operation modes of the PC are set on power application or when the PC is connected on line to periph eral device s pi Lisa Programming According to the Current operation console mode selector mode is con programming switch position of tinued 3 console adapter programming console 1 Peripheral inter PROGRAM Current operation face unit printer made is continued interface unit and PROM writer 1 The operation mode of the PC will be PROGRAM if the mode selector Switch of the programming console is set to PROGRAM position 2 ON LINE connection is to connect the peripheral device s to the PC while the power supply to the PC is ON 3 For example if the peripheral device is connected to the PC while the operation mode of the PC is RUN the PC continues to be in RUN state 1 7 CONFIGURATION OF PC CHAPTER 2 SPECIFICATIONS 2 1 SYSTEM SPECIFICATIONS RATI NGS ly vol AC 110 120 220 240V 50 60Hz 85 to 110 of rated voltage CPU rack 50VA max Expansion I O rack 35VA max 5MQ min at DC 500V between external terminal and outer casing AC 1 500V 50 60Hz for 1 minute between external terminal and outer casing 1 000Vp p Rise time 1nsec Pulse width 50n to Ipsec 16 7Hz 3mm double amplitude in X 2 directions respectively 30 min
136. ferentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the register is logical 1 specified bit is transferred to a specified bit In the above program when the contents of CH35 are 0503 the third least significant bit bit 23 of DMOOO is transferred to 0505 SYSMAC C series omnon INSTRUCTION WORDS DMO00 from CH35 which a bit 05 Control data is transferred Destination 3501 1 3502 0 3503 0 3504 0 0503 SPECIFYING BIT BY CONTROL DATA The bit from which data is to be transferred and the bit to which the data is transferred are specified by BCD data as follows The valid value is from 0 to 15 MSB LSB 0 5 0 3 To specify bit from which data is transferred To specify bit to which data is transferred BIT TRANSFER OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or 00 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed An invalid value of the control data or data other than those in the above table will cause an error to occur If an error occurs special auxiliary relay 6303 turns ON and the in
137. ff at the same time or after turning off the DC 12V supply voltage 2 16 1 SYSMAC C series omnon SPECIFICATIONS CHAPTER 2 TIMING Data 0 Data 1 END Data3 Data 4 Data 5 Data 6 Dea ims ims 2ms STB1 STB2 STB3 jo STB 32ms Data of contacts 0 to 7 of channel output as these pulses SYSMAC C series omnon ASSIGNMENT OF RELAY NUMBERS CHAPTER 3 ASSIGNMENT OF RELAY NUMBERS Relay numbers correspond to the data memory areas and the operating state ON OFF of each relay is stored in the corresponding memory area See list of relay numbers in Appendix A 3 1 EXPLANATION OF SPECIAL AUXIL RELAY NUMBERS _ PORARY MEMORY RELAY NUMBERS The programmable controller has 4b special auxiliary relays Some operate or release according to internal conditions controlled by the hardware regardless of the conditions of 1 O devices The operations of the others are controlled by the software FAL instruction Relay No 6011 This relay turns ON when the FUN99 RUN stop instruc tion is executed and indicates a power failure in the input power supply Relay No 6012 This relay serves as a data retention flag that can be turned ON by an OUT instruction and OFF by an OUT NOT instruction If the flag is turned OFF all the data in the 1 0 internal auxiliary and link relay areas are c
138. fiber optics cable Optical transmitting 1 0 unit SYSMAC C500 expansion 1 0 rack Transmission distance 800m max Remote I O slave unit Type 3G2A5 RTOO2 E Optical transmitting unit 100 units max The number of 1 O points provided to the system 256 max The remote master unit can be connected to 1 0 connector of the SYSMAC C500 expansion 1 0 rack Up to two remote 1 slave units or 64 optical transmitting 1 0 units can be connected to a remote I O master unit Note however that units cannot be connected to the Count the number of VO units on the remote VO slave unit in units of points in the same manner as the optical transmitting unit For example a unit provided with 16 points is counted as two units SYSMAC C250 exceeding 256 1 0 points because the maximum number of 1 O relays provided to the PC is 256 In terms of optical transmitting unit the maximum number of units that can be connected to the SYSMAC C250 is 32 because eight I O points are provided per optical transmitting I O unit 7 39 OMRON SYSMAC C series SPECIAL 1 0 UNITS When connecting the remote I O units and or optical transmitting 1 0 units to the SYSMAC C500 SYSBUS exclusive fiber optics cable SYSMAC C500 expansion rack SYSMAC CS00 CPU rack Remote VO master unit 3G2A5 RM001 E Type 3G5A2 RPTO1 64 V
139. for I O unit mounting Any type of I O unit can be mounted to the CPU rack in any order and I O channel relay numbers are assigned serially according to the mounting order of the 1 0 units Y 1 1 1 i CPU 1 rack i i Starting position of VO channel relay H numbers 1 1 Expansion rack H H The rightmost point 0000 channel 00 bit 00 of the 1 0 unit mounted on the lower 1 unit mounting position of the CPU rack is regarded as the starting point of the assignment The serial relay channel numbers are assigned from the right to the left starting from this point The assignment continues in the same manner from the lower to the upper I O unit mounting position on the CPU rack The I O unit s mounted on an expansion O rack con nected to the CPU rack is also assigned with serial channel relay numbers in exactly the same manner NOTES 1 The 1 0 channel relay numbers are determined by registering the status of the mounted 1 O unit s in the CPU memory This registration is performed by using the programming console For details refer 1 0 table generation procedures described in the user s manual for the programming console The registered contents can be confirmed SYSMAC C series OMRON ASSIGNMENT OF RELAY NUMBERS 2 The vacant space is not registered as a channel 3 f an 1 0 unit is later mounted additionally to a vacant p
140. g the instruction The data of all bits except the designated bits in the destination channel are not changed DIGIT DESIGNATION Designate the number of times the data must be encoded and the destination digit to which the encoded data is to be 00 to 60 transferred LROO to 31 MSB LSB TIM CNTOOO _ TIM CNTOOO I 127 Digit designation 0 to 3 DMOOO to 511 No of times to be encoded 0 to 3 DMO00 to 511 ignores See NOTE 1 e No of times the data is encoded ia ied 0 Once 2 Three times HE T is determined according to the designated 21 Twice Four times 2 When the R register is logical 1 encoding 16 bit data into 4 bit data is executed at each scanning To execute e Digit designation NC time program a differentiating circuit for Designate the desired digit by using the digit number of the digit Refer to the figure appearing in Operation of each register OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logica 0 When the content of the register is logical 1 the 16 bit data in one channel is encoded to a 1 digit 4 bit data and transferred to specified digits of the data WHEN ENCODING PLURAL DIGITS To encode plural digits designate the lower order digit as the digit designation Destination Digit Encoded memory O1CH 02CH designation data DM In the above program the higher order bit of 16
141. g unit consists of 8 points Therefore relay numbers 00 to 07 of a specific 1 0 channel are regarded as lower order L addresses and relay numbers 08 to 15 are treated as higher order H addresses and an optical transmitting I O unit is connected to each of the L and H address 170 channel N e 7 o2 05 04 os o5 2 06 07 V O channel of the optical os transmitting channel consists of 8 points 10 o in 93 314 o4 N channel H Cs 05 o6 Note however that an optical transmitting input and output unit must not be assigned to the L and H addresses of the same channel To set the DIP switch of the optical transmitting I O unit refer to 7 8 3 Channel and end RSU settings of optical transmitting O unit ASSIGNMENT OF CHANNELS Connection between SYSMAC C500 and remote O units Example 1 Expansion rack Expansion rack 24CH 28CH EE Expansion rack 8 88 28 tI 26CH 27CH A lug E Expansion Re ge VO rack 10888 13 P 12CH L2 BCH 9CH 10CH 11CH When I O unit is mounted to an expansion I O rack mounting a remote 1 O unit the programmable controller automatically assigns a channel to the I O unit Refer to 3 2 Free location concept and I O channels in Part 1 as necessary 7
142. ge must be operating voltage range The supply voltage must be within the permis sible fluctuation range described above Environmental conditions a Ambient temperature b Humidity c Vibration d Dust Are the temperature and humidity within the respective range When the PC is installed in a control panel the temperature within the panel may be regarded as the ambient temperature of the programmable controller Power supply of expansion rack la Voltage b Ripple Are the voltage and ripple within the operating range when measured at the terminal board of each 1 0 unit 0 to 50 C b 30 to 90 RH c Must be free from vibration d Must be free from dust Must conform with the specifications of each 1 0 unit Mounting conditions 1 Are the CPU rack and expansion rack secured firmly The mounting screws must not be loose 2 Is each expansion 1 O rack fixed firmly Each 1 O rack must not be loose 3 Is the expansion I O rack connecting cable inserted completely The connecting cable must not be loose 4 Is there any loose screw in the external wiring The screw terminais must not be loose 5 15 there any broken cable in the external wiring The external wiring must be free from any abnormalities in appearance Service life 1 Output relays in the CPU and expansion 1 O units 2 Battery Electrically 300 x
143. hannel number 2 Set the address of the newly mounted remote 1 slave unit Also set the channel of the newly mounted optical transmitting O unit In so doing pay particular atten tion so that the set channel number does not overlap with the last channel number of the 1 0 unit mounted 6 After the END STA CHECK indicator of the remote master unit goes out generate an I O table by using the programming console of the 7 With the programming console check whether the newly mounted remote 1 slave unit and optical transmitting I O unit have been correctly registered to the CPU of to the CPU rack Note that the number of I O points of the PC the set channel must not exceed the maximum number of I O relays provided to the PC In case the number of NOTES 1 Once the above procedures have been per formed the system is ready for operation on power application 2 Should the system not operate normally after the above procedures have been correctly observed refer to List of error messages and alarm output in 7 9 4 3 Generate or check the I O table by using the programming console the 1 0 points of the set channel exceeds the maximum number of the programmable controller s O relays an unit over error occurs 3 Sequentially connect the fiber optics cables SYSBUS to the connector of each unit starting from the remote master unit Type 3G2A5 RTOO2 E remote I O slave unit and the optical transmitting
144. ided by the contents of HROOCH and HRO1CH HROOOO to HRO115 of which each also has 16 bit data The arithmetic operation is performed using 7 digit BCD data while automatically accounting for the position of the radix point The results of the division are two 16 bit data and are output to LR20CH and LR21CH LR2000 to LR2115 If the quotient is 0000 as a result of the operation special auxiliary relay 6303 turns ON The following is an example when the division 0 5670000 x 107 0 1234567 x 107 0 4592703 x 10 is performed IHRO100 1 IHRO101 1 0 1234567x 10 4 41 INSTRUCTION WORDS 0 4592703x 10 The floating point is expressed as indicated by this example Ex 0 5670000 x 10 DMOO00 DM001 r Virtual decimal point Exponent 0 to 7 Floating point Sign 0000 The dividend divisor and quotient are set as shown above The floating point is indicated by the exponent and sign The virtual decimal point is at the most significant bit position The valid range of the divisor and dividend is 0 9999999 x 107 to 0 0000001 x 10 7 The valid range of the quotient is 0 9999999 x 107 to 0 1000000 x 10 7 The valid number of digits for the quotient is seven and digit exceeding this number will be rounded off
145. instruction 4 44 4 50 DIGIT TRANSFER FUN83 instruction 4 45 4 51 LEFT RIGHT SHIFT FUN84 4 46 4 52 TABLE COMPARE FUN85 instruction 4 48 4 58 WATCHDOG TIMER SETTING FUNS94 instruction 4 49 4 54 RUN STOP FUN99 instruction 4 49 CHAPTER 5 INSTALLATION AND WIRING 5 1 Mounting locations and environmental conditions 5 1 5 2 Mounting positions within control panels 5 1 5 3 to install within control panels 5 2 5 4 Processing of wiring within control 5 3 5 5 Operation at power failure 5 4 5 6 External wining cries Asset x ei ose ak Rua dU eI ee e e EN 5 4 5 7 gt caso e eIX rr et ade Ut cmi 5 5 CHAPTER 6 MAINTENANCE AND INSPECTION ae Ee Ga bee ERE RN 6 1 6 2 Tro bleshootitig 3 urs ee LI Deb M E a 6 3 6 3 Abnorma symptom possible cause and corrective action NUM 6 6 6 4 Diagnostic functions 6 7 PART 2 CHAPTER 7 SPECIAL 1 0 UNITS J A Available scene side eg ea e et NP DEUS 7 1 4 2 Names of paris B ar IQ Vana RA
146. ions The SYSMAC C series programmable controller is manu factured with a consistent design philosophy supported by high technology for integration of components under the most advanced quality control system As a result of these excellent manfuacturing conditions the PC is capable of minimizing time required for troubleshooting should a failure occur This is because the PC is provided with various diagnostic functions Diagnostic functions for hardware Checks CPU 1 0 unit bus and SYSBUS System diagnosis Checks the remote 1 unit system for correct use These abnormal statuses can be monitored by messages and FAL numbers displayed on the LCD of the programming console In addition the PC has the special auxiliary relays each of which is assigned to output an abnormal status These relays associated with the user program allow the PC to provide flexible countermeasures against failure because the decision can be made whether to continue or stop the operation of the system 741 omnon SYSMAC C series SPECIAL 1 UNITS LIST OF FAILURES AND ALARM OUTPUTS Ez TET 7 7 UE zT ri S 5 Power of expansion 1 rack is turned OFF Transmission line SYSBUS is discon nected No END station is specified Transmission error occurs w on SYSBUS UY Ey us Faiture has occurred in 1 0 m CPU E bus of expansion 1 rack WAITG Failure has occurred in
147. it data is transferred to DMOOO to 511 Data memory 5 000 0 001 Constant 1234 0 511 BLOCK SET OF INDIRECTLY ADDRESSED DATA The only data that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than 000 to 511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed DATA OF BLOCK SET INSTRUCTION The data of a block setting instruction that must be specified are the start and end channels of the setting operation and the number of channels to be set Any number of channels within the limitation of the hardware can be specified for setting and the data must satisfy these conditions Start channel number X End channel number and same data area If these data conditions are not satisfied an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed Any set data can be selected and a hexadecimal 4 digit binary 16 bit data can be specified for the constant If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 4 39 SQUARE ROOT FUN72 INSTRUCTION The SQUARE ROOT instruction is used to compute the square root of an 8 digit BCD data 0000 it 4 32 SYSMAC C series omnon INSTRUCTION
148. it of the PC to prevent the programmable controller from malfunctioning because of a momentary power failure or a decrease in the supply voltage a Supply voltage drop If the supply voltage drops below its 85 the opera tion of the PC stops causing external output relays to turn off b Momentary power failure The PC ignores a momentary power failure not exceeding 10msec Y A momentary power failure of 10ms or more and less than 25ms may or may not be detected because it is in an unstable area If a power failure of more than 25ms occurs the operation of the CPU is stopped and thus its outputs are absent i e the output units are turned OFF 5 4 Automatic reset The PC will automatically resume its operation after the supply voltage more than 85 is restored CPU RUN STOP Timing Chart Momentary power failure detection time Power failure detection signal 5V GRE Approx 10ms Approx 1s Initial software processing time 5 6 EXTERNAL WIRING 1 Be sure to process the input output lines of the PC separately from other control lines Do not share the conductors of the 1 0 cable with others 2 To process the cables for the PC with power cables rated at 400V 10A max or 220V 20A max a Be sure to provide a minimum distance of 300mm between both cables when their racks are paralleled b Be sure to screen them with grounded metal plate when both cables are pla
149. leared on starting the RUN operation When this flag is turned ON the previous data in those relay areas are retained NOTE When a power failure occurs this flag will retain the data stored earlier Relay No 6015 This relay serves as a LOAD OFF flag that can be turned ON by an OUT instruction and OFF by an OUT NOT instruction if this flag is turned OFF the contents of the relays are newly output to the output units If the flag is turned ON all output units are turned OFF and the OUT INH indicator LED on the front panel of the CPU illuminates NOTE When a power failure occurs the LOAD OFF flag retains the data stored earlier Relay Nos 6100 to 6107 When Diagnostic FAL FALS instruction is executed an FAL No 01 to 99 is output in BCD to each of the 6100 to 6107 relay numbers 3 1 607 6106 ewe X10 Xm Further the FAL No is output to this area should an abnormal alarm output occur such as one caused by battery failure In that event the abnormal state will be reset through execution of the FAL 00 instruction or by means of the abnormal clear procedure using the programming console NOTE FAL No OO output to this area indicates the normal state Relay No 6108 This relay operates when a battery failure occurs and releases when the battery is returned to normal To transmit the BATTERY FAILURE signal externally pre pare and program a circuit
150. lure to occur To prevent this perform the memory all clear operation after the replacement 2 When the JT2 and 1 pins of the ROM RAM selector jumpers are short circuited inserting or pulling out the ROM or RAM chip into or from the socket will cause the contents of the 1 0 table and data of the data memories holding relays and timers counters to be lost Therefore avoid doing so 3 Be sure to short circuit the pins of both the two ROM RAM selector jumpers 1 2 2 Expansion I O rack ROM board User memory ROM RAM socket selector jumpers To use RAM use ROM ROM RAM selector jumpers 4 For the RAM type CPUs Types 362 4 5 021 and 3G2C4 SC022 E user memory mounting is not required 1 3 RON SYSMAC C series CONFIGURATION OF PC PART 1 1 3 SYSTEM CONFIGURATION 1 4 DIMENSIONS BASIC SYSTEM For the type of I O units refer to 1 1 Available types when placing your order CPU rack Expansion rack No 1 Expansion VO rack No 2 Expansion VO rack No 3 NOTES 1 A maximum of 2 units can be mounted in the CPU rack 2 A maximum of 2 1 units can be mounted on an expansion I O rack 3 The PC allows additional connections of up to 3 expansion O units 4 Any combination of 1 O units can be made on an expansion O rack 3G2C4 SI021 3G2C4 SI022 14 1 4 1 CPU rack
151. max 1 5ms max DC 10 2V max DC 3 0V max Internal circuit DC 24V 41096 15 0 1A 100uA max 1 5V max 0 2ms max 3 0ms max DC 24V 10 64 points 450g max DC 5V 300 NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terminal numbers and I O channel relay numbers of an I O unit are changed according to the position on the CPU or expansion 1 0 rack on which the 1 unit is mounted The terminal connections shown above are for when the I O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and I O channel relay numbers 2 7 OMRON svsmac c series CHAP SPECIFICATIONS PART i 2 2 2 Output units Y AC 250V 2A 1 1 DC 24V 2A 8A common AC 250V 2A p f 1 DC 24V 2A BA common 16A unit 24A unit DC 5V 100mA DC 5V 100mA Voltage DC 24V 10 Voltage DC 24V 10 Current 10mA point 160mA unit Current 10mA point 160mA unit 15ms max 15ms max 15ms max 15ms max 16 points 8 points common 24 points 8 points common 450g max 500g max DC 5V 5 100mA max DC 5V 5 180mA max DC 24V 10 160 max DC 24V 10 240mA max Electricatiy 300 000 operati
152. min Memory error Sum check or incorrect instruction exists A failure End missing error END instruction is missing at the end of 5 lt that program causes the CPU to Error is detected during data transfer between B Stop NG bus error and I O unit The number of I O points mounted in excess of 1 0 unit over error 512 is detected as error 9 g setting error Input unit is replaced with output unit or vice versa FALS instruction is executed by software D System failure causing the CPU to stop s T Error is detected during data transmission Remote O error between remote main and sub units A failure 5 that does verify error i O units are removed lt not cause ar FAL i ion i d by sof h to stop instruction is executed by software that A D System failure does not cause the CPU to stop hd Battery error Low battery voltage or no battery is inserted w inhibit input Special auxiliary relay 6015 is ON state Watchdog timer Pv Scan time 100ms max and less than 130ms A 7 denotes that the indicator illuminates denotes that the indicator goes off These examples of LED indicator are while the PC is in operation 6 8 CPU WAITG SYSMAC C series omnon MAINTENANCE AND INSPECTION Turn ON power of
153. mnon JMP JME ERROR 0002 JM 0003 0004 6 6 0005 0006 CNT 0007 010 R t if JMP and JME instructions are not used in pairs as JMP JMP JME in the above example this is judged as a JMP JME error during the program check The operation of the circuit in this case will be as programmed which is shown below 1 the condition of JMP is OFF output relays 0200 0201 and 0202 remain in their present ON OFF states and counter CNTO10 retains its present count value If the conditions of both JMP and JMP are OFF the state of each output relay is the same as 1 If the condition of JMP is ON and that of JMP is OFF output relay 0200 turns ON or OFF if input 0001 is ON or OFF and output relays 0201 and 0202 remain in their present ON OFF state Counter CNTO10 retains its present count value If the condition of JMP is OFF and that of JMP is ON the state of each output relay is the same as 1 and 2 4 10 DIAGNOSTIC FAL FUNQG FALS FUNO7 ANSTRUCTION y The FAL and FALS instructions are used to output the failure or abnormal mode to the FAL area indicating the occurrence of a failure or abnormality in the internal circuit during the operation of the PC 0000 0001 1 ir FAL10 0002 0003 m eo 0200 Gi 10sec TIMOO0 Eu s s INSTRUCTION WORDS 98 FALs foy 7 Coding FAL 06 LD AND NOT OUT
154. mple ment from 0000 0000 tens complement true complement 428 MULTIPLY MUL FUN32 INSTRUCTION The MUL instruction is used to execute BCD multiplication between two specified 4 digit BCD data 0100 MUL 132 1 SYSMAC C series omnon INSTRUCTION WORDS Contents of data 00 to 63 00 to 59 LROO to 31 to 31 TIM CNTOOO to 127 DMO000 to 511 DMOO0 to 510 DMOOO to 511 0000 to 9999 NOTES 1 Two channels 16 bits x 2 must be used for the operation result area 2 When the R register is logical 1 a BCD multiplication is executed at each scanning To execute it only once program a differentiating circuit for the input LROO to 30 HRQO to 30 OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 multiplication of 4 digit BCD data by 4 digit BCD data is executed Two channels are required for the operation result area In the above program the 16 bit contents of 0000 to 0015 are multiplied by the 16 bit contents of the 4 digit constant 1234 in units of four BCD digits the result is output to the two 16 bit locations of LR21CH and LR22CH LR2100 to LR2215 if the result of the multiplication is 00000000 special auxiliary relay 6306 is turned ON Link r
155. n four BCD digits The CPU checks whether the externally set counter data is in four BCD digits or not If not in BCD digits special auxiliary relay 6303 is turned ON indicating an error In this case the program can still be executed but the count up operating may not be accurate MEMORY RETAINING DURING A POWER FAILURE The present value of the counter is retained in memory during a power failure If a power failure occurs the counter is not reset and the present value i e count remaining of the counter is retained in the memory USE OF AN EXTERNALLY SET COUNTER In the example the counter 011 of the other system is used for external count setting An external count setting device is connected to channel No 01 C 1 0 input unit of its own system so that the counter operation will be up when the value 5814 counts set by the external count setting device has been counted External count setting device X103 X10 X10 X10 Input unit 4 6 TEMPORARY MEMORY RELAY TR INSTRUCTION The TR instruction can be used as a temporary memory relay To program a temporary memory relay the TR instruction must be used with an OUT or LD instruction 0001 0002 Al E3 9 9 B 59 Relay numbers are 0 to 7 Coding The TR instruction is used when a ladder diagram cannot be programmed with in
156. n input failure occurs and remains O during normal operation of the unit The signal ievel of bit No 15 of other A D conversion input units remains 0 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 23 A D converted data 2 A D converted data 23 A D converted data 22 A D converted data 23 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 25 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 27 A D converted data 27 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 A D converted data 2 converted data 2 Line 1 Line 2 7 9 Line 3 Line 4 OMRON SYSMAC C series 7 SPECIAL 1 0 UNITS 7 4 5 Input signal and converted data The A D conversion input unit is capable of converting an analog input signal into a digital data Note that five types of units
157. n mounting the unit to the SYSMAC C120 3 mount the unit to the SYSMAC C120 use Type 3G2C4 S1025 3G2C4 SI026 om RON SYSMAC C series 7 4 2 Block diagram Line 1 Line 2 Input D Resis tance Input Shield Input Resis tance e Input Shield SPECIAL 1 0 UNITS Input range setting circuit E gt m 5 x 3 2 5 2 A D converter Photocoupler Bus interface Input Resis tance Line3 Input Shield Input Resis tance e Photocoupler Line4 Input Shield 9 4 Analog 0V Isolation Analog 5V power supply analog input DC DC converter p 2 222 22 2 2 22 2 1 The circuitry for these two lines are not provided to the 2 channel type A D conversion input unit i 2 The input failure detection circuit is not provided to the 4 channe type A D conversion input unit NOTE An input failure is detected by only Type 3G2A6 AD001 1 to 5 for voltage input or 4 to 20mA for current input 7 6 2 SYSMAC C series omnon SPECIAL 1 0 UNITS CHAPTER 7 7 4 3 External connection diagram 2 CHANNEL TYPE Connection for voltage input 1 When the signal is a common mode input Input side ov ov Twisted pair shielded cable
158. n the FAL or FALS diagnostic instruction is executed the FAL No 01 to 99 is output in each of these relay numbers x 10 OBN OAN This relay turns ON when the battery in the CPU is abnormal This relay turns ON when the scan time of user program exceeds 100msec 6108 61 cH 6109 6110 This relay turns ON when the number of 1 units mounted disagrees with that registered 3 1 This relay is normally This relay is normatly OFF 6113 6114 Special auxiliary 45 6115 relay 6200 This relay operates only one scan time at the beginning of the operation 6300 This relay is used to generate 0 1 sec clock pulse 6301 This relay is used to generate 0 2 sec clock pulse 6302 This relay is used to generate 1 0 sec clock pulse 6303 This relay turns ON when the result of an arithmetic operation is not output in BCD or when an error is detected in indirectly addressed data error flag 63 6304 CH This reiay turns ON if a carry exists in the result of an arithmetic operation carry flag 6305 This relay turns ON if the result when the Compare instruction is executed is more than gt flag 6306 This retay turns ON if the result when the Compare CMP instruction is executed is equal or O flag This relay turns ON if the result when the Compare instruction is executed is less than
159. ng by its DIP switch Expansion 1 0 rack points 19CH 18CH 14 15CH 16CH 17CH 7 36 SYSMAC C series omnon PART 2 SPECIAL 1 0 UNITS CHAPTER Connect the remote O units or optical transmitting units to the SYSMAC C120 or SYSMAC C250 in the same manner as described in examples 1 to 3 above For details refer to 7 9 3 System configuration examples MEANING OF END STATION On power application the remote master unit checks whether a remote I O slave unit or an optical transmitting I O unit that is specified as the end RSU is connected to it If an unit specified as the END station exists the remote I O master unit recognizes the units currently connected to the SYSBUS The remote 1 slave unit transmits data to and from the O units connected to the SYSBUS The 1 0 units not connected to the SYSBUS the optical transmitting I O units connected after the end RSU are consequently ignored by the remote I O master unit To prevent this specify the 1 0 unit with the greatest channel number as the end RSU Example 1 H Expansion 1 0 rack 55 238 tit 2 3CH SCH Optical Optical Optical Optical transmitting transmitting transmitting transmitting unit 1 0 unit unit 1 O unit 30 channel L 30 channel H 31 channel L 31 channel
160. nly relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are not in BCD or if they are greater than 511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed Em DM020 2 16 bits DM021 6 7 8 16 bits The above program is executed when the NO contact of 0100 is ON Because DMO20 is indirectly addressed the data 21 decimal in DMO20 specifies DM021 and a 4 digit constant F678 is transferred to DMO21 As a result the contents of DMO21 become F678 For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 19 BCD TO BIN CONVERSION BIN FUN23 INSTRUCTION gt The BIN instruction is used to convert 4 digit decimal data into 16 bit binary data and to output the converted data to a specified channel 0100 Conversion data channel number D Transfer destination channe number 00 to 60 00 63 LROO 31 to 31 DMOOO to 511 DMO000 to 511 NOTES 1 If the converted data are all 0 special auxiliary relay 6306 turns ON 2 When the R register is logical 1 a BIN instruction is executed at each scanning To execute it only one time program a differentiating circuit for the input 4 17 j MRON SYSMAC C series HAPTI INSTRUCTION WORDS OPERATION OF EACH
161. npuvourput T control circuit 5 3 For general noise on the power supply line the noise suppressing circuit in the PC is sufficient However supply ing power through a transformer having a transformer voltage ratio of 1 1 will help reduce equipment to ground noise to a great extent and installation of such a trans former is recommended Terminal FG of the 1 unit is a ground terminal used for prevention of electric shock Use an exclusive ground wire having a conductor cross sectional area of 2mm min for grounding at a ground resistance of less than 100 Terminal LG is a noise filter neutral terminal and the grounding is not iequired In case of a large noise that may cause an erroneous operation and FG are short circuited for exclusive grounding at a ground resistance of less than 1009 Note that common use of the grounding line with other equipment or connecting to the beam of the building may adversely affect the system Keep the length of the ground wire within 20m Care must be taken as to the ground resistance because it varies depending on the nature of ground water content season and the time elapsed after the underground laying of the ground wire GROUNDING WITH OTHER EQUIPMENT 3 Wiring of expansion rack Use twisted pair wires of 2mm min as the power supply cable for expansion rack and keep them separate from high tension or power lines and input output lines AC power supply
162. ntent of the R register is logical 1 16 bit data of one channel is exchanged with another in the above program the contents of O1CH 0100 to 0115 are exchanged with the 16 bit contents of DMO10 1 0 relay 01CH Data memory 1 0 relay DMO010 01CH 0100 07 0101 0 DATA EXCHANGE OPERATION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or more than 512 an error will occur this wil cause special auxiliary relay 6303 to turn ON and the program will not be executed if the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed PART 1 441 ONE DIGIT SHIFT LEFT FUN74 INSTRUCTION The ONE DIGIT SHIFT LEFT instruction is used to shift data between the start and end channels by four bits to the left 0000 D1 Start channel number 02 End channel number Contents of data D1 D2 4 00 to 60 LROO to 31 HROO to 31 DMO00 to 511 DMOOO0 to 511 NOTES 1 The third data is ignored when the instruction is executed 2 When the R register is logical 1 data between the start and end channels are shifted to
163. ntiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 data between the start and end channels are shifted by four bits to the right In the above program the contents of DM010 to DMO11 are shifted by four bits 1 bit x 4 times to the right In this case 0 is inserted as the first digit of the start channel 4 35 omnon SYSMAC C series NSTRUCTION WORDS Data memoi Data memor Data memory Data memi DMOID DMOTI o Y DMOIT OY 29 r9 xr 2 2 Po X10 22 ri x10 21 19 2 o m 2 o 29 T 2 ro i 7 25 xw x10 Result of 28 0 execution 97 y 28 pu 28 70 2 X10 reor pe 2070 2581797 o 25 0 2u 2 r 22 212 0 21 0 1 25 23 Les x 2 0 7 24 2 Qr 23 ro 7 25 0 25 107 1234 1224 9 14123 0123 The data shifting operation is performed starting from the most significant digit of the end channel to the least significant digit of the start channel DATA OF ONE DIGIT SHIFT RIGHT The data area for the ONE DIGIT SHIFT RIGHT instruc tion is specified by a start channel number and an end channel number bo
164. o 0015 are compared with the 16 bit data of HR20CH HR2000 to 2015 and the results are output to the result area of special auxiliary relays 6305 to 6307 Input t re input output relay Result of comparison xie O0CH gt HR20CH O0CH HR20CH woes v wr x16 x16 x16 Constant is compared with the 4 digit hexadecimal binary 16 bit data COMPARISON OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO to 511 The contents of indirectly addressed data are BCD data 0000 to 0511 and they indicate the channel number of the data memory 1f the contents of the indirectly addressed data are not in BCD or if they are greater than 0511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed 0100 CMPC DM020 F678 2 165 owa 16 bits Constant F 6 7 8 PART 1 The above program is executed when the NO contact of 0100 is ON Because DM020 is indirectly addressed the data 21 decimal in DMO20 specifies DM021 the con tents of DMO21 are compared with the 4 digit constant F678 16 bits 4 18 MOVE MOV FUN21 MOVE NOT MVN FUN22 INSTRUCTIONS The MOV instruction is used to transfer 16 bit channel data or hexadecimal 4 digit 16 bit binary constant to a spec ified channel 0100 2 1
165. o 511 TIM CNTOOO to 127 DMOOO to 511 See NOTE 1 The constant is determined according to the designated digit When the R register is logical 1 encoding 16 bit data into 4 bit data is executed at each scanning To execute it only one time program a differentiating circuit for the input SYSMAC C series omnon INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 1 digit 4 bits binary data is decoded and transferred from the specified conversion data channel to the specified destination channel as 16 bit data by the specified number of digits in the above program the least significant digit 4 bits 2 to 23 in the data memory is decoded to a decimal value 0 to 15 and transferred to the 01CH Only the bits in the 01CH corresponding to the value are turned ON logical 1 and other bits are turned OFF logical 0 Least Digit Data memory VO relay significant designation DM010 Q1CH digit p 0 EI 01 EI 0 0102 z 01 nes 2 3 Most significant digit 4 16 DECODING OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMO00 to DM511 If the contents of the indirectly addressed area are other than BCD data or more than 512 an error will occur this will cause special auxiliary rela
166. of the logical AND operation will be newly stored in the R register The content of specified relay No m ui AND NOT The AND NOT instruction causes the content of the specified relay number to be inverted and then ANDed with the content of the R register The result of the logical AND opera tion will be newly stored in the R register The content of specified relay No gt R The OR instruction causes the logical OR operation to be performed between the content of the specified relay number and the content of the register The result of the logical OR operation will be newly stored in the R register The content of specified relay No OR NOT The OR NOT instruction causes the content of the specified relay number to be inverted and then ORed with the content of the R register The result of the logical OR operation will be newly stored in the R register The content of specified relay No M gt Eh NOTE The number of contacts in series or parallel is not limited for use on a logic line within a program capacity 4 2 4 2 AND LOAD AND LD INSTRUCTION For interblock AND operation between two or more blocks use the AND LD instruction Block a OR NOT AND LD NOTES Use this instruction as the first instruction for the next block to be ANDed with the preceding block Use the AND LD instruc tion for series connec
167. ogrammable controller and special 1 0 units For detailed information on the programming console graphic programming console CRT or other peripheral equipment please refer to each user s SYSMAC C series omnon PART 1 CONFIGURATION OF PC CHAPTER 1 CONFIGURATION OF PC 1 1 AVAILABLE TYPES 3G2C4 SC021 E al 2 5kg 3G2C4 SC022 E AC 110 120V ROM RAM 4 2 5kg max 3G2C4 SC023 E AC 220 240V ROM RAM 4 2 5kg max 3G2C4 SC024 E 110 120V for mounting 1 unit 2 5kg 3G2C4 S1021 220 240V for mounting 1 unit 2 5kg max 3G2C4 S1022 AC 110 120V for mounting I O linkage unit 2 5kg max 3G2C4 S1023 AC 220 240V for mounting I O linkage unit 2 5kg max 3G2C4 S1024 110 120V for mounting A D conversion input D A conversion output or high speed counter unit 2 5kg max 36264 51025 220 240 for mounting A D conversion input D A conversion output or high speed counter unit 2 5kg max 3G2C4 SI026 AC 110 120V for mounting remote 1 unit 2 5kg max 3G2C4 S1027 AC 220 240V for mounting remote 1 0 unit EHE 2 5kg max 3G2C4 S1028 Cable length 50cm 300g max 3G2A5 CN511 Cable length 100cm 400g max 3G2A5 CN121 AC 100 to 120V 10 16 points 1 450g max 3G2A6 1A121 AC 200 to 240V 10mA 16 points 1 450g max 3G2A6 1A222 AC DC 12 to 24V 10mA 16 points PNP NPN input 2 450g max 3G2A6 IM211 AC DC 12V 7mA 32 points PNP NPN input 2 500g max 3G2A6 IM111 AC
168. oints 600g max 3G5A2 OD411 E 0 1m long with connector used commonly for optical transmitting unit 20g max 3G5A2 OF011 Nonvoltage contact 10mA 8 points AC DC 12 to 24V 10mA 8 points AC 220 240V 10mA 8 points 1m long with connector used commonly for optical transmitting unit 409 max 3G5A2 OF 101 2m long with connector used commonly for optical transmitting unit 60g max 3G5A2 0F 201 3m long with connector used commonly for optical transmitting unit 80g max 3G5A2 0F 301 5m long with connector used commonly for n optical transmitting 1 0 unit 120g max 3G5A2 OF801 10m long with connector used commonly for T optical transmitting 1 0 unit 220g max 3G5A2 OF 111 20m ong with connector used commonly for optical transmitting unit 420g max 3G5A2 OF211 30m long with connector used commonly for optical transmitting 1 O unit 620g max 3G5A2 0F311 50m long with connector used commonly for 7 optical transmitting I O unit 1kg max 3G5A2 OF511 7 1 omnon SYSMAC C series SPECIAL 1 0 UNITS MOUNTING POSITIONS OF UNIT ON CPU Basic input unit Basic input unit Basic output unit Basic input unit Basic input unit Basic output unit Basic output unit Basic input unit link unit Basic output unit Basic input unit A D conversion input
169. om which the data is transferred the number of digits to be transferred and the digit to which the data is transferred MSB15 1211 87 43 OLSB Digit from which the data is transferred 0 to 3 No of digits to be transferred 0 to 3 Digit to which the data is transferred 0 to 3 Ignored SPECIFYING DIGIT Specify the digit to or from which the data is transferred by using the digit number of that digit as follows 5 15_1211_87_43_ 0158 3i2i110 Digit No SPECIFYING NUMBER OF DIGITS 0 One digit 4 bits is transferred 1 Two digits 8 bits are transferred 2 Three digits 12 bits are transferred 3 Four digits 16 bits are transferred If a number 4 or greater is specified an error occurs TRANSFER OF PLURAL DIGITS When transferring plural digits specify the digit to which the data are transferred starting from the least significant bit of the destination digits 15 1211 87 43 0 For example when digit 1 is specified in this figure the data are transferred in this manner 1 When the number of digits is specified as 1 the data are transferred to digit 1 and then 2 2 When the number of digits is specified as 2 the data are transferred to digits 1 2 and then 3 3 When the number of digits is specified as 3 the data are transferred to digits 1 2 3 and then 0 DIGIT TRANSFER OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addres
170. on of indirectly addressed data in 4 17 Compare instruction 4 26 ADD ADD FUN30 INSTRUCTION The ADD instruction is used to execute the addition between two specified 4 digit BCD data 0100 oo FAS 9 1 Data to be added D Result of addition channel number series OMRON INSTRUCTION WORDS CLC 0202 ADD 30 Contents of data T 00 to 63 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMO00 to 511 DMOOO to 511 0000 to 9999 NOTES 1 Before an ADD instruction is executed a CLC instruction must be programmed to clear the carry flag 6304 2 When the R register is logical 1 a BCD addition is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 addition of a 4 digit BCD data to a 4 digit BCD data including a carry 6304 is executed If the result of the addition is 0000 6306 is turned ON and if there is a carry in the result 6304 is turned ON In the above program the 16 bit contents of 0000 to 0015 are added in units of four BCD digits to the 16 bit contents of the 4 digit constant 1234 including a carry 6304 and the result of the addition is output to the 16 bit locations of LR21 CH L
171. onnecting loads and wirings that may generate much noise to the coincidence output terminals 7 6 4 Setting DIP switch for count input mode DIP SW SETTING 1 0N POSITION BBBEBBE COMMAND INPUT PHASE DIFFEREN TIAL INPUT NO VOLTAGE CONTACT INPUT WHEN PHASE DIF FERENTIAL INPUT WHEN NOT PHASE DIFFERENTIAL INPUT WHEN NOT EMITTER FOLLOWER SENSOR 4 CONNECTION WHEN NOT EMITTER FOLLOWER SENSOR CONNECTION SPECIAL 1 0 UNITS SETTING OF COUNT INPUT MODE 1234 This mode is used to specify UP DOWN count command signal by a program Command in put 1 mode Command in This mode is used to put 2mode specify UP DOWN 123456 count command signal by count input 2 Phase dif This mode is used to ferential input identify whether up 123456 mode count or down count operation is to be per formed by the phase difference between count input 1 and 2 SETTING OF FREQUENCY RESPONSE 30 cps With this pin set in the contact input ON position the counter unit can operated in command input 1 mode only and the response frequency of count input 1 is set to 30 cps cps With this pin set in the Solid state OFF position the input counter unit can be operated in all input modes and the response frequency of both count inputs 1 and 2 is set to 50K cps SETTING OF SENSOR OUTPUT
172. ons Electrically 300 000 operations Mechanically 20 000 000 operations Mechanically 20 000 000 operations G68 1114P relay DC 24V Type G6B 1114P relay DC 24V 9 90UT 00 QUT 07 9 9 OUT 08 Internal circuit Interna circuit Internal circuit Relays are mounted on sockets and are replaceable 1 po 4 i a NOTES The delay time from the application of an input signa until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terminal numbers and channel relay numbers of an O unit are changed according to the position on the CPU or expansion 1 0 rack on which the I O unit is mounted The terminal connections shown above are for when the 1 0 unit is mounted on the UNIT 1 position For details refer to 2 2 4 Termina numbers and 1 0 channel relay numbers 2 8 SYSMAC C series OMRON AC 85 to 250V 10 15 1A 50 60Hz 4A common 5A unit 3mA max AC 100V max AC 200V 1 2V max 1 5ms max 1 2 of load frequency max zero crossing circuit incorporated 16 points 8 points common 500g max DC 5V 280mA max 5A 8 points 0 022uF Fuse fuse blowou
173. onversion output unit which exceeds decimal 2048 or is less than 2048 cannot be converted into an analog signal Output from D A conversion output unit 10 r 51 Input data The digital data input to the D A conversion output unit which is in a range of decimal 2048 to 4095 i e when the sign bit is 1 is treated as being in the range of decimal 1 to 2047 Therefore the voltage output range in this case is O to 5V or 0 to 10V 7 13 SPECIAL 1 0 UNITS PART 2 OMRON SYSMAC C series 7 5 6 Programming examples In this example two types of 4 digit decimal data less than 4095 are input to the D A conversion output unit from external devices and are converted into an analog signal D A conversion Input unit Input unit Input unit Output unit eutput unit Input data 1 Input data decimal 4 digits decimal 4 digits Input data 1 02CH check Input data 05CH 2 o 00 2 o o 5 5 1L or 2 j 0 oO Input data 2 2 02 Input data 2 Nonconvertible 3 3 os check output 4 41 04 5 5 05 6 6 06 7 707 ie Outou acan 8 8 COM analog data 9 08 10 09 11 10 Input data 2 12 11 is output as an 43 12 analog data 4 13 15 14 16 15 17 COM 18 19 Input data check 0300 Input data 1 is compa
174. or X Y plotter SCY CN201 220g max 1 5m SCYPOR PLGO1 50g 9 1 omnon SYSMAC C series PERIPHERAL EQUIPMENT PART 2 9 2 APPEARANCE RS 422 On line connection with C amp V8 Multisupport base Peripheral interface Programming console base Programming console adapter for C use Programming console adapter for SYSMAC V8 Programming console horizontal type Printer interface Cassette interface PROM writer Programming console vertical type Printer Cassette tape recorder X Y plotter SYSMAC C series OMRON PART 2 PERIPHERAL EQUIPMENT 9 3 CONNECTIONS Programming console horizontal type RE 1 ur Programming console vertical type Programming console adapter for SYSMAC C Series Lf lt gt Cassette iss tape recorder Programming console base for SYSMAC C Series SYSMAC C250 PROM writer lt gt m EPROM SYSMAC C120 Memory Multisupport base cassette Printer Peripheral interface X Y plotter Cassette tape recorder Cassette tape recorder 9 3 OMRON SYSMAC C series PERIPHERAL EQUIPMENT PART 2 9 4 AVAILABLE FUNCTIONS Oe ee See
175. osition the 1 0 unit location will disagree with the registered location and cause an 1 O verify error to occur this happens register the 1 0 unit location again by following the procedure described in Note f WHEN 1 O UNITS ARE FULLY MOUNTED IN ORDER When only 32 point 1 units are mounted on the CPU and the expansion I O rack the relation between the 1 0 unit mounting positions and 1 channel relay numbers is as follows 03CH 02CH unit 0315 0300 0215 0200 1 CPU rack 01CH DOCH m 0115 0100 0015 0000 0 07CH O6CH 0715 0700 0615 0600 Expansion rack 05CH 04CH unit 0515 0500 0415 0400 0 3 3 When 16 point I O units and 32 point units are mounted to the CPU rack in combination the relation between O unit locations and channel relay numbers is as follows 02CH 0215 0200 01CH 00CH 0115 0100 0015 0000 05CH 04CH 0515 0500 0415 0400 103CH 0315 0300 1 If mounted 1 0 unit is replaced with one having different number of points or if an additional 1 0 unit is mounted the relay numbers assigned to the 1 0 unit already mounted to the right of the new I O unit will be reassigned in sequence The same applies when a mounted 1 0 unit is removed from the CPU rack resulting in a vacancy The relay numbers will not be changed however if new 1 0 unit is mounted to the right of
176. owever when the DATA EXTRACTION instruction is to be executed the special auxiliary relay area can be used as part of the I O and internal auxiliary relay area The valid range of the offset data is determined according to the base address For example if the base address is 0 000 the maximum value of the offset data is 0511 If DM256 is set as the base address however the maximum value is 0255 VO and internal auxiliary relay facic 00to 60 relay area Link relay LR area 61to 63 0 to LR31 Holding relay HR araa HROO to HR31 Timer and counter TIM CNT area TIM CNTOOO0 to 127 Data memory area 0 000 to 511 lt Base address 1 Base address 2 Offset valid area 777 for base address 1 Offset valid area 777 for base address 2 4 44 4 49 BIT TRANSFER 82 INSTRUCTION This instruction is used to transfer a specified bit data to a specified bit 0000 CH No of transferred data Data to be transferred C Control data D CH No of destination Contents of data LROO to 31 to 31 TIM CNTOOO to 127 DMO00 to 511 DMO00 to 511 0000toFFFF See 1 The constant is determined according to the control data When the R register is logical 1 the BIT TRANSFER jnstruction is executed at each scanning To execute it only one time program a dif
177. own output 0201 1 scan time 1 scan time SYSMAC C series omnon INSTRUCTION WORDS CHAP AND 0202 DIFU 13 0203 DIFD 14 Contents of data 0000 to 6015 190000 to 3115 OPERATION OF EACH REGISTER The DIFU instruction must be set so that the output is issued for 1 scan time at the leading edge of the R register that is at the point when the register s level turns from 0 to 1 Conversely the DIFD instruction must be set so that the output is issued at the trailing edge of the R register 1 to 0 NOTE The maximum number of DIFU and DIFD instructions that can be programmed together is 128 The 129th or later differentiation instructions are regarded as NOP no operation The differentiation instructions perform their operations in response to changes in input after the PC starts operating RUN start Input Differentiation up Output Input Differentiation down Output 4 13 omnon SYSMAC C series INSTRUCTION WORDS 1 Externally set channel 00 to 63 4 15 HIGH SPEED TIMER TIMH FUN15 INSTRUCTION LROO to 31 HROO to 31 The TIMH FUN15 instruction can be used as a high speed timer in the same manner as a relay circuit The operating conditions and contents of the operation are mE the same as the timer instruction H 1 50sec Note that if the cycle time exceeds 10msec the timing
178. ptical 1 0 transmitting units Since the number of points per optical O transmitting unit is 8 a maximum of 64 optical 1 O transmitting unit can be connected per remote I O master unit when the SYSMAC C500 which possesses 512 points of input output relays is used However the maximum number of units connectable to the SYSMAC C120 or SYSMAC C250 is 32 because these programmable controllers have 256 Vo points each 7 26 PART 2 SYSMAC C series omno PART2 E 7 8 2 Specifications INPUT UNIT No voltage contact 10mA typ 15ms max 10ms max 15ms max 8 8 points common 8 8 points common 110 120V 50 60Hz AC 220 240V 50 60Hz 20VA max 5809 max 5 RUN output End RSU setting AC input AC 250V 1A Channel setting switch Internal circuit 20VA Internal circuit End RSU setting Power AC input supply circuit AC 250V 1 Channel setting switch Short circuit End RSU Open Unit other than end RSU RUN output Power supply 110 120 7 27 Short circuit End RSU Open Unit other than and RSU RUN output Power supply 220 240V omnon SYSMAC C series 7385A2 M2T1 8 8 points common SCARE iet 3G5A2 IM AC DC 12 to 24V 10 AC DC 12 to 24V 10 15 15 1 8kQ 1 8ka 10
179. r instali a surge suppressor to the noise generating source Reconsider the construction of contral panel ts countermeasure against noise adequate Is unit in good ambient atmosphere REPLACEMENT OF FUSE 1 Turn off the power 2 Remove the terminal block cover from the power supply 3 Remove the cover from the power supply 4 Replace the fuse with a new one Fuse EZ LZ 2 22 2227 777277 7777 Power supply cover Power supply terminal block cover REMOVAL OF 1 0 UNIT 1 Turn off the power 2 Loosen the terminal block mounting screws and remove the terminal block connector 3 Remove the CPU rack cover mounting screws to remove the CPU rack cover 4 Remove the 1 units In doing so do not hold the LED section of the I O unit by hand VO unit CPU rack cover mounting screw N CPU rack cover Terminal block Terminal block mounting screw 6 5 OmRON SYSMAC C series MAINTENANCE AND INSPECTION PART 1 6 3 ABNORMAL SYMPTOM POSSIBLE CAUSE AND CORRECTIVE ACTION CPU RACK Fuse blows repeatedly Pattern is s short circuited or damaged by burning Replace CPU rack DC voltage output failure Constant voltage circuit is defective RUN output contact does not turn ON RUN indicator ON 1 Power circuit is d
180. r current input the signal range is 4 to 20mA This type of A D conversion input unit has identical circuitry for each of the four channels Lines 1 to 4 7 4 1 Specifications CHARACTERISTICS Voltage input 10V 1 to 5V 10 to 10V Current input 4 to 20mA Voltage input 1 min Current 2502 1 4 095 of full scale 1 1 023 Binary 12 bits Binary 10 bits 0 2 max 100PPM C of full 150PPM C of full scale scale 2 5ms point 10ms max Sequential comparison Voltage input 15V max Current input 60 max Terminal block cannot be dismounted 5V 300mA 5V 750mA max 6009 6509 Select and use the type with desired input signal range by referring to 7 1 Available types The current input function is provided to only Types 3G2A6 ADOO1 and 3G2A6 AD006 whose voltage input ranges are both 1 to 5V An input analog signal is converted into a 12 bit binary data consisting of a sign bit and 11 bit data when the A D conver sion input unit 2 channel type only with input signal range of 5 to 5V or 10 to 10V is used 2 7 5 NOTES 1 Connect the A D conversion input unit to the SYSMAC C250 via an expansion O rack of either the SYSMAC C120 or SYSMAC C500 2 Insert the A D conversion input unit to the upper slot of an expansion 1 rack whe
181. r will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 423 ROTATE LEFT ROL FUN27 INSTRUCTION The ROL instruction is used to rotate to the left 16 bit data including a carry 0000 ro fy 2 C D Data channel number 4 20 SYSMAC C series OMRON INSTRUCTION WORDS 4 24 ROTATE RIGHT ROR FUN28 INSTRUCTION s e 0201 ROL 27 The ROR instruction is used to rotate to the right 16 bit data including a carry 00 to 60 0000 URDU TS 31 F Es HROO to 31 omon DMOOO to 511 ROR B to 511 PESE NOTE When the register is logical 0 rotating left of 16 bit data is executed at each scanning To execute it only one time program a differentiating circuit for the input 0201 ROR 28 OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 16 bit data including a carry is rotated to the left In the above program ail the 16 bit contents of DMO10 including carry 6304 are rotated one bit to the left If E ME noces 2 HROO to 31 the result of the operation is 0000 special auxiliary relay DMO000 to 511 o 6306 is turned ON
182. ration ccc ee mnn 1 4 ta 1 4 1 5 Wiring and power supply l i RI nn 1 5 1 6 Operating procedures of programmable controller 1 6 CHAPTER 2 SPECIFICATIONS 2 1 System specifications hn 2 1 2 2 l Ounitsspecifications lisse mh 2 2 CHAPTER 3 ASSIGNMENT OF RELAY NUMBERS 3 1 3 2 Explanation of special auxiliary relay numbers and temporary memory relay numb ers 25 avez eve e paces id 3 1 Free location concept and I O channels 3 2 CHAPTER 4 INSTRUCTION WORDS 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 LOAD LD AND AND OR OR OUTPUT OUT instructions 4 1 AND LOAD AND LD instruction 4 2 OR LOAD OR LD instruction 4 3 TIMER TIM instruction 4 3 COUNTER CNT instruction 4 5 TEMPORARY MEMORY RELAY TR 4 6 END instruction 5 Er ace e RA RR Sie 4 7 INTERLOCK IL FUNO2 INTERLOCK CLEAR ILC FUNOS instructions 4 7 JUMP JMP FUNO4 JUMP END JME FUNOB instructions 4 8 DIAGNOSTIC FAL FUNO6 FALS FUNQ7 instruction
183. rectly addressed are data memory relays DMOOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or DMOOO0 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the offset is not in BCD or exceeds the relay area within which it is specified or data other than those in the above table is specified an error occurs If an error occurs special auxiliary relay 6303 turns ON and the instruction will not be executed NOTE For details on address and offset data refer to the following description CONCEPT OF BASE ADDRESS AND OFFSET Both the DATA DISTRIBUTION and DATA EXTRAC TION instructions use a base address varied by the value of offset data within the same relay area 4 43 INSTRUCTION WORDS omnon SYSMAC C series PART 1 4 Base address Offset i i j 1 1 1 1 Address whose data is subject to instruction execution EN OFFSET DATA SETTING Only BCD binary coded decimal data can be specified as the offset data The valid range of the offset data is within the same relay area The same relay area can be any of five relay areas I O and interna auxiliary relay link relay holding relay timer and counter and data memory areas Since the special auxiliary relay area is used for data input only this is an invalid area for the DATA DISTRIBUTION instruction H
184. red with decimal 2096 6307 less than BN Input data Dis converted into a 12 bit binary data for output to the D A 05 conversion output unit 6306 equal 6305 more than i det D 1 6 input data 0400 Nonconvertible output 0400 eG 6303 See Note below lata check 0301 CMP Input 2 compared with decimal 4096 6307 less than BIN input data is converted into a 12 bit binary data for output to the D A l conversion output unit 6306 equal Input data 2 Nonconvertible output 6305 morelthan 0401 6303 error See Note below NOTE Special auxiliary relay No 6303 of a SYSMAC C Series programmable controller serves as an error flag The level of this flag becomes 1 if an input data is not a BCD code 7 14 76 HIGH SPEED COUNTER UNIT The high speed counter unit is a 6 digit BCD high speed reversible counter that is connected to a SYSMAC C Series programmable controller and sensor such as a rotary encoder and is capable of counting clock pulses at a rate of 50K counts per second This unit is ideal for positioning control or high speed measurement operations and can be connected with various sensors 7 6 1 Characteristics Count input 1 Count input 2 6 to 12V L Oto 4V e Command input 1 command input 2 UP DOWN count command is to be executed by a program or count input 2 Phase
185. remote 1 O slave unit or x optical transmitting unit Failure has occurred in 9 remote 1 master unit Wrong address has been set for remote I O slave unit A ne Transmission error occurs in SYSBUS SYSBUS is disconnected Power of remote I O unit or optical transmitting I O unit is turned OFF a E RMTE v zi Failure has occurred in Vo CPU ERR Failure has occurred in 1 0 x bus of expansion 1 O rack Failure has occurred in remote I O master unit 1 0 unit or optical trans mitting unit is removed from or mount ed to expansion 1 rack 1 0 Channel number assigned v i 9 _ VER e to 1 0 unit of program as oe ERR mable controiler and that assigned to optical trans mitting 1 O unit are over lapped HHH e Mounting positions of input and output units mounted to expansion Jo 1 0 rack are exchanged p a w Both optica transmitting ERR input and output units are 25 assigned to same channet e iliumination extinguish o flashing Failure codes BO to are assigned to remote 1 O master units in sequence starting from the unit assigned with the lowest order channel number These numbers indicate the special auxiliary relay numbers of the PC If the same address is assigned to two remote I O slave units or the same channel i
186. remote I O units CPU WAITG Short circuit START input terminal Apply power again Set mode selector switch to PROGRAM position and turn off power Check program MEMORY ERR Confirm mounting or RAM or ROM memory unit F1 Correct lt gt in program After correction failure resetting operation must be performed NO END INSTR FO Write END instruction and then reset failure Check bus line between PC and I O unit 1 0 BUS ERR CO to C3 Confirm secure mounting of I O unit or expansion I O rack when power is apptied Confirm I O channels by reading 1 O table and then reassign 1 O 1 0 UNIT OVER E1 channels After reassignment generate 1 O table Confirm 1 0 channels by performing 1 0 verify operation and then 1 0 SET ERR E0 reassign 1 0 channels After reassignment generate I O table SYS FAIL FALS 1 to 99 Check program Check transmission line between PC and remote 1 0 slave unit RMTE 1 0 ERR 6112 ON 80 10 63 Check remote slave unit for normal operation Confirm channels by performing I O verify operation and then VER ERR 6110 ON E7 reassign 1 channels After reassignment generate I O table SYS FAIL FAL 1 to 99 Check program X Check connector of battery for loose connection BATT LOW 6108 ON F7 Replace battery with new one SCAN TIME OVER 6109 ON
187. rential 5 input cp 50Keps Command input 1 5 Command input 2 57 Count input I F value memory Present count 6 digit B Input Flag reset Borrow Borrow flag Reset input Q Reset input gt T 7 OVB Q Coincidence output Coincidence output 247 Photocoupler Photocoupler Flag reset Counter gate Up Down Input output SYSMAC C Series 1 0 bus Set count value preset Set count value Comparator Photocoupler Set count A V value memory Output enable ovo 12V 7 16 2 2 8 lt gt vo SYSMAC C series omnon 7 6 3 External connections 125 1 Count input 1 2 ov 4 Count input 2 5 J o S Reset input 7 J Power supply 8 Present count for load 9 D value gt set count TY value output m 10 Power supply I for load 110 Power supply 12 Coincidence for load L 13 output 14 b DC 24 10 0 5A 15 16 COUNT INPUT SIGNAL 0 3 12 t 14 K E 5 4 7K 1 1 25 ov NOTE Because the high speed counter unit performs its operation at a counting speed of 50K counts per second avoid c
188. roken connection of external load 2 Screws of terminal board are loose 3 Pattern is broken Replace defective external load Retighten screw terminals Replace defective unit Output of specific relay No does not turn off Operation indicator LED is not illuminating 1 improper reset due to leakage current or saturation voltage Replace defective external load or add a dummy resistor Operation indicator LED is not illuminating 1 Contact of jack is defective bus line 2 Relay Nos of OUT instruction in the program are in duplication 3 Power circuit is defective Clean with alcohol moistened cloth Correct the program Repiace defective unit Relay No of abnormal opera tion is in units of 8 Example 0020 0030 1 Data bus signal is Remove all the I O units being used and insert them one by one to find the defective unit 12 IC RAM of CPU is defective Repiace CPU rack Outputs turn on and off irregularly 1 Supply voltage of external load is low Raise the external supply voltage 12 Relay Nos of OUT instruction in the program are in duplication Correct the program 13 Malfunction due to noise Countermeasures against noise Install a surge suppressor Install an insulating transformer Wiring with a shielded cable Output operation indicator does not iliuminate Operation is normal 1 LED indicator is defe
189. rs in SYSBUS Check remote I O slave unit I O unit and expansion 1 rack Replace remote 1 0 master unit with new one 6110 ON I E7 After verifying 1 table by using programming console assign channel number to each 1 O unit correctly EO After verifying I O table by using programming console Return input and output units to their original mounting positions e Generate O table again 7 43 omnon SYSMAC C series IAPT SPECIAL 1 0 UNITS PART 2 INTERNAL AUXILIARY RELAYS AND FAILURE CODE In case a failure of those listed in List of failures and alarm outputs in 7 9 4 occurs in any of the remote or optical transmitting units connected to a SYSMAC C series programmable controller the abnormal unit can be Configuration of Relay number 09 08 07 identified by monitoring the internal auxiliary relays of channel number 59 of the PC The following figure and table show the relation between how each relay of channel number 59 is used to identify the abnormal unit and what each failure code displayed on the programming console of the controller means 06 05 04 03 02 01 00 Failure display ae The failure codes to 83 are sequentially assigned to the remote 1 master units mounted to the CPU rack of the PC an expansion 1 O rack starting from the unit assigned with the Remote 1 O unit lowest order channel number
190. s a channel data or a 4 digit constant and transfers it to a specified channel 5 0 Converts BCD data into binary data gt D BCD BIN Data memory DMOO0 to 511 Indirectly addressed DMOOO to 511 Constant 0000 to FFFF D 00 to 60 LROO to 31 HROO to 31 DMOOO to 511 DMOOO to 511 00 to 63 LROO to 31 HROO to 31 TIM CNTOOO to 127 BIN TO BCD CONVER SION BCD BCO FUN24 B 3 Converts binary data into BCD data 5 gt D BIN BCO DMOOO to 511 i DMOOO to 511 i TIM CNT can be used with BCD TO BIN conversion instruction only 2 Same as MOV instruc tion omnon SYSMAC C series LIST OF INSTRUCTIONS APPENDIXES T z EE 52079 00 i Mnemonic pes im Shifts a channel data ASL FUN25 including a carry to the METIC left ag o 00 to 60 SHIFT LEFT LH LROO to 31 HROO to 31 DMOO0 to 511 DMOOO to 511 cY j D Shifts a channel data ASR FUN26 including a carry to the right Rotates a channel data ROL FUN27 left including a carry ROTATE i o LEFT az Es ferens Rotates channel data ROR FUNZBI right including a carry 15 0 ROTATE RIGHT eH Inverts a channel data COM FUN29 COMPLE 16 bit Performs BCD addition 5 of a channet data
191. s assigned to plural optical transmitting 1 O units in duplication the data will compete for the SYSBUS Consequently a transmission error will frequently occur The transmission error also occurs because of influence of external interference light when no protective cap is put on the unused of the two fiber optics connectors on the end RSU 7 42 SYSMAC C series OMRON 6112 ON SPECIAL I O UNITS CH Turn on power of expansion O rack and optical transmitting 1 unit one after another e Specify remote O slave unit or optical transmitting I O unit assigned with the greatest channel number as end RSU For details on specifying end RSU refer to 7 9 5 identifying abnormal 1 0 unit when transmission error occurs in SYSBUS 6112 ON xn 80 to remote 1 O slave unit 1 O unit and base unit mounted to expansion rack Replace faulty remote 1 slave unit or optical transmitting 1 O unit with new one Replace faulty remote 1 master unit with new one Assign address either or 1 to remote I O slave unit If 2 or 3 is specified as address of remote I O siave unit this address will be ignored When cause of failure is removed unit will recover from abnormal state automatically If not replace power supply of each unit or unit itself with new one For details on this refer to 7 9 5 identifying abnormal 1 0 unit when transmission error occu
192. sed the data 200 decimal in DMO022 specifies DM200 and the result of addition of the contents of DM020 to the 4 digit constant 1234 is output to DM200 4 27 SUBTRACT SUB FUN31 INSTRUCTION gt The SUB instruction is used to execute BCD subtraction between two specified 4 digit data 0100 s 1 Data to be sub tracted S2 Subtract data D Result of subtrac tion channel data 4 23 OMRON SYSMAC C series INSTRUCTION WORDS GaSe 7 7 00 to 63 00 to 60 LROO to 31 TIM CNTODO i to 127 DMO00 to 511 DMO00 to 511 0000 to 9999 NOTES 1 Before executing a SUB instruction a CLC instruction must be programmed to clear the carry flag 6304 2 When the R register is logical 1 a BCD subtraction is executed at each scanning To execute it only once program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content is logical 1 4 digit BCD subtraction including a carry 6304 is executed If the result of the subtraction is 0000 6306 is turned ON and if there is a carry in the result 6304 is turned ON In the above program the 16 bit contents of LR20CH LR2000 to LR2015 including a carry 6304 are subtracted in units of four BCD digits from the 16 bit contents of 0000 to 0015 and the result of the subtraction is outp
193. sed are data memory relays DMOO0 to 511 If the contents of the indirectly addressed area are other than BCD data or DMO00 to 511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed An invalid value of the control data or data other than those in the above table causes an error to occur If an error occurs special auxiliary relay turns ON and the in struction will not be executed 4 51 LEFT RIGHT SHIFT FUN84 INSTRUCTION This instruction is used to shift specified 16 bit data either to the left or to the right by 1 bit 0000 1 H DR Contro data Start CH No End CH No DIFU 13 LD OUT Contents of data L i EN i 00 to 60 LROO to 31 HROO to 31 DMO00 to 511 i DMOOO to 511 NOTE When the R register is logical O the LEFT RIGHT SHIFT instruction is not executed at either ciock input or reset input When the R register is logical 1 the LEFT RIGHT SHIFT instruction is executed at each scanning according to the control data OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 and a reset input is applied all the specified 16 bits are reset reset priority When a clock input is applied the 16 bits are shifted in the specified direction
194. specified relay to operate for one scan time at the leading edge of the result of a logical arithmetic operation 0000 to 6015 80000 to 3115 HR0000 to 3115 DIFFEREN TIATION DOWN DIFD FUN14 Relay Causes a specified relay to operate for one scan time at the trailing edge of the result of logical arithmetic operation HIGH SPEED TIMER TIMH FUN15 Timer Set value Performs a high speed on delay down type timer operation Set time 00 00 to 99 99 sec Timers counters 000 to 127 Set value Constant 0000 to 9999 xternal setting 00 to 63 LROO to 31 HROO to 31 COMPARE WSFT FUN16 Shifts words by channel data unit 16 bits Data 52 Same as MOVE instruction Start CH lt End CH Start and end channels can be used at same area CMP FUN20 9 S Compares a channel data or a 4 digit constant against another channe data 5 s Input output relays Internal relays 00 to 63 Link relays MOV FUN21 Transfers a channel data or a 4 digit constant 16 bits to a specified channel s D LROO to 31 Holding relays HROO to 31 Timers to 127 Counters CNTOOO to 127 MOVE NOT MVN FUN22 BCD TO BIN CONVER SION BIN BIN FUN23 HE HE Invert
195. struction is not executed 4 50 DIGIT TRANSFER FUN83 INSTRUCTION This instruction is used to transfer data in units of digits 4 bits 0000 FUN84 5 CH No from which data is transferred Control data D CH No to which data is transferred Contents of data LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO 511 DMOOO to 511 0000 to FFFF See NOTE 1 NOTE 1 The constant is determined according to the constants of the control data 2 When the R register is logical 1 the DIGIT TRANSFER instruction is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 data is transferred in units of 4 bits in the above program when the contents of CH35 are 0211 8 bits starting from bit 4 to bit 11 are transferred from DMOOO to the most significant 8 bits of DMO03 4 45 OMRON SYSMAC C series INSTRUCTION WORDS OMO000 from DM003 to CH35 which data is which data is Control data transferred E ET 3500 1 3501 0 3502 En 0 EJ 3506 EJEA EMEN m 7 E ka 3510 0 3511 3513 hi 3514 3515 0211 CONTROL DATA In units of 4 bits specify the digit fr
196. t detection circuit Internal circuit 0 022uF Fusef fuse blowout detection circuit 85 to 250V The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signa until the inactivation of the output terminal of the unit The terminal numbers and I O channel relay numbers of an I O unit are changed according to the position the CPU or expansion rack on which the I O unit is mounted The terminal connections shown above are for when the 1 0 unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers I O channel relay numbers omnon SYSMAC C series SPECIFICATIONS DC 12 to 48V 10 15 1A 4A common 5A unit DC 12 to 48V 41095 1596 0 3A 2 4A common 4 8A unit 1004A max 100 max 1 4V max 0 2ms 1 5V max 0 2ms max 0 3ms max 0 3ms max 16 points 8 points common 32 points 8 points common 500g max DC 5V 160mA max 8 points 530g max DC 5V 230mA max DC 12 to 48V 10 10 50 max No fuse DC 12 to 48V 41096 10 80 max oo Internal circuit Internal circuit Fuse fuse blowout detection circuit internal circuit Internal circuit DC 12 to 48V
197. t register can be output bit by bit using an LD instruction When a reset input is applied to the shift register 16 bits are reset together The data are shifted at the leading edge of an input clock DATA RETAINING DURING A POWER FAILURE If the holding relay area is used the data are retained during power failure until a clock or reset input is applied Clock input Data input 2005 2006 az 20 I 2 Reset input SYSMAC C series omnon INSTRUCTION WORDS ANY OF THE 16 BITS CAN BE SET OR RESET BY FORCE 0100 0101 0100 E 1 JME AND NOT JMP 04 OUT JME 05 LD With a circuit arranged as shown above a bit in 2004 can be set forcibly when NO contact 0005 is turned ON Use the NC contact of 0100 to reset the SFT bit forcibly SHIFT REGISTER EXCEEDING 16 BITS In this case a shift register circuit can be configured by combining two or more stages of 16 bit shift registers The above circuit configuration shows a 32 bit shift register from 2000 to 2115 The data for the SFT instruction must be input with the upper stage SFT data less than or equal to the lower stage SFT data and within the same relay area 4 12 LATCHING RELAY KEEP FUN11 INSTRUCTION The KR instruction can be used as a latching relay in the same manner as a relay circuit 0001 0002 411
198. t related power supply check The power supply for loads is connected to the terminals of each 1 unit Should any abnormality occur in this power supply the device connected to the unit will not operate Is the I O unit related power sup ply voltage within the rated range Make sure that it is within the rated range Check con necting cable for proper connec tion 6 3 omnon SYSMAC C series MAINTENANCE AND INSPECTION INPUT OUTPUT UNIT Circuit example 0100 0101 0102 alee a LS1 LS2 151 LS2 153 Sob 0200 The following flowchart is indicated on the assumption that the maintenance spare parts are provided If no spare part is provided first check 1 O devices thoroughly The SOL1 matfunctions flowchart is illustrated based upon the circuit example shown below Abnormal Perform TRACE check Abnormal in RUN mode using the programming console Check the operation indicator of relay No 0200 on the output unit Normal Normal Check the terminal Abnormal voltage of relay No 0200 using the tester LED on VO unit is defective Re check by disconnect ing external wiring Check the terminal voltage of relay No 0200 using the tester Abnormal Replace defective output unit Check output device 5014 Normal Normal Check the operation indicators of relay Nos 0100 01
199. tage is not supplied Input of a specific relay No does not turn on Input of a specific relay No does not turn off 1 Gate circuit is defective Apply the external power supply Replace defective input unit 2 Screws of terminal board are loose Retighten screw terminals 3 ON time duration of external input is short 4 Input circuit photocoupler for example is defective Adjust external device Replace defective input unit 5 Input relay No is incorrectly assigned to the OUT instruction of the program Correct the program 1 Contact of jack is defective Clean the contact part with alcohol moistened cioth 2 Input circuit is defective 3 Input relay No is incorrectly assigned to the OUT instruction of the program Repiace defective unit Correct the program Relay No of abnormal operation is in units of 8 Example 0000 0010 0020 1 Data bus signal is faulty 2 IC RAM of CPU is defective Remove all 1 O units being used and insert them one by one to find the defective unit Inputs turn ON and OFF irregularly 1 External input voltage is low Raise the external voltage 2 Malfunction due to noise Countermeasures against noise Install a surge suppressor Install an insulating transformer Wiring with a shielded cable Input operation indicator does not illuminate Operation is normal 1 L
200. tents of DMOTO to 0 012 are shifted in units of 16 bits and 0000 is input to the start channel Result of execution Data Data Data Data Data Data memory memory memory memory memory memory DMO010 DMO11_ DMo12 DMO10 DMO i DMO12 2I EE 2 2 2 o 2 L o 2 zw 2 a vor 2 2 v 2 gt 2 for z v gt CRJE CIC 2 ror 2 o 2 2 2 vor 2 2 0 D zw 2 1 2 0 2 2 oo zu a zm Eai a 55 29 vo 47 DATA OF WSFT INSTRUCTION The data for the WSFT instruction contain a start channel number and an end channel number by which the range of word shifting can be specified The start channel must be less than or equal to the end channel and both the channel numbers must be within the same data area Note that a WSFT instruction cannot be programmed and special auxiliary relay 6303 turns ON if this condition is not satisfied WORD SHIFTING OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays to DM511 Use the data memory area for start and end channels when addressing relays indirectly If the contents of the indirectly addressed area are not in BCD if the abovementioned condition is not satisfied or if a data memory number greater than 512 is addressed an error will occur ca
201. terlock 1L IL C instructions In an output branching circuit consisting of multiple blocks temporary memory relay numbers are used at each point but they cannot be used in duplication in the same block SYSMAC C series omnon INSTRUCTION WORDS Example 0003 0004 4 7 END FUNO1 INSTRUCTION Insert this instruction at the end of a program 0000 0001 1 11 The CPU scans program data from address 0000 to the address with an END instruction according to the sequence diagram When performing a test run insert an END instruction at each end of a sequence circuit and then delete the END instruction after confirming each circuit In this manner the test run can be executed smoothly NOTE If an attempt is made to operate the PC without inserting an END instruction at the end of the program the RUN indicator on the front panel of the CPU does not illuminate and the PC will not operate In this case the ERR indicator will illuminate If such an attempt is made with the programming console connected to the PC the error message NO END INSTR will appear on the LCD of the programming console 48 INTERLOCK IL FUNO2 INTERLOCK CLEAR ILC FUNOS INSTRUCTIONS The IL and LC instructions are used in pairs when branch ing a circuit to plural OUT instructions de 0002 003 0004 ILC BG Fw e 3 Coding AND
202. th of which can be determined freely provided these conditions are satisfied Start channel number lt End channel number and same data area If these data conditions are not satisfied an error will occur causing special auxiliary relay 6303 to turn ON and the program not to be executed ONE DIGIT SHIFT RIGHT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 Use the data memory area for the start and end channels If the contents of the indirectly addressed area are other than BCD data or DMOO0 to DM511 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed NOTE If the range of the data shift exceeds 50 channels 200 digits a power failure may cause the execu tion of the shift operation to stop midway Be sure to use no more than 50 channels 4 36 4 43 4 TO 16 DECODER FUN76 INSTRUCTION The 4 TO 16 DECODER instruction is used to decode 4 bit binary data of 16 bits to 16 bit decimal data 0000 S Conversion data channel number K Digit designation D Destination channel number Contents of data 00 to 63 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO t
203. the SYSMAC C120 3 To mount the unit to the SYSMAC C120 use Type 3G2C4 SI025 or 3G2C4 S1026 INDICATORS Lights up when count input 1 is L and goes out when count input 1 is H Lights up while the counter is performing an up count operation Lights up while the counter is performing a down count operation Lights up when a present count value is greater than a set count value present count value gt set count value Lights up when a present count value is equal to a set count value present count value 7 set count value This indicator however unconditionally goes out when the Output enable relay is turned OFF relay to Chapter 3 Assignment of Relay Numbers Lights up when a present count value is less than a set count value present count value lt set count value Lights up when the power supply for sensor is 12 DIP SWITCH FOR COUNT INPUT MODE SETTING Specifies the count input mode of the counter NOTE Count input 1 can be connected to both the solid state and contact inputs Count input 2 can be connected to the solid state input only 7 15 OMRON SYSMAC C series SPECIAL 1 0 UNITS 7 6 2 Block diagram COUNT 3120 indicator 12V Count input 1 wo 12V UP indicator e DOWN we Counter preset indicator 7 Preset data CD counter Count input 2 ov a Photocoupler Phase diffe
204. the inactivation of the output terminal of the unit The terminal numbers and 1 channel relay numbers of I O unit are changed according to the position on the CPU or expansion 1 O rack on which the I O unit is mounted The terminal connections shown above are for when the 1 O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and 1 channel relay numbers OMRON SYSMAC C series CHAPTER 2 SPECIFICATIONS PART 1 DC 24V 10 15 3 3 7 DC 24V 1 5ms max 1 5ms max 32 points 8 points common 450g max DC 16 0 DC 0V min DC 5V 160 max Internal circuit 5 NOTES The delay time from the application of an input signal until the activation of the output terminal of the unit The delay time from removal of an input signal until the inactivation of the output terminal of the unit The terminal numbers and I O channel relay numbers of I O unit are changed according to the position on the CPU expansion 1 rack on which the unit is mounted The terminal connections shown above are for when the I O unit is mounted on the UNIT 1 position For details refer to 2 2 4 Terminal numbers and 1 0 channel relay numbers SYSMAC C series omnon TER 2 PART 1 SPECIFICATIONS DC 24V 10 15 Circuit configuration 2 2k2 10mA DC 24V 1 5ms
205. the left by four bits at each scanning To execute the ONE DIGIT SHIFT LEFT instruction only one time program a dif ferentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 data between the start and end channels are shifted by 4 bits to the left In the above program the contents of DMO10 to DMOT11 are shifted by 4 bits 1 bit x 4 times to the left In this case Q is inserted as the first digit of the start channel 4 34 SYSMAC C series omnon PART 1 Data memor Data mem Data memot Data memory DMO010 id DMO011 dd DMD010 Y DM011 gr INSTRUCTION WORDS 4 42 ONE DIGIT SHIFT RIGHT FUN75 INSTRUCTION 2 3 X10 LT 23 50 23 gr 25 47 2 2 po apr X10 s 2 Fo 2 Fo 1234 1234 2340 The data shifting operation is performed starting from the east significant digit of the start channel to the most significant digit of the end channel DATA OF ONE DIGIT SHIFT LEFT The data area for the ONE DIGIT SHIFT LEFT instruction is specified by a start channel number and an end channel number both of which can be determined freely provided these conditions are satisfied Start channel number lt End channel number and same data area
206. time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical When the content of the register is logical 1 logical AND operation is executed between two 16 bit data in the above program the 16 bit contents of OOCH are ANDed with the 16 bit contents of LR11 and the result of the AND operation is stored in the 16 bit locations of 12 If the result of the operation is 0000 special auxiliary relay 6306 is turned ON Data VO relay Link relay memory 00CH LRTICH DM012 LOGICAL AND OPERATION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays 00 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction The constant can be specified as a 4 digit hexadecimal binary 16 bit data 4 31 OR WORD ORW FUN35 INSTRUCTION The ORW instruction is used to perform a logical OR operation between two specified data 16 bits each 0000 51 Arithmetic operation data 1 52 Arithemtic operation data D Result of arithmetic operation channel n
207. tion of two blocks blocks a and b OPERATION OF EACH REGISTER 1 By the 100000 and OR0001 instructions the result of the logical OR operation in block a is stored in the R register 2 By the LD0002 instruction in block b the result of the operation in block a is transferred in the S register and the result of the logical operation by instructions LD0002 and OR NOTO003 in block b is stored the R register 3 The AND LD instruction causes a logical AND operation to be performed between the R register and the S register The result of the logical AND operation will be newly stored in the R register e a 3 NUMBER OF BLOCKS The number of blocks is not limited for AND LD operation of a logic line As many blocks as required can be con tinued for series connection by means of LD to AND LD keys 0090 0002 0004 0001 0003 0005 H d 4 SYSMAC C series omnon INSTRUCTION WORDS 43 OR LO D OR LD INSTRUCTION For interblock OR operation between two or more blocks use the OR LOAD instruction AND NOT OR LD NOTES Use this LD instruction as the first instruction of the next block to be ORed with the preceding block Use the OR LD instruction for paralle connection of ue blocks blocks a and b OPERATION OF EACH REGISTER 1 By the 1 00000 and ANDOOO instructions the result of the logical AND operation in block a is stored in the R register 2 By the
208. to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 25 COMPLEMENT COM FUN29 INSTRUCTION rem The COM instruction is used to invert 16 bit data DM 010 D Data channel number 0000 fy 2 Cs 3 pii z cowm 3 fm 24 00 to 60 LROO to 31 HROO to 31 DMOOO0 to 511 DMOOO to 511 NOTE When the R register is logical 1 complementing 16 bit data is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the 16 bit data in the specified data memory is inverted In the above program the 16 bit contents of DMO10 are inverted and the result of the COMPLEMENT operation is stored in the 16 bit locations of DMO10 If the result of the operation is 0000 6306 is turned ON 4 22 COMPLEMENTING OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparis
209. ts up X when a failure occurs in the bus of the slave unit or when the input or output to from the slave unit is incorrectly recognized by the programmable controller Slave unit 7 3 Tests the transmission for normal operation repeatedly while this switch is being held down when the programmable controller is in the PROGRAM mode Nos 1 and 2 pins of this DIP switch specifies the address of the remote 1 0 slave unit No 4 pin specifies the end RSU No 3 pin is independent Master unit switch Address END station setting DIP switch Turns ON when no transmission error occurs with the programmable controller in the RUN or MONITOR mode and turns OFF under other conditions e g when the program mable controller is in the PROGRAM mode or when a transmission error occurs with the controller in the RUN or MONITOR mode Slave unit RUN OUTPUT 7 2 4 Optical transmitting 1 unit 3G5A2 IDOOD E IM21CI E IACICICT E 0C221 E 0 221 00411 Operation indicator Operation indicator panel Fiber optics connectors J End RSU setting terminals RUN output terminals p VO terminals Ns X 5 E Common terminal Power supply terminals AC 110 120 or 220 240V OMRON SYSMAC C series 1 SPECIAL 1 0 UNITS Remote I O slave unit 3G2A5 RTOOLT E 7 3 DIMENSIONS 7 3 1 A
210. ty c Install a fan for forced ventilation if the ambient temperature exceeds 50 C 5 1 2 Avoid mounting the PC in a panel in which high tension equipment is installed 3 Provide a distance of more than 200mm between the high tension equipment or power lines and the PC Power lines 200mm min Programmable controller 200mm min 4 Mount the PC as far away as possible from high tension equipment or power devices for the sake of safety in maintenance and operation Output duct Input duct 200mm min Power duct i device 1 1 Power Trans former wa Power terminal block SYSMAC terminal block SSS SSS SSS SSS SSS N Do not install any power or heat enerating source fuse output relay fimer etc 5 Mounting the PC 1 000 to 1 600mm above the installed surface of the control panel will facilitate the operation of the PC OMRON SYSMAC C series INSTALLATION AND WIRING 5 3 HOW TO INSTALL WITHIN CONTROL PANELS The SYSMAC C120 can be installed either directly to the mounting panel within a controi panel or on a DIN rail When connecting expansion I O racks to the CPU rack for system expansion avoid employment of more than three expansion I O racks and use an expansion I O rack connecting cable 2m long maximum 1 When mounting PC on a DIN rail Mount the PC on a DIN rail when installing it within a
211. umber ORW 35 Contents of data 00 to 63 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO to 511 DMOOO to 511 0000 to FFFF NOTE When the R register is logical 1 an ORW instruction is executed at each scanning To execute it only one time Program a differentiating circuit for the input SYSMAC C series omnon INSTRUCTION WORDS OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the register is logical 1 a logical OR operation is executed between two 16 bit data In the above program the 16 bit contents of OOCH are ORed with the 16 bit contents of LR11 and the result of the OR operation is stored in the 16 bit locations of DMO012 If the result of the operation is 0000 special auxiliary relay 6306 is turned ON Data 1 0 relay Link relay memory 00CH LRTICH DMO012 LOGICAL OR OPERATION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOO0 to DM51 1 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error wil occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction The constant can be spe
212. umber D Transfer destination channel number 00 to 63 00 to 60 LROO to 31 HROO to 31 DMOOO to 511 DMOOO to 511 NOTES 1 if the converted data are all 0 special auxiliary relay 6306 turns ON 2 When the R register is logical 1 a BCD instruction is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 the 16 bit binary data in the specified 1 O channel is converted into a 4 digit decimal data In the above program the 16 bit binary data in OOCH 0000 to 0015 is converted into a 4 digit decimal data and then output to the 16 bit locations of LR20CH LR2000 to 2015 VO rel Link relay LR20CH zz 50 m 0 ap p x10 LR2010 LR2011 LR2012 LR2013 LR2014 LR2015 x10 SYSMAC C series OMRON PART 1 The result of the conversion will be LR20CH 0 gt 6306 1 0 gt 6306 0 If the converted decimal data exceeds 9999 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed BINARY TO BCD CONVERSION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relay DMOOO to DM511 If the contents of the indirectly addressed area are other than BCD dat
213. ur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 19 OMRON SYSMAC C series INSTRUCTION WORDS 422 ARITHMETIC SHIFT RIGHT ASR FUN26 INSTRUCTION The ASR instruction is used to shift to the right 16 bit data including a carry ASR asr fox 2 6 26 Contents of data LROO to 31 C DMO000 to 511 DMOOO to 511 NOTES 1 Two addresses must be used to program an ASR instruction 2 When the R register is logical 1 shifting right of 16 bit data is executed at each scanning To execute it only one time program a differentiating circuit for the input OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 16 bit data including a carry is shifted to the right In the above program all the 16 bit contents of DMO10 including a carry 6304 are shifted one bit to the right If the result of the operation is 0000 special auxiliary relay 6306 is turned ON ARITHMETIC SHIFT RIGHT OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DM000 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an erro
214. using special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction 4 17 COMPARE CMP FUN20 INSTRUCTION The CMP instruction is used to compare a 16 bit channel data or a hexadecimal 4 digit 16 bit binary constant against another 16 bit channel data As a result of the comparison 6305 turns ON if the S1 is greater than the 52 6306 turns ON if the S1 is equal to the 2 6307 turns ON if the S1 is less than the S2 HR 20 6305 gt Greater 6306 Equal 6307 lt oe 9 S 0100 i 1 compared data 2 compared data d ii ule LROO to 31 HROO to 31 Tm CNTOOO to 127 NOTE When the R register is logical 1 a CMP instruction is executed at each scanning To execute it only one time program a differentiating circuit for the input 4 15 INSTRUCTION WORDS omnon SYSMAC C series CHAPTER 4 OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 Therefore the compare result area of special auxil iary relays 6305 to 6307 holds the previous status and on execution of an END instruction all these relays are cleared to 0 When the content of the register is logical 1 the CMP instruction is executed When the above program is executed the 16 bit data of 0000 t
215. ut to the 16 bit locations of LR20CH LR2000 to 2015 If there is a carry in the result 6304 is turned ON and if the result of the subtraction is 0000 6306 is turned ON VO relay LR20CH 2 0000 21 0001 22 0002 2 0003 Holdin Link relay Holdin 9 HR21CH x10 x10 X10 xiot x10 Carry x102 LR2009 182010 10 Np oon LR2011 x10 21 21 0013 xig xi xii NOTE Before executing a SUB instruction the carry register 6304 must always be cleared using a CLEAR CARRY CLC instruction Execution of CLC is omitted in multistage subtraction PART 1 The CPU checks whether the data for BCD subtraction are in four BCD digits If not an error will occur causing special auxiliary relay 6303 to turn ON and the program will not be executed SUBTRACTION OF INDIRECTLY ADDRESSED DATA The only relays that can be indirectly addressed are data memory relays DMOOO0 to DM511 If the contents of the indirectly addressed area are other than BCD data or greater than 512 an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed For details refer to Comparison of indirectly addressed data in 4 17 Compare instruction If the carry register 6304 is ON as the result of the subtraction the result is output as tens complements To obtain a true complement subtract the tens co
216. vatue 0000 to 9999 4 Counter numbers are shar ed by both counters and timers Therefore a number already assigned to a counter must not be used for any other timer or counter 00 to 63 6 Externally 1 LROO to 31 HROO to 31 OPERATION OF EACH REGISTER The counter resets when the content of the R register is logical 1 and is enabled to count when the content of the R register is logical 0 A count input is provided from the register NUMBER OF CONTACTS A count up contact designates the counter number itself Both NO and NC contacts can be used in the required quantity COUNTER IS DECREMENTING TYPE The counter is a decrementing type that produces an output when the count value becomes 0000 The present value of the counter returns to the preset value when a reset input is applied The counter output is transmitted ex ternally through an output relay as shown in the circuit example After the preset count is up subsequent count inputs are ignored omnon SYSMAC C series NSTRUCTION WORDS At the leading edge i e from OFF to ON of a count input signal the counter decrements the count value by 1 Count input Leading edge When both a count input and a reset input are applied simultaneously the reset input takes precedence Even if the reset input is removed after this the counter performs no counting operation EXTERNALLY SET COUNTER DATA Externally set counter data must be i
217. when the content of the R register is it 1 Arithmetic operation logical 0 When the content of the register is logical 1 an E eee exclusive logical OR operation is executed between two S2 Arithgmtic operation 16 bit data d It iti ti In the above program the 16 bit contents of 00 are channel number exclusively ORed with the 16 bit contents of LR11 and the result of the OR operation is stored in the 16 bit locations of 012 If the result of the operation is 0000 special auxiliary relay 6306 is turned ON 7 Data 1 O relay Link relay memory Q0CH LRi1CH DM012 00 to 63 00 to 60 LROO to 31 HROO to 31 TIM CNTOOO to 127 DMOOO to 511 DMOOO to 511 0000 to FFFF NOTE When the R register is logical 1 an exclusive logical OR NOT operation is executed at each scanning To execute it only one time program a differentiating circuit for the input 4 28 PART 1 SYSMAC C series OMRON INSTRUCTION WORDS CHA OPERATION OF EACH REGISTER Nothing is executed when the content of the R register is logical 0 When the content of the R register is logical 1 an exclusive logical OR NOT operation is executed between two 16 bit data In the above program the 16 bit contents of OOCH are exclusively ORed with the 16 bit contents of LR11 and the result of the OR
218. x OMRON original fiber optics cable SYSMAC C500 expansion rack TIT iL SYSMAC C500 link unit Type 362A5 LKO10 E SYSMAC C500 SYSMAC C500 SYSMAC C120 CPU Tus CPU rack expansion VO rack lulii SYSMACCI20UO lini unit Type 3G2A6 LK010 E SYSMAC SYSMAC C500 link unit VO master unit 3G2A5 LK010 E Type 3G2A5 RM001 E SYSMAC C250 CPU rack 16 programmable controllers max CONNECTING 1 0 LINK UNIT OPTICAL TRANS MITTING I O UNIT AND REMOTE 1 0 SLAVE UNIT TO REMOTE 1 0 MASTER UNIT SYSBUS OMRON originat fiber optics cable 800m max 800m max 800m max 800m max SYSMAC C120 expansion rack SYSMAC C500 SYSMAC C500 CPU rack svsmac csoo 8 VO rack 1 1 rack 3 Em svsvac cizo vo J fink unit Eu Type 3G2A6 LKO10 800m max SYSMAC Ea remote SYSMAC C500 link unit SYSMAC C500 remote VO master unit e 3G2A5 LK010 E VO slave unit Type 3G2A5 RMOO1 E Optical transmitting 3G2A5 RTOO2 E VO unit 800m max SYSMAC C500 expansion 109 T SYSBUS 1line T 0 0 m 4 SYSMAC C500 1 0 linkunit Type 3G2A5 LK010 E Optical transmitting VO unit SYSMAC C250 CPU rack SYSBUS SYSTEM Communication metho
219. y 3 Replacement parts Battery unit Type 3G2A9 BATO8 When the battery has been discharged BATTERY FAILURE indicator illuminates Be sure to replace the battery with a new one within a week after the BATTERY FAILURE indication The life of the battery is considered to be 5 years Be sure to turn off the power before replacing the battery and replace it including the connector within 5 minutes NOTE When the AC power is not ON during battery replacement first apply the AC power for more than 10sec then turn it off 1 0 MAINTENANCE AND INSPECTION 6 2 4 SME Spry Lf LEE Z SYSMAC Cr SE SI outpur Pun toot SYSMAC C series omnon MAINTENANCE AND INSPECTION 6 2 TROUBLESHOOTING If any abnormality occurs in the PC thoroughly learn what the trouble is and check whether the symptom is reproducible or caused through relation with other equip ment Then follow the troubleshooting flowcharts shown below POWER SUPPLY External environment Terminals 1 Main power supply check In this check the AC power being supplied to the PC is confirmed if it is within the rated range Make sure that it is within the rated range Is power supply voltage within rated range Operating voltage range 85 to 110 of rated voltage Replace blown out fuse Has fuse blown 2 uni
220. y 6303 to turn ON and the program will not be executed If the contents of data are other than those in the above table an error will occur this will cause special auxiliary relay 6303 to turn ON and the program will not be executed DIGIT DESIGNATION Designate the digit and the number of digits to be decoded into 16 bit decimal data MSB LSB Digit designation 0 to 3 No of digits 0 to 3 Ignored e Number of digits 0 One digit 4 bits is decoded 1 Two digits 8 bits are decoded 2 Three digits 12 bits are decoded 3 Four digits 16 bits are decoded e Digit designation Designate the desired digit by using the digit designating number Refer to the figure appearing in Operation of each register DECODING PLURAL DIGITS To decode plural digits designate the lower order digit as the digit designation Data to be Destination decoded DM 01CH Designated digit 0010 4 44 16 TO 4 ENCODER FUN77 INSTRUCTION The 16 TO 4 ENCODER instruction is used to encode 16 bit decimal data into 4 bits of another 16 bit binary data Conversion data channel number mn D Destination channel number K Digit designation omnon SYSMAC C series Of the ON bits of the 16 bit data to be encoded the highest order bit takes precedence over the lower order bits when executin
221. y should be reset by the user program 449 SYSMAC C series OMRON PART 1 INSTALLATION AND WIRING CHAPTER 5 INSTALLATION AND WIRING The SYSMAC C Series programmable controller is highly reliable and resistant to adverse environmental conditions However to permit the PC to exhibit its functions fully and to enhance its reliability care must be exercised on the following points when installing the PC 5 1 MOUNTING LOCATIONS AND ENVIRONMENTAL CONDITIONS When installing the programmable controller avoid these areas Where the ambient temperature is beyond the range of 0 to 50 Where temperature changes abruptly thus resulting in condensation Where relative humidity exceeds the range of 35 to 85 When subject to corrosive or flammable gas When subject to excessive dust salt or iron particles When subject to vibration or shock When subject to direct sunlight 5 2 MOUNTING POSITIONS WITHIN CONTROL PANELS When mounting the PC in a control panel take into con sideration the operability maintainability and environ mental resistance of the PC 1 To permit the use of the PC within the ambient operat ing temperature range pay attention to these points a Provide the programmable controller with adequate space for ventilation b Avoid mounting the controller directly above any heat generating sources heater transformer resistor of high capaci
Download Pdf Manuals
Related Search
Related Contents
AUDAC disciplinare tecnico delle caratteristiche di allestimento dei mezzi Sterling Sterlco M-6410 User's Manual Model M18 Service Manual Philips Flashlights Flashlight SFL5150 The Orange Furniture Company - About IME GT136642a Manual Utilizacao Planet TEFAL YV960015 Instruction Manual Deutsche Bedienungsanleitung AVOX Indio Classic SW361 Pet Collar Light instruc FrEn F1 WWW Copyright © All rights reserved.
Failed to retrieve file