Enron Modbus Write Numeric Variable (FC06)
Function Code 06
Request
This command is writing the contents of analog output holding register # 7001
to the slave device with address 17.
11 06 1B59 44FA0000 CDEC
11: The SlaveID
(11 hex = address 17 )
06: The Function Code (Preset Single Register)
1B59: The Data Address
of the register. (1B59 hex
= 7001)
44FA0000: The value to write
CDEC
: The CRC (cyclic redundancy check) for error checking.
Response
The normal response is an echo of the query, returned after the register contents have been written.
11 06 1B59 44FA0000 CDEC
11: The SlaveID
(11 hex = address 17 )
06: The Function Code (Preset Single Register)
1B59: The Data Address
of the register. (1B59 hex
= 7001)
44FA0000: The value written
CDEC
: The CRC (cyclic redundancy check) for error checking.