Modbus Protocol; Introduction To Modbus Protocol (Rtu Only); Modbus Function Codes - ABB 4620 User Manual

4600 series ph/redox (orp) analyzers
Table of Contents

Advertisement

7 MODBUS PROTOCOL

7.1 Introduction to Modbus Protocol (RTU only)

Modbus communication is based on a master and a slave arrangement. The master sends a message to one slave at a time and
waits for a reply.
The slave cannot accept a new message until the existing message is processed and a reply sent to the master (maximum
response time 250 milliseconds). The slave monitors the elapsed time between receipt of characters. If the elapsed time without
1
a new character is 3
/
character times, the slave assumes the next character received is the start of a new message.
2
To allow the master to differentiate between more than one slave in a system, each slave is given a unique identity address
(between 1 and 99).
A broadcast address (address zero) can be used to access all slave devices with one command. This is limited to write
messages only and there is no slave acknowledgment.
Note. Modbus RTU requires 1 start bit, 8 data bits, 1 parity bit (optional) and 1 or 2 stop bits. The 4600 uses only
1 stop bit.
7.2 Modbus Function Codes – Table 7.1
The function code field instructs the addressed slaves which function to perform.
M
o
d
b
u
s
M
o
d
b
u
F
u
n
t c
o i
n
C
o
d
e
0
1
R
e
a
d
C
l i o
0
3
R
e
a
d
H
o
0
5
F
o
c r
e
S
n i
0
6
P
e r
s
t e
S
n i
0
8
L
o
o
p
b
a
k c
1
6
P
e r
s
t e
M
*
N
A
K
=
N
e
g
a
v i t
e
A
k c
n
o
w
e l
d
s
M
e
s
s
a
g
e
N
a
m
e
S
a t
u t
s
R
e
a
d
u
e r
u t
n r
s
p
i o
t n
n
d l
n i
g
R
e
g
t s i
r e
U
p
o t
8
f
o r
m
e r
n
u
m
b
e
g
e l
C
l i o
W
i r
e t
o
w
i r
e t
a
l b
g
e l
R
e
g
t s i
r e
W
i r
e t
o
c
o
d
e
a
D
a i
g
n
o
s
c i t
T
e
t s
E
c
h
o
h t
u
t l
p i
e l
R
e
g
s i
e t
s r
W
i r
e t
u
a
n
y
f o
v
i l a
, d
a
g
e
m
e
t n
Table 7.1 Modbus Function Codes
4
6
0
0
p
o t
1
6
c
o
n
s
e
c
u
v i t
e
i d
c s
e r
e t
b (
z
e
o r
s
f
r o
p
o
n i
s t
w
h
c i
h
d
o
n
t o
u
m
b
e
s r
g
e r
t a
r e
h t
t a
1
0
. 0
c
o
n
s
e
c
u
v i t
e
e r
g
s i
e t
s r
f
o r
m
a
g
s i
e t
s r
w
h
c i
h
d
o
n
t o
c
o
n
a t
n i
d
s r
g
e r
t a
r e
h t
a
n
1
0
. 0
n
e
i d
c s
e r
e t
b (
o
o
e l
a
) n
p
o
n i
. t
T
. e
n
e
e r
g
s i
e t
. r
T
h
e
4
6
0
0
N
A
K
s
f i
s l
o
a
p
p
e i l
s
a
n
y
e
x
t s i
n i
g
i l
m
s t i
o t
e
m
e
s s
a
g
, e
o
n
y l
R '
e
u t
n r
f o
Q
p
o t
8
c
o
n
s
e
c
u
v i t
e
e r
g
s i
e t
s r
f
o r
h t
e
e r
g
s i
e t
s r
a
e r
n
t o
c
r u
e r
n
y l t
p
p
y l
n i
g
a
n
y
c
r u
e r
n
y l t
a
p
p
c i l
a
b
M
o
d
b
u
s
D
f e
n i
t i
o i
n
o
o
e l
a
) n
p
o
n i
s t
f
o r
m
a
s
p
e
i c
c i f
c
o
n
a t
n i
d
f e
n i
e
d
d
a
a t
a
n
d
N
A
K
s
p
e
i c
c i f
s
a t
t r
n i
g
e r
g
s i
e t
. r
T
h
e
f e
n i
e
d
d
a
a t
a
n
d
N
A
K
s
a
n
y
e r
q
h
e
4
6
0
0
N
A
K
s
h t
s i
f i
h t
e
p
i o
t n
h t
e
e r
g
t s i
r e
s i
n
t o
c
r u
e r
n
y l t
w
h t
e
e r
g
t s i
r e
b
e
o f
e r
s
o t
a r
g
e
n i
u
e
' y r
s i
s
u
p
p
r o
e t
. d
m
a
s
p
e
f i c
e i
d
s
a t
t r
n i
g
e r
g
s i
e t
w
i r
e t
a
l b
, e
b
t u
s
l i t
c l
a
r r
e i
s
o
t u
l l a
e l
i l
m
s t i
o t
h t
e
v
a
u l
e
b
e
o f
e r
s
o t
p
o
n i
. t
T
h
e
4
6
0
0
* s
a
n
y
e r
q
u
e
s
f t
r o
4
6
0
0
e r
u t
n r
s
z
e
o r
s
u
e
s
f t
r o
e r
g
t s i
r e
s i
n
t o
c
r u
e r
n
y l t
i r
e t
a
l b
. e
T
h
s i
u f
n
t c
o i
n
h t
e
d
a
a t
b
a
s
. e
. r
T
h
e
4
6
0
0
N
A
K
s
f i
h t
e
w
i r
e t
s
w
h
c i
h
a
e r
a r
g
e
n i
h t
e
d
a
a t
b
a
s
. e
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4625

Table of Contents