Schneider Electric VW3 A3 303 Marine Radio User Manual


 
30
8. Modbus protocol
8. 7. Get Comm Event Counter (11 = 16#0B)
Question:
Response:
8. 8. Write Multiple Registers (16 = 16#10)
Request:
Response:
Example: Write values 20 and 30 to logic address words 9001 and 9002 on slave 2 (acceleration time = 20 s and deceleration time = 30 s)
Request:
Response:
Slave no. 0B CRC16
1 byte 1 byte 2 bytes
Slave no. 0B 00 00 Value of counter CRC16
Hi Lo Lo Hi
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Slave no. 10 No. of first word Number of words Number of bytes Value of first word ------- CRC16
Hi Lo Hi Lo Hi Lo Lo Hi
1 byte 1 byte 2 bytes 2 bytes 1 byte 2 bytes 2 bytes
Slave no. 10 No. of first word Number of words CRC16
Hi Lo Hi Lo Lo Hi
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Slave no. Request
code
No. of first word Number of
words
Number of
bytes
Value of first word Value of second
word
CRC16
Hi Lo Hi Lo Hi Lo Hi Lo Lo Hi
02 10 23 29 00 02 04 00 14 00 1E 73 A4
Slave no. Response code No. of first word Number of words CRC16
Hi Lo Hi Lo Lo Hi
02 10 23 29 00 02 9B B7