CheckSymbolValidity (FUN)

FUNCTION CheckSymbolValidity : Error

This function checks whether the requested symbol is valid and can be monitored by calling VarListDefine for example.

InOut:

Scope

Name

Type

Comment

Return

CheckSymbolValidity

Error

An error code, ERR_OK in case the symbol is valid

Input

hPlcHandler

SysTypes.RTS_IEC_HANDLE

The instance to check the symbol on

pstSymbol

POINTER TO BYTE

The symbol to check for validity