background image

1

13 

 

CS-IO204 User Manual 

                   

 

           
 
 

            CS-IO204 

 

 

Serial I/O Module 

Manual 

 

 

Summary of Contents for CS-IO204

Page 1: ...1 13 CS IO204 User Manual CS IO204 Serial I O Module Manual ...

Page 2: ...and Setting 12 3 3 WORKING MODE 12 3 3 1 Normal Mode 12 3 3 2 NOLock Linkage Mode Mode 12 3 3 3 Lock Linkage Mode 13 3 3 4 All Channel Lock Linkage 13 3 3 5 2Device NOLock Linkage 13 3 3 6 2Device Lock Linkage 14 3 3 7 Working Mode Configuration 14 4 DEVELOPMENT DATA INSTRUCTION 15 4 1 COMMUNICATION PROTOCOL INSTRUCTION 15 4 2 MODBUS REGISTER INSTRUCTION 15 4 3 COMMAND LIST 17 4 4 COMMAND DETAILS ...

Page 3: ... Multiple devices on the 485 bus and ON OFF operation failed to send the broadcast address 254 23 5 2 5 PLC and the device cannot communicate normally 23 6 AFTER SALE SERVICE 24 6 1 COMMITMENT 24 6 2 DISCLAIMER 24 7 UPDATE HISTORY 24 ...

Page 4: ...s and precautions in this manual Please open the package carefully and check whether the device and accessories have been damaged due to transportation when you receive the device Please contact us for return processing once damage occurs Please do not repair it yourself and contact our technical support department directly if the device fails ...

Page 5: ...n plus signal isolation reliable communication Communication baud rate 300bps 38400bps It is 9600 by default and can be modified by software Support standard Modbus RTU protocol read and write by register address 0 255 Built in address DIP switch Set by software Support input and output linkage such as local linkage or dual computer linkage which is convenient for multi terminal control Support de...

Page 6: ...tion Item DO DI Analog RS485 Address Dial CS IO101 1 1 0 RS485 1 Address Dial CS IO204 2 4 0 RS485 1 Address Dial CS IO222A 2 2 2 0 20mA RS485 1 Address Dial CS IO404A 4 0 4 0 20mA RS485 1 Address Dial CS IO404 4 4 0 RS485 1 Address Dial CS IO606 6 6 0 RS485 1 Address Dial CS IO808 8 8 0 RS485 RS232 CS IO1600DI 0 16 0 RS485 RS232 Address Dial CS IO1600 16 0 0 RS485 RS232 Address Dial CS IO3200 32 ...

Page 7: ...mally ON terminal 2 2 Communication Wiring By default its address is 1 The host computer software can use the default address 1 to communicate with the device or broadcast address 254 which is only applicable when one device is mounted on the network 2 2 1 RS485 Wiring 2 3 DO Wiring The DO is single pole double throw and each circuit has three terminals one group is normally ON and the other is no...

Page 8: ...8 13 CS IO204 User Manual 2 3 1 Low Load Wiring Applicable for non resistive load current 3A or resistive load current 5A 2 3 2 AC 220V Load Device Wiring ...

Page 9: ...9 13 CS IO204 User Manual 2 3 3 AC 380V Load Device Wiring With Zero Line 2 3 4 AC 380V Load Device Wiring Without Zero Line ...

Page 10: ...munication Wiring Serial port number query method Open My Computer Device Manager Port COM and LPT and the COM number that appears after the USB to 485 device is inserted is the serial port number 3 2 Device Address 3 2 1 Introduction The Offset Address of this device is 1 by default and the broadcast address is 254 to communicate but 0 cannot be used Communication address Hardware address DIP swi...

Page 11: ...vice connected normally the IO module debugging software read the current address 254 only support broadcast read address when there is one device on the bus 3 2 3 Offset Address Setting and Reading Click Read or Set to read or set the Offset Address of the device address parameters stored in the device ...

Page 12: ...put and DO In this mode the input optocoupler and DO are directly linked The optocoupler input signal takes effect the corresponding DO is pulled in The optocoupler input signal is canceled the corresponding DO is disconnected In this mode due to mechanical and program delay there will be a certain delay between the optocoupler input signal and DO action but the maximum will not exceed 0 05 second...

Page 13: ...tocouplers will be disconnected if no signal is input The optocoupler input signal takes effect the corresponding DO is pulled in and other DOs are disconnected The optocoupler input signal is canceled the DO does not act This mode also has a delay problem but the delay time is also not greater than 0 05 seconds This mode can be mainly used for external signal triggering to control the start and s...

