Skip to main content

Example - Ladder Diagram

MUL​


The MUL instruction multiplies a WORD value, S1, by a WORD value, S2, and saves the product in an assigned DWORD data register, D.

Ladder Diagram Example​


When M1.0 is powered ON, the WORD data register, D1, is multiplied by the WORD data register, D2, and the product is saved in the DWORD data register, D5.


Memory Monitor​

MULP​


The MULP one-shot instruction multiplies a WORD value, S1, by a WORD value, S2, and saves the product in an assigned DWORD data register, D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example​


When M1.0 is powered ON, the WORD data register, D1, is multiplied by the WORD data register, D2, and the product is saved in the DWORD data register, D5.


Memory Monitor​