if it bleeds, we can kill it ...
suppose that you have TWO momentary pushbuttons wired up to your PLC as inputs ...
Button-A is physically/electrically wired Normally-Open ...
Button-B is physically/electrically wired Normally-Closed ...
suppose that you have FOUR lamps wired up to your PLC as outputs ...
Lamp-E ...
Lamp-F ...
Lamp-G ...
Lamp-H ...
sketch all of those components out on a piece of paper ... do NOT wire/connect the buttons to the lamps ... just connect the buttons to the PLC input terminals ... connect the lamps to the PLC output terminals ...
now then ...
write FOUR simple rungs to control the four lamps (one rung per lamp) ... you should use ONLY eight "instructions" (total) in your program ... you'll need TWO XICs and TWO XIOs and FOUR OTEs ... there will be only TWO instructions on each of your rungs ...
write your program to meet the following specifications ...
(1) Lamp-E must be ON when Button-A is pressed ... it must be OFF when Button-A is released ...
(2) Lamp-F must be ON when Button-A is NOT pressed ... it must be OFF when Button-A is pressed ...
(3) Lamp-G must be ON when Button-B is pressed ... it must be OFF when Button-B is released ...
(4) Lamp-H must be ON when Button-B is NOT pressed ... it must be OFF when Button-B is pressed ...
ask the forum members for help (if you need it) – and post your answer so they can check your work ... I'm teaching non-stop for the next two weeks or I'd offer more help myself ...
BIG PICTURE IDEA COMING UP ...
with the PLC's ladder logic, you can make "something" happen:
(A) when you DO have an electrical signal coming in from the field ...
OR ...
(B) when you do NOT have an electrical signal coming in from the field ...
it's dealer's choice
once you get this little experiment done, you should have a better grip on the basic concepts that are troubling you ...