图片:
图片:
图片:
图片:
为什么程序登录扫描编译出现错误,请大神么指点,谢谢!
(*气缸传感器全亮延时=气缸原点传感器亮+气缸终点传感器亮*)OUT_T(StartPosition AND EndPosition,AllOnTime,30);(*气缸传感器全亮警报输出*)AllOnAlarm:=StartPosition AND EndPosition AND AllOnTime;(*气缸传感器全灭延时=气缸原点传感器灭+气缸终点传感器灭*)OUT_T(NOT StartPosition AND NOT EndPosition,AllOffTime,30);(*气缸传感器全灭警报输出*)AllOffAlarm:=NOT StartPosition AND NOT EndPosition AND AllOffTime;(*输出电磁阀线圈通电延时=气缸原点传感器亮+电池阀线圈通电*)OUT_T(StartPosition AND OutPutValve,ValveOnTime,30);(*电磁阀线圈通电异常或原点异常警报输出*)ValveOnAlarm:=StartPosition AND OutPutValve AND ValveOnTime;(*输出电磁阀线圈断电延时=气缸终点传感器亮+电池阀线圈断电*)OUT_T(EndPosition AND NOT OutPutValve,ValveOffTime,30);(*电磁阀线圈断电异常或终点异常警报输出*)ValveOffAlarm:=EndPosition AND NOT OutPutValve AND ValveOffTime;(*气缸异常警报输出*)CylinderAlarm:=AllOnAlarm OR AllOffAlarm OR ValveOnAlarm OR ValveOffAlarm;(*手动状态*) (*自动状态*)ManualState:=Manual AND NOT Automatic;AutomaticState:=Automatic AND NOT Manual;