ST_Mdata

This structure defines a parameter data set for the machine data.

Syntax:

TYPE ST_Mdata :
STRUCT
    nParamIndex:     UDINT;            //  4 byte
    nComponentType:  USINT;            //  1 byte
    nComponentIndex: USINT;            //  1 byte
    stFlex:          ST_FlexValue;     // 10 byte
END_STRUCT                             //-------------
END_TYPE                               // 16 byte

Values

Name

Type

Description

nParamIndex

UDINT

Individual index of the written parameter.

nComponentType

USINT

Components Type of the written parameter.

nComponentIndex

USINT

Components Index of the written parameter.

stFlex

ST_FlexValue

Data type-independent parameter.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher