Skip to main content

Example - Ladder Diagram

DWMUL


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

Ladder Diagram Example


When M1.0 is powered ON, the DWORD data register, D27, is multiplied to the DWORD data register, D30, and the product is saved in the DWORD data register, D33.


Memory Monitor

DWMULP


The DWMULP one-shot instruction multiplies a DWORD value, S1, to a DWORD 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 DWORD data register, D27, is multiplied to the DWORD data register, D30, and the product is saved in the DWORD data register, D33.


Memory Monitor