Modbus Protocol; Modbus Commands Supported; Modbus Exception Responses; Operating Mode - ABB SM3000 User Manual

Multipoint videographic recorder
Hide thumbs Also See for SM3000:
Table of Contents

Advertisement

4 MODBUS PROTOCOL

4.1 Modbus Commands Supported

The following Modbus commands are supported:
01 Read Coil Status – reads the on/off status of up to 120
consecutive digital states, starting at a specified address.
The instrument returns zeros for points which do not contain
defined data
03 Read Holding Registers – reads up to 120 consecutive
anolog values, starting from a specified address. The
instrument returns zeros for registers which do not contain
defined data.
05 Force Single Coil – sets the value of a single coil (digital
signal) at the specified address. The data value must be
FF00
to set the signal ON and zero to turn it OFF. The
Hex
instrument returns an exception response if the register is
not currently writeable.
06 Preset Single Register – sets the value of a single register
(analog value) at the specified address. The instrument
returns an exception response if the register is not currently
writeable. Limits defined in configuration are applied to the
value before storage.
08 Loopback Diagnostic Test – used to test the integrity of
Modbus transmissions. The instrument returns the message
recieved.
15 Force Multiple Coils – the instrument carries out updates
that are valid and returns an exception response if any of the
coils are not currently writeable.
16 Preset Multiple Registers – the instrument carries out
updates that are valid and generates an exception response
if any of the registers are not currently writeable.
Information.
• Negative numbers are represented in '2's complement'
format, e.g 1000 = 03E8 (Hex), –1000 = FC18 (Hex)
• The instrument cannot accept a new message until the
current message has been processed and a reply sent to
the master (maximum response time 50ms).
• The instrument monitors the elapsed time between
receipt of characters from the host. If the elapsed time
between two characters is 3.5 character times, the slave
assumes the second character received is the start of a
new message.

4.2 Modbus Exception Responses

If the instrument detects one of the errors listed in Table 4.1 while
receiving a message from the host system, it replies with a
response message consisting of the instrument's Modbus
address, the function code, the error code and error check
fields.
C
o
d
e
N
a
m
e
0
1
I
e l l
g
a
F l
u
n
c
o i t
n
I
e l l
g
l a
D
a
a t
0
2
A
d
d
e r
s s
0
3
I
e l l
g
l a
D
a
a t
V
a
u l
e
N
e
g
i t a
e v
0
7
A
c
n k
o
w
e l
d
g
m
e
t n
M
e
m
o
y r
P
r a
y t i
0
8
E
r r
r o
Table 4.1 Modbus Exception Responses

5 OPERATING MODE

5.1 Operating Mode Modbus Coils

Tables 5.1 to 5.11 detail the contents of each Modbus coil. Each
coil is assigned a register that can have one of two values: 0000
and 0001.
M
o
d
b
u
s
C
o
l i
A
n
a
o l
g
R
a e
d
O
n
. y l
n I
p
t u
0
=
n I
p
t u
O
, K
1
=
n I
p
t u
a f
e l i
d
A
1
0
0
0
1
A
2
0
0
0
2
A
3
0
0
0
3
A
4
0
0
0
4
A
5
0
0
0
5
A
6
0
0
0
6
B
1
0
0
0
7
B
2
0
0
0
8
B
3
0
0
0
9
B
4
0
0
1
0
B
5
0
0
1
1
B
6
0
0
1
2
C
1
0
0
1
3
C
2
0
0
1
4
C
3
0
0
1
5
C
4
0
0
1
6
C
5
0
0
1
7
C
6
0
0
1
8
Table 5.1 Analog Input Fail States
D
f e
n i
t i
o i
n
T
h
e
m
s e
a s
g
e
u f
n
c
o i t
n
r
c e
i e
e v
d
a
n
a
o l l
w
a
b
e l
c a
o i t
n
T
h
e
a
d
d
e r
s s
e r
e f
e r
n
e c
n i
h t
e
d
s i
n
t o
a
n
a
o l l
w
a
b
e l
a
d
d
e r
s s
T
h
e
a v
u l
e
e r
e f
e r
n
e c
d
n i
h t
e
d
a
n
t o
a
o l l
w
a
b
e l
n i
h t
e
a
d
r d
s e
e s
d
R
c e
i e
e v
d
m
s e
a s
g
e
e
r r
r o
P
r a
y t i
c
h
e
k c
n i
d
c i
t a
s e
a
n
e
r r
r o
r o
m
o
e r
f o
h t
e
c
h
r a
c a
e t
s r
r
c e
i e
M
o
d
b
u
s
A
n
a
o l
g
R
a e
d
O
n I
p
t u
0
=
n I
p
t u
1
=
n I
p
t u
D
1
0
0
1
9
D
2
0
0
2
0
D
3
0
0
2
1
D
4
0
0
2
2
D
5
0
0
2
3
D
6
0
0
2
4
E
1
0
0
2
5
E
2
0
0
2
6
E
3
0
0
2
7
E
4
0
0
2
8
E
5
0
0
2
9
E
6
0
0
3
0
F
1
0
0
3
1
F
2
0
0
3
2
F
3
0
0
3
3
F
4
0
0
3
4
F
5
0
0
3
5
F
6
0
0
3
6
s i
n
t o
a
a t
e i f
d l
a t
e i f
d l
s i
s
a l
e v
n i
o
n
e
e v
d
C
o
l i
n
. y l
O
, K
a f
e l i
d
5

Advertisement

Table of Contents
loading

Table of Contents