TableSection (STRUCT)¶
TYPE TableSection : STRUCT
TableSection is used to define a section of one of the “primary tables” as part of the “data model”.
- InOut:
Name
Type
Initial
Comment
uiStartUINT0
The “data item” start index
uiNumDataItemsUINT0
Number of “data items” in section
pStartAddrPOINTER TO BYTE
0
Section start address
uiDataItemSizeUINT0
“data item” size in bit, 1 or 8 for DiscreteInputs and Coils, 16 for InputRegisters and HoldingRegisters. DiscreteInputs and Coils can be put in memory as ARRAY[] OF BOOL (uiDataItemSize = 8) or adressed bit-wise (uiDataItemSize = 1).