Comtrol DeviceMaster EtherNet/IP-Modbus EIP-MOD User Manual page 146

Table of Contents

Advertisement

| Vendor Specific Write Mask Register (72 Hex)
Parameter
address
andMask
orMask
1. Contents of register is ANDed with andMask.
2. The orMask is ANDed with ones compliment of andMask.
3. Results of step 1 is ORed with results of step 2.
In "C" language coding syntax:
Result = (contents & andMask) | (orMask & (~andMask);
146 - Chapter 10. PLC Programming for Modbus Object (44 Hex)
Data Type
INT (16 bit WORD)
0 to FFFF hex Holding register address base 0
INT (16 bit WORD)
0 to FFFF hex And mask
INT (16 bit WORD)
0 to FFFF hex Or mask
Range
Description
DeviceMaster EIP-MOD User Guide: 2000664 Rev. A

Advertisement

Table of Contents
loading

Table of Contents