Page 14: ... Lock Linkage This mode requires two devices with the same address and mode to complete After the two devices are connected through direct connection 485 or cross 232 the optocoupler state of module 1 will take effect and the state of the corresponding DO of control module 2 will be reversed No 1 optocoupler input signal of module 1 is valid No 1 DO of module 2 is flipped No 1 optocoupler input si...

Page 15: ...oduct supports Modbus RTU format 4 2 Modbus Register Instruction Instruction code Meaning 1 Read coil register DO 5 Write a single coil 15 write multiple coils Register address table Register name PLC Register address Explaination Coil Control Coil Control 1 Write coil Command 1 0000H 00001 The 1st DO Coil Control 2 0001H 00002 The 2nd DO Discrete Input Input 1 Read DI Command 2 0000H 10001 The 1s...

Page 16: ...rts the following Modbus addresses 00001 to 09999 are discrete outputs coils 10001 to 19999 are discrete inputs contacts 30001 to 39999 are input registers usually analog inputs 40001 to 49999 are holding registers usually store device configuration information In 5 bit code format the first character determines register type and the remaining 4 characters represent address Address 1 starts from 0...

Page 17: ...0 00 00 02 BD CB Return query information FE 01 01 00 61 9C Control the 1st DO on FE 05 00 00 FF 00 98 35 Return control information FE 05 00 00 FF 00 98 35 Control the 1st DO off FE 05 00 00 00 00 D9 C5 Return control information FE 05 00 00 00 00 D9 C5 Control the 2nd DO on FE 05 00 01 FF 00 C9 F5 Control the 2nd DO off FE 05 00 01 00 00 88 05 4 4 Command Details 4 4 1 Control DO Control 2 DO ta...

Page 18: ... DOs to be queried A9 C4 CRC16 CRC16 checksum of the first 6 bytes of data DO return information Return code FE 01 01 00 61 9C Field Meaning Note FE Device address 01 01 command Return command If the query is wrong return 0x81 01 Number of bytes All bytes of return status information 1 n 1 8 00 Status of the query Returns the DO status The return value is hexadecimal converted to binary data 0 mea...

Page 19: ...Command Flash OFF sending code FE 10 00 03 00 02 04 00 04 00 0A 41 6B Flash ON sending code FE 10 00 03 00 02 04 00 02 00 0A A1 6A Field Meaning Note FE Device address 10 10 Command Write multiple register function codes 00 03 DO address 3 5 n 1 n represents which channel to control the decimal needs to be converted to hexadecimal system 00 02 Number of control commands 2 5 n 1 n represents the nu...

Page 20: ...annel flash ON command FE 10 00 03 00 02 04 00 02 00 0A A1 6A 2nd channel flash ON command FE 10 00 08 00 02 04 00 02 00 0A E0 D9 4 4 5 All ON and All OFF Command All ON sending code FE 0F 00 00 00 02 01 FF D1 D3 All OFF sending code FE 0F 00 00 00 02 01 00 91 93 Field Meaning Note FE Device address 0F 0F command Return command If the query is wrong return 0x82 00 00 Starting address 00 01 Number ...

Page 21: ...gh or too low the device may not work normally or even be damaged 2 The DI input terminal adopts optocoupler isolation protection and its bearing voltage is 5 24V 3 Do not overload for the DO output terminals Please connect them correctly within the allowable range refer to the wiring diagram for details 4 The allowable air humidity of the device is 5 85 RH and it does not have waterproof capabili...

Page 22: ...r there is a return command in the debug information column and whether the return command is correct If reading address fails there is no return command or abnormal return command check the communication line and communication converter When the I O module and the controlled equipment share a DC power supply if the controlled equipment is heavily loaded it may cause insufficient power supply of t...

Page 23: ... module address otherwise the command cannot be executed correctly Please refer to below photo how to set the address if multiple modules The broadcast address 254 can be used when there is only one device on the bus When there is more than one device 5 2 5 PLC and the device cannot communicate normally 1 Check whether the PLC communication parameters match the I O module 2 Check whether the PLC c...

Page 24: ...OneFex assumes no responsibility other than those specified in the terms and conditions of sale of the product And makes no warranties express or implied for the sale and or use of this product including the product s fitness for a particular purpose merchantability or liability for infringement of any patent copyright or other intellectual property rights OneFex may change the product specificati...

Reviews: