Not so correct the STEP on procedure because is manual. You should make an action that is a consequence of something, thus the best thing is use handshake between powder feeder and robot(if feeder has a I/O communication), or however control in auto mode feeder status. hold button or UI[2] is the best way to stop robot but also using PAUSE TP instruction.
i.e. (for check in a fix step of program)
1: IF DI[1:Powder_Feeder_Empty]=OFF JMP,LBL[1]
2: MESSAGE[Please fill powder feeder]
3: PAUSE
4: LBL[1]
5: !continue normal operation
i.e (for always-active check)
- Map a DO
- Make BG Logic prog in which:
1: DO
- =(!DI[1:Powder_Feeder_Empty])
Hope this help