Example - Ladder Diagram
DBADD
The DBADD instruction adds an 8-digit binary-coded decimal (BCD) value, S1, to an 8-digit binary-coded decimal (BCD) value, S2, and saves the sum in an assigned 8-digit binary-coded decimal (BCD) data register, D.
Ladder Diagram Example
When M0.0 is powered ON, the 8-digit binary-coded decimal (BCD) data register, D5, is added to the 8-digit binary-coded decimal (BCD) data register, D7, and the sum saved in the 8-digit binary-coded decimal (BCD) data register, D9.
Memory Monitor
![]()
DBADDP
The DBADDP one-shot instruction adds an 8-digit binary-coded decimal (BCD) value, S1, to an 8-digit binary-coded decimal (BCD) value, S2, and saves the sum 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 M0.0 is powered ON, the 8-digit binary-coded decimal (BCD) data register, D5, is added to the 8-digit binary-coded decimal (BCD) data register, D7, and the sum saved in the 8-digit binary-coded decimal (BCD) data register, D9.
Memory Monitor
![]()