advertisement
BA01473O/09/EN/01.15
71302195
Firmware
ENU000A, V02.00.xx
Additional instructions
Advanced Data Manager
ORSG45
Modbus RTU / TCP Slave
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Table of contents:
1 General information ..................................................................................................................................................... 3
1.1 Scope of delivery .................................................................................................................................................... 3
1.2 Prerequisites .......................................................................................................................................................... 3
1.3 Modbus RTU connection ....................................................................................................................................... 4
1.4 Modbus TCP connection ....................................................................................................................................... 4
1.4.1 Transfer LED ................................................................................................................................................... 4
1.4.2 Link LED .......................................................................................................................................................... 4
1.5 Functional description .......................................................................................................................................... 4
1.6 Checking the availability of the Modbus Slave function ................................................................................... 5
2 Settings in the setup ..................................................................................................................................................... 5
2.1 Modbus TCP, RS485 .............................................................................................................................................. 5
2.2 Universal channels ................................................................................................................................................ 6
2.2.1 Data transfer: Modbus Master -> device: .................................................................................................... 6
2.2.2 Data transfer: Device → Modbus Master: .................................................................................................... 6
2.3 Math channels ....................................................................................................................................................... 7
2.3.1 Data transfer: Device → Modbus Master: .................................................................................................... 7
2.4 Digital channels ..................................................................................................................................................... 7
2.4.1 Data transfer: Modbus Master → Device: .................................................................................................... 7
2.4.2 Data transfer: Device → Modbus Master: .................................................................................................... 7
2.5 General information .............................................................................................................................................. 8
2.6 Addressing ............................................................................................................................................................. 9
2.6.1 Modbus Master → device: instantaneous value of universal channels .................................................... 9
2.6.2 Modbus Master → device: digital input state ............................................................................................ 11
2.6.2.1 Writing all the states simultaneously ................................................................................................. 11
2.6.2.2 Writing states individually ................................................................................................................... 12
2.6.3 Device → Modbus Master: universal channels (instantaneous value) ................................................... 13
2.6.4 Device → Modbus Master: math channels (result) ................................................................................... 15
2.6.5 Device → Modbus Master: digital channels (state) .................................................................................. 18
2.6.5.1 Reading out all the states simultaneously ......................................................................................... 18
2.6.5.2 Reading out states individually ........................................................................................................... 19
2.6.6 Device → Modbus Master: digital channels (totalizer) ............................................................................ 20
2.6.7 Device → Modbus Master: integrated universal channels (totalizer)..................................................... 22
2.6.8 Device → Modbus Master: integrated math channels (totalizer) ........................................................... 25
2.6.9 Device → Modbus Master: reading relay states ........................................................................................ 27
2.6.10 Modbus Master → device: set relay (telealarm option) ......................................................................... 28
2.6.11 Modbus Master → device: change limit values ....................................................................................... 28
2.6.11.1 Initializing limit value changes ......................................................................................................... 29
2.6.11.2 Changing the limit values .................................................................................................................. 29
2.6.11.3 Specifying the reason for changing the limit value ........................................................................ 31
2.6.11.4 Accepting limit values ........................................................................................................................ 32
2.6.11.5 Reading out the communication status ........................................................................................... 32
2.6.11.6 Reading out limit values .................................................................................................................... 33
2.6.11.7 Tables and definitions ........................................................................................................................ 34
2.6.12 Modbus Master → device: transmit text .................................................................................................. 34
2.6.13 Modbus Master → device: batch data (batch option)............................................................................. 35
2.6.13.1 Start batch ........................................................................................................................................... 35
2.6.13.2 Ending the batch ................................................................................................................................. 36
2.6.13.3 Configuring the batch designation ................................................................................................... 37
2.6.13.4 Configuring the batch name .............................................................................................................. 38
2.6.13.5 Configuring the batch number .......................................................................................................... 39
2.6.13.6 Setting the preset counter ................................................................................................................. 40
2.6.13.7 Reading out the batch status ............................................................................................................. 41
2.6.14 Structure of the process values ................................................................................................................. 42
2.6.14.1 32-bit floating point number (IEEE-754) ........................................................................................ 42
2.6.14.2 64-bit floating point number (IEEE-754) ........................................................................................ 42
2.6.14.3 Limit value violations ......................................................................................................................... 43
2
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.14.4 Status of the floating point number ................................................................................................. 44
3 Overview of registers .................................................................................................................................................. 45
4 Troubleshooting .......................................................................................................................................................... 51
4.1 Troubleshooting for Modbus TCP ...................................................................................................................... 51
4.2 Troubleshooting for Modbus RTU ..................................................................................................................... 51
5 List of abbreviations/glossary of terms .................................................................................................................... 51
6 Index ............................................................................................................................................................................. 51
1 General information
Notice signs:
NOTICE Notice
Failure to observe the notice can result in a device defect or a malfunction!
Tip
Indicates additional information.
1.1
Scope of delivery
This manual provides an additional description for a special software option.
This additional manual does not replace the relevant Operating Instructions!
1.2
Prerequisites
The "Modbus Slave" option must be enabled in the device. To retrofit optional functions, please follow the information in the Operating Instructions.
It is possible to combine the Modbus Slave RTU and the telealarm software option. However the device's
RS485/232 interface is occupied by the Modbus Slave cable. This means that the Internet/e-mail functionalities of the telealarm software can be used, but it is not possible to use the modem connection via RS232.
Modbus RTU is possible via the combined RS223/RS485 interface (back of device), but only the RS485 interface is supported. Modbus TCP is possible via the integrated Ethernet interface (back of device).
3
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
1.3
Modbus RTU connection
NOTICE The terminal assignment does not correspond to the standard (Modbus over serial line specification and implementation guide V1.02).
Pin
Housing
1
9
Direction
-
-
Input
Signal
Functional ground
GND
RxD/TxD(+)
8 Output RxD/TxD(-)
Tab. 1: Pin assignment of Modbus RTU connector
Description
Protective ground
Ground (isolated)
RS-485 B wire
RS-485 A wire
1.4
Modbus TCP connection
The Modbus TCP interface is physically identical to the Ethernet interface.
1.4.1
Transfer LED
Status LED
Off
Indicator for
No communication
Flashes green Communication
Tab. 2: Description of the function of the status LEDs for Modbus TCP
1.4.2
Link LED
Status LED
Off
Indicator for
No connection
Flashes yellow Activity
Tab. 3: Description of the function of the link LEDs for Modbus TCP
1.5
Functional description
The Modbus RTU option makes it possible to connect the device to Modbus via RS485 with the functionality of a
Modbus RTU slave.
Supported baud rates: 9600, 19200, 38400, 57600, 115200
Parity: None, Even, Odd
The Modbus TCP option makes it possible to connect the device to Modbus TCP with the functionality of a
Modbus TCP slave. The Ethernet connection supports 10/100 Mbit, full or half duplex.
The user can choose between Modbus TCP or Modbus RTU in the settings. It is not possible to select both at the same time.
4
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
1.6
Checking the availability of the Modbus Slave function
In the Main menu under "Diagnostics / Device information / Device options" or "Setup / Advanced setup /
System / Device options" it is possible to check whether the Modbus Slave option is enabled under Fieldbus .
Under Communication , it is possible to determine the hardware interface via which communication is possible:
Fig. 1: Checking the availability of the Modbus Slave function
2 Settings in the setup
2.1
Modbus TCP, RS485
The interface to be used for Modbus can be selected under "Setup / Advanced setup / Communication /
Modbus Slave" :
Fig. 2: Selecting the interface for Modbus
If Modbus RTU (RS485) is selected, the following parameters can be configured:
• Device address (1 to 247)
• Baud rate (9600, 19200, 38400, 57600, 115200)
• Parity (None, Even, Odd)
If Modbus TCP (Ethernet) is selected, the following parameter can be configured:
• Port TCP port (standard: 502)
5
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
If Modbus TCP is used, the settings for the Ethernet interface can be made under "Setup / Advanced setup /
Communication / Ethernet" :
Fig. 3: Settings for the Ethernet interface
In addition, it is possible to set a timeout period under "/Expert / Communication /Modbus Slave / Timeout" after which the channel in question is set to "Invalid".
The timeout only refers to channels that receive a value from the Modbus Master. It does not affect channels that are only read by the Modbus Master.
2.2
Universal channels
All the universal inputs (40) are enabled and can be used as Modbus inputs, even if they are not really available as plug-in cards.
2.2.1
Data transfer: Modbus Master -> device:
Under "Setup / Advanced setup / Inputs / Universal inputs / Universal input X" , the Signal parameter is set to
Modbus Slave :
Fig. 4: Setting the universal input to Modbus
With this setting, a Modbus Master can write to the universal input as described in Section 2.6.1.
2.2.2
Data transfer: Device → Modbus Master:
The Modbus Master can read universal inputs 1 to 40 as described in Section 2.6.3 .
6
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.3
Math channels
2.3.1
Data transfer: Device → Modbus Master:
Math channels are available as an option under /"Setup / Advanced setup / Application / Maths" .
The results can be read by the Modbus Master (see Sections 2.6.5 and 2.6.4).
2.4
Digital channels
All the digital inputs (20) are enabled and can be used as Modbus inputs, even if they are not really available as plug-in cards.
2.4.1
Data transfer: Modbus Master → Device:
Under "Setup / Advanced setup / Inputs / Digital inputs / Digital input X" the Function parameter is set to
Modbus Slave :
Fig. 5: Setting the digital channel to Modbus
With this setting, the Modbus Master can write to the digital channel as described in Section 2.6.2.
The digital state transmitted by the Modbus Master has the same function in the device as the state of a digital channel that is actually present.
2.4.2
Data transfer: Device → Modbus Master:
Control input or on/off event
Pulse counter or operational time
The Modbus Master can read out the totalizer or the total operational time of the digital channel so configured
Event + operation time
The Modbus Master can read out the digital state and the totalizer of the digital channel so configured (see
7
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.5
General information
Functions 03: Read Holding Register, 16: Write Multiple Registers and 06 Write Single Register are supported
The following values can be transmitted from the Modbus Master to the device :
• Analog values (instantaneous values)
• Digital states
The following values can be transmitted from the device to the Modbus Master :
•
•
Analog values (instantaneous values)
Integrated analog values (totalizer)
•
•
•
•
•
Math channels (result: state, instantaneous value, operating time, totalizer)
Integrated math channels (totalizer)
Digital states
Pulse counter (totalizer)
Operational times
Relay states •
Furthermore, additional functions can be available depending on the function.
Telealarm application:
• Control relay
Batch application:
•
General:
•
Start/stop batch, configure parameters, etc.
Send texts that are entered in the event list
8
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6
Addressing
The query/response examples refer to Modbus RTU via RS485.
The register addresses are all to the base 0.
A maximum of 123 registers can be read/written per query.
2.6.1
Modbus Master → device: instantaneous value of universal channels
Universal 17
Universal 18
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 1
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 33
Universal 34
Universal 35
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
The values of universal channels 1-40 must be written via 16 Write Multiple Registers .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
272
275
278
281
284
287
290
293
248
251
254
257
260
263
266
269
296
299
302
305
308
311
314
317
224
227
230
233
236
239
242
245
Reg. dec.
200
203
206
209
212
215
218
221
110
113
116
119
11C
11F
122
125
0F8
0FB
0FE
101
104
107
10A
10D
128
12B
12E
131
134
137
13A
13D
0E0
0E3
0E6
0E9
0EC
0EF
0F2
0F5
Reg. hex.
0C8
0CB
0CE
0D1
0D4
0D7
0DA
0DD
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
Length, byte
6
6
6
6
5320
5325
5330
5335
5340
5345
5350
5355
5280
5285
5290
5295
5300
5305
5310
5315
5360
5365
5370
5375
5380
5385
5390
5395
5240
5245
5250
5255
5260
5265
5270
5275
Reg. dec.
5200
5205
5210
5215
5220
5225
5230
5235
14C8
14CD
14D2
14D7
14DC
14E1
14E6
14EB
14A0
14A5
14AA
14AF
14B4
14B9
14BE
14C3
14F0
14F5
14FA
14FF
1504
1509
150E
1513
1478
147D
1482
1487
148C
1491
1496
149B
Reg. hex.
1450
1455
145A
145F
1464
1469
146E
1473
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
Length, byte
10
10
10
10
Tab. 4: Register addresses of the universal inputs
in the 2nd and 3rd register.
9
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Example: Writing to universal channel 6 with the value 123.456 (32 bit float), slave address 1
Byte 0
00
1
80
Floating point number status
2 3 4 5
42 F6 E9 79
Floating point number
= 123.456 (32 bit float)
Register
215
216
Value (hex)
0080
42F6
217 E979
Query : Slave address 01
Function 10
Register 00 D7
No. Registers 00 03
No. Bytes
Status
FLP
CRC
06
00 80
42 F6 E9 79
28 15
16: Write Multiple Registers
Register 215
3 Registers
123.456
Response : Slave address 01
Function
Register
10
00 D7
16: Write Multiple Registers
Register 271
No. Registers 00 03
CRC 30 30
in the 2nd to 5th register).
Example: Writing to universal channel 6 with the value 123.456 (64 bit float), slave address 1
Byte 0
00
1
80
2 3 4 5 6 7 8 9
40 5E DD 2F 1A 9F BE 77
Floating point number status
Floating point number = 123.456 (64 bit float)
Register
5225
5226
5227
5228
5229
Value (hex)
00 80
405E
DD2F
1A9F
BE77
Query : Slave address 01
Function
Register
10
14 69
No. Registers 00 05
No. Bytes 0A
Status
FLP
CRC
00 80
67 56
16: Write Multiple Registers
Register 5225
5 Registers
40 5E DD 2F 1A 9F BE 77 123.456
Response : Slave address 01
Function
Register
10
14 69
16: Write Multiple Registers
Register 5225
10
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
No. Registers 00 05
CRC D5 E6
2.6.2
Modbus Master → device: digital input state
2.6.2.1
Writing all the states simultaneously
The states of digital inputs 1-20 must be written via 16 Write Multiple Registers .
Digital 1-16 corresponds to Register 1240 Bit 0-15,
Digital 17-20 corresponds to Register 1241 Bit 0-3.
Channel Reg. dec.
Reg. hex.
Length, byte
Digital 1-16 1240 4D8 2
Digital 17-20 1241 4D9 2
Tab. 5: Register addresses of digital inputs (Modbus Master → device)
Example: Setting digital input 4 to high (all others to low), slave address 1
Byte 0 state (bit 15-8)
00000000
0
Byte 2 state (bit 15-8)
00000000
0
Byte 1 state (bit 7-0)
00001000
Bit 3 high digital 4
Byte 3 state (bit 7-0)
0000000
0
Register Value (hex)
1240
1241
0008
0000
Query : Slave address 01
Function
Register
10
04 D8
16: Write Multiple Registers
Register 1240
No. Registers 00 02 2 Registers
No. Bytes 04
Digital status 00 08 00 00 Digital 4 to high
CRC 4C 57
Response : Slave address 01
Function
Register
10
04 D8
No. Registers 00 02
CRC C0 C3
16: Write Multiple Registers
Register 1240
11
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.2.2
Writing states individually
The states of digital inputs 1-20 can be written via 16 Write Multiple Registers or 06 Write Single Register.
Channel Reg. dec.
Reg. hex.
Length, byte
Digital 1
Digital 2
Digital 3
Digital 4
1200 4B0
1201 4B1
1202 4B2
1203 4B3
2
2
2
2
Digital 5
Digital 6
Digital 7
Digital 8
Digital 19
Digital 10
Digital 11
Digital 12
1204 4B4
1205 4B5
1206 4B6
1207 4B7
1208 4B8
1209 4B9
1210 4BA
1211 4BB
2
2
2
2
2
2
2
2
Digital 13
Digital 14
Digital 15
Digital 16
Digital 17
Digital 18
Digital 19
Digital 20
1212 4BC
1213 4BD
1214 4BE
1215 4BF
1216 4C0
1217 4C1
1218 4C2
1219 4C3
2
2
2
2
2
2
2
2
Tab. 6: Register addresses of digital inputs (Modbus Master → device)
Example: Setting digital input 4 to high, slave address 1
Byte 0
00000000
Always 0
Byte1
00000001
1: Set
Register Value (hex)
1203 0001
Query : Slave address 01
Function
Register
10
04 B3
No. Registers 00 01
No. Bytes 02
Digital status 00 01
CRC 38 53
16: Write Multiple Registers
Register 1203
1 Register
Digital 4 to high
Response : Slave address 01
Function
Register
10
04 B3
No. Registers 00 01
CRC F1 1E
16: Write Multiple Registers
Register 1203
12
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.3
Device → Modbus Master: universal channels (instantaneous value)
Universal inputs 1-40 are read out via 03 Read Holding Register (4x) .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
266
269
272
275
278
281
284
287
242
245
248
251
254
257
260
263
290
293
296
299
302
305
308
311
314
317
218
221
224
227
230
233
236
239
Reg. dec.
200
203
206
209
212
215
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 33
Universal 34
Universal 1
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 17
Universal 18
Universal 35
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
10A
10D
110
113
116
119
11C
11F
0F2
0F5
0F8
0FB
0FE
101
104
107
122
125
128
12B
12E
131
134
137
13A
13D
0DA
0DD
0E0
0E3
0E6
0E9
0EC
0EF
Reg. hex.
0C8
0CB
0CE
0D1
0D4
0D7
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
Length, byte
6
6
Tab. 7: Register addresses of universal inputs (device → Modbus Master)
5310
5315
5320
5325
5330
5335
5340
5345
5270
5275
5280
5285
5290
5295
5300
5305
5350
5355
5360
5365
5370
5375
5380
5385
5390
5395
5230
5235
5240
5245
5250
5255
5260
5265
Reg. dec.
5200
5205
5210
5215
5220
5225
14BE
14C3
14C8
14CD
14D2
14D7
14DC
14E1
1496
149B
14A0
14A5
14AA
14AF
14B4
14B9
14E6
14EB
14F0
14F5
14FA
14FF
1504
1509
150E
1513
146E
1473
1478
147D
1482
1487
148C
1491
Reg. hex.
1450
1455
145A
145F
1464
1469
Alternatively at the following addresses:
• 4000-4078 (32 bit float) without a status
•
•
8000-8156 (64 bit float ) without a status
6800-6839 (status)
floating point number (32 bit float) transmitted in the 2nd and 3rd register.
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
Length, byte
10
10
13
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Example:
Response :
Reading analog 1 with the value 82.47239685 (32 bit float), slave address 1
Byte 0
00
Limit value violations
1 2 3 4 5
80 42 A4 F1 DE
Floating point number status
Floating point number
=
82.47239685
Register
200
201
Value (hex)
00 80
42A4
202 F1DE
Query : Slave address 01
Function
Register
03
00 C8
No. Registers 00 03
CRC 84 35
03: Read Holding Register
Register 200
3 Registers
Response
Example:
: Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
06
03: Read Holding Register
6 Bytes
00 80
42 A4 F1 DE 82.47239685
B0 F8
floating point number (64 bit float) transmitted in the 2nd to 5th register.
Reading universal channel 1 with the value 82.4723968506 (64 bit float), slave address 1
Byte 0 1 2 3 4 5 6 7 8 9
00
Limit value violations
80
Floating point number status
40 54 9E 3B C0 00 00 00
Floating point number = 82.4723968506 (64 bit float)
Register
5200
5201
Value (hex)
00 80
4054
5202
5203
5204
9E3B
C000
0000
Query : Slave address 01
Function 03
Register 14 50
No. Registers 00 05
CRC 80 28
03: Read Holding Register
Register 5200
5 Registers
Slave address 01
Function 03
No. Bytes
Status
FLP
CRC
0A
00 80
91 3E
03: Read Holding Register
10 Bytes
40 54 9E 3B C0 00 00 00 82.4723968506
14
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.4
Device → Modbus Master: math channels (result)
The results of math channels 1-12 are read out via 03 Read Holding Register (4x) .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
Math 1
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Reg. dec.
Reg. hex.
Length, byte
1500 5DC 6
1503 5DF
1506 5E2
6
6
1509 5E5 6
1512 5DC 6
1515 5DF
1518 5DC
6
6
1521 5DF 6
1524 5DC 6
1527 5DF
1530 5DC
6
6
Reg. dec.
6500 1964 10
6505
6510
6515
6520
6525
6530
6535
6540
6545
6550
Reg. hex.
1969
196E
1973
1978
197D
1982
1987
198C
1991
1996
Length, byte
10
10
10
10
10
10
10
10
10
10
Math 12 1533 5DF 6
Tab. 8: Register addresses of math channels (device → Modbus Master)
Alternatively at the following addresses:
6555 199B 10
•
•
4200-4222 (32 bit float) without a status
8400-8444 (64 bit float) without a status
6900-6939 (status) •
floating point number (32 bit float) transmitted in the 2nd and 3rd register.
Example: Reading math 1 (instantaneous value result), (32 bit float), slave address 1
Byte 0
00
1
80
2 3 4 5
46 40 E6 B7
Limit value violations
Floating point number status
Floating point number
=
12345.67871
Register
1500
1501
1502
Value (hex)
00 80
4640
E6B7
Query : Slave address 01
Function
Register
03
05 DC
No. Registers 00 03
CRC C4 FD
03: Read Holding Register
Register 1500
3 Registers
Response : Slave address 01
Function 03
No. Bytes
Status
FLP
CRC
06
00 80
46 40 E6 B7
3E 21
03: Read Holding Register
6 Bytes
12345.67871
15
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
floating point number (64 bit float) transmitted in the 2nd to 5th register.
Example: Reading math 1 (instantaneous value result), (64 bit float), slave address 1
Byte 0
00
Limit value violations
1
80
Floating point number status
2 3 4 5 6 7 8 9
40 C8 1C D6 E6 31 F8 A1
Floating point number = 12345.6789 (64 bit float)
Register Value (hex)
6500
6501
6502
6503
6504
0080
40C8
1CD6
E631
F8A1
Query : Slave address 01
Function
Register
03
19 64
No. Registers 00 05
CRC C3 4A
03: Read Holding Register
Register 6500
5 Registers
Response : Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
0A
A7 FD
03: Read Holding Register
10 Bytes
00 80
40 C8 1C D6 E6 31 F8 A1 12345.6789
16
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Example: Reading math 1-12 (state result), slave address 1
The states of math channels 1-12 are read out via 03 Read Holding Register (4x) .
Math 1-12 corresponds to Register 1800 Bit 0-11.
Channel Reg. dec.
Reg. hex.
Length, byte
Math 1-12 1800 708 2
Tab. 9: Register address of states of math channels (device → Modbus Master)
Byte 0 state (bit 11-8)
00000000
Byte 1 state (bit 7-0)
00000011
Bit 0 and 1 high
Math 1 and 2
Register Value (hex)
1800 0003
Query : Slave address 01
Function 03
Register 07 08
No. Registers 00 01
CRC 04 BC
3: Read Holding Register
Register 1800
1 Register
Response : Slave address 01
Function
Number
States
03
02
00 03
CRC F8 45
16: Write Multiple Registers
2 Bytes
Math 1 and 2 state high
17
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.5
Device → Modbus Master: digital channels (state)
2.6.5.1
Reading out all the states simultaneously
The states of digital inputs 1-20 are read out via 03 Read Holding Register (4x) .
Digital 1-16 corresponds to Register 1240 Bit 0-15, digital 17-20 corresponds to Register 1241 Bit 0-3.
Channel Reg. dec.
Reg. hex.
Length, byte
Digital 1-16 1240 4D8 2
Digital 17-20 1241 4D9 2
Tab. 10: Register addresses of all digital inputs (device → Modbus Master)
Example: Reading the states of digital inputs 1-20, slave address 1
Byte 0 state (bit 15-8)
00000000
Byte 2 state (bit 15-8)
00000000
0
Byte 1 state (bit 7-0)
00001000
Bit 3 high digital 4
Byte 3 state (bit 7-0)
0000000
0
Register
1240
1241
Value (hex)
0008
0000
Query : Slave address 01
Function
Register
03
04 D8
No. Registers 00 02
CRC 45 00
3: Read Holding Register
Register 1240
2 Registers
Response : Slave address 01
Function
Number
States
CRC
03
04
00 08
7B F1
16: Write Multiple Registers
4 Bytes
Digital 4
18
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.5.2
Reading out states individually
The states of digital inputs 1-20 are read out via 03 Read Holding Register (4x) .
Channel Reg. dec.
Reg. hex.
Length, byte
Digital 1
Digital 2
Digital 3
Digital 4
1200 4B0
1201 4B1
1202 4B2
1203 4B3
2
2
2
2
Digital 5
Digital 6
Digital 7
Digital 8
Digital 19
Digital 10
Digital 11
Digital 12
1204 4B4
1205 4B5
1206 4B6
1207 4B7
1208 4B8
1209 4B9
1210 4BA
1211 4BB
2
2
2
2
2
2
2
2
Digital 13
Digital 14
Digital 15
Digital 16
Digital 17
Digital 18
Digital 19
Digital 20
Tab. 11: Register addresses of digital inputs (device → Modbus Master)
Example: Reading digital input 6, slave address 1
Byte 0
00000000
Always 0
1212 4BC
1213 4BD
1214 4BE
1215 4BF
1216 4C0
1217 4C1
1218 4C2
1219 4C3
2
2
2
2
2
2
2
2
Byte1
00000001
1: Set
Digital 6
Register
1205
Value (hex)
0001
Query : Slave address 01
Function
Register
03
04 B5
No. Registers 00 01
CRC 94DC
Response :
3: Read Holding Register
Register 1205
1 Register
Slave address 01
Function
Number
03
02
Digital status 00 01
CRC 79 84
3: Read Holding Register
2 Bytes
Digital 6 to high
19
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.6
Device → Modbus Master: digital channels (totalizer)
The totalizers of digital inputs 1-20 are read out via 03 Read Holding Register (4x) .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
Digital 1
Reg. dec.
Reg. hex.
Length, byte
1300 514 6
Reg. dec.
Reg. hex.
Length, byte
6300 189C 10
Digital 2
Digital 3
Digital 4
Digital 5
1303 517
1306 51A
1309 51D
1312 520
6
6
6
6
6305
6310
6315
6320
18A1
18A6
18AB
18B0
10
10
10
10
Digital 6
Digital 7
Digital 8
Digital 9
Digital 10
Digital 11
Digital 12
Digital 13
1315 523
1318 526
1321 529
1324 52C
1327 52F
1330 532
1333 535
1336 538
6
6
6
6
6
6
6
6
6325
6330
6335
6340
6345
6350
6355
6360
18B5
18BA
18BF
18C4
18C9
18CE
18D3
18D8
10
10
10
10
10
10
10
10
Digital 14
Digital 15
Digital 16
Digital 17
1339 53B 6
1342 53E 6
1345 541 6
1348 544 6
6365 18DD 10
6370 18E2 10
6375 18E7 10
6380 18EC 10
Digital 18
Digital 19
1351 547 6
1354 54A 6
6385 18F1 10
6390 18F6 10
Digital 20 1357 54D 6
Tab. 12: Register addresses of digital input totalizers (device → Modbus Master)
6395 18FB 10
0) of the floating point number (32 bit float) transmitted in the 2nd and 3rd register.
Example: Reading totalizer of digital input 6 (32 bit float), slave address 1
Byte 0 1 2 3 4 5
00
Limit value violations
80
Floating point number status
40 C9 99 9A
Floating point number
=
65552.0
Register
1315
1316
1317
Value (hex)
00 80
40C9
999A
Query : Slave address 01
Function
Register
03
05 23
No. Registers 00 03
CRC F4 CD
Response :
3: Read Holding Register
Register 1315
3 Registers
Slave address 01
Function
Number
03
06
3: Read Holding Register
6 Bytes
Digital status 00 80 40 C9 99 9A 6.3
CRC 0F 6E
20
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
0) of the floating point number (64 bit float) transmitted in the 2nd to 5th register.
Example: Reading totalizer of digital input 6 (64 bit float), slave address 1
Byte 0
00
Limit value violations
1
80
Floating point number status
2 3 4 5 6 7 8 9
40 19 33 33 39 80 00 00
Floating point number = 6.3 (64 bit float)
Register Value (hex)
6325
6326
6327
6328
6329
00 80
4019
3333
3980
0000
Query : Slave address 01
Function
Register
03
18 B5
No. Registers 00 05
CRC 92 8F
03: Read Holding Register
Register 6325
5 Registers
Response : Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
0A
C5 32
03: Read Holding Register
10 Bytes
00 80
40 19 33 33 39 80 00 00 6.3
21
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.7
Device → Modbus Master: integrated universal channels (totalizer)
The totalizers of universal inputs 1-40 are read out via 03 Read Holding Register (4x) .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
Universal1
Universal2
Universal3
Universal4
Universal5
Universal6
Universal7
Universal8
Universal9
Universal10
Universal11
Universal12
Universal13
Universal14
Universal15
Universal16
Universal17
Universal18
Universal19
Universal20
Universal21
Universal22
Universal23
Universal24
Universal25
Universal26
Universal27
Universal28
Universal29
Universal30
Universal31
Universal32
Universal33
Universal34
Universal35
Universal36
Universal37
Universal38
Universal39
Reg. dec.
Reg. hex.
800 320
809 329
812 32C
821 335
824 338
833 341
836 344
845 34D
848 350
857 359
860 35C
869 365
872 368
881 371
884 374
893 37D
896 380
905 389
908 38C
Length, byte
6
803 323 6
806 326 6
6
6
815 32F 6
818 332 6
6
6
827 33B 6
830 33E 6
6
6
839 347 6
842 34A 6
6
6
851 353 6
854 356 6
6
6
863 35F 6
866 362 6
6
6
875 36B 6
878 36E 6
6
6
887 377 6
890 37A 6
6
6
899 383 6
902 386 6
6
6
911 38F 6
914 392 6
Reg. dec.
5800 16A8 10
5805
5810
5815
5820
5825
5830
5835
5840
5845
5850
5855
5860
5865
5870
5875
5880
5885
5890
5895
5900
5905
5910
5915
5920
5925
5930
5935
5940
5945
5950
5955
5960
5965
5970
5975
5980
Reg. hex.
16AD 10
16B2
16B7
16BC
16C1
16C6
16CB
16D0
16D5
10
10
10
10
10
10
10
10
16DA 10
16DF
16E4
16E9
16EE
16F3
16F8
16FD
1702
1707
170C
1711
1716
171B
1720
1725
172A
172F
1734
1739
173E
1743
1748
174D
1752
1757
175C
Length, byte
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
5985 1761 10
5990 1766 10
Universal40 917 395 6 5995 176B 10
Tab. 13: Register addresses of universal input totalizers (device → Modbus Master)
22
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
floating point number (32 bit float) transmitted in the 2nd and 3rd register.
Example: Reading totalizer for universal channel 1 with the value 26557.48633 (32 bit float), slave address 1
Byte 0
00
1 2 3 4 5
80 46 CF 7A E6
Limit value violations
Floating point number status
Floating point number
=
26557.48633
Register
800
801
802
Value (hex)
00 80
46CF
7AE6
Query : Slave address 01
Function
Register
03
03 20
No. Registers 00 03
CRC 04 45
03: Read Holding Register
Register 800
3 Registers
Response : Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
06
03: Read Holding Register
6 Bytes
00 80
46 CF 7A E6 3192.73242
E6 FE
23
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
floating point number (64 bit float) transmitted in the 2nd to 5th register.
Example: Reading totalizer for universal channel 1 with the value 33174.3672951 (64 bit float), slave address 1
Byte 0
00
1
80
2 3 4 5 6 7 8 9
40 E0 32 CB C0 E1 99 A9
Limit value violations
Floating point number status
Floating point number = 33174.3672951 (64 bit float)
Register
5800
5801
5802
5803
5804
Value (hex)
00 80
40E0
32CB
C0E1
99A9
Query : Slave address 01
Function
Register
03
16 A8
No. Registers 00 05
CRC 00 61
03: Read Holding Register
Register 5800
5 Registers
Response : Slave address 01
Function 03
No. Bytes
Status
0A
00 80
FLP
CRC
03: Read Holding Register
10 Bytes
40 E0 32 CB C0 E1 99 A9
C7 54
33174.3672951
24
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.8
Device → Modbus Master: integrated math channels (totalizer)
The totalizers of the math channels are read out via 03 Read Holding Register (4x) .
It is possible to transmit the value as a 32 bit float or 64 bit float.
Channel
Math 1
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Reg. dec.
Reg. hex.
Length, byte
1700 6A4 6
1703 6A7 6
1706 6AA 6
1709 6AD 6
1700 6A4 6
1703 6A7 6
1706 6AA 6
1709 6AD 6
1712 6B0 6
1715 6B3
1718 6B6
6
6
Reg. dec.
6700 1A2C 10
6705
6710
6715
6720
6725
6730
6735
6740
6745
6750
Reg. hex.
1A31
1A36
1A3B
1A40
1A45
1A4A 10
1A4F
1A54
1A59
1A5E
Length, byte
10
10
10
10
10
10
10
10
10
Math 12 1721 6B9 6 6755 1A63 10
Tab. 14: Register addresses of math channel totalizer (device → Modbus Master)
in the 2nd and 3rd register.
Example: Reading totalizer of math 1 (32 bit float), slave address 1
Byte 0 1 2 3 4 5
00 80 4B 29 85 F4
Floating point number status
Floating point number
=
33174.3672951
Register
1700
1701
1702
Value (hex)
00 80
4B29
85F4
Query : Slave address 01
Function
Register
03
06 A4
No. Registers 00 03
CRC 44 A0
03: Read Holding Register
Register 1700
3 Registers
Response : Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
06
00 80
4B 29 85 F4 33174.3672951
85 90
03: Read Holding Register
6 Bytes
25
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
in the 2nd to 5th register).
Example: Reading totalizer of math 1 (64 bit float), slave address 1
Byte 0
00
1
80
Floating point number status
2 3 4 5 6 7 8 9
41 68 5F 26 35 2A FC 7E
Floating point number = 33174.3672951 (64 bit float)
Register Value (hex)
6700
6701
6702
6703
6704
0080
4168
5F26
352A
FC7E
Query : Slave address 01
Function
Register
03
1A 2C
No. Registers 00 05
CRC 43 18
03: Read Holding Register
Register 6700
5 Registers
Response : Slave address 01
Function
No. Bytes
Status
FLP
CRC
03
0A
83 06
03: Read Holding Register
10 Bytes
00 80
41 68 5F 26 35 2A FC 7E 33174.3672951
26
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.9
Device → Modbus Master: reading relay states
The states of the relays are read out via 03 Read Holding Register (4x) .
Bit 0 corresponds to relay 1.
Example: Relay 5 in active state
Query : Slave address 01
Function
Register
03
0C 50
03: Read holding register (4x)
Register 3152
1 Register
Response :
No. Registers 00 01
CRC 87 4B
Slave address 01
Function
No. Bytes
Data
CRC
03
02
00 10
B9 88
03: Read holding register (4x)
2 Bytes
Byte 0 state (bit 11-8)
00000000
Byte 1 state (bit 7-0)
00010000
Bit 4 high
Relay 5
Register Value (hex)
3152 0010
The relay state is determined from the 2 data bytes as follows:
Byte 1:
Bit 0 = Status relay 1
Bit 1 = Status relay 2
Bit 2 = Status relay 3
Bit 3 = Status relay 4
Bit 4 = Status relay 5
Bit 5 = Status relay 6
Bit 6 = Status relay 7
Bit 7 = Status relay 8
Byte 0:
Bit 0 = Status relay 9
Bit 1 = Status relay 10
Bit 2 = Status relay 11
Bit 3 = Status relay 12
1 = Active, 0 = Inactive
Example:
"0E07" results in the following relay status:
Relay 1-3 and relay 10-12 active.
27
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.10
Modbus Master → device: set relay (telealarm option)
Relays can be set if they have been set to "Remote" in the device settings. 16 Write Multiple Registers or 06
Write Single Register can be used for this purpose.
Relay status:
0:
1: inactive active
Example: Setting relay 6 to the active state
Byte 0 Byte1
RelNo Status
6 1
Register
3152
Value (hex)
0601
Query: Slave address 05
Function
Register
10
0C 50
No. Registers 00 01
No. Bytes
Data
02
06 01
CRC 96 A0
16: Write Multiple Registers
Register 3152
1 Register
2 Bytes
Response: Slave address 05
Function
Register
10
0C 50
No. Registers 00 01
CRC 03 0C
16: Write Multiple Registers
Register 3152
1 Register
2.6.11
Modbus Master → device: change limit values
16 Write Multiple Registers or 06 Write Single Register can be used to set the limit values.
Function
0x01
0x02
Description
Initialization
Accept limit values
Data
0x03
0x04
0x05
Change limit value
Read out limit value
Give reason
Limit value number;Value;Time span for gradient;Delay;Value2
Limit value settings
Reason text
2.
3.
4.
To change limit values, the following procedure must be followed:
1. Initialize limit value change
Change limit values
Give a reason for the change, where applicable
Accept limit values
28
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.11.1
Initializing limit value changes
This prepares the device for changes to the limit values.
16 Write Multiple Registers or 06 Write Single Register can be used for this purpose.
Byte 0 1
Func Limit value
1 2A
Register
3216
Value (hex)
012A
Query: Slave address 05
Function
Register
10
0C 90
No. Registers 00 01
No. Bytes
Data
02
01 2A
CRC 96 A0
16: Write Multiple Registers
Register 3216
1 Register
2 Bytes
Response: Slave address 05
Function
Register
10
0C 90
No. Registers 00 01
CRC 03 30
16: Write Multiple Registers
Register 3216
1 Register
2.6.11.2
Changing the limit values
A limit value in the device is changed, but not yet accepted, with this function.
The values are transmitted, separated by a semicolon (;).
The following structure must be observed: Func limit value [value];[span];[delay];[value2]
[] means that this value can also be omitted. In addition, only the values that are to be changed need to be transmitted.
Value ranges:
Field Value range Data type
Value / Value2
Span
Delay
Example:
Func
3
3
Limit value
1
2
No restrictions
0 to 60s
0 to 99999s
Data Meaning
Floating point
Integer
Integer
5.22;;60
5.34
Limit value 1 to 5.22, no span, delay of 60 s
Limit value 2 to 5.34
3
3
3
4
;;10
20;;;50
Limit value 3, delay to 10 seconds
Limit value 4, inband/outband lower limit value 20, upper limit value
50
If an uneven number of characters is sent, a blank space (0x20) must follow. The blank space is ignored in the device.
29
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Example: Changing limit value 1 (upper limit value for analog input) to 90.5
Byte 0 1 2 3 4 5
Func Limit value 39 30 2E 35
3 1 '9' '0' '.' '5'
Register
3216
3217
3218
Value
(hex)
0301
3930
2E35
Query : Slave address 05
Function
Register
10
0C 90
No. Registers 00 03
No. Byte 06
Data
CRC
03 01 39 30 2E 35
3D FE
16: Write Multiple Registers
Register 3216
3 Registers
6 Bytes
Response: Slave address 05
Function
Register
10
0C 90
No. Registers 00 03
CRC 82 F1
16: Write Multiple Registers
Register 3216
3 Registers
Example: Changing limit value 3 (gradient for analog input) to 5.7 within 10 seconds
Byte 0 1 2 3 4 5 6 7
Func Limit value 35 2E 37 3B 31 30
3 3 '5' '.' '7' ';' '1' '0'
Register
3216
3217
3218
3219
Value (hex)
0303
352E
373B
3130
Query : Slave address 05
Function
Register
10
0C 90
16: Write Multiple Registers
Register 3216
No. Registers 00 04
No. Byte 08
Data
CRC
4 Registers
8 Bytes
03 03 35 2E 37 3B 31 30
94 BF
Response: Slave address 05
Function 10
Register 0C 90
No. Registers 00 04
CRC C3 33
16: Write Multiple Registers
Register 3216
4 Registers
30
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.11.3
Specifying the reason for changing the limit value
Before you save the limit value change, you can enter a reason for the change, which is saved in the event list. If no reason is specified, the message "Limit values was changed" is entered in the event list.
Texts (ASCII table) can be transmitted. The maximum length of a text is 30 characters.
The texts must be written via 16 Write Multiple Registers , with 2 characters per register.
If an uneven number of characters is sent, a blank space (0x20) must follow. The blank space does not appear in the event list.
Byte 0 1
Func Limit value
5 x
Query :
Response:
Slave address 05
Function
Register
Data
Text
CRC
10
0C 90
No. Registers 00 07
No. Bytes 0E
10: Write Multiple Registers
Register 3216
7 Registers
14 Bytes
05 01 Function 5, Default 1
52 65 61 73 "Reason why!"
6F 6E 20 77
68 79 21 20
62 64
Slave address 05
Function
Register
No. Registers 00 07
CRC
10
0C 90
83 32
10: Write Multiple Registers
Register 3216
7 Registers
31
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.11.4
Accepting limit values
This function is used to accept the modified limit values in the device and save them in the device settings.
16 Write Multiple Registers or 06 Write Single Register can be used for this purpose.
Byte 0 1
Func Padding byte
2 2A
Register
3216
Value (hex)
022A
Query : Slave address 05
Function
Register
10
0C 90
No. Registers 00 01
No. Bytes 02
Data
CRC
02 2A
C5 7F
16: Write Multiple Registers
Register 3216
1 Register
2 Bytes
Response: Slave address 05
Function
Register
10
0C 90
No. Registers 00 01
CRC 03 30
16: Write Multiple Registers
Register 3216
1 Register
2.6.11.5
Reading out the communication status
The status of the last limit function performed can be read out here.
A prerequisite is that limit value read-out is not activated (see 2.6.11.2).
Example:
Query : incorrect function addressed
Slave address 05
Function
Register
03
0C 90
No. Registers 00 01
CRC 86 F3
03: Read holding register (4x)
Register 3216
1 Register
Response: Slave address 05
Function 03
No. Bytes
Data
CRC
02
00 01
88 44
03: Read holding register (4x)
2 Bytes
Register
3216
Value (hex)
0001
2:
3:
4:
5:
9:
Communication status:
0:
1:
OK
Incorrect function number or limit value number
Data missing
Limit value not active
Value outside the permitted range
Function currently not possible
Error
32
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.11.6
Reading out limit values
The number of the first desired limit value is transferred to activate the function. The limit value number is set to the next activated limit value
As a result of activating this function, value readout from Modbus address 3216 onwards no longer returns the communication status. Instead the limit value settings of the specific limits are returned in 8 registers.
Byte 0
Func
1
Limit
4 value
1
Query : Slave address 05
Function
Register
06
0C 90
Data
CRC
04 01
48 33
06: Write Single Register
Register 3216
Function 4, Limit value 1
Response:
Response:
Slave address 05
Function
Register
Data
CRC
06
0C 90
04 01
48 33
06: Write Single Register
Register 3216
Function 4, Limit value 1
After this, the desired limit value settings (8 registers) are read out from register 3216 onwards.
If the transmitted limit value number is outside the limit value limits (1-60), the following error appears in the communication status:
Query : Slave address 05
Function
Register
03
0C 90
03: Read holding register (4x)
Register 3216
No. Registers 00 08
CRC 46 F5
8 Registers
Slave address 05
Function
No. Bytes
Data
Data
03
10
03: Read Holding register (4x)
16 Bytes
00 01 Incorrect limit value number
00 00 00 00 00 00 00 00 00 00 00 00 00 00
CRC D4 69
Otherwise, the communication status query delivers the settings for a limit value (see also
2.6.11.7 Tables and definitions ):
Response: Slave address 05
Function
No. Bytes
LV,LVType
Value
03
10
03: Read Holding register (4x)
16 Bytes
01 10 Limit value 1, Limit value inband
C9 74 23 F0 lower limit value -99999
Span
Delay
00 00 Time span for gradient (not required here)
00 00 00 04 4 seconds
Value2
CRC
42 F6 E6 66 upper limit value 123.45
F5 F0
After every scan, the limit value number is set to the next activated limit value and can be read out with the next query. Following the last activated limit value, the cycle starts again with the first activated limit value.
If no limit values are activated, all data are set to 0 in the response.
To deactivate the function, 255 is transmitted as the limit value number or a function not equal to 4 is performed.
33
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.11.7
Tables and definitions
LV:
LVType:
Values between 1 and 60
0
1
2
3-6
7
8-11
12-15
Switched off
Upper limit value
Lower limit value
Analysis 1-4
Gradient dy/dt
Limit value stats analysis: frequency
Limit value stats analysis: duration
16
17
Inband
Outband
Value/value 2: limit value as floating point number (IEEE754, Big Endian)
Span: time span for gradient (1-60 s)
Delay: delay time in seconds (0-99999).
2.6.12
Modbus Master → device: transmit text
Texts (ASCII table) can be saved in the device event list. The maximum length of a text is 40 characters.
The texts must be written via 16 Write Multiple Registers , with 2 characters per register.
If an uneven number of characters is sent, a blank space (0x20) must follow. The blank space does not appear in the event list.
Channel Reg. dec.
Reg. hex.
Length, byte
Text 3024 BD0 Max. 40
Tab. 15: Register address for the transmission of a text: Modbus Master → device
Byte 0 1 2 3 4 5
41 42 43 44 45 20
'A' 'B' 'C' 'D' 'E' ‚ ’
Register
3024
3025
3026
Value (hex)
4142
4344
4520
Example:
Query :
Generating the text "ABCDE "
Slave address 05
Function
Register
10
0B D0
No. Registers 00 03
No. Bytes
Data
CRC
06
16: Write Multiple Registers
Register 3024
3 Registers
6 Bytes
41 42 43 44 45 20
D8 4E
34
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Response: Slave address 05
Function 10
Register 0B D0
No. Registers 00 03
CRC 82 51
16: Write Multiple Registers
Register 3024
3 Registers
Fig. 6: Text entered in the event list
2.6.13
Modbus Master → device: batch data (batch option)
Batches can be started and ended. The batch name, batch designation, batch number and preset counter for stopping the batch can also be set. The maximum length of the texts (ASCII) is 30 characters.
The functions and texts must be written via 16 Write Multiple Registers .
If an uneven number of characters is sent, a blank space (0x20) must follow. The blank space is ignored in the device.
Function
0x01
0x02
0x03
Description
Start batch
Stop batch
Batch designation
Data
Batch (1 to 4), ID, name
Batch (1 to 4), ID, name
Batch (1 to 4), text (max. 30 characters)
0x04
0x05
0x06
Batch name
Batch number
Preset counter
Batch (1 to 4), text (max. 30 characters)
Batch (1 to 4), text (max. 30 characters)
Batch (1 to 4), text (max. 8 characters)
2.6.13.1
Start batch
If the user administration function is enabled, an ID (max. 8 characters) and a name (max. 20 characters) must be transmitted. The ID and name must be separated by ';'. If an uneven number of characters is sent, a blank space
(0x20) must follow (see 2.6.13.2 Ending the batch).
Example: Starting batch 2 (without user administration)
Byte 0 1
Func No
1 2
Register
3088
Value (hex)
0102
Query : Slave address 05
Function
Register
10
0C 10
No. Registers 00 01
No. Bytes 02
Data
CRC
01 02
D2 51
16: Write Multiple Registers
Register 3088
1 Register
2 Bytes
Response: Slave address 05
Function
Register
10
0C 10
No. Registers 00 01
CRC 02 D8
16: Write Multiple Registers
Register 3088
1 Register
35
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
The message "Batch 2 started" is saved in the event list. This message also appears on the screen for a few seconds.
2.6.13.2
Ending the batch
If the user administration function is enabled, an ID (max. 8 characters) and a name (max. 20 characters) must be transmitted. The ID and name must be separated by a semicolon ';'. If an uneven number of characters is sent, a blank space (0x20) must follow.
Example:
Byte
Ending batch 2, user administration active (ID: "IDSPS", Name "RemoteX")
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Func No 49 44 53 50 53 3B 52 65 6D 6F 74 65 58 20
2 2 'I' 'D' 'S' 'P' 'S' ';' 'R' 'e' 'm' 'o' 't' 'e' 'X' ' '
Register
3088
3089
3090
3091
3092
3093
3094
Value (hex)
0202
4944
5350
533B
5265
6D6F
7465
3095 5820
Query : Slave address 05
Function
Register
Data
CRC
10
0C 10
No. Registers 00 08
No. Bytes 10
16: Write Multiple Registers
Register 3088
8 Registers
16 Bytes
02 02 49 44 53 59 53 3B 52 65 6D 6F 74 65 58 20
D3D6
Response: Slave address 05
Function
Register
10
0C 10
No. Registers 00 08
CRC C2 DE
16: Write Multiple Registers
Register 3088
8 Registers
The message "Batch 2 ended" and "Remote (IDSPS)" is saved in the event list. This message also appears on the screen for a few seconds.
36
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.13.3
Configuring the batch designation
Can only be configured if the batch has not been started. Does not need to be configured if this is not required by the device settings.
Example: "Identifier" batch designation for batch 2
Byte 0 1 2 3 4 5 6 7 8 9 10 11
Func No 49 64 65 6E 74 69 66 69 65 72
3 2 'I' 'd' 'e' 'n' 't' 'i' 'f' 'i' 'e' 'r'
Register
3088
3089
Value (hex)
0302
5964
3090
3091
3092
3093
656E
7469
6669
6572
Query : Slave address 05
Function
Register
10
0C 10
16: Write Multiple Registers
Register 3088
No. Registers 00 06
No. Bytes
Data
CRC
0B
6 Registers
12 Bytes
03 02 59 64 65 6E 74 69 66 69 65 72
0E 20
Response: Slave address 05
Function
Register
10
0C 10
No. Registers 00 06
CRC 43 1A
16: Write Multiple Registers
Register 3088
6 Registers
37
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.13.4
Configuring the batch name
Can only be configured if the batch has not been started. Does not need to be configured if this is not required by the device settings.
Example: "Name" batch name for batch 2
Byte 0 1 2 3 4 5
Func No 4E 61 6D 65
4 2 'N' 'a' 'm' 'e'
Register
3088
3089
3090
Value (hex)
0402
4E61
6D65
Query : Slave address 05
Function 10
Register 0C 10
No. Registers 00 03
No. Bytes
Data
CRC
06
16: Write Multiple Registers
Register 3088
3 Registers
6 Bytes
04 02 4E 61 6D 65
04 C8
Response: Slave address 05
Function 10
Register 0C 10
No. Registers 00 03
CRC 83 19
16: Write Multiple Registers
Register 3088
3 Registers
38
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.13.5
Configuring the batch number
Can only be configured if the batch has not been started. Does not need to be configured if this is not required by the device settings.
Example: "Num" batch number for batch 2
Byte 0 1 2 3 4 5
Func No 4E 75 6D 20
5 2 'N' 'u' 'm' ‚ ’
Register
3088
3089
3090
Value (hex)
0502
4E75
6D20
Query : Slave address 05
Function 10
Register 0C 10
No. Registers 00 03
No. Bytes
Data
CRC
06
16: Write Multiple Registers
Register 3088
3 Registers
6 Bytes
05 02 4E 75 6D 20
84 EE
Response: Slave address 05
Function 10
Register 0C 10
No. Registers 00 03
CRC 83 19
16: Write Multiple Registers
Register 3088
3 Registers
39
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.13.6
Setting the preset counter
Can only be set if the batch has not been started. Does not need to be set if this is not required in the device settings.
• Maximum 8 characters (including '.')
• Exponential function is permitted, e.g. "1.23E-2"
• Positive numbers only
Example: Preset counter to 12.345 for batch 2
Byte 0 1 2 3 4 5 6 7
Func No 31 32 2E 33 34 35
6 2 '1' '2' '.' '3' '4' '5'
Register
3088
3090
Value (hex)
0602
3132
3091
3092
2E33
3435
Query : Slave address 05
Function
Register
10
0C 10
16: Write Multiple Registers
Register 3088
No. Registers 00 04
No. Byte
Data
CRC
08
4 Registers
8 Bytes
06 02 31 32 2E 33 34 35
D3 B5
Response: Slave address 05
Function
Register
10
0C 10
No. Registers 00 04
CRC C2 DB
16: Write Multiple Registers
Register 3088
4 Registers
40
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.13.7
Reading out the batch status
The status of every batch and the last communication status can be read out here.
Example:
Query :
Batch 2 started, communication status "OK"
Slave address 05
Function
Register
03
0C 10
03: Read holding register (4x)
Register 3088
No. Registers 00 03
CRC 06 DA
3 Registers
Response: Slave address 05
Function
Register
No. Bytes
Data
CRC
3
0C 10
6 6 Bytes
00 00 00 01 00 00
42 75
03: Read Holding register (4x)
Register 3088
Byte 0 1
Comm. status
2
Status batch
1
3
Status batch
2
4
Status batch
3
5
Status batch
4
0 0 0 1 0 0
Register
3088
3090
3091
Value (hex)
0000
0001
0000
If, for example, a batch number is set even though the batch is already running, the value 0x0003 would appear in register 3088.
3:
4:
5:
7:
9:
Communication status:
0: OK
1:
2:
Not all the required data have been transmitted (mandatory entries)
No appropriate user is logged in
Batch already running
Batch not configured
Batch controlled by control input
Automatic batch number active
Error, text contained non-displayable characters, text too long, incorrect batch number
Function number outside the range
Batch status:
0:
1:
Batch inactive
Batch active
41
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.14
Structure of the process values
2.6.14.1
32-bit floating point number (IEEE-754)
Octet
0
1
8
Sign
(E) 2 0
2 (M) 2 -8
3 (M) 2 -16
Sign = 0: positive number
Sign = 1: negative number
7
(E) 2 7
(M) 2 -1
6
(E) 2 6
(M) 2 -2
5 4 3 2 1
(E) 2 1
(M) 2 -7
(M) 2 -15
(M) 2 -23
E = exponent 8 bit, M = mantissa 23 bit
Example:
Zahl
Zahl
1
VZ
1
1
VZ
1
M
2
E
127
i
23 b
1 23
i
2
i
2
E
127
40 F0 00 00 h = 0100 0000 1111 0000 0000 0000 0000 0000 b
Value =
=
1
1
0
2
2
2
129
127
1
0 , 5
1
2
1
0 , 25
2
2
0 , 125
2
3
= 1
Byte
4
1 , 875
0
00
Limit value violations
7 , 5
1 2 3 4 5
80 40 F0 00 00
Floating point number status
Floating point number
=
7.5
2.6.14.2
64-bit floating point number (IEEE-754)
Octet
0
1
2
8
Sign
(E) 2 3
(M) 2 -5
(M) 2 -13
(M) 2 -21
3
4
5
6
(M) 2 -29
(M) 2 -37
7 (M) 2 -45
Sign = 0: positive number
Sign = 1: negative number
7
(E) 2 10
(E) 2 2
E = exponent 11 bit, M = mantissa 52 bit
6
(E) 2 9
(E) 2 1
5
(E) 2 0
4
(M) 2 -1
3
(M) 2 -2
2
(M) 2 -3
Zahl
Zahl
1
VZ
1
1
VZ
1
M
2
E
1023
i
52
b
1 52
i
2
i
2
E
1023
1
(E) 2 4
(M) 2 -4
(M) 2 -12
(M) 2 -20
(M) 2 -28
(M) 2 -36
(M) 2 -44
(M) 2 -52
42
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
Example: 40 1E 00 00 00 00 00 00 h
= 0 100 0000 0001 1110 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 b
Value =
=
=
1
1
1
0
2
2
4
2
1025
1023
1
1 , 875
0 , 5
7 , 5
1
2
0 , 25
1
2
2
0 , 125
2
3
Byte 0
00
1
80
Floating point number status
2 3 4 5 6 7 8 9
40 1E 00 00 00 00 0 0
Floating point number =7.5
2.6.14.3
Limit value violations
Device → Modbus Master
The states of the first 8 limit values that are assigned to the channel are entered here.
Bit 0: 1st assigned limit value
…
Bit 7: 8th assigned limit value
Bit x = 1: limit value violated
= 0: limit value not violated
Example:
If universal input 1 is assigned a limit value for the instantaneous value and a limit value for analysis 1, the 2 limit value states are indicated in bit 0 and bit 1 in the measured value of universal input 1 (register 200) and integrated universal input 1 (register 800).
Byte 0
02
Limit value violations
1 2 3 4 5
80 40 F0 00 00
Floating point number status
Floating point number
=
7.5
Bit 0.0 = 0:
Bit 0.1 = 1:
1st assigned limit value not violated, here limit value for instantaneous value
2nd assigned limit value violated, here limit value for integrated value
43
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
2.6.14.4
Status of the floating point number
Device → Modbus Master
0x01 Cable open circuit
0x02 Input signal too high
0x03 Input signal too low
0x04 Invalid measured value
0x06 Error value
0x07 Sensor/input error
0x08 No value present (e.g. while measurement is initialized)
0x40 Value is uncertain (error value), no limit value violation
0x41 Value is uncertain (error value), lower limit value violation or gradient decreasing
0x42 Value is uncertain (error value), upper limit value violation or gradient increasing
0x43
Value is uncertain (error value), upper and lower limit value violation or inband/outband
0x80 Value is OK, no limit value violation
0x81 Value is OK, lower limit value violation or gradient decreasing
0x82 Value is OK, upper limit value violation or gradient increasing
0x83 Value is OK, upper and lower limit value violation or inband/outband
Modbus Master → device
0x00..0x3F: value invalid
0x40..0x7F: value uncertain
0x80..0xFF: value OK
44
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
3 Overview of registers
The register addresses are all to the base 0, i.e. they correspond to the value that is transmitted in the Modbus protocol.
Universal 32
Universal 33
Universal 34
Universal 35
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
Universal 1 totalizer
Universal 2 totalizer
Universal 3 totalizer
Universal 4 totalizer
Universal 5 totalizer
Universal 6 totalizer
Universal 7 totalizer
Universal 8 totalizer
Universal 9 totalizer
Universal 10 totalizer
Universal 11 totalizer
Universal 12 totalizer
Universal 13 totalizer
Universal 14 totalizer
Universal 15 totalizer
Universal 16 totalizer
Universal 17 totalizer
Universal 18 totalizer
Universal 19 totalizer
Universal 20 totalizer
Universal 21 totalizer
Universal 16
Universal 17
Universal 18
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Value
Universal 1
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
845
848
851
854
857
860
821
824
827
830
833
836
839
842
317
800
803
806
809
812
815
818
293
296
299
302
305
308
311
314
269
272
275
278
281
284
287
290
245
248
251
254
257
260
263
266
221
224
227
230
233
236
239
242
Register
200
203
206
209
212
215
218
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Format
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
45
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
1515
1518
1521
1524
1527
1530
1533
1700
1351
1354
1357
1500
1503
1506
1509
1512
1703
1706
1709
1712
1327
1330
1333
1336
1339
1342
1345
1348
1303
1306
1309
1312
1315
1318
1321
1324
1207
1208
1209
1210
1211
1240
1241
1300
917
1200
1201
1202
1203
1204
1205
1206
893
896
899
902
905
908
911
914
863
866
869
872
875
878
881
884
887
890
Digital 2 totalizer
Digital 3 totalizer
Digital 4 totalizer
Digital 5 totalizer
Digital 6 totalizer
Digital 7 totalizer
Digital 8 totalizer
Digital 9 totalizer
Digital 10 totalizer
Digital 11 totalizer
Digital 12 totalizer
Digital 13 totalizer
Digital 14 totalizer
Digital 15 totalizer
Digital 16 totalizer
Digital 17 totalizer
Digital 18 totalizer
Digital 19 totalizer
Digital 20 totalizer
Math 1
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Math 12
Math 1 totalizer
Math 2 totalizer
Math 3 totalizer
Math 4 totalizer
Math 5 totalizer
Universal 22 totalizer
Universal 23 totalizer
Universal 24 totalizer
Universal 25 totalizer
Universal 26 totalizer
Universal 27 totalizer
Universal 28 totalizer
Universal 29 totalizer
Universal 30 totalizer
Universal 31 totalizer
Universal 32 totalizer
Universal 33 totalizer
Universal 34 totalizer
Universal 35 totalizer
Universal 36 totalizer
Universal 37 totalizer
Universal 38 totalizer
Universal 39 totalizer
Universal 40 totalizer
Digital 1 state
Digital 2 state
Digital 3 state
Digital 4 state
Digital 5 state
Digital 6 state
Digital 7 state
Digital 8 state
Digital 9 state
Digital 10 state
Digital 11 state
Digital 12 state
Digital 1-16 states
Digital 17-20 states
Digital 1 totalizer
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
2 Byte
Status + 32 Bit Float
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
46
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
4218
4220
4222
5200
5205
5210
5215
5220
4202
4204
4206
4208
4210
4212
4214
4216
5225
5230
5235
5240
4066
4068
4070
4072
4074
4076
4078
4200
4050
4052
4054
4056
4058
4060
4062
4064
4034
4036
4038
4040
4042
4044
4046
4048
4018
4020
4022
4024
4026
4028
4030
4032
4002
4004
4006
4008
4010
4012
4014
4016
1715
1718
1721
1724
1727
1730
1733
1800
3152
4000
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Math 12
Universal 1
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 33
Universal 34
Universal 35
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
Math 1
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 17
Universal 18
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Math 6 totalizer
Math 7 totalizer
Math 8 totalizer
Math 9 totalizer
Math 10 totalizer
Math 11 totalizer
Math 12 totalizer
Math 1-4 states
Relay states
Universal 1
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
Status + 32 Bit Float
2 Byte
2 Byte
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
32 bit float
R
R
R
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
47
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
5935
5940
5945
5950
5955
5960
5965
5970
5895
5900
5905
5910
5915
5920
5925
5930
5975
5980
5985
5990
5855
5860
5865
5870
5875
5880
5885
5890
5815
5820
5825
5830
5835
5840
5845
5850
5375
5380
5385
5390
5395
5800
5805
5810
5335
5340
5345
5350
5355
5360
5365
5370
5295
5300
5305
5310
5315
5320
5325
5330
5245
5250
5255
5260
5265
5270
5275
5280
5285
5290
Universal 4 totalizer
Universal 5 totalizer
Universal 6 totalizer
Universal 7 totalizer
Universal 8 totalizer
Universal 9 totalizer
Universal 10 totalizer
Universal 11 totalizer
Universal 12 totalizer
Universal 13 totalizer
Universal 14 totalizer
Universal 15 totalizer
Universal 16 totalizer
Universal 17 totalizer
Universal 18 totalizer
Universal 19 totalizer
Universal 20 totalizer
Universal 21 totalizer
Universal 22 totalizer
Universal 23 totalizer
Universal 24 totalizer
Universal 25 totalizer
Universal 26 totalizer
Universal 27 totalizer
Universal 28 totalizer
Universal 29 totalizer
Universal 30 totalizer
Universal 31 totalizer
Universal 32 totalizer
Universal 33 totalizer
Universal 34 totalizer
Universal 35 totalizer
Universal 36 totalizer
Universal 37 totalizer
Universal 38 totalizer
Universal 39 totalizer
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 17
Universal 18
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 33
Universal 34
Universal 35
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
Universal 1 totalizer
Universal 2 totalizer
Universal 3 totalizer
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
48
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
6825
6826
6827
6828
6829
6830
6831
6832
6817
6818
6819
6820
6821
6822
6823
6824
6833
6834
6835
6836
6809
6810
6811
6812
6813
6814
6815
6816
6801
6802
6803
6804
6805
6806
6807
6808
6725
6730
6735
6740
6745
6750
6755
6800
6385
6390
6395
6700
6705
6710
6715
6720
6345
6350
6355
6360
6365
6370
6375
6380
5995
6300
6305
6310
6315
6320
6325
6330
6335
6340
Universal 18
Universal 19
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 33
Universal 34
Universal 35
Universal 36
Universal 37
Universal 2
Universal 3
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 17
Universal 40 totalizer
Digital 1 totalizer
Digital 2 totalizer
Digital 3 totalizer
Digital 4 totalizer
Digital 5 totalizer
Digital 6 totalizer
Digital 7 totalizer
Digital 8 totalizer
Digital 9 totalizer
Digital 10 totalizer
Digital 11 totalizer
Digital 12 totalizer
Digital 13 totalizer
Digital 14 totalizer
Digital 15 totalizer
Digital 16 totalizer
Digital 17 totalizer
Digital 18 totalizer
Digital 19 totalizer
Digital 20 totalizer
Math 1 totalizer
Math 2 totalizer
Math 3 totalizer
Math 4 totalizer
Math 5 totalizer
Math 6 totalizer
Math 7 totalizer
Math 8 totalizer
Math 9 totalizer
Math 10 totalizer
Math 11 totalizer
Math 12 totalizer
Universal 1
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status + 64 Bit Float
Status
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
49
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
8412
8416
8420
8424
8428
8432
8436
8440
8140
8144
8148
8152
8156
8400
8404
8408
8424
3088-3127
3024-3043
8108
8112
8116
8120
8124
8128
8132
8136
8078
8080
8084
8088
8092
8096
8100
8104
8044
8048
8052
8056
8060
8064
8068
8072
8012
8016
8020
8024
8028
8032
8036
8040
6907
6908
6909
6910
6911
8000
8004
8008
6837
6838
6839
6900
6901
6902
6903
6904
6905
6906
Universal 36
Universal 37
Universal 38
Universal 39
Universal 40
Math 1
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Math 12
Universal 20
Universal 21
Universal 22
Universal 23
Universal 24
Universal 25
Universal 26
Universal 27
Universal 28
Universal 29
Universal 30
Universal 31
Universal 32
Universal 33
Universal 34
Universal 35
Universal 4
Universal 5
Universal 6
Universal 7
Universal 8
Universal 9
Universal 10
Universal 11
Universal 12
Universal 13
Universal 14
Universal 15
Universal 16
Universal 17
Universal 18
Universal 19
Universal 38
Universal 39
Universal 40
Math 1
Math 2
Math 3
Math 4
Math 5
Math 6
Math 7
Math 8
Math 9
Math 10
Math 11
Math 12
Universal 1
Universal 2
Universal 3
Batch
Texts
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
64 bit float
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
Status
64 bit float
64 bit float
64 bit float
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
W
50
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
3216-3235 Limit values R/W
4 Troubleshooting
4.1
Troubleshooting for Modbus TCP
• Is the Ethernet connection between the device and master OK?
• Does the IP address sent by the master match the address configured on the device?
• Do the port configured on the master and the port configured on the device match?
4.2
Troubleshooting for Modbus RTU
• Do the device and master have the same baud rate and parity?
• Is the interface correctly wired?
• Does the device address sent by the master match the configured address of the device?
• Do all the slaves on the Modbus have different device addresses?
5 List of abbreviations/glossary of terms
Modbus Master: All instruments such as a PLC, PC-plug-in cards etc. that perform a Modbus Master function.
6 Index
Baud rate 4
Digital channels 7
Floating point number 42
Floating point number, status 44
Function 4
Inputs 6, 7
LED, status 4
Math channels 7
Outputs 6, 7
Universal channel 6
51
Advanced Data Manager/Modbus Slave
___________________________________________________________________________________
52
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 3 1 General information
- 3 1.1 Scope of delivery
- 3 1.2 Prerequisites
- 4 1.3 Modbus RTU connection
- 4 1.4 Modbus TCP connection
- 4 1.4.1 Transfer LED
- 4 1.4.2 Link LED
- 4 1.5 Functional description
- 5 1.6 Checking the availability of the Modbus Slave function
- 5 2 Settings in the setup
- 5 2.1 Modbus TCP, RS
- 6 2.2 Universal channels
- 6 2.2.1 Data transfer: Modbus Master -> device
- 6 2.2.2 Data transfer: Device → Modbus Master
- 7 2.3 Math channels
- 7 2.3.1 Data transfer: Device → Modbus Master
- 7 2.4 Digital channels
- 7 2.4.1 Data transfer: Modbus Master → Device
- 7 2.4.2 Data transfer: Device → Modbus Master
- 8 2.5 General information
- 9 2.6 Addressing
- 9 2.6.1 Modbus Master → device: instantaneous value of universal channels
- 11 2.6.2 Modbus Master → device: digital input state
- 11 2.6.2.1 Writing all the states simultaneously
- 12 2.6.2.2 Writing states individually
- 13 2.6.3 Device → Modbus Master: universal channels (instantaneous value)
- 15 2.6.4 Device → Modbus Master: math channels (result)
- 18 2.6.5 Device → Modbus Master: digital channels (state)
- 18 2.6.5.1 Reading out all the states simultaneously
- 19 2.6.5.2 Reading out states individually
- 20 2.6.6 Device → Modbus Master: digital channels (totalizer)
- 22 2.6.7 Device → Modbus Master: integrated universal channels (totalizer)
- 25 2.6.8 Device → Modbus Master: integrated math channels (totalizer)
- 27 2.6.9 Device → Modbus Master: reading relay states
- 28 2.6.10 Modbus Master → device: set relay (telealarm option)
- 28 2.6.11 Modbus Master → device: change limit values
- 29 2.6.11.1 Initializing limit value changes
- 29 2.6.11.2 Changing the limit values
- 31 2.6.11.3 Specifying the reason for changing the limit value
- 32 2.6.11.4 Accepting limit values
- 32 2.6.11.5 Reading out the communication status
- 33 2.6.11.6 Reading out limit values
- 34 2.6.11.7 Tables and definitions
- 34 2.6.12 Modbus Master → device: transmit text
- 35 2.6.13 Modbus Master → device: batch data (batch option)
- 35 2.6.13.1 Start batch
- 36 2.6.13.2 Ending the batch
- 37 2.6.13.3 Configuring the batch designation
- 38 2.6.13.4 Configuring the batch name
- 39 2.6.13.5 Configuring the batch number
- 40 2.6.13.6 Setting the preset counter
- 41 2.6.13.7 Reading out the batch status
- 42 2.6.14 Structure of the process values
- 42 2.6.14.1 32-bit floating point number (IEEE-754)
- 42 2.6.14.2 64-bit floating point number (IEEE-754)
- 43 2.6.14.3 Limit value violations
- 44 2.6.14.4 Status of the floating point number
- 45 3 Overview of registers
- 51 4 Troubleshooting
- 51 4.1 Troubleshooting for Modbus TCP
- 51 4.2 Troubleshooting for Modbus RTU
- 51 5 List of abbreviations/glossary of terms
- 51 6 Index