Example - Ladder Diagram
ADD
The ADD instruction adds a WORD value, S1, to a WORD value, S2, and saves the sum in an assigned WORD data register, D.
Ladder Diagram Example
When the contact, M0.0, is powered ON, the WORD data register, D0, is added to the WORD data register, D1, and the sum saved in the WORD data register, D2.
Memory Monitor
![]()
ADDP
The ADDP one-shot instruction adds a WORD value, S1, to a WORD value, S2, and saves the sum in an assigned WORD data register, D.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M0.0, is powered ON, the WORD data register, D0, is added to the WORD data register, D1, and the sum saved in the WORD data register, D2.
Memory Monitor
![]()