N4D8B08 8-Channel RS485 IO Input and Output Controller Commamd
N4D8B08 8-Channel RS485 IO Input and Output Controller Commamd
Note :
1 MODBUS command must be HEX
2 Slave ID (device address) must be consistent with the DIP switches (A0-A5)
Function code
RS485 address Function (1) Register Read CRC16 (2)
(Station address) address number (2)
(1) (2)
03 Read
06 Write
16(0x10)
Write multiple registers
Return command:
Command is active, return to send commands; instruction is invalid no return.
MODBUS commands you can use "Modbus Poll" input, as shown below
(CRC check generated automatically)
You can also use HyperTerminal serial input, as shown below
(Manually add CRC check)
Open all:01 06 00 00 07 00 8B FA
Close all:01 06 00 00 08 00 8E 0A
Read state (assuming that the channel 1 is open, the channel 2 is close).
Read channel 1 state :01 03 00 01 00 01 D5 CA
Return open:01 03 02 00 01 79 84
Returns data
RS485 address Function Register Register value CRC16
(Station (1) address (2) (2)
address) (2)
(1)
Returns data
RS485 address Functio Number of bytes (1) data (n) CRC16
(Station n (1) (2)
address)
(1)
Returns data
RS485 address Function Register Register value CRC16
(Station (1) address (2) (2)
address) (2)
(1)