![YOKOGAWA F3SP71-4S User Manual Download Page 45](http://html1.mh-extra.com/html/yokogawa/f3sp71-4s/f3sp71-4s_user-manual_3445797045.webp)
3-13
IM 34M06P15-03E 2nd Edition: Jan. 31, 2012-00
3.11
Mask Write Register ($16)
Masks the value stored in a single holding register using AND or OR, and writes the
value.
The amount of devices that can be accessed with a single request is one point.
The value written into a holding register is as described below.
Written value = (Current value & AND mask value) | (OR mask value &
~
AND mask
value)
If the OR mask value is $0000, only AND processing of the AND mask value is
performed.
If the AND mask value is $0000, the OR mask value is the written value.
Response Format (Slave => Master)
F030113.VSD
Function Code
Data
$16
1-byte
2-byte
2-byte
Starting Register Nos.
($0000 to $FFFF)
AND Mask Value
($0000 to $FFFF)
Response Format (Master => Slave )
(At Normal Completion)
(At Faulty Completion)
Function Code
Data
$96
1-byte
Error Code
1-byte
OR Mask Value
($0000 to $FFFF)
2-byte
Function Code
Data
$16
1-byte
2-byte
2-byte
Starting Register Nos.
($0000 to $FFFF)
AND Mask Value
($0000 to $FFFF)
OR Mask Value
($0000 to $FFFF)
2-byte
Tip
This function reads the value stored in the holding register from the slave, performs AND/OR
processing, and then writes the value in the storage register. Accordingly, if the holding register value
changes during AND/OR processing, the changed value is overwritten.
Summary of Contents for F3SP71-4S
Page 2: ...Blank Page Blank Page...
Page 12: ...Blank Page...
Page 32: ...Blank Page...
Page 48: ...Blank Page...
Page 50: ...Blank Page...