Page 68 of 126
Proton Products SL mini and SLR mini Series Speed and Length Gauges Instruction Manual - issue 1s
Read data from a block of consecutive input parameters
Use Modbus function “0γ” (Read Holding Registers) to read from a block of consecutive input
parameters.
Slave Modbus address
(Gauge Modbus address)
Slave Modbus address
(Gauge Modbus address)
Starting address
(Starting input parameter
address)
Byte count
N = (2 × Number of points)
Data word 0
(corresponds to input DW8)
Number of points
(Input parameter word count)
Data word 1
(corresponds to input DW9)
Data word 2
(corresponds to input DW10)
Data word [(N/2) – 1] = 3
(corresponds to input DW11)
The response contains the input parameter values requested in the query; its length is dependent on
the number of input parameters requested.
Write data to a single input parameter
Use Modbus function “06” (Preset Single Register) to read from a block of consecutive input
parameters.
Slave Modbus address
(Gauge Modbus address)
Slave Modbus address
(Gauge Modbus address)
Register address
(Input parameter address)
Register address
(Input parameter address)
Preset data
(Input parameter value)
Preset data
(Input parameter value)
The response is an echo of the query.