ST_MA_MultiArray_InitPars
Function block-specific structure with initialization parameters, which are analyzed when the function block is initialized.
TYPE ST_MA_MultiArray_InitPars :
STRUCT
    eTypeCode  : E_MA_ElementTypeCode := eMA_TypeCode_LREAL;                     (* Used datatype. *)
    nDims      : UDINT := 1;                                                     (* Number of dimensions the array will have. *)
    aDimSizes  : ARRAY[0.. 15] OF UDINT := [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];    (* Size for each dimension. *)
END_STRUCT
END_TYPEeTypeCodeThe parameter specifies the element type (E_MA_ElementTypeCode) of the MultiArray buffer element.nDimsThe parameter specifies the number of dimensions of the MultiArray buffer.aDimSizesThe size of each dimension is specified by this array. If the shape of the input buffer of a following algorithm is defined with 'm x n' (in the input stream), the MultiArray buffer must be created with aDimSizes := [m,n].
Requirements
Development environment  | Target platform  | PLC libraries to include  | 
|---|---|---|
TwinCAT v3.1.4013  | PC or CX (x86, x64)  | Tc3_MultiArray  |