In: | The PLC input which is being tested |
Cn: | The condition; either 1 (“ON”) or 0 = (“OFF”) |
Pn: | The subroutine which will be executed |
This command will cause the program to jump to any subroutine if any available PLC input is either "on" or "off".(Memory locations in the PLC that end in 8 or 9 can also be used).
The condition must exist before the command is executed. Use dwell (G04) if necessary to insure that the state of the input is stable before the program executes the M97 command
Instructions for using external sub-routines are available here.