评估是否支持存储单元区域
对于ST编辑器内的条件编译使用此指令。视连接的PLC类型而定,如果支持单元内存区,此指令将返回TRUE;否则将返回FALSE。
#IF IsUnitMemoryAreaSupported() <> 0 #THEN
(*condition TRUE if channel 0 is enabled: first part is compiled and executed*)
#ELSE
(*condition FALSE: second part is compiled and executed*)
#END_IF;