Sign in to follow this  
Followers 0
Polk

Integer as an output

2 posts in this topic

Good evening. I am new to programming and I hope this makes sense. Be patient. I am looking at an existing application file in which the original developer uses N7 bits and MOV them into an output destination. How exactly does this work since the N7 is not real world. I am working with RS500 on a ML1500 LRP series C processor.

Share this post


Link to post
Share on other sites
The main difference between N7:x and O0.x is that the Output data file is automatically applied to real world output circuits when you're in RUN mode. They both contain data, so you can copy the data in N7:x into O0:x and the bits that are true in N7:x will be true in O0:x, and thus drive the output states. Sometimes I write programs that use several Integer words like N7:x instead of the actual Output data file. That lets me be more flexible once I figure out exactly which sensors and valves and solenoids and motor starters are connected to which actual physical output circuits.

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