Skip to main content

Example - Ladder Diagram

WMUL


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

Ladder Diagram Example


When M1.0 is powered ON, the WORD data register, D20, is multiplied to the WORD data register, D22, and the product is saved in the WORD data register, D24.


Memory Monitor

WMULP


The WMULP one-shot instruction multiplies a WORD value, S1, to a WORD value S2 and saves the product in an assigned WORD 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, D20, is multiplied to the WORD data register, D22, and the product is saved in the WORD data register, D24.


Memory Monitor