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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Logic Instructions
3-12-6 DOUBLE EXCLUSIVE OR: XORL(612)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description
444
Takes the logical exclusive OR of corresponding bits in double words of word
data and/or constants.
XORL(612)
I
1
I
2
R
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
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
XORL(612) takes the logical exclusive OR of data specified in I
double-word data and outputs the result to R, R+1.
• When the content of any of the corresponding bits in I
+1are different, a 1 will be output to the corresponding bit it R, R+1. When
any of them are the same, a 0 will be output to the corresponding bit in R,
R+1.
I
: Input 1
1
I
: Input 2
2
R: Result word
Step program areas
OK
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
Section 3-12
XORL(612)
@XORL(612)
Not supported.
Subroutines
Interrupt tasks
OK
I
R
2
A448 to A958
---
and I
1
I
+1, I
1,
1
2,
as
2
and I
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents