WAGO-I/O-SYSTEM 750
Fieldbus Communication 223
750-880, 750-880/025-000 ETHERNET Programmable Fieldbus Controller
Manual
Version 1.0.1
Note
Use register functions to access analog signals and coil functions to access
binary signals!
It is recommended that analog data be accessed with register functions
and
digital data with coil functions
. If reading or writing access to binary signals is
performed via register functions
, an address shift may occur as soon as further
analog modules are operated on the coupler/controller.
12.2.3 Description of the MODBUS Functions
All MODBUS functions are executed as follows:
1.
A MODBUS TCP master (e.g., a PC) makes a request to the WAGO
fieldbus node using a specific function code based on the desired operation..
2.
The WAGO fieldbus node receives the datagram and then responds to the
master with the proper data, which is based on the master’s request.
If the WAGO fieldbus node receives an incorrect request, it sends an error
datagram (Exception) to the master.
The exception code contained in the exception has the following meaning:
Pos: 109.9 /Alle Serien (Allgemeine Module)/Feldbuskommunikation/MODBUS/Anwendung der MODBUS-Funktionen - Tabelle "Exception-Codes" (750-880, -881) @ 7\mod_1265624235117_21.doc @ 49946 @ @ 1
Table 90: Exception Codes
Exception Code
Meaning
0x01 Illegal
function
0x02 Illegal
data
address
0x03 Illegal
data
value
0x04
Slave device failure
Pos: 109.10 /Alle Serien (Allgemeine Module)/Feldbuskommunikation/MODBUS/Anwendung der MODBUS-Funktionen - FC1 bis FC6 @ 3\mod_1234957373125_21.doc @ 27556 @ 444444 @ 1
The following chapters describe the datagram architecture of request, response
and exception with examples for each function code.
Note
Reading and writing of outputs via FC1 to FC4 is also possible by adding an
offset!
In the case of the read functions (FC1 ... FC4) the outputs can be additionally
written and read back by adding an offset of 200hex (0x0200) to the MODBUS
addresses in the range of [0
hex
... FF
hex
] and an offset of 1000
hex
(0x01000) to the
MODBUS addresses in the range of [6000
hex
... 62FC
hex
].