8.2.2 Read Holding Register Response
The addressed slave responds with its address and function code, followed by the information field. The information field contains
1 byte describing the quantity of data bytes to be returned. The contents of each register requested (DATA) is two bytes, the first
byte includes the high order bits and the second the low order bits.
Example – the response to the read holding register query shows the following:
Measured conductivity
Conductivity set point 1
Conductivity set point 2
Measured temperature
A
d
d
e r
s
s
F
u
n
t c
o i
n
B
y
e t
0
1
0
3
0
8.3 Force Single Coil – Function Code 05
8.3.1 Force Single Coil Query
This message forces a single coil either ON or OFF. The data value 65,280 (FF00 HEX) sets the coil ON and the value zero turns
it OFF. All other values are illegal and do not affect the coil.
Note. To write to a coil the coil offset address must be used, e.g. to write to coil 50, the coil address 49(31H) is
transmitted.
The use of slave address zero (broadcast mode) forces all attached slaves to modify the desired coil.
Example – a force single coil request to switch ON coil address 50 (NV Memory Save) in slave 01 is shown below.
A
d
d
e r
s
s
F
u
n
t c
o i
n
0
1
0
5
8.3.2 Force Single Coil Response
The response is confirmation of the query after the coil state has been altered.
Example:
A
d
d
e r
s
s
F
u
n
t c
o i
n
0
1
0
5
–
60.0µS/cm (Range: 0 to 100µS/cm)
–
80.0µS/cm
–
20.0µS/cm
–
49°C (Range: –10 to 110°C)
H
o
d l
n i
g
R
e
i g
t s
r e
1
1
C
o
u
t n
H
g i
h
L
o
w
H
8
0
9
9
9
C
o
l i
O
f
s f
t e
C
o
l i
O
f
s f
H
g i
h
L
o
w
0
0
3
1
C
o
l i
O
f
s f
t e
C
o
l i
O
f
s f
H
g i
h
L
o
w
0
0
3
1
H
o
d l
n i
g
H
o
d l
n i
g
R
e
i g
t s
r e
1
2
R
e
i g
t s
r e
1
g i
h
L
o
w
H
g i
h
L
o
0
C
C
C
0
3
3
t e
D
a
a t
V
a
u l
e
D
a
a t
H
g i
h
L
F
F
t e
D
a
a t
V
a
u l
e
D
a
a t
H
g i
h
L
F
F
8 MODBUS FUNCTIONS...
H
o
d l
n i
g
E
r r
3
R
e
i g
t s
r e
1
4
w
H
g i
h
L
o
w
3
0
7
E
1
0
V
a
u l
e
E
r r
r o
C
h
e
c
k
F
o
w
0
0
D
D
V
a
u l
e
E
r r
r o
C
h
e
c
k
F
o
w
0
0
D
D
r o
C
h
e
c
k
F
e i
d l
(
C
R
C
1 -
) 6
C
F
9
e i
d l
(
C
R
C
1 -
) 6
F
5
e i
d l
(
C
R
C
1 -
) 6
F
5
9