Home
NX70/NX700 Serial Communications Unit (SCU) User Manual
Contents
1. Io Co SSA CH E CH CH 104 0 NX70 PLC Product Dimensions System Dimensions mm mi E gt SS a E E ri E e a Ey TO E B unit mm 2 slot type NX70 BASE02 149 5 129 5 115 5 3 slot type NX70 BASE03 185 0 165 0 151 0 5 slot type NX70 BASE05 256 0 236 0 222 0 6 slot type NX70 BASE06 291 5 271 5 2575 8 slot type NX70 BASE08 362 5 342 5 328 5 10 slot type NX70 BASE10 398 0 378 0 364 0 12 slot type NX70 BASE12 433 5 413 5 399 5 105 0 Power Unit Dimensions mm NX 70 Programmable Controller lt A OPEN 105 0 43 0 Dd gt c FE Ee BEE 87 0 CPU I O Special Unit Dimensions mm o NX70 CPU750 TU INT RUN RMT TEST PROG COM RS232C 00000 0000 TOOL RS232C 00000 00009 NX70 X16D
2. Start code is not effective 1 When the end code is not received due to communication trouble the SCU stands by until the end code is received 2 You can prevent a prolonged stand by as follows Request resending to the external RS232C RS485 device If resending is not available at the other RS232C RS485 device perform time up process with ladder program and request resending to the external device 3 The SCU buffer status when resending from the external RS232C RS485 device is as follows Start code is not effective STX Lem eeh aiden ETX Previous frame Resent frame To shared memory of the received frame Start code is effective STX Lem AAA ETX Previous frame Resent frame To shared memory of the received frame e Software reset is available when resetting the SCU in emergency 1 Turn Y1D R1 13 on with ladder program to reset Software reset 2 It takes approx 1msec from software reset request to complete initialization 3 XE RO 14 turns on when initialization completes e Ensure the following when set end code with shared memory The end code is read from shared memory at every sending and receiving process 1 Sending Set the end code before sending request 2 Receiving Set the end code before the external RS232C RS485 device starts transmission e When Y1E R1
3. NX70 NX700 Serial Communications Unit SCU User Manual www samsungautomation co kr Rockwell Samsung Automation Technical Support 447 6 Gongse Ri Giheung Eup Youngin City Export Sales Team Gyeonggi Do South Korea 449 902 Tel 82 31 280 4768 Fax 82 31 280 4900 Tel 82 31 280 4700 Fax 82 31 280 4900 Trademarks not belonging to Rockwell Samsung Automation are property of their respective companies Publication RSA NX700 UMO009B EN P July 2005 Supersedes Publication RSA NX700 UM009A EN P March 2005 Copyright O 2005 Rockwell Samsung Automation All rights reserved Printed in Korea
4. Me Data error warning signals X4 to XD R0 4 to R0 13 turn off when SCU reset switch is pressed or normal data is received NX70 NX700 PLC Installation Example NX700 PLC system configuration is illustrated below In this case the SCU is installed in slot no 4 and I O units are installed in slot no 0 to 3 Base backplane 5 slots 64 points con X0 to X3F RO 0 to R3 15 32 points input X40 to X5F R4 0 to R5 15 SCU unit 16 points input X90 to X9F R9 0 to R9 15 32 points output 16 points output Y100 to Y10F R10 0 to R10 15 Y60 to Y7F R6 0 to R7 15 16 points output Y80 to Y8F R8 0 to R8 15 e There is no limit on the location and number of SCU installed and SCU can be installed regardless A whether the backplane is base or expansion e When allocating I O map with WinFPST SCU is allocated as 16SX and 16SY e When allocating UO map with WinGPC SCU is allocated as Both PLC Programming Examples Self Test Program for WinFPST Example of ladder program that performs self loop at the SCU Convenient program for self test of the SCU Operation description Send data from CH1 and receive it at CH2 and compare the sent and received data Send data from CH2 and receiv
5. SCU Features 1 Two channels are implemented on a single unit RS232C RS485 selectable 2 Data input output with simple sequence instructions Use PLC advanced instruction READ to read data from the SCU and WRITE to write data to the SCU CPU unit and SCU will handle the task with shared memory so there is no need for writing complicated programs 3 SCU unit is equipped with RS 485 network feature added to the existing N series SDU module features expanding its scope of usage 4 RS232C or RS485 communication network is available Data input output with RS232 devices Connect to and exchange data with devices like IDX display measurement instrument barcode reader and printer Data input output with RS485 devices Connect through network to temperature controller network inverter and network servo 5 Unlimited mounting in PLC slots 500 byte transmission capability 6 Both ASCII and HEX binary can be used as transmission code 7 End code can be configured freely with PLC ladder instructions Maja In addition to this Manual please refer to System Manual and Programming Manual for the PLC when using SCU System Configuration Using RS232C Communication ES i i O l RS
6. w or o NX70 Y32T 1NO YL ES A A NX70 MWLINK m NX70 SCU Q S reset LINK NO i com2 FG PUUUUUUUUU ef UUUUVUUUI 000000000 mena ODoppop O El D Cp BE E D UOHEHHHH O p El E 000900000 A EEN ER AAAAAAAAA AAAAAAA L Installation Installation Removal 1 Insert the module holding projector of 1 Unfasten the screw that holds the the module into the module holding module in place using a screwdriver groove on the backplane 2 Push the top of the module toward the 2 Hold on pressing the locking button on backplane until it is clamped in place the edge of the top side of the module and pull the module from the i backplane JUUU nnaaa an Locking Part gt E rr 3 Ensure that the module is in place onto the backplane and then fasten the screw using a screwdriver
7. A0 RO 0 For CH1 receiving X1 RO 1 X1 R0 1 turns on when normal data is input from devices connected to CH1 1 For CH2 sending X2 R0 2 turns on when the SCU receives sending data 1 X2 RO 2 For CH2 receiving X3 RO 3 X3 R0 3 turns on when normal data is input from devices connected to CH2 1 For CH1 receiving data ou X4 R0 4 turns on only when framing error occurs in received data For CH1 receiving data X5 Wl X5 R0 5 turns on only when parity error occurs in received data For CH1 receiving data ne Se X6 RO 6 turns on when the received data buffer is full For CH1 receiving data X7 RO 7 X7 R0 7 turns on when message length error occurs in received data For CH1 sending data X8 RO0 8 X8 R0 8 turns on when message length error occurs in sending data For CH2 receiving data X9 Ge X9 R0 9 turns on only when framing error occurs in received data For CH2 receiving data ZA Sch XA R0 10 turns on only when parity error occurs in received data For CH2 receiving data XB 200 XB R0 11 turns on when the received data buffer is full For CH2 receiving data XC R0 12 XC R0 12 turns on when message length error occurs in received data For CH2 sending data XD R0 13 XD RO 13 turns on when message length error occurs in sending data For SCU operation ready indication XE R0 14 turns on when SCU initialization completes XF R0 15 Unused XE
8. Disabled Transmission speed 9600 bps Control signal Not used ua CH1 Setting Data length Parity Control setting code Baud Parity Stop Rate Check it I l 33 SB Bb 0 DSW1 WAU MALTY Start code X para Baud code meter Rate ra H 12345678 DSW2 End diff CH2 Setting Parity Control Start setting code code Stop X bit End para code Lumeter ra I Parity Check 1 2 3 4 5 BCS DSW3 HAAT Wiring Wiring RS232C RS485 INTERFACE SCU Connection Signal Ia seis timon soy ze x z N Zo o 1 FRAME GROUND FG fesila 2 SEND DATA SD p aea 3 RECEIVE DATA RD 4 Y O 4 Connector 9P 5 SIGNAL GROUND GND a 6 485 TRANSIVER 485 gt 7 485 TRANSIVER 485 gt 8 a POWER 5V e External device referred above means a variety of RS232 and RS485 devices e Typical wiring methods are as follows 1 RS232 Wiring 3 wire method without flow control common wiring method 2 RS485 Wiring End termination resistance is built in RS232 Wiring Diagram 3 wire method without flow control RS232 device 9 pin SCU 9P RS 232 device 9P PIN NO Mnemonic PIN NO Mnemonic 1 1 FG 2 SD 2 RD 3 RD lt lt 3 SD 4 4 DTR 5 SG 5 SG 6 RS485 6 DSR 7 RS485 7 RTS 8 L 8 CTS 9 9 RI a
9. Fr NN5 NR6 SCU Word address NR3 Number of words to be read RR1 Start word operand of PLC for storing read data Programming Example NN5 0 Slot no of SCU mounted READ Slot 0 To 2W0 NR6 251 shared memory address of EIER SCU address 251 Fr 0 251 NR3 2 the number of words to read 2 words RR1 W0 First word operand of PLC to store read data W0 If MO O turns ON 2 words data is read from shared memory address 251 CH1 receiving buffer of SCU installed in slot no 0 and send them to WO of data register of PLC ari The kinds of Operand Data memory for NX700 NX70 PLC A Data memory R L K M F W SR e As READ instruction is executed in the unit of word 10 byte data become 5 words Shared Memory instruction WRITE in WinFPST S1 Installation slot number of SCU unit S2 Starting address of the CPU where Hi F151 WRT S1 S2 n D the input data is stored n The number of words of source data to write to the destination D Starting address of SCU shared memory where the data will be stored Programming Example KO SCU slot slot 0 R DT100 Starting address of the PLC G F151 WRT KO DT100 K10 K1 CPU where the input data is stored DT100 K10 The number of words of source data to write to the destination 2 words K1 Starting address of SCU shared memory where the data will be stored Address 1 When RO is on 10 words from NX
10. 14 gt CH1 Y1F R1 15 gt CH2 is turned on the end code transmission can be disabled Convenient for output to the printer Make sure to turn on Y1E R1 14 and Y1F R1 15 before sending request Programming Send and receive data with CPU unit ladder program for data READ WRITE with shared memory in the SCU Two advanced instructions are used for this READ F150 and WRT F151 In addition handshake for data READ WRITE will be determined by contact on off two points for each X and Y Data read from j Special high special high function Register function Unit unit F150 8 Word operand Special units Shared memory NX Series NX plus series that include 4 process and Data write to WX WY shared memory special high function DT data M data inside the unit unit F151 FL file W file Ex SCU Ld link L link Analog Location High function unit CPU unit Spotting units Program Configuration e A program consists of handshake with shared memory and advanced instructions See Timing for Sending and Receiving on page 25 for detailed information on handshake timing See Advanced Instructions on page 27 for detailed information on PLC advanced instructions See Shared Memory Allocation Table on page 29 for detailed information on shared memory See I O Allocation Table on page 31 for detailed information on I O allocation Using READ in WinFPST Rec
11. 500 characters 250 words 500 characters 250 words 500 characters 250 words 500 characters CH1 end code configuration area CH1 sending buffer RS 232C RS485 device CH1 receiving buffer lt RS 232C RS485 device CH2 sending buffer gt RS 232C RS485 device CH2 receiving buffer lt RS 232C 485 device gt Effective only when DIP SWITCH shared CH2 end code configuration area CH1 sending data length memory is set and set to lower bytes CH1 receiving data length CH2 sending data length p Effective only when the CH1 communication is set to HEX BIN p Effective only when the CH2 CH2 receiving data length communication is set to HEX BIN Sending buffer area Data for sending is stored Receiving buffer area Received data is stored UO Allocation Table The X Y contact number for I O is determined by the installation location of the SCU and the number of points of other UO units The I O numbers shown below are applied when the SCU is installed in slot 0 of base backplane For I O of SCU 16 points from X0 to XF will be allocated for input and 16 points from Y10 to Y1F will be allocated for output The meaning of each I O contact is shown in the table below and the handshake processing will be based on this status For CH1 sending X0 R0 0 turns on when the SCU receives sending data 1
12. DSW1 1 Data length ae o i Invalid 1 Parity check see below Valid Parity setting Odd parity ODD Even parity EVEN 1 STOP Bit STOP bit length 2 STOP Bit Control signal see below Not used Used CTS CD DSW2 Start code see below 0 0 Set to shared memory 1 byte 1 0 CR 0DH code o l1 End code see helow CR ODH LF 0AH code 1 1 ETX 03H code 0 STX 02H not used STX 02H used X Parameter Not support 1 O stands for OFF 1 stands for ON ATTENTION le A When using RS485 the available baud rates are 38 400 19 200 9 600 4 800bps When parity check is set to Invalid the parity settings are not applied e For control signal the CTS and CD settings can be selected but set it to Not Applicable when using 3 wire method without flow control using RS232C communication Start and end codes determine the start and end ofa communication frame CH2 Setting ia CH2 Setting Data Parity Control Start Data Parity Control Start length m Ces code length setting code code ea o Baud Parity End para Baud Parity Stop End Geer a I CH meter Rate EN Code Smeteri i l l l 1 1 Ca 2 Ji 4 k 6 7 8 e 2 3 4 5 6 7 8 1 2 3 4 5 67 8 DSW1 DSW2 DSW3 PUD HHH HOCH H WUNNT UOUN UN 38400 Bps 0 00 ale 19200 Bps 0110 9600 Bps ENK Transmission speed 4800 Bps
13. R0 14 leit See Timing for Sending and Receiving on page 25 for detailed information For CH1 sending Y10 R1 0 Y10 R1 0 turns on when sending data is written to shared memory Turn off Y10 R1 0 when XO RO 0 is turned on For CH1 receiving Y11 R1 1 Y11 R1 1 turns on when sending data is read from shared memory Turn off Y11 R1 1 when X1 R0 1 is turned off For CH2 sending Y12 R1 2 Y12 R1 2 turns on when sending data is written to shared memory Turn off Y12 R1 2 when X2 RO 2 is turned on For CH2 receiving Y13 R1 3 Y13 R1 3 turns on when sending data is read from shared memory Turn off Y13 R1 3 when X3 R0 3 is turned off Y14 R1 4 Unused Y15 R1 5 Unused Y16 R1 6 Unused Y17 R1 7 Unused Y18 R18 Data format setting of CH1 On for ASCIl and Off for HEX Binary format Y19 R19 Data format setting of CH2 On for ASCII and Off for HEX Binary format YTA R1 10 Unused Y1B R1 11 Unused Y1C R1 12 Unused For software reset Y1D R1 13 SCU is initialized when Y1D R1 13 is turned on Approx 1msec after initialization completes XE R0 14 turns on Turn off Y1D R1 13 immediately after XE R0 14 turns on CH1 Y1E R1 14 If Y1E R1 14 is turned on before data send request turn in Y10 R1 0 end code will not be transmitted CH2 Y1F R1 15 If Y1F R1 15 is turned on before data send request turn in Y12 R1 2 end code will not be transmitted
14. to ASCII mode F0 MV HD DT1 FO MV H3232 DT10 FO MV HD DT11 R9014 NSTP 1 NSTP 3 SSTP 1 lt CH1 sending gt X30 Y40 RO X30 Y40 R1 RO Slot NO 3 Sending from CPU DTO 2 words of data RO is stored to SCU shared wan memory address R1 NSTP 2 lt CH2 sending gt X33 Y43 R2 X33 Y43 R3 V if Slot NO 3 SCU shared memory From address 751 2 words of data is stored to PLC CPU DT5 and DT6 Data comparison Sent data end code comparison Received data end code comparison Turns on when the data are not identical lt CH2 sending gt X32 JA Vi 2 R4 Slot NO 3 From PLC CPU DT10 2 words of data R4 R5 d Is stored to SCU shared 42 memory address 501 NSTP 4 SSTP_4 lt CH1 receiving gt IT V R6 KEN Yai V Vi Slot NO 3 From SCU shared memory address 251 2 words of data R6 is stored to PLC CPU ii DT15 and DT16 rt Data comparison Sent data end code comparison Received data R R8 R9 vso Seguence program HEX format self test ladder program for WinFPST R9014 r lt CH1 sending gt x30 Y40 From slot NO 3 DTO 1 word of data is stored to shared memory address 1 From slot NO 3 DT100 2 words of data is stored to SCU shared memory address 1003 transmission length setting lt CH2 sending gt LES KC R2 X33 43 R3 R2 Slot NO 3 From SCU shared memory address 751 1 word of data is stor
15. 118 5 unit mm 111 0 3 slottype 205 0 183 8 5 slot type 276 0 254 2 8 slot type 381 0 359 8 10 slot type 452 0 430 2 12 slot type 522 0 500 6 Motherboard Installation Diagram mm 5 0 4 A N a Y A co unit mm o 3 slot type y 5 slot type 8 slot type 381 0 329 8 355 i 10 slot type 452 0 400 2 p a gt 12 slot type 522 0 470 6 A CPU HO Module Dimensions mm NX CPU750B z 3 22 se 33 DO EI 2 o o 115 5 COM RS232C 00000 ces O 0000 essa O TOOL RS232C w a o NX X16D pe HEEEERERE SS s SSS CD DUUUOUI q 104 0 SCU Unit and Special Unit Dimensions mm NX MWLINK ANTIMA 115 5 NX SCU z pa 4 Dw 28 BRE CH 00000 O locos DD 38 BRS O 0000 O 0000 9
16. 232C Cable Sle El Measurement instrument Using RS485C Communication NX 700 Em r am bel bere RS 485 communication Temperature controller network You can connect RS232C device RS485 network device to each RS232C RS485 CH1 CH2 channel NX series SCU can be mounted anywhere you want regardless of whether the backplane is base or expansion The number of SCU mounting is not limited Specifications Withstand voltage Operating 0 C to 55 C 32 F to 131 F Temperature Storage 25 C to 70 C 13 F to 158 F o Operating 30 to 85 RH Non condensing Humidity i Storage 30 to 85 RH Non condensing 500 V ac for 1 minute between UO terminal dc and frame ground power unit Insulation resistance 100 MO or more at 500 mega V dc between I O terminal dc and frame ground power unit Vibration immunity 10 to 55Hz 1 cycle minute double amplitude of 0 75 mm 10 minutes on 3 axis X Y Z Shock immunity Peak acceleration and duration 15g 11 ms 3 times in each X Y Z direction Noise immunity 1500 Vp p with 50ns to 1us pulse width generated by noise simulator Ambience Occupied UO points No co
17. 700 PLC data register DT100 DT100 to DT109 will be sent to the SCU shared memory address 1 CH1 sending buffer Shared Memory instruction WRITE in WinGPC NN1 Slot no of SCU mounted p WRITE Number and first 1 0 slot start To NN1 NR2 from 0 Sz NR3 NR2 Piret address to write on the shared Fr NN5 memory of SCU number register NR3 Number of words to be written NR5 First address of data to writes number register Programming Example NN1 0 Slot no of SCU mounted Slot no 0 NR2 1 First address to write on the shared memory of SCU address 1 NR3 2 Number of words to be written 2 words NN5 WO Start word operand of write data WO When MO0 1 becomes ON 2 words from data register WO of NX70 NX700 PLC is transmitted into shared memory address 1 CH1 transmission buffer of SCU installed in slot no 0 Shared Memory Allocation Table SCU has built in shared memory that is READ WRITE accessible from PLC CPU unit Inside the shared memory the sending and receiving areas are allocated Therefore PLC CPU unit and RS232C external devices performs data READ WRITE through SCU shared memory Data transmission handshake is processed at PLC contacts on off two points for each input and output Shared memory allocation Address 1 250 251 500 501 750 751 1000 1001 1002 1003 1004 1005 1006 250 words
18. GER 2400 Bps 1 0 1 BAUD RATE see below 1200 Bps ae 600 Bps 1 141 300 Bps 7 BIT DSW2 1 Data length 8 BIT J i Invalid 1 Parity check see below Valid 0 r Odd parity ODD 1 Parity setting Even parity EVEN 0 s 1 Stop Bit 1 Stop bit length 2 Stop Bits Control signal see below Not used 1 CTS CD Used 0 0 Set to shared memory 1 byte 1 0 Ca ODH code 0 1 End code seebelow Cr 0Du Le 0An code 1 1 ETX 03x code DSW3 0 STX 02h not used Start code see below STX 02h used X Parameter Not support 1 O stands for OFF 1 stands for ON Dm When using RS485 the available baud rates are 38 400 19 200 9 600 4 800bps A e When parity check is set to Invalid the parity settings are not applied e For control signal the CTS and CD settings can be selected but set it to Not Applicable when using 3 wire method without flow control using RS232C communication e Start and end codes determine the start and end ofa communication frame EXAMPLE DSW Settings CH1 setting Transmission speed 9600 bps Data length 8 bit Parity Check Valid Parity Bit Odd Stop Bit 1 Bit Control signal Not applicable End code CR Start code Not used X Parameter Disabled CH2 setting Data length 8 bit Parity Check Valid Parity Bit Odd Stop Bit 1 Bit End code CR Start code Not used X Parameter
19. LC CPU from DT100 Example of Using a Barcode Reader for WinGPC Connect a barcode reader to SCU CH1 ex Barcode reader Japan TOKEN THLS 6300 Read barcode information and store it to PLC Operation description Read the information at the barcode reader connected to CH1 and store it to from PLC DT100 IMPORTANT e The DIP switches DSW1 and DSW2 are set to 9600 bps 8 bit no parity 1 stop bit and end code is CR A e SCU is installed in base backplane slot 0 of a NX700 PLC system NX CPU700p e Connect SCU CH1 and barcode reader with 9 pin cable SCU DIP switch CH1 settings ia CH1 Setting gt Data Pgdrity Control Start length sefting code code Baud Parity Stop End k t bit s ae check code parameter H mi E 1 2 3 4 5 B 7 8 12345678 DSW1 DSW2 TET NX700 System Configuration NX CPU700p SCU RO 0 to RO 15 R1 0 to R1 15 m gt R2 0 to R2 15 gt R3 0 to R3 15 rom O NX 700 Zoppen e 9 pin cable Barcode reader THLS 6300 Seguence Program Ladder program example for using a barcode reader for WinGPC lt CH1 receiving gt Save to W100 continually 20 words of data from address 251 of shared memory of the SCU 16 Troubleshooting Yes See Troubleshooting in
20. Rockwell Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Because of these differences and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will Rockwell Samsung Automation be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Samsung Automation cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Samsung Automation with respect to use of information circuits equipment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Samsung Automation is prohibited Throughout this manual we use notes to make you aware of safety considerations Identifies information about practices or circumstances which may lead to serious personal injury or death property damage or economic loss gt IMPORTANT Identifies information that is crit
21. S 1 0 RO O to R0 15 R5 0 to R5 15 allocation REO to RINS tt SCU R3 0 to R3 15 R2 0 to R2 15 4 R4 0 to R4 15 CH1 and CH2 PIN wiring diagram For RS 232C communication checking For RS 485 communication checking SCU CH1 SCU CH2 SCU CH1 SCU CH2 1 1 1 1 2 SD 2 SD 2 2 3 RD DXX 3 RD 3 3 4 4 4 4 5 SG 5 SG 5 5 6 6 6 485 6 485 7 7 7 485 7 485 8 8 8 8 9 9 9 9 Sequence Program ASCII format self test ladder program for WinGPC lt CH1 sending gt R3 0 R4 0 MOO R3 0 R4 0 MO 1 Slot NO 3 save to address 1 of shared memory of SCU 1 word of data from WO R3 3 R4 3 MO 2 R3 3 R4 3 MO 3 lt CH2 receiving gt Save to W5 1 word of data from address 751 of shared memory of SCU lt Data comparison gt MO 3 pa Turns on when the data are not identical received data sent data R3 2 R4 2 MO 4 mi R3 2 R4 2 Mo 5 EE MO0 4 lt CH2 sending gt Slot NO 3 save to address 1 of shared memory of SCU 1 word of data from W10 MO0 4 MO 5 R4 2 R3 1 R41 MO SS ee R3 1 R4 1 M07 mea MO 6 lt CH1 receiving gt Save to W15 1 word of data Slot NO 3 from address 751 of shared memory of SCU MO0 6 MO0 7 R4 1 lt Data comparison gt e Turns on when the data are not identi
22. Turn off the DSW1 No 8 or DSW3 No 4 which are the control codes 3 wire method without flow control RS232 device 25 pin SCU 9P RS 232 device 25P 1 1 FG 2 SD 2 SD 3 RD 3 RD 4 4 RTS 5 SG R 5 CTS 6 RS485 6 DSR 7 RS485 7 SG 8 8 cD 9 20 DTR RS485 Wiring Diagram SCU 9P RS 485 device 485 AS 485 485 gt gt 485 o o J O OI A O0O N 3 Operations and Programming Examples Basic Operations e You need ladder program to operate the SCU e Data exchanges between this unit and CPU unit is transmitted via shared memory e Data input from external devices is stored in shared memory only when there is an end code in the data e Data is automatically output when written to shared memory The following diagram shows the data flow in each case of barcode reader connected or printer connected Connector 9P SCU Unit Hi DE 9 189940 200278 14730 ii RS232C RS485 gt Drive Receiver CPU Barcode Reader Data Shared c RS232C RS485 Drive Receiver memory and I O Printer C t P oiinector 9P Backplane connector sms NI CPU Unit 1 Shared memory of SCU enables READ WRITE at both the CPU processor of the SCU and the CPU pro
23. anual and the related documentation thoroughly and familiarize yourself with product information safety instructions and other directions before installing operating performing inspection and preventive maintenance Make sure to follow the directions correctly to ensure normal operation of the product and your safety Otherwise it may cause overheating and product A ATTENTION Bi A If this product is used in a situation that may cause personal injury and or significant product damage implement safe measures such as use of fault safe eguipment Do not use this product under any conditions exposed to explosive gases It may cause an explosion Make sure to use an external device when configuring the protective circuit breakers for emergencies or interlock circuits Fasten the terminal screws tightly to ensure that the cable connection is secure Incorrect cable connection may cause overheating and product malfunction Operate and keep the product under the allowed conditions directed in product specifications Otherwise it may cause overheating and product malfunction Do not disassemble or remodel the product Otherwise it may cause an electric shock or malfunction Do not touch the terminals when the power is on Otherwise it may cause an electric shock Installation Environment for SCU Serial Communication Unit Prosa Do not install your analog conversion modules if any of the following conditions are presen
24. cal received data sent data MO0 8 M5 0 MO 9 R5 0 Example of Using a Barcode Reader for WinFPST Connect a barcode reader to SCU CH1 ex Barcode reader Japan TOKEN THLS 6300 Read barcode information and store it to PLC Operation description Read the information at the barcode reader connected to CH1 and store it to from PLC DT100 IMPORTANT e The DIP switches DSW1 and DSW2 are set to 9600 bps 8 bit no parity 1 stop bit and end code is CR A e SCU is installed in base backplane slot 0 of a NX700 PLC system NX CPU700 NX CPU750A B C D e Connect SCU CH1 and barcode reader with 9 pin cable SCU DIP switch CH1 settings ia CH1 Setting gt Data Parity Control Start length setting code code Baud Parity Stop End k t bit s ae check code parameter H mi E 41 2 3 4 5 6 7 8 12345678 DSW1 DSW2 TET NX700 System Configuration NX CPU700 NX CPU750A B C D SCU X0 to XF Y10 to Y1F m gt Y20 to Y2F gt Y30 to Y3F 9 pin cable Barcode reader THLS 6300 Seguence Program Ladder program example for using a barcode reader for WinFPST Set CH1 to ASCII mode setting lt CH1 receiving gt Slot NO O From SCU shared memory address 251 20 words of data is stored to P
25. cessor of the CPU unit SCU unit processing CPU unit ladder program Nx Input to the SCU Barcode O o O Shared 9 from external Reader gt CPU Memory memory CPU Memory devices po SCU unit processing CPU unit ladder program Output from o O Shared 9 inside the SCU Printer 4 CPU Memoryi4 memory 1 CPU Memory Products like ID X where I O sending receiving passes through only one channel can be operated as A half duplex The SCU performs communications regardless of PROG RUN mode but data transmission is available only in RUN mode Precautions for SCU Operation For ASCII communication of Rs232C RS485 e Errors of transmission processing are reflected at contacts NX series X4 to XD NX plus series R0 4 to R0 13 so resending with ladder program is recommended See below If an error occurs while the frame is receiving the frame will be cleared and error LED turns on But if the next frame is a normal frame the error LED turns off and the frame is processed as the received frame e When the start code is effective the frame will start at the last receiving start code and end at the end code Ex STX Start code STX STX fiers Sos Se Sede ETX ETX End code Start code is effective 1 frame
26. data is input ly Rap Condition for READ to the RS232C RS485 device completion connected to CH1 R100 READ R1 1 For CH1 receiving Data READ from high function unit READ When reading received data from shared memory turn on R1 1 Turn on R1 1 when RO 1 is turned off R100 R101 AAA AAA R1 1 READ completion signal Output to the SCU unit Using WRITE in WinGPC Transmitting to external RS232C RS485 device When SCU is installed in the first slot of PLC system and external RS232C RS485 is connected to CH1 ROO Bin E e Condition for WRITE pi eue Condition for WRITE completion ne WRITE Data WRITE to high function unit WRITE R103 R104 ib AZ i WRITE completion signal R1 0 Write to the SCU unit RO O For CH1 sending When the SCU received correct data RO O turns on R1 0 For CH1 sending When writing sending data to shared memory turn on R1 0 Turn off R1 0 when RO 0 is turned on Timing for Sending and Receiving Regardless of the slot location where the SCU is installed sending and receiving is available It is controlled by contacts on off status Per each CH 2 points for sending and 2 points for receiving Ex When installed in slot 0 X0 R0 0 SE X1 R0 1 For sending For receiving Y10 R1 0 Y11 R1 1 X2 RO 2 SC X3 R0 3 For sending For receiving Y12 R1 2 Y13 R1 3 Timing Char
27. e it at CH1 and compare the sent and received data Y50 turns on when the compared data are not identical ITT Data WRITE method WinFPST S W gt on line gt DTO DT1 and DT5 DT6 at register monitoring Then verify data at each of DT10 DT11 and DT15 DT16 See WinFPST S W help for detailed information e DIP SWITCH DSW setting must be identical at CH1 and CH2 and the setting is arbitrary e PLC system configuration example shows a NX700 PLC system NX CPU700 NX CPU750A B C or D with a SCU installed in base backplane slot 3 e Use 9 pin cable when RS232C communication checking at CH1 and CH2 of the SCU and use 2 pin connection when RS485 communication checking See the wiring System Configuration Base backplane 5 slots NX CPU700 NX CPU750A B C D Po O El E co SAMSUNG vo X0 XF Ey Y50 Y5F allocation Y10 Y1F SCHU X30 X3F X20 X2F 4 Y40 Y4F CH1 and CH2 PIN wiring diagram For RS 232C communication checking SCU CH1 SCU CH2 For RS 485 communication checking SCU CH1 SCU CH2 1 FG 1 FG 1 1 2 SD 2 SD 2 2 3 RD x 3 RD 3 3 4 4 4 4 5 SG LI 5 SG 5 5 6 6 6 485 6 485 7 7 7 485 7 485 8 8 8 8 9 9 9 9 Sequence Program ASCII format self test ladder program for WinFPST R9010 GH Set CH1 to ASCII mode R9010 Y49 FO MV H3131 DTO Set CH2
28. ed Re to PLC CPU DT5 43 R3 Data comparison Sent data R3 R900B R8 m_m Turns on when the data are not identical Received data SSTP 3 lt CH2 sending gt From slot NO 3 DTO 1 word of data is stored to SCU shared memory address 501 From slot NO 3 DT102 2 words of data is stored to SCU shared memory address 1005 transmission length setting SSTP 4 lt CH1 receiving gt x31 Y41 X31 Y4 V R6 Slot NO 3 From SCU shared memory address 251 1 word of data is stored to PLC CPU DT15 Data comparison imi Sent data Received data R7 R9005 R9 kM NSTP 3 STPE Self Test Program for WinGPC Example of ladder program that performs self loop at the SCU Convenient program for self test of the SCU Operation description Send data from CH1 and receive it at CH2 and compare the sent and received data Send data from CH2 and receive it at CH1 and compare the sent and received data R5 0 turns on when the compared data are not identical Mizar Write 2 byte data includes end code CR into WO and W10 before program execution A e The data is written using by WinGPC S W e PLC system configuration example shows a NX700 PLC system NX CPU700p with a SCU installed in base backplane slot 3 e Used the same DIP Switch setting for both Ch1 and System Configuration Base backplane 5 slots NX CPU700p SAMSUNG E
29. eiving from external RS232C RS485 device When SCU is installed in the first slot of PLC system and external RS232C RS485 is connected to CH1 Condition for READ X1 For CH1 receiving X1 turns on when normal data is input to the RS232C RS485 device connected to CH1 Condition for READ completion Y11 For CH1 receiving R100 F150 READ Data READ from high function unit READ When reading received data from shared memory turn on Y11 Turn on Y11 when X1 is turned off R100 R101 Kv Y11 READ completion signal Output to the SCU unit Using WRITE in WinFPST Transmitting to external RS232C RS485 device When SCU is installed in the first slot of PLC system and external RS232C RS485 is connected to CH1 xO Condition for WRITE xO Lt Condition for WRITE completion P103 F151 WRT Data WRITE to high function unit WRITE R103 R104 Y10 PAY WRITE completion signal Y10 Write to the SCU unit XO For CH1 sending When the SCU received correct data X0 turns on Y10 For CH1 sending When writing sending data to shared memory turn on Y10 Turn off Y10 when XO0 is turned on Using READ in WinGPC Receiving from external RS232C RS485 device When SCU is installed in the first slot of PLC system and external RS232C RS485 is connected to CH1 RO 1 R1 1 AA A A Condition for READ RO 1 For CH1 receiving R0 1 Bu RO 1 turns on when normal
30. ical for successful application and understanding of the product Identifies information about practices or circumstances that can lead to minor personal injury property damage economic loss or product malfunction However depending on circumstances failure to follow the directions accompanying this symbol may also lead to serious consequences ATTENTION gt 1 Contents Specifications and Components 9 SCU Features iia 9 System KO D I HESE ici did 10 Specifications is a da 11 UntDiagr Miu ct da Ain 12 Operation Status Display and FUNCTIONS c ccceeceeeessereeeeeseeeeeeeseeseneess 13 DIP S witch Settings eege EREN EELER ee 14 WYN E 17 WIN Giani raji nauk je de e ee bo delka ni o krepki Eed geg 17 Operations and Programming Examples 19 Basic Operations eegend ni one liada 19 Precautions for SCU Operation cccoooccccccnanonnnononanonnncnnnanonnnnnnnnnnnnnnnnnnnnnnnnnnns 20 PrOGramiminGesticc2 tee ate hen Hee ae ee a a eter 22 NX70 NX700 PLC Installation Example n 33 PLC Programming Examples AEN 34 Beete neier DEE 47 Product Dimensions and Installation 51 NX700 PLC Product Dimensions omccccccconccnncncnanancncnnnnnannncnonannnnnnncnnnannnnnnnnnos 51 NX70 PLC Product Dimensions ccooooocccccnonacnnnnnnnannnonnnnnnnoncnnnnnnnnnnnnnnannnnnnnnnns 53 Power Unit Dimensionsimm ene 54 Safety Instructions Please read this m
31. ion SCU module is configured as 32 points I O module with 16 points input and 16 points output For N series I O is allocated by WinFPST S W and registered as 16SX and 16SY Unit Diagram Front View NX700 SCU NX SCU NX70 SCU NX70 SCU Operation status display NX70 SCU PWR ALARM SD1 SD2 RD1 RD2 ERR1 ERR2 RESET RE Reset switci Forced reset on the SCU RESET e com 1188 RS 232C 485 reaas Se Interface em Leas 23 RS232 8 a RS485 8 comz 83 RS 232C 485 cone II res k Ss interface CH1 RS se eo RS485 ES 7 o Inside View NX700 SCU NX SCU en NR KEE DSW1 DsW2 DSW3 Dip Switch for CH1 CH2 Dip switch is located on the bottom of NX70 SCU NX70 SCU Operation Status Display and Functions SCU operation and communication status is displayed on the LED on the top of the front panel SCU front display window ALARM SD2 RD2 ERR2 NX700 SCU NX SCU Implications Power PWR NX70 SCU PWR ALARM SD1 SD2 RD1 RD2 ERR1 ERR2 NX70 SCU NX70 SCU On Unit in operation O Off Power turned off Operation error ALARM On Operation error Turned on when watchdog timer identifies an error Press the Reset switch to turn off O Off Nor
32. mal operation Sending data monitor Flickering Sending data SD 1 O Off No sending data CH 1 Receiving data Flickering Receiving data monitor RD 1 O Off No receiving data Communication error On Communication error ERR 1 O Off Normal communication Sending data monitor Flickering Sending data SD 2 O Off No sending data CH 2 Receiving data Flickering Receiving data 2 monitor RD 2 O Off No receiving data Communication error On Communication error ERR 2 O Off Normal communication e Communication error LED ERROR LED turns on when parity or framing error occurs Receiving Parity framing ERROR Sending No end code e Communication error LED turns off when normal frame is received or sent writing to shared memory DIP Switch Settings CH1 Setting CH1 setting Data length setting Sto Baud Parity Ge Rate Check f l 1 2 3 4 5 b 8 DSW1 Parity Control code End code IT 1 2 3 4 6 7 8 Start Data Parity Control Start code length setting code code X a X Parit Stop para Baud SR bit End para meter Rate code meter i l l l nm DSW2 DIP Switch is located inside the SCU 1 2 3 4 5 67 8 DSW3 olojo 38400 Bps VU as 19200 Bps 0 110 9600 Bps e le Transmission speed 4800 Bps SC cl 2400 Bps 1 01 BAUD RATE see below 1200 Bps PULA 600 Bps 11111 300 Bps x 7 BIT
33. memory Y 13 R1 331 Perform with ladder N program Data Save data from Read SCU shared memory data with PLC CPU unit Advanced Instructions Shared Memory instruction READ in WinFPST S1 Installation slot number of SCU unit S2 Starting address of shared memory Hi F150 READ S1 2 n D where source data is stored n The number of words of source data to read Starting address of PLC CPU where to store the read data Programming Example K3 SCU slot slot 0 RO K251 SCU shared memory address E F150 READ K3 K251 K2 DT15 Address 251 K2 The number of words of data to read 2 words DT15 Starting word operand of PLC CPU where to store the read data DT15 When RO is on the SCU shared memory address 251 CH1 receiving buffer reads two words of data and send it to NX700 PLC CPU data registers DT15 and DT16 Maris The operands called device data or register in other company s products can be divided into bit operand that processes bit information and word operand that processes word information Word operand WX WY WR WL Ld DT FL EV SV IX IY 10 to ID Contact operand X Y R L T C e F150 READ instruction processes word so 10byte data is processes as 5 words Shared Memory instruction READ in WinGPC NN5 Slot no of SCU mounted READ Number and first 1 0 slot start To RR1 from 0 Sz NR3 NR6 Start address of shared memory of
34. ons e Use an isolation transformer and line filter on the A incoming power to the PLC when there is equipment using or producing high current high voltage or large magnetic fields in the vicinity e Use analog sensor that meets the rated specifications for module connection Otherwise it may cause operation errors e Separate the main PLC power line ground from all other power grounds Always use class 3 grounding e Do not exceed the current and power rating of the external 24 VDC provided by the PLC power supply e Avoid system faults due to programming errors by reading and fully understanding this system manual and the PLC instruction set e Perform regular preventive maintenance on installed systems checking devices and wiring for potential breakdowns and failures Specifications and Components Exchange data with RS232C or RS485 communication devices such as barcode reader RS232C and network inverter RS458 ASCII and HEX Binary data transfer is enabled with ladder program SCU unit the existing features of SDU unit 485 communication Read data with the advanced instruction READ NX70 PCL SCU Unit NX700 PCL SCU Unit NX70 SCU NX SCU Write data with the advanced instruction
35. rrosive gas no excessive dust 32 points 16 points input 16 points output Max number of unit Unlimited Interface Performance Specifications RS232C RS485 2 ports Transmission speed Configured with DSW1 and DSW2 1 Using RS232C 300 600 1200 4800 9600 19200 38400bps 2 Using RS485 4800 9600 19200 38400bps Communication method Half duplex Synchronization method Start stop method Transmission distance Using RS232C 15m MAX Using RS485 1 2 Km Transmission code ASCII or HEX Binary Transmission data format STOP bit 1bit 2bit Parity even odd Data length 7bit 8bit Data transmission order From bit 0 by each character Transmission unit Max message length A message to the end code length adjustable MAX 500 Byte frame including end and start codes Interface with CPU unit Shared memory type N series Read and write data with advanced instructions F150 READ and F151 WRITE Read and write data with advanced instructions READ and WRITE I O allocation 16 points input and 16 points output allocated End code setting Select from three types of O cr O cr LF ETX or set arbitrary code from shared memory Start code Start code Other special controls End code cut transmission mode control by seguence instruction Convenient for printing out Soft reset control by seguence instruct
36. t e Ambient temperature outside the range of 0 to 55 C 32 to 131 F e Direct sunlight e Humidity outside the range of 30 to 85 Non condensing e Chemicals that may affect electronic parts e Excessive or conductive dust or salinity e High voltage strong magnetic fields or strong electromagnetic influences e Direct impact and excessive vibration Installing the SCU Module on the System 1 Connect a communication cable to the SCU module 2 Turn on the power to the external device connected to the SCU module 3 Turn on the main PLC power Removing the SCU Module from the System 1 Turn off the main PLC power A 2 Turn off the power to the external device connected to the SCU module 3 Remove the communication cable Preventing SCU Module Malfunctions e Be sure to power off the PLC system before installing A or removing an SCU module e Ensure that the SCU module is secured onto the backplane before operating it e Be cautious of metal chips when wiring for the SCU module Metal chips and debris that fall into the module can cause damage e Do not touch with your hand the connector on the bottom of the module which is used to connect to the backplane Otherwise it can cause connection fault and static electrical discharges e Do not drop or impose impact to the SCU module It can cause damage because the housing is made of injection molded plastics Preventing PLC System Malfuncti
37. t for CH1 using Sending Data WRITE from PLC CPU to SCU shared memory and Y10 R1 0 on off setting should be controlled by ladder program SCU starts XO RO 0 Read from SCU Data BUFFER CLEAR shared memory to SCU CPU and send it to the external device Y10 R1 0 Perform with ladder program Data X0 turns on when the transmission completes with the Write data from PLC CPU end code from the SCU to the external device to SCU shared memory Receiving Data READ with PLC CPU from SCU shared memory and Y11 R1 1 on off setting should be performed by ladder program STEE A NR REN SCU FF r SA starts X1 RO 1 Save data from MA d the external device Data BUFFER CLEAR to shared Y11 R1 Perform with ladder rogram ii Data Read SCU shared memory data with PLC CPU unit Timing chart for CH2 using Sending Data WRITE from PLC CPU to SCU shared memory and Y12 R1 2 on off setting should be performed by ladder program Sending NA SCU BEE AA A starts X2 RO 2 Read from SCU A _ shared memory to SCU CPU and Data SE send it to the external device EES AS MA Perform with ladder rogram prog Data Write data from PLC CPU to SCU shared memory Receiving Data READ with PLC CPU from SCU shared memory and Y13 R1 3 on off setting should be performed by ladder program Receiving SNo SSI SCU _ _ f xX starts X3 RO 3 the external device Data BUFFER CLEAR to shared
38. the System Manual See System Manual h 2 o gt z o Yes_________ To the flow chart of alarm turned on 4 Z o To the flow chart of transmission not available 4 z o Yes Ne To the flow chart of error LED gt oe ps I No En Set the baud rate correctly Yes________ Change to spare SCU unit if you have one v zeen gt JS Set the CPU unit to RUN mode d Use correct contact go Set correct slot number he Use correct address pe Set the seguence program to correct timing Des Assumed to be due to external causes such as noise z o If correct data is sent or received the error LED turns off Set correct character and stop bit length Stop receiving from RS232C device HH y Yes because it is a parity error of received data H z o Stop receiving from RS232C device because receiving buffer is full Set the receiving frame length shorter than 500byte H z o Set the receiving frame length shorter than 500byte 4 2 o The SCU is mounted in slot 0 and the contact number in is the contact number of CH2 error indication Product Dimensions and Installation NX700 PLC Product Dimensions System Dimensions mm A V Sr 1155
Download Pdf Manuals
Related Search
Related Contents
VELUX INTEGRA® Active KRX 100 Premier Gold Mines Hardrock Inc. – projet Hardrock Cadre de 2015 Long Term Care Nursing Facility/Hospice NH イムノクロマト O111 ≪取扱説明書≫ User Manual - Biomol GmbH Bedienungsanleitung Bosch Akkuschrauber Angle Exact Base avec bride de carrelage moulé intégré avec cache drain Copyright © All rights reserved.
Failed to retrieve file