
69
Setting Up Parameters
When a User Bit Register (group of 32 User Bits) is written to, the value is then logic-AND’ed with the mask to determine
the resulting state of each of the 32 individual bits. If the individual bit value of the 32-bit mask is “1”, then the corresponding
bit from the written 32-bit parameter is passed through, and the resulting value stored in the specific bit will be the written
bit value. If the bit value of the 32-bit mask is “0”, then that particular bit is blocked (or masked), and the resulting bit value
does not change, (Original Value AND NOT 32-Bit Mask) or (Value Written over Network AND 32-Bit Mask). An example
of this is shown below.
Figure 64: Writing to the User Bit Register
The Mask is only used when WRITING to the 32-bit parameter, BitRegister.#.Value. When reading the 32-bit value, all bits
are read regardless of the mask.
Figure 65: User Bits Read/Write Process
01010101010101010101010101010101
10000001010000001000001000000000
015
Bit #31
01101000011110000111111101010110
11000000010100001101011101010100
Original
Value
Value written
over network
32-bit Mask
Result stored
in each bit
Network
Master
Write
Read
FM-3/4
Written data is AND’ed with the Mask
and then written into 32-bit Value.
Read data is read directly from the
32-bit Value and bypasses the Mask.
Mask
Value
AND
Comentarios a estos manuales