Skip to main content

Example - Ladder Diagram

DBMUL


The DBMUL instruction multiplies an 8-digit binary-coded decimal (BCD) value, S1, to an 8-digit binary-coded decimal (BCD) value, S2, and saves the product in an assigned 8-digit binary-coded decimal (BCD) data register, D.

Ladder Diagram Example


When M1.0 is powered ON, the 8-digit binary-coded decimal (BCD) data register, D18, is multiplied to the 8-digit binary-coded decimal (BCD) data register, D20, and the product is saved in the 16-digit binary-coded decimal data register, D22.


Memory Monitor

DBMULP


The DBMULP one-shot instruction multiplies an 8-digit binary-coded decimal (BCD) value, S1, to an 8-digit binary-coded decimal (BCD) value, S2, and saves the product in an assigned 8-digit binary-coded decimal (BCD) data register, D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example


When M1.0 is powered ON, the 8-digit binary-coded decimal (BCD) data register, D18, is multiplied to the 8-digit binary-coded decimal (BCD) data register, D20, and the product is saved in the 16-digit binary-coded decimal data register, D22.


Memory Monitor