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?
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?