Sign in to follow this  
Followers 0
kothy

Functions inRSLogix 5000

2 posts in this topic

Hi all, Folks I need some help here with RSLogix 5000. Create function SELECT for example: C:=SELECT(r:=s,p:=2,q:=3) + SELECT(r:=s,p:=4,q:=6); when 'r:=s' is true select returns 'p' else returns 'q'. So from the above example i donot create more variables. r,p and q are the only tags created and the select funtion will return the value wherever it is used. Can I do this in RSLogix 5000. I donot want to create more variables and hence I donot want to use a JSR. any help would be appreciated Thanks kothy

Share this post


Link to post
Share on other sites
Kothy, have a look at the ESEL ans SEL instruction in RSLogix5000. Edited by Alaric

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