Sign in to follow this  
Followers 0
Guest dima

Comparison Instruction in RSLogix500

2 posts in this topic

I had three EQU instructions following three step sequencer which direct program to different routs depending on the step of the sequencer. At the first scan everything is all right. But when sequencer goes through second cycle the last EQU instructions remains always on. For example the third EQU is supposed to go true when sequencer at third step therefore position bit R6:0.POS is 3. It is go on at position three and stays on when sequencer is at the positions 1 and 2. I tried to change order of EQU instructions and found out that what ever EQU instruction is last it always stays on. I dont know really why. Although I can see that comparison data in instruction block are changing during program operation.

Share this post


Link to post
Share on other sites
it would really help if you would post the program rungs ... maybe others will be able to understand your description of the problem ... but I'm not sure exactly what you mean ... what are you using for the "output" of each EQU rung? ... are you trying to use the same bit address more than once? ...

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
Sign in to follow this  
Followers 0