Sign in to follow this  
Followers 0
yellowledbetter

inputs controlling outputs

8 posts in this topic

I think i remember reading somewhere that it is not a best practice to have an input directly control an output. For example a pushbutton turns on input I1:1 and that turns on an output O1:1 it is better to have the input set a bit, and then in another rung have that bit, when true set another bit, and that second bit is mapped to an output. if so, what is the advantage of doing this?

Share this post


Link to post
Share on other sites
I think it depends on the controller, some will not allow for an Input to be forced from the programmer. So by using an interposing internal relay the programmer has more control from the keyboard when commissioning. I know of no other advantage.
1 person likes this

Share this post


Link to post
Share on other sites
Argh -0 inputs controlling outputs - the middle is the most important to my mind.

Share this post


Link to post
Share on other sites
What you describe is sometimes called Mapping the I/O. I generally prefer to use "mapped" inputs and outputs. a) I don't need the I/O drawings to create a solid control program...I can fill in the I/O address details later... b) I can easily swap the device type in one spot in the code (change a photocell from light operate to dark operate for example). c) asynchronous I/O updates become a non-issue if you sync them yourself. On the downside, there will be more logic, approximately one rung per input and one rung per output. I believe what Bob is saying is that mapped or not, it is the quality of the logic in the middle that matters most... In almost all cases, mapping is purely for convenience and structure, and offers no logical improvement to the machine behavior. More discussion: http://www.plctalk.net/qanda/showthread.php?t=65861
1 person likes this

Share this post


Link to post
Share on other sites
Yes - inputs are inputs and outputs are outputs - it is the stuff in the middle that makes if work properly or not. Cause and result?

Share this post


Link to post
Share on other sites
thanks for the input guys!! Now, i see the advantages of doing this. Is there a preferred, or easy way to get this done. Edited by yellowledbetter

Share this post


Link to post
Share on other sites
Inputs tied directly to outputs often can lead to having to deal with problems such as unplanned operation, such as input bouncing (i.e., proximity sensor toggling state). A well thought out program standard to debounce inputs and generate all conceivable alarms is the direction most firms have been heading, instead of creating a new fault every time a new situation occurs.
1 person likes this

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