User interfaces (API)
7.8 Data types
Table 7- 412 STagInfo - .NET (C#)
Syntax
Member
316
public struct STagInfo
{
String Name;
EArea Area;
EDataType DataType;
EPrimitiveDataType PrimitiveDataType;
UInt16 Size;
UInt32 Offset;
UInt8 Bit;
UInt32 Index;
UInt32 ParentIndex;
SDimension[] Dimension;
}
•
String name:
The name of the tag
•
EArea area:
The CPU area where the tag is located.
•
EDataType DataType:
The CPU data type of the tag
•
EPrimitiveDataType PrimitiveDataType:
The primitive data type of the tag
•
UInt16 size:
The size of the tag in bytes.
•
UInt32 offset:
The byte offset of the tag if it is not located in a data block.
•
UInt8 bit:
The bit offset of the tag if it is not located in a data block.
•
UInt32 index:
The index of the tag
•
UInt32 ParentIndex:
If this tag is embedded in another tag (for example, an element of a structure),
this value then displays the index of the parent tag. The value is 0 if the tag has
no parent tag.
•
SDimension[] Dimension:
Information about each dimension of the field. Empty, if the tag is not an array.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB