Skip to main content

Example - Ladder Diagram

BMUL


The BMUL instruction multiplies a 4-digit binary-coded decimal (BCD) value, S1, to a 4-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 4-digit binary-coded decimal (BCD) data register, D12, is multiplied to the 4-digit binary-coded decimal (BCD) data register, D14, and the product is saved in the 8-digit binary-coded decimal data register, D16.


Memory Monitor

BMULP


The BMULP one-shot instruction multiplies a 4-digit binary-coded decimal (BCD) value, S1, to a 4-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 4-digit binary-coded decimal (BCD) data register, D12, is multiplied to the 4-digit binary-coded decimal (BCD) data register, D14, and the product is saved in the 8-digit binary-coded decimal data register, D16.


Memory Monitor