EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #315 background imageLoading...
Page #315 background image
277
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Comparison Instructions
3
ZCP/ZCPL
Function
z ZCP
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.)
When S > T2 as shown below, the > flag turns ON.
When T1 ≤ S ≤ T2, the = flag turns ON. When S < T1, the < flag turns ON.
z ZCPL
ZCPL(116) compares the 32-bit signed binary data in CD+1, CD with the range defined by LL+1, LL
and UL+1, 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.)
When S+1,S > T2+1,T2 as shown below, the > flag turns ON.
When T1+1,T1 ≤ S+1, S ≤ T2+1, T2, the = flag turns ON.
When S+1, S < T1+1, T1, the < flag turns ON.
Not Equal Flag P_NE • CJ2H (unit version 1.0 to 1.2), CS1-H, CJ1-H,
CJ1M, or CS1D CPU Unit: Held
• CJ2H (unit version 1.3 or later) or CJ2M CPU
Unit:
• ON if CD < LL.
• ON if CD > UL.
• OFF in all other cases.
• CJ2H (unit version 1.0 to 1.2), CS1-H, CJ1-H,
CJ1M, or CS1D CPU Unit: Held
• CJ2H (unit version 1.3 or later) or CJ2M CPU
Unit:
• ON if CD+1, CD < LL+1, LL.
• ON if CD+1, CD > UL+1, UL.
• OFF in all other cases.
Less Than Flag P_LT • ON if CD < LL.
• OFF in all other cases.
• ON if CD+1, CD < LL+1, LL.
• OFF in all other cases.
Less Than or Equal Flag P_LE • CJ2H (unit version 1.0 to 1.2), CS1-H, CJ1-H,
CJ1M, or CS1D CPU Unit: Held
• CJ2H (unit version 1.3 or later) or CJ2M CPU
Unit:
• ON if CD ≤ UL.
• OFF in all other cases.
• CJ2H (unit version 1.0 to 1.2), CS1-H, CJ1-H,
CJ1M, or CS1D CPU Unit: Held
• CJ2H (unit version 1.3 or later) or CJ2M CPU
Unit:
• ON if LL+1, LL ≤ CD+1, CD.
• OFF in all other cases.
Negative Flag P_N Held Held
ZCP(088)Result
Flag status
> = <
CD > UL ON OFF OFF
CD = UL OFF ON
LL < CD < UL
CD = LL
CD < LL OFF ON
ZCPL(116)Result
Flag status
> = <
CD+1, CD > UL+1, UL ON OFF OFF
CD+1, CD = UL+1, UL OFF ON
LL+1, LL < CD+1, CD <
UL+1, UL
CD+1, CD = LL+1, LL
CD+1, CD < LL+1, LL OFF ON
Name Label
Operation
ZCP ZCPL

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals