Beginner-LogixPro Simulator-Stop button

g19code

Member
Join Date
Jan 2012
Location
US
Posts
3
I tried some searches but I didn't find an answer. In the Door simulation in LogixPro I'm a little confused about using the Stop button in part 2. It is listed as NC switch and when I look at the data table I:1/2 has a 1 in its normal state. Using electrical logic for the NC PB switch it is closed (in state 0) and therefore it would output (1) to the input register, correct? That's what seems to be happening and, if correct, this makes sense to me at this part.

I thought this would then be a XIO in the program, since it was a NC PB. If nothing was done to the switch, it would continue to stay energized and allow the rung to stay true. If the PB was pressed, it would show the button as opened (state 1) and therefore the PB would output (0) to the input register.

In my program, and all the programs I've seen, it actually needs to be XIC in the rung to allow for a true statement in the simulation. Seems backwards. I must be missing something very basic. I have attached a pic of my program for just the opening and closing of the door in exercise #2 that allows it to work correctly, but, again, seems backward. Can someone point me in the correct direction?

Overhead-StartPart2.jpg
 
In my program, and all the programs I've seen, it actually needs to be XIC in the rung to allow for a true statement in the simulation. Seems backwards. I must be missing something very basic. I have attached a pic of my program for just the opening and closing of the door in exercise #2 that allows it to work correctly, but, again, seems backward. Can someone point me in the correct direction?
It seems backwards, but the reason is that you (like most everyone else) have set in your mind the equality: Physical closed switch = PLC closed instruction.

That is incorrect, and only true for 1/2 of the time:
Physical normally-open switch = PLC open (XIC) instruction, BUT
Physical normally-closed switch = PLC open (XIC) instruction.

That is why they gave these instructions different names other than NO and NC. "Examine If Closed" means to output a 1 (True or enabled) if the physical switch is Closed. "Examine If Open" means to output a 1 if the physical switch is Open. Now which instruction (XIC or XIO) will give us a 1 when a Normally Closed physical switch is closed?

The key is to remember that you are dealing with two separate things: the external physical device, and the internal PLC memory. They are not the same thing.

The neumonic for the way I remember it: XIO gives an "Opposite" result.
 
Last edited:
Thank you both for the quick responses. I think I have a handle on it now. I get the separation of physical and internal.

Why didn't they make it XI0 and XI1?

XI0 will be true if the bit is 0, false if 1
XI1 will be true if the bit is 1, false if 0

Or is that simplifying it too much?
 
Last edited:

Similar Topics

Hi, I'm new to the website. I use LogixPro. I'm trying to find the symbols for a pressure switch, and a temperature switch. Where do I go in the...
Replies
2
Views
2,507
Hi all, Writng a FB in ST on Beckhoff TC for a pulser which turns on and off on a cycle, is paused by turning bControlInput to FALSE, but resumes...
Replies
6
Views
275
So to start off: I have no experience with PLC's, but I'm good at figuring stuff out, but I need some help to know if my PLC is just dead in the...
Replies
2
Views
125
Dear all, First of all thanks for letting me join this forum. I just need some help in one of my programming exercises. Being a beginner...
Replies
6
Views
629
I am trying to connect to SLC5/03 using an FTDI usb to rs232 with female to female converter at 1 end... however I can not connect to it ... the...
Replies
8
Views
1,294
Back
Top Bottom