Example - Ladder Diagram
EPGM
The DPGM instruction disabled the program ID, n.
Ladder Diagram Example
This is the scan program for the ID 2.
The INCP instruction does NOT increase the data register, D100, since the program ID 2 is disabled.
When the contact, M0.1, is powered ON (1), the EPGM enables the scan program ID 2.
Every 1 second, the INCP instruction increases the data register, D100 in the scan program ID 2.