Skip to main content

Example - Ladder Diagram

DPGM Example


The DPGM instruction disabled the program ID, n.

Ladder Diagram Example

This is the scan program for the ID 2.


Every 1 second, the INCP instruction increases the data register, D100 in the scan program ID 2.


This is the main scan program.



When the contact, M0.1, is powered ON (1), the DPGM disables the scan program ID 2.



The data register, D100, no longer increases every second since the program ID 2 has been disabled.