
249
Precautions
DVB(53) cannot be used to divide signed binary data. Use DBS(––) instead. Re-
fer to
5-20-9 SIGNED BINARY DIVIDE – DBS(––)
for details.
Flags
ER:
Dr contains 0.
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
EQ
:
ON when the result is 0.
N
:
ON when bit 15 of R is set to 1.
Example
DVB(53)
001
LR 20
HR 05
Address
Instruction
Operands
00000
LD
00000
00001
DVB(53)
001
LR
0020
HR
05
00000
Dd: IR 001
1
0
F
7
Dr: LR 20
0
0
0
3
R: HR 05
0
5
A
7
R+1: HR 06
0
0
0
2
Remainder (2)
Quotient (1447)
5-20-5 DOUBLE BINARY ADD – ADBL(––)
Au
: First augend word (binary)
IR, SR, AR, DM, HR, LR
Ad
: First addend word (binary)
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
R
: First result word
IR, SR, AR, DM, HR, LR
ADBL(––)
Au
Ad
R
@ADBL(––)
Au
Ad
R
Limitations
Au and Au+1 must be in the same data area, as must Ad and Ad+1, and R and
R+1.
Description
When the execution condition is OFF, ADBL(––) is not executed. When the
execution condition is ON, ADBL(––)) adds the eight-digit contents of Au+1 and
Au, the eight-digit contents of Ad+1 and Ad, and CY, and places the result in R
and R+1. CY will be set if the result is greater than FFFF FFFF.
Au + 1
Au
Ad + 1
Ad
R + 1
R
+
CY
CY
Binary Calculations
Section 5-20
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...