Example - Ladder Diagram
INC
The INC instruction increases the assigned WORD data register, D, by 1 until the execution condition is OFF.
Ladder Diagram Example
When the contact, M0.5, is powered ON, the value of the WORD data register, D10, increments by 1 every scan.
This is the result after deenergizing the coil, M0.5.
Memory Monitor
![]()
INCP
The INCP one-shot instruction increases the assigned WORD data register, D, by 1.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M0.5, is powered ON, the value of the WORD data register, D15, increments by 1 every scan.
Memory Monitor
![]()