Hi All ,
Hope you are ok,
Could somebody please help me to write a simple program on SPS that need to stop the SPS and the robot as well and waiting for the input X to be true WITH an error message Then robot carry on the cycle. thank you very much
Declaration
INI
LOOP
WAIT FOR NOT($POWER_FAIL)
GRP PLC
USER PLC
-SYSTEM CONTROL
-LAMP CONTROL
-MOULD CONTROL
-CONVEYOR CONTROL
-GRIPPER CONTROL
-ERROR CONTROL
ENDLOOP
END