Preset single register (Function 6)
The function Preset singles register can be used to access the output or flag process image (only for controllers) and the Modbus TCP interface.
Function 6 writes the first output word. The outputs start at an offset of 0x0800. Here again the offset always describes a word. This means offset 0x0803 refers to the fourth word in the output process image.
Query
Byte Name |
Sample |
---|---|
Function code |
6 |
Start address high |
8 |
Start address low |
0 |
Data high |
63 |
Data low |
255 |
The Fieldbus Coupler replies with the same telegram and confirmation of the received value.
Response
Byte Name |
Sample |
---|---|
Function code |
6 |
Start address high |
8 |
Start address low |
0 |
Data high |
63 |
Data low |
255 |