Steve Etter
Lifetime Supporting Member + Moderator
That's fine for "contacts" with Coils
I may be misunderstanding where most people have problems here, but it seems to me that few technicians have an issue with XIC and XIO contacts where associated coils can be monitored. Like when looking at Output coils or Memory coils.
Since your logic is based on the desired state of any memory coil or input when examining the state of a logic rung, all we really need to do is ask "Do I want this element to be high ("true" or XIC) or low ("false" or XIO) to allow this rung to be active".
The problem, I think, tends to arise when working with real-world INPUTS when a NC contact is attached to the PLC. This is when people get confused and why I like "Active Low" and "Active High" with respect to the internal contact itself.
When a NO contact or pushbutton is attached to the PLC, most people are content - the logic is straight forward and intuitive. On the other hand, when a NC contact or pushbutton is used, you tend to think you have to use reverse logic.
By saying "Active High" or "Active Low" you can almost not have to ask what type of device is attached. Instead, you merely need to decide what its desired state needs to be for the logic to be active. Of course you can never actually get away from needing to know what type of devices are attached.
If the input or coil needs to be in its low state for the element to be active, use an "Active Low" or XIO. This corresponds to when any internal coil is de-energized, a NO contact on an input is "engergized", or when a NC contact on an input is "de-energized".
If the input or coil needs to be in its high state for the element to be active, use an "Active High" or XIC.T his corresponds to when any internal coil is energized, a NO contact on an input is "de-engergized", or when a NC contact on an input is "energized".
Steve
thunda said:"From the ladder logic perspective:
XIC: energized coil is true;
XIO: denergized coil is true:
This is simple for "real" technicians"
I may be misunderstanding where most people have problems here, but it seems to me that few technicians have an issue with XIC and XIO contacts where associated coils can be monitored. Like when looking at Output coils or Memory coils.
Since your logic is based on the desired state of any memory coil or input when examining the state of a logic rung, all we really need to do is ask "Do I want this element to be high ("true" or XIC) or low ("false" or XIO) to allow this rung to be active".
The problem, I think, tends to arise when working with real-world INPUTS when a NC contact is attached to the PLC. This is when people get confused and why I like "Active Low" and "Active High" with respect to the internal contact itself.
When a NO contact or pushbutton is attached to the PLC, most people are content - the logic is straight forward and intuitive. On the other hand, when a NC contact or pushbutton is used, you tend to think you have to use reverse logic.
By saying "Active High" or "Active Low" you can almost not have to ask what type of device is attached. Instead, you merely need to decide what its desired state needs to be for the logic to be active. Of course you can never actually get away from needing to know what type of devices are attached.
If the input or coil needs to be in its low state for the element to be active, use an "Active Low" or XIO. This corresponds to when any internal coil is de-energized, a NO contact on an input is "engergized", or when a NC contact on an input is "de-energized".
If the input or coil needs to be in its high state for the element to be active, use an "Active High" or XIC.T his corresponds to when any internal coil is energized, a NO contact on an input is "de-engergized", or when a NC contact on an input is "energized".
Steve