Setting Up Parameters
User 32-bit Bit Register and User Bit Masking
When using different communications protocols (i.e. DeviceNet, Profibus, Modbus), it is often desirable to access groups of User Bits in a single parameter, rather than having to access them individually. In the
When a User Bit Register (group of 32 User Bits) is written to, the value is then
Original | Bit #31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Value |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Value written over network
0 1 1 0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1
1 1 0 1 0 1 0 1 1 0
32-bit Mask
Result stored in each bit
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 0
Figure 42: Writing to the User Bit Register
The Mask is only used when WRITING to the
69