WebRelay-10 Users Manual
Response
WebRelay-10 Response Frame Example – Write Coils 7-9 ON
Field Name
Transaction Identifier
Protocol Identifier
Message Length
Unit Identifier
Function Code
Data
Rx String: 00 01 00 00 00 06 FF 10 00 16 00 04
Errors
Pulse Function code Error (1 Byte):
Exception codes (1 Byte):
Error Response Frame Example
Field Name
Transaction Identifier
Protocol Identifier
Message Length
Unit Identifier
Function Code
Data
Rx String: 00 01 00 00 00 03 FF 90 02
Xytronix Research & Design, Inc.
Length
Function
2 bytes
Synchronization number.
2 bytes
Zero for Modbus/TCP
2 bytes
Number of bytes in frame (below)
1 byte
Slave Address (0xff if not used)
1 byte
Write Multiple Coils
Start address (0x0000 – 0x0009)
Relay count (0x0001 – 0x000A)
0x90
0x01 – Feature not supported.
0x02 – Address quantity not an even number.
Incorrect combination of start address and relay count.
Length
Function
2 bytes
Synchronization between messages of
server and client.
2 bytes
Zero for Modbus/TCP
2 bytes
Number of bytes in frame (below)
1 byte
Slave Address (0xff if not used)
1 byte
Error code
1 byte
Exception code (0x01 - 0x02)
Operation
Example Data
0x0001
0x0000
0x0004
0xFF
0x0F
0x0006
0x0003
Example Data
0x0001
0x0000
0x0003
0xFF
0x90
0x02
page 77
Need help?
Do you have a question about the WebRelay-10 X-WR-10R12-I and is the answer not in the manual?
Questions and answers