Omron CJ2 CPU UNIT SOFTWARE User Manual page 501

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
DOUBLE
ZCPL
116
AREA RANGE
COMPARE
SIGNED
ZCPS
117
AREA RANGE
COMPARE
DOUBLE
ZCPSL
118
SIGNED
AREA RANGE
COMPARE
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
ZCPL(116)
CD
LL
UL
CD: Compare
data (2 words)
LL: 1st word of
lower limit
UL: 1st word of
upper limit
ZCPS(117)
CD
LL
UL
CD: Compare
data (1 word)
LL: Lower limit of
range
UL: Upper limit of
range
ZCPSL(118)
CD
LL
UL
CD: Compare
data (2 words)
LL: 1st word of
lower limit
UL: 1st word of
upper limit
Function
Compares the 32-bit unsigned binary value in CD and CD+1
(word contents or constant) to the range defined by LL and
UL and outputs the results to the Arithmetic Flags in the Aux-
iliary Area.
Compares the 16-bit signed binary value in CD (word con-
tents or constant) to the range defined by LL and UL and out-
puts the results to the Arithmetic Flags in the Auxiliary Area.
Compares the 32-bit signed binary value in CD and CD+1
(word contents or constant) to the range defined by LL and
UL and outputs the results to the Arithmetic Flags in the Aux-
iliary Area.
Appendices
Execution
Location
condition
Output
Required
Output
Required
Output
Required
A-17

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Thomas
January 16, 2025

How do I retrieve fault codes from plc: CJ2M-CPU35

Table of Contents

Save PDF