mr_electrician

ZCP Instruction

5 posts in this topic

Hi group!

I am struggling to figure out what I am doing with the Limit instruction (ZCP 088).  I want to turn on a permissive if the compared word is between 1 and 12.  Rockwell makes this so much easier!!!

It looks like my "=" instruction is not correct but this is how they show it in the manual???????

 

 

Limit Instruction.jpg

Share this post


Link to post
Share on other sites

Try using the mnemonic  P_EQ which CXP interprets as the Equals Flag.

Share this post


Link to post
Share on other sites
2 hours ago, Mendon Systems said:

Try using the mnemonic  P_EQ which CXP interprets as the Equals Flag.

Thanks!  That did it.

Share this post


Link to post
Share on other sites

Two inline comparisons in series give the same result, but execute 20 times faster (in CP1H).

Share this post


Link to post
Share on other sites

I agree with Sergei, this is a good way to do it:

5bf41b1bbad2b_ZCMPAlt.jpg.945edead128fa1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now