Evaluates if a system variable is supported
Use this instruction for conditional compilation within the ST editor. Depending on the PLC type connected, the instruction returns TRUE if the system variable is supported; otherwise it returns FALSE.
#IF IsSystemVariableSupported('sys_iScanTimeCurrent') <> 0 #THEN
(*condition TRUE: first part is compiled and executed*)
#ELSE (*condition FALSE: second part is compiled and executed*)
#END_IF;