MessageDisplayByBit
Message Display By Bit
This control is used to display messages associated to bits within a range of consecutive integers. In comparison to the MessageDisplayByValue, this control can show multiple active messages by rotating through them.
Properties | |
---|---|
ComComponent | Points to the driver instance for reading its values through |
Messages | A collection of Messages (Text, BackColor, ForeColor, etc.)to be displayed when it's associated bit is active. |
PLCAddressValues | An integer register in the PLC that points to the first element to be read for indicating active messages. |
PLCElementBitWidth | Indicates how many bits are in each element as defined by PLCAddressValue. For example, in Modbus 40001 would be a 16 bit integer. |
PLCNumberOfElements | Specifies the number of consecutive elements to concatenate their bits for messages. |
ValueBitMask | Integer value use to mask which bits are to be interpreted for message |
Examples of usage:
1) Displaying alarm messages