Double Bcd Add Without Carry: +Bl(405) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Symbol Math Instructions
Description
Flags
Precautions
Examples

3-11-6 DOUBLE BCD ADD WITHOUT CARRY: +BL(405)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
+B(404) adds the BCD values in Au and Ad and outputs the result to R.
+
CY will turn
CY
ON when there
is a carry.
Name
Label
Error Flag
ER
Equals Flag
=
Carry Flag
CY
If Au or Ad is not BCD, an error is generated and the Error Flag will turn ON.
If as a result of the addition, the content of R is 0000 hex, the Equals Flag will
turn ON.
If an addition results in a carry, the Carry Flag will turn ON.
When CIO 000000 is ON in the following example, D00100 and D00110 will
be added as 4-digit BCD values, and the result will be output to D00120.
Adds 8-digit (double-word) BCD data and/or constants.
+BL(405)
Au: 1st augend word
Au
Ad: 1st addend word
Ad
R
R: 1st result word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
Step program
areas
OK
OK
(BCD)
Au
(BCD)
Ad
R
(BCD)
Operation
ON when Au is not BCD.
ON when Ad is not BCD.
OFF in all other cases.
ON when the result is 0.
OFF in all other cases.
ON when the addition results in a carry.
OFF in all other cases.
Subroutines
areas
OK
Section 3-11
+BL(405)
@+BL(405)
Not supported.
Interrupt tasks
OK
435

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents