![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423195.webp)
182
HR 11, and either #0000 or #0001 is placed in HR 12 (0001 indicates a nega-
tive answer).
CLC(41)
00000
SBB(51)
010
DM 0100
HR 10
MOV(21)
#0000
HR 12
MOV(21)
#0001
HR 12
TR 0
25504
25504
SBB(51)
011
DM 0101
HR 11
CLC(41)
25504
SBB(51)
#0000
HR 10
HR 10
SBB(51)
#0000
HR 11
HR 11
Address
Instruction
Operands
00000
LD
00000
00001
OUT
TR
0
00002
CLC(41)
00003
SBB(51)
010
DM
0100
HR
10
00004
SBB(51)
011
DM
0101
HR
11
00005
AND
25505
00006
CLC(41)
00007
SBB(51)
#
0000
HR
10
HR
10
00008
SBB(51)
#
0000
HR
11
HR
11
00009
LD
TR
0
00010
AND NOT
25504
00011
MOV(21)
#
0000
HR
12
00012
LD
TR
0
00013
AND
25504
00014
MOV(21)
#
0000
HR
12
In the case below, 20F55A10 – B8A360E3 = 97AE06D3. In the the lower
4-digit subtraction, Su > Mi, so CY(SR 25504) becomes 1, and the result of
the higher 4-digit subtraction is decremented by 1. In the final calculations,
#0000 – F9D2 = 0000 + (10000 – F9D2) = 06D3.
Binary Calculations
Section 5-18
Summary of Contents for SYSMAC C200H
Page 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Page 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Page 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...