Once a PLCP program has been created and compiled with the PCOMP command, it can be executed in one of two ways.
PRUN executes the PLCP program once all the way through.
SCANP continuously executes the PLCP program. If a Loop is placed within the PLC program, then TSCAN will report a false value because it is then looping instead of scanning.
Things that will stop the execution of a PLCP program...
-- SCANP CLR
-- Pulling the AC power on a GV6K