Common MODBUS functions • 281
Use of the MODBUS functions
Modular I/O System
ETHERNET TCP/IP
6.1 Use of the MODBUS functions
The graphical overview uses a fieldbus node as an example to show which
MODBUS functions can be used to access data of the process image.
Highbyte
Lowbyte
0x0003
0x0002
0x0001
0x0000
0x0005
0x0004
0x0007
0x0006
0x0008
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
Word2
Word2
Word2
Word1
0x0003 / 0x0203
0x0002 / 0x0202
0x0001 / 0x0201
0x0000 / 0x0200
0x0004 /
0x0204
0x0203
0x0202
0x0201
0x0200
0x0204
0x0000 / 0x0200
0x0001 / 0x0201
0x0200
0x0201
11
2
1
2
3
1
3
2
3
AO
DO
AO
750-342
ON
LINK
TxD/RxD
I/O
ERROR
Ethernet
W
A
G
O
ß
I/
O
ß
SY
ST
E
M
DI DI
DI
DI
AI AI
AI
AI
Highbyte
Lowbyte
Highbyte
Lowbyte
0x0001
0x0009
0x000D
0x0005
0x0000
0x0008
0x000C
0x0004
0x0003
0x000B
0x000F
0x0007
0x0002
0x000A
0x000E
0x0006
Input modules 750- 402 402 472 472 402 476 402 476
Output modules 750- 501 550 550
MODBUS addresses
MODBUS
addresses
MODBUS addresses
MODBUS addresses
MODBUS addresses
MODBUS addresses
FC 3 (
)
(Read Input Registers)
Read Multiple Registers
FC 4
FC 1 (
Read Input
)
Read Coils)
FC 2 (
Discretes
FC 3 (
Multiple
Read Input Registers)
Read
Registers)
FC 4 (
FC 5 (Write Coil)
FC 15 (Force Multiple Coils)
FC 6 (Write
)
FC 16 (
Multiple Registers)
Single Register
Write
FC 1 (
Read Input Discretes)
Read Coils)
FC 2 (
Fig. 6-1: Use of the MODBUS functions
G012918e
Attention
It is recommended that analog data be accessed with register functions
➀
and
digital data with coil functions
➁
.