Function 06 – Preset Single Register
Presets the state of a single register to a specific value. A typical function 06
command and response follow.
Command Usage
Address
Function
Addr HI
Addr LO
Data HI
Data LO
Response Message
Address
Function
Addr HI
Addr LO
Data HI
Data LO
Error Check
Function 0F – Force Multiple Coils
Forces the state of multiple coils (digital outputs) in a digital output module. A typical function 0F
command and response follow.
Command Usage
Address
Function
Starting Addr HI
Starting Addr LO
Qty Coils HI
Qty Coils LO
Byte Count
Force Data HI
Force Data LO
Response Message
Address
Function
Starting Addr HI
Starting Addr LO
Qty Coils HI
Qty Coils LO
Error Check
One Byte Slave Address
One Byte Function Number
Starting Register Address HI Byte
Starting Register Address LO Byte
Force Data HI
Force Data LO
One Byte Slave Address
One Byte Function Number
Register Address HI Byte
Register Address LO Byte
Preset Data value HI
Preset Data value LO
Two Byte CRC
One Byte Slave Address
One Byte Function Number
Starting Address HI Byte
Starting Address LO Byte
Number of Coils to Write HI
Number of Coils to Write LO
Number of Data Bytes Transmitted
Force Data HI
Force Data LO
One Byte Slave Address
One Byte Function Number
Starting Address HI Byte
Starting Address LO Byte
Qty Coils HI
Qty Coils LO
Two Byte CRC
Same value as in command above.
Same value as in command above.
Same value as in command above.
Same value as in command above.
Same value as in command above.
Same value as in command above.
Same value as in command above.
Same value as in command above.
16