Emerson Control Techniques FM-4 Reference Manual page 101

Programming module
Table of Contents

Advertisement

Network
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.
Figure 80:
User Bits Read/Write Process
Configuring the Bit Mask Register
The Bit Mask is a 32-bit parameter that can be configured through Power Tools Pro, in the User Program, or over the
communications network. The default value for the Mask register is 0xFFFFFFFF (HEX), or all bits ON. To change the Mask
value using PowerTools Pro, navigate to the Mask tab on the Bits view, see Figure 81.
In the Bits Mask view, each bit of the Mask can be set to 0 or 1 individually. ON (or 1) is indicated by a shaded square, and
OFF (or 0) is indicated by an empty square. Bit 31 is the most significant bit in the word, and bit 0 is the least significant bit.
If the bit is shaded, it means that particular bit will be passed through when written.
Each additional group of 32 Bits that are added, a new Mask parameter will appear for that group. Mask 0 will control the
mask for Bits 0 through 31. Mask 1 will control the mask for Bits 32 through 63. This sequence repeats for each additional
32 bits that is added.
Write
Master
Read
FM-3/4
AND
Mask
Value
Setting Up Parameters
87

Advertisement

Table of Contents
loading

Table of Contents