ST_UAMethodArgInfo

Syntax

TYPE ST_UAMethodArgInfo:
STRUCT
    DataType        : E_UADataType := -1;
    ValueRank       : DINT := 2147483647;
    ArrayDimensions : ARRAY[1..3] OF UDINT := [0,0,0];
    nLenData        : DINT;
END_STRUCT
END_TYPE

Values

Name

Description

DataType

Defines the UA data type for the method parameter. (Type: E_UADataType)

ValueRank

Determines whether the parameter is scalar (-1) or array.

ArrayDimensions

If the parameter is an array, it specifies the dimensions of the array. Each element determines the length per dimension.

nLenData

Specifies the length of the argument. For output information STRUCT only requests this element.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 3.1

Win32, Win64, CE-X86, CE-Arm®

Tc3_PLCopen_OpcUa