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

uiStart

UINT

0

The “data item” start index

uiNumDataItems

UINT

0

Number of “data items” in section

pStartAddr

POINTER TO BYTE

0

Section start address

uiDataItemSize

UINT

0

“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).