Example 2:
Writing a value of 255 to the first Modbus register. The controller will treat
the register as a Modbus input channel. You can set the response of
the controller to a change of value in the channel in the tab “
Input Modbus
→
”
(in the PxDesigner application).
00 00 00 00 00 06 00 06 00 00 00 FF
PDU explained:
06 – Modbus function code: 06, meaning “
Write Single Register
”
00 00 – register address 0x0000 = 0 (registers are addressed from 0)
00 FF – channel value (range 0 – 255)
The controller will respond with the same message.
44