WAGO-I/O-SYSTEM 750
750-882 Media Redundancy ETHERNET Controller
12.2.3.10 Function Code FC22 (Mask Write Register)
This function manipulates individual bits within a register using a combination of
an AND mask, an OR mask, and the register's current content.
Request
Table 118: Request of Function Code FC22
Byte
Byte 0, 1
Byte 2, 3
Byte 4, 5
Byte 6
Byte 7
Byte 8, 9
Byte 10, 11
Byte 12, 13
Response
Table 119: Response of Function Code FC22
Byte
...
Byte 7
Byte 8, 9
Byte 10, 11
Byte 12, 13
Exception
Table 120: Exception of Function Code FC22
Byte
...
Byte 7
Byte 8
Field name
Transaction identifier
Protocol identifier
Length field
Unit identifier
MODBUS function code
Reference number
AND mask
OR mask
Field name
MODBUS function code
Reference number
AND mask
OR mask
Field name
MODBUS function code
Exception code
Fieldbus Communication 241
Example
0x0000
0x0000
0x0002
0x01 not used
0x16
0x0000
0x0000
0xAAAA
Example
0x10
0x0000
0x0000
0xAAAA
Example
0x85
0x01 or 0x02
Manual
1.5.0