VarListRead
(FUN)
FUNCTION VarListRead : Error
Reads the cached (last retrieved) values from the given variable list.
Important
Must be called only in code protected by VarListEnter and VarListLeave
- InOut:
Scope
Name
Type
Comment
Return
VarListRead
An errorcode representing the result of this operation
Input
hPlcHandler
SysTypes.RTS_IEC_HANDLE
The instance of the PLCHandler to work on.
hVarList
SysTypes.RTS_IEC_HANDLE
The varlist to read the values from
Output
ppVarInfos
POINTER TO POINTER TO VariableValue
An ARRAY OF POINTERs to VarInfo instances representing each single read value
numVars
UDINT
The number of variables in
ppVarInfos