The GsdGenIoDataItemVariableType is a subtype of the 0:BaseDataVariableType and represents the GSDML “DataItem” element. It is formally defined in Table 27.
Table 27 – GsdGenIoDataItemVariableType definition
Attribute |
Value |
|||||
BrowseName |
GsdGenIoDataItemVariableType |
|||||
IsAbstract |
False |
|||||
ValueRank |
−1 (−1 = Scalar) |
|||||
DataType |
0:BaseDataType |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of the 0:BaseDataVariableType defined in [OPC 10000-5]. |
||||||
0:HasProperty |
Variable |
UseAsBits |
0:Boolean |
0:PropertyType |
M, RO |
|
0:HasComponent |
Variable |
<BitDataItem> |
0:Byte |
GsdGenIoBitDataItemVariableType |
OP, RO |
|
Conformance Units |
||||||
PNGSDGM IO Data |
The Server shall set the concrete DataType of a Variable Instance according to Table 58.
The UseAsBits Property indicates if the data item is separated into individual bits represented by “BitDataItem” child elements. If True, GsdGenIoBitDataItemVariableType components shall be provided. If False, no components of this type shall be provided.
The <BitDataItem> GsdGenIoBitDataItemVariableType Variable represents one GSDML “BitDataItem” child element of the “DataItem” element. There shall be as many Variables as are needed to represent all “BitDataItem” elements. The Server shall substitute the placeholder string with the text determined by the “TextId” attribute of the “BitDataItem” element.
The GsdGenIoDataItemVariableType Variable shall relate to the PnIoSignalType Object representing the same IO Data in the PROFINET aspect with a 0:RepresentsSameEntityAs ReferenceType as shown in Figure 7.
If GsdGenIoChannelType Objects are provided, the GsdGenIoDataItemVariableType Variable shall relate to the GsdGenIoChannelDataType Object which references the IO Data it represents with a 0:AssociatedWith ReferenceType as shown in Figure 11. If quality information is also provided, the GsdGenIoDataItemVariableType Variable shall relate to the GsdGenIoChannelQualityType Object which references the segment of the IO Data it represents with a 0:AssociatedWith ReferenceType as shown in Figure 11.