Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 471

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Logic Instructions
Variations
Applicable Program Areas
Operand Specifications
Description
Flags
Precautions
438
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
ANDL(610) takes the logical AND of data specified in I
outputs the result to R, R+1.
(I
I
+1), (I
I
+1)
(R, R+1)
1,
1
2,
2
I
I
+1
I
I
1,
1
2,
1
1
0
0
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When ANDL(610) is executed, the Error Flag will turn OFF.
If as a result of the AND, the content of R, R+1 is 00000000 hex, the Equals
Flag will turn ON.
Step program areas
Subroutines
OK
I
1
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
#00000000 to #FFFFFFFF (binary)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
+1
R, R+1
2
1
1
0
0
1
0
0
0
Operation
OFF
ON when the result is 0.
OFF in all other cases.
ON when the leftmost bit of R is 1.
OFF in all other cases.
Section 3-12
ANDL(610)
@ANDL(610)
Not supported.
Interrupt tasks
OK
I
R
2
A448 to A958
---
I
+1 and I
I
+1 and
1,
1
2,
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents