Skip to main content

Example - Ladder Diagram

EADD


The EADD instruction adds a REAL value, S1, to a REAL value, S2, and saves the sum in an assigned REAL data register D.

Ladder Diagram Example


When M0.0 is powered ON, the REAL data register, D2, is added to the REAL data register, D4, and the sum is saved in the REAL data register, D6.


Memory Monitor

EADDP


The EADDP one-shot instruction adds a REAL value, S1, to a REAL value, S2, and saves the sum in an assigned REAL data register D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example


When M0.0 is powered ON, the REAL data register, D2, is added to the REAL data register, D4, and the sum is saved in the REAL data register, D6.


Memory Monitor