Example - Ladder Diagram
WGSTOP
The WGSTOP instruction forcibly terminates an executing batch program from a load cell module, Base/Slot, on the channel, S, and saves the result of the termination in an assigned WORD data register, D.
Ladder Diagram Example
When the contact, M1.0, is powered ON (1), the batch program is forcibly terminated.
The resulting data register, M30, is set to 2 (bit 1 is ON), meaning the instruction is complete.