![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436235.webp)
225
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.
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 ex-
ecution 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.
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
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...