NOT Logic Implementation using PLC

S1 is mapped to I1

Conditions:

1. 2.
Truth table
S1 (switch1) Light (ouput)
0 (open) 1 (energized)
1 (close) 0 (de-energized)