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
VarListReadAn errorcode representing the result of this operation
Input
hPlcHandlerSysTypes.RTS_IEC_HANDLEThe instance of the PLCHandler to work on.
hVarListSysTypes.RTS_IEC_HANDLEThe varlist to read the values from
Output
ppVarInfosPOINTER TO POINTER TO VariableValue
An ARRAY OF POINTERs to VarInfo instances representing each single read value
numVarsUDINTThe number of variables in
ppVarInfos