EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #519 background imageLoading...
Page #519 background image
A-35
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-11 Logic Instructions
ASCII TO SIX-
TEEN-DIGIT-
NUMBER
NUM16
@NUM16
606 Converts 16 characters of ASCII data to a 16-digit hexadecimal
number.
Output Required
A-1-11 Logic Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
LOGICAL AND ANDW
@ANDW
034 Output Required
DOUBLE
LOGICAL AND
ANDL
@ANDL
610 Output Required
LOGICAL OR ORW
@ORW
035 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
STR16(606)
S
D
S: ASCII text
D: Numeric
8 9 B A
C D F E
0
15 8 7 11 12 3 4
0
30 31
32 33
34 35
36 37
38 39
41 42
43 44
45 46
0 1 3 2
4 5 7 6
15 8 7
ASCII
D
S
S+1
S+2
S+3
S+4
S+5
S+6
S+7
Hexadecimal
D+1
D+2
D+3
I
1
I
2
R
ANDW(034)
I1: Input 1
I
2: Input 2
R: Result word
I
1
. I
2
→R
I
1
1
1
0
0
I
2
1
0
1
0
R
1
0
0
0
Takes the logical AND of corresponding bits
in single words of word data and/or constants.
ANDL(610)
I
1
I
2
R
I1: Input 1
I
2: Input 2
R: Result word
(I
1
,
I
1
+1). (I
2
,
I
2
+1)
→ (R, R+1)
I
1
,
I
1
+1
1
1
0
0
I
2
,
I
2
+1
1
0
1
0
R, R+1
1
0
0
0
?
Takes the logical AND of corresponding bits in
double words of word data and/or constants.
I
1
I
2
R
ORW(035)
I1: Input 1
I
2: Input 2
R: Result word
I
1
1
1
0
0
I
2
1
0
1
0
R
1
1
1
0
I
1
+ I
2
→R
Takes the logical OR of corresponding bits in
single words of word data and/or constants.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals