ST_PMLSubUnitInfoRef

ST_PMLSubUnitInfoRef

TYPE ST_PMLSubUnitInfoRef : 
STRUCT
    pArray           : POINTER TO ST_PMLSubUnitInfo;
    nArraySize       : UDINT;
    nNoOfSubUnits    : UDINT;
END_STRUCT
END_TYPE

pArray

Address of a one-dimensional array of the type ST_PMLSubUnitInfo. Each array element contains the state of a subordinated machine part.

Example:

stSubUnitInfo : ARRAY[1..10] OF ST_PMLSubUnitInfo;

pArray := ADR(stSubUnitInfo);

nArraySize

Memory size of the one-dimensional array, which can be determined with the SIZEOF function.

Example:

nArraySize := SIZEOF(stSubUnitInfo);

nNoOfSubUnits

Number of relevant subordinated machine parts.

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v3.1 Build 4018 and higher

PC (i386)

Tc3_PackML_V2