ST_Argument

Overview

Type:

Structure

Available as of:

V2.2.4.0

Inherits from:

-

Attribute:

'pack_mode' := '1'

Description

The structure ST_Argument contains the information about an argument used in a method call.

Structure Elements

Name

Data type

Description

etNodeDataType

ET_VarType

Data type of the node.

NOTE: This value must match the data type definition of the node on the server. In case of an array, specify the base data type of the array.

etArrayType

ET_ArrayType

Defines the type of the node: scalar value, array, or matrix.

udiArrayLength

UDINT

Defines the number of elements of the array. The parameter is considered if etArrayType is equal to UATypeArray.

udiNumberOfMatrixDimensions

UDINT

Defines the number of dimensions. The parameter is considered if etArrayType is equal to UATypeMatrix.

audiMatrixDimensions

ARRAY [1..3] OF UDINT

Defines the number of elements of every dimension. The parameter is considered if etArrayType is equal to UATypeMatrix.

pbyBuffer

POINTER TO BYTE

Address of the buffer allocated in the application.

udiBufferSize

UDINT

Size of the buffer allocated in your application.

NOTE: In case the value of etNodeDataType indicates UATypeString and UANodeAdditionalInfo an array or matrix, assign the size of the array or matrix of the application to this parameter. This value has to match the node definition on the server.
NOTE: Use the SIZEOF operator to get the size of the variable inside the application.

etErrorID

ET_Result

Indicates diagnostic information as a numeric value.