290 MODBUS – CODESYS 2
WAGO-I/O-SYSTEM 750
750-8207 PFC200 CS 2ETH RS 3G
Manual
Draft version 1.2.1 from 2017-09-13, valid from FW Version 02.06.20(09)
10.4.4.4 MODBUS Mapping for Write Register Services FC6, FC16, FC22, FC23
The table below outlines the mapping for MODBUS-writing, register-oriented
services.
•
FC6 – Write Single Register,
•
FC16 – Write Multiple Registers,
•
FC22 – Mask Write Register, not for information and configuration registers
•
FC23 – Read/Write Multiple Registers.
Table 209: MODBUS Mapping for Write Register Services FC6, FC16, FC22, FC23
MODBUS Address
(hexadecimal values
in parentheses)
IEC 61131
Address
Description
0 … 999
(0x0000 … 0x03E7)
%IW1000 …
%IW1999
MODBUS Output:
1000 PFC input registers/words in the
2 kB MODBUS output process image in
the PII.
1000 … 1999
(0x03E8 … 0x07CF)
No access to:
%QW1000 …
%QW1999
MODBUS Output:
Inhibited MODBUS area for register-
oriented write access.
Register-oriented write services in this
area are acknowledged by the MODBUS
slave with the MODBUS exception code
“ILLEGAL DATA ADDRESS” (0x02).
2000 … 4095
(0x07D0 … 0x0FFF)
Inhibited MODBUS area for register-
oriented write access.
Register-oriented write services in this
area are acknowledged by the MODBUS
slave with the MODBUS exception code
“ILLEGAL DATA ADDRESS” (0x02).
4096 … 12287
(0x1000 … 0x2FFF)
FC6, FC16, FC23
only,
not FC22
No IEC 61131
address
Information and Configuration Registers:
Not all MODBUS addresses in this area
are valid and not all registers can be
written to.
Valid MODBUS addresses are described
in the Section “WAGO MODBUS
Registers”.
Access to invalid addresses are
acknowledged by the MODBUS slave
with the MODBUS exception code
“ILLEGAL DATA ADDRESS” (0x02).