Skip to main content

Example - Ladder Diagram

DINC Example​


The DINC instruction increases the assigned DWORD data register, D, by 1 until the execution condition is OFF.

Ladder Logic Example​


When contact, M0.5, is powered ON, the value of the DWORD data register, D20, increments by 1 every scan.



This is the result after deenergizing the coil, M0.5.


Binary Result​

DINCP Example​


The DINCP one-shot instruction increases the assigned DWORD data register, D, by 1.
Every time this instruction executes, it energizes the output only once.

Ladder Logic Example​


When contact, M0.5, is powered ON, the value of the DWORD data register, D20, increments by 1 every scan.


Binary Result​