1 access to i/o area, Access to i/o area, Modbus tcp kommunikation – Lenze I/O system 1000 System Manual User Manual
Page 718: Access to the i/o system 1000 access to i/o area, Conventions
Modbus TCP Kommunikation
Access to the I/O system 1000
Access to I/O area
l
718
EDSIO1000 EN 7.0
13.2.1
Access to I/O area
Word =
Register
IN: "Input Register"
OUT: "Holding Register"
Bit =
Coil
IN: "Input Status"
OUT: "Coil Status"
Conventions:
ƒ
Modbus distinguishes between bit access and word access; bits = "coils" and words
= "register".
ƒ
Bit inputs are called "input status" and bit outputs are called "coil status".
ƒ
Word inputs are called "input register" and word outputs are called "holding
register"
Range definition
Usually, the access under Modbus takes place via the ranges 0x, 1x, 3x and 4x.
0x And 1x serve to access digital ranges and 3x and 4x serve to access word ranges.
Since, however, no distinction is made between digital and analog data for the Lenze
Modbus TCP bus coupler, the following assignment applies:
0x: Bit for master output; access via function code 01
h
, 05
h
, 0F
h
1x: Bit range for master input; access via function code 02
h
3x: Word range for master input; access via function code 04
h
, 17
h
4x: Word range for master output; access via function code 03
h
, 06
h
, 10
h
, 16
h
, 17
h
3x: 0001h
1x: 0001h
1x: 0002h
1x: 0003h
IN
3x: 0002h
3x: 0003h
3x: 0004h
3x: 0005h
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
3x: 0006h
...
3x: 0007h
3x: 0008h
3x: 0009h
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Byte 16
Byte 17
4x: 0001h
OUT
4x: 0002h
4x: 0003h
4x: 0004h
4x: 0005h
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
4x: 0006h
...
4x: 0007h
Byte 10
Byte 11
Byte 12
Byte 13
0x: 0001h
0x: 0002h
0x: 0003h
3x: 000Ah
Byte 18
Byte 19
...
4x: 0008h
4x: 0009h
Byte 14
Byte 15
Byte 16
Byte 17
4x: 000Ah
Byte 18
Byte 19
...
SLIO070