Skip to main content

Example - Ladder Diagram

DMUL


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


When M1.0 is powered ON, the DWORD data register, D6, is multiplied to the DWORD data register, D8, and the product is saved in the DWORD data register, D10.


Memory Monitor

The product saved in the LWORD data register, D10, is greater than the maximum value the ladder logic tooltip is capable of displaying.

DMULP


The DMULP one-shot instruction multiplies a DWORD value, S1, to a DWORD value, S2, and saves the product in an assigned LWORD 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, D6, is multiplied to the DWORD data register, D8, and the product is saved in the DWORD data register, D10.


Memory Monitor

The product saved in the LWORD data register, D10, is greater than the maximum value the ladder logic tooltip is capable of displaying.