IsFileRegisterAreaSupported

评估是否支持FL区域

对于ST编辑器内的条件编译使用此指令。视连接的PLC类型而定,如果支持文件寄存器区域,此指令将返回TRUE;否则将返回FALSE

示例

#IF IsFileRegisterAreaSupported() <>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;
相关主题

最后更新日期:2019-04-29此页面上的反馈松下热线