EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP Series

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #197 background imageLoading...
Page #197 background image
2-161
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Symbol Math Instructions
2
+C/+CL
Function
+C
+C(402) adds the binary values in Au, Ad, and CY and outputs the result to R.
+CL
+CL(403) adds the binary values in Au and Au+1, Ad and Ad+1, and CY and outputs the result to R.
Hint
To clear the Carry Flag (CY), execute the Clear Carry (CLC(041)) instruction.
Sample program
+
CY
RCY
Au
Ad
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
carry.
+
CY
RCY
Au+1
Ad+1
R+1
Au
Ad
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
carry.
0.00
0.00
When CIO 0.00 is ON, D200, D210, and CY will be added as
4-digit signed binary values and the result will be output to
D220.
When CIO 0.00 is ON, D201, D200, D211, D210, and CY will
be added as 8-digit signed binary values, and the result will
be output to D221 and D220.
+C
D200
D210
D220
+CL
D200
D210
D220

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals