EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 275

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
242
Comparison Instructions Section 3-6
3-6-11 AREA RANGE COMPARE: ZCP(088)
Purpose Compares a 16-bit unsigned binary value (CD) with the range defined by
lower limit LL and upper limit UL. The results are output to the Arithmetic
Flags.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description ZCP(088) compares the 16-bit signed binary data in CD with the range
defined by LL and UL and outputs the result to the Greater Than, Equals, and
Less Than Flags in the Auxiliary Area. (The Less Than or Equal, Greater
Than or Equal, and Not Equal Flags are left unchanged.)
ZCP(088)
CD
LL
UL
CD: Comparison Data
LL: Lower limit of range
UL: Upper limit of range
Variations Executed Each Cycle for ON Condition ZCP(088)
Executed Once for Upward Differentiation Not supported
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area CD LL UL
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses in
binary
@ D0 to @ D32767
Indirect DM addresses in
BCD
*D0 to *D32767
Constants #0000 to #FFFF (binary)
&0 to &65535 (unsigned decimal)
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing using
Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15

Table of Contents

Related product manuals