Mastergenerator ModBus Functions
2004 Carlo Gavazzi Industri A/S. All rights reserved.
106
Modbus-RTU interface
Modbus-RTU is implemented with the function of a slave. The following Modbus functions are
supported: 01, 02, 03, 05, 06 and 16. All 128 Dupline ® Digital, Analink, Counter, and BCD channels
are placed as follows:
Modbus-RTU Functions implemented in the Master Generator
Read Functions
Function Code 01: Read Output Table Bit (Data to Receivers)
Register
Address
Register 8 bit
Dec
Hex
1280
500
A1
00=
OFF
Bit
1281
501
A2
01=
ON
Bit
Bit
1407
57F
P8
Bit
Function Code 02: Read Input Table Bit (Data from transmitters)
Register
Address
Register 8 bit
Dec
Hex
1536
600
A1
00=OFF
Bit
1537
601
A2
01=ON
Bit
Bit
1663
67F
P8
Bit
Function Code 03: Read Multiple Registers
Register
Address
Register 16 bit
Dec
Hex
Hi
Lo
0
0
B8..B1
A8..A1
Digital
1
1
D
C
Digital
.
.
.
.
.
6
6
N
M
Digital
7
7
P
O
Digital
Register
Address
Register 16 bit
Dec
Hex
Hi
Lo
16
10
B8..B1
A8..A1
Digital
17
11
D
C
Digital
.
.
.
.
.
26
16
N
M
Digital
27
17
P
O
Digital
256
100
A1
0
0..255
Analink
257
101
A2
0
0..255
Analink
258
102
A3
0
0..255
Analink
.
.
.
0
0..255
Analink
382
17E
P7
0
0..255
Analink
383
17F
P8
0
0..255
Analink
512
200
0
0..99
0..99
0..99
0..99
Counter
514
202
1
0..99
0..99
0..99
0..99
Counter
516
204
2
0..99
0..99
0..99
0..99
Counter
0..99
0..99
0..99
0..99
Counter
764
2FC
126
0..99
0..99
0..99
0..99
Counter
766
2FE
127
0..99
0..99
0..99
0..99
Counter
Reads information previously written by a Modbus command
for transmission on Dupline
Reading of only 1 register at a time is allowed.
Value : 0 or 1
Reads Dupline Output-Status.
Reading of only 1 register at a time is allowed.
Value : 0 or 1
Reads Dupline Output status.
Reading of 1 to 8 registers possible.
If an attempt is made to read from a start-address and the number of registers
exceeds the allowed register range, no answer will be made, as this is
interpreted as an illegal function
AnaLink values are readable. Irrespective of the configuration of the channels.
If a value is read as FFFFh, the Sensor is not present.
Reading of 1 to 32 registers possible
Counter value only valid if Counters are selected.
Value read in BCD
Reading of 1 to 32 registers allowed.
Reads Dupline Input status .
Reading of 1 to 8 registers possible.
If an attempt is made to read from a start-address and the number of registers
exceeds the allowed register range, no answer will be made, as this is
interpreted as an illegal function