This structure represents a bit field containing 32 bits.
Table 111 – RioBitFieldDataType Structure
Name |
Type |
Description |
RioBitFieldDataType |
structure |
Subtype of 0:Structure defined in OPC 10000-3. |
BitData |
0:UInt32 |
32-bit unsigned representing 32 bits. |
BitUsed |
0:UInt32 |
32-bit unsigned indicating the usage of each of the 32 bits of the BitData field. |
The RioBitFieldDataType is used for read-only variables only. Its representation in the AddressSpace is defined in Table 112.
Table 112 – RioBitFieldDataType Definition
Attribute |
Value |
|||||
BrowseName |
RioBitFieldDataType |
|||||
IsAbstract |
False |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of 0:Structure defined in OPC 10000-3. |
||||||
Conformance Units |
||||||
PNRIO Channel Objects |
The bit numbers of the BitData field are according to the significance of the bit within the 0:UInt32 data type. The bit numbering method applied is LSB 0, which means that bit numbering starts at zero for the least significant bit. If bit number 0 is set only, this corresponds to the numeric value 1, if bit number 1 is set, this corresponds to the numeric value 2, bit number 2 corresponds to the numeric value 4 and so on. The position of the bit in the memory allocated by the 0:UInt32 field depends on the byte order of the underlying platform.
Bits set to 1 in the BitUsed field indicate the validity of the corresponding bits in the BitData field. For bits set to 0 in this field, the corresponding bit in the BitData field shall be considered as unused by a Client. The same convention for bit numbers as described for the BitData field applies.