Preset single register (function code 06) – ProSoft Technology 5201-MNET-ASCII User Manual
Page 61
MNET ♦ ProLinx Gateway
Modbus Protocol Specification
Modbus TCP/IP Interface Module
Driver Manual
ProSoft Technology, Inc.
Page 61 of 78
September 1, 2010
4.6
Preset Single Register (Function Code 06)
Query
Function (06) allows the user to modify the contents of a holding register. Any
holding register that exists within the controller can have its contents changed by
this message. However, because the controller is actively scanning, it also can
alter the content of any holding register at any time. The values are provided in
binary up to the maximum capacity of the controller unused high order bits must
be set to zero. When used with Server address zero (Broadcast mode) all Server
controllers will load the specified register with the contents specified.
Note Functions 5, 6, 15, and 16 are the only messages that will be recognized as valid for
broadcast.
Adr
Func Data Start Reg
Hi
Data Start Reg
Lo
Data #of Regs Hi Data #of Regs Lo Error Check Field
11
06
00
01
00
03
CRC
Response
The response to a preset single register request is to re-transmit the query
message after the register has been altered.
Adr
Func Data Reg Hi Data Reg Lo Data Input Reg Hi
Data Input Reg Lo Error Check Field
11
06
00
01
00
03
CRC
- 5201-MNET-DFCM 5208-MNET-HART 5303-MBP-MNET 5204SE-MNET-PDPMV1 5202-MNET-ADM4 5201-MNET-BACNET 5210-MNET-RIO 5228-MNET-HART 5207-MNET-HART 5205-MNET-PDPS 5204-MNET-PDPMV1 5201-MNET-DH485 5201-MNET-104S 5201-MNET-EGD 5201-MNET-DFNT 5201-MNET-DNPSNET 5201-MNET-103M 5201-MNET-101S 5201-MNET-DNPS 5201-MNET-DNPM 5202-MNET-DFCM4 5202-MNET-ASCII4