VarListDelete (FUN)

FUNCTION VarListDelete : Error

Deletes a variable list previously created by VarListDefine

Important

Calling this method might take some time (due to necessary communication) so be careful when calling from an IEC-Task. Typically this method should be called in an asynchronous way.

InOut:

Scope

Name

Type

Comment

Return

VarListDelete

Error

An errorcode representing the result of this operation

Input

hPlcHandler

SysTypes.RTS_IEC_HANDLE

The instance to delete the variable list on.

hVarList

SysTypes.RTS_IEC_HANDLE

The varlist to delete