sinha_nsit
Member
This is apparently very simple application, but I have not been able to write a ladder program for it so far:
Input: two maintained type ON/OFF switches
Output: A lamp
Objective: The lamp should switch ON when both switches are ON. It should switch OFF when both switches are OFF. Any other combination, i.e., one switch ON and the other OFF, should not change the previous status of output.
The difficulty: How to retain the previous status, which may be both ON or OFF for the same combination of input conditions?
Thanks.
Input: two maintained type ON/OFF switches
Output: A lamp
Objective: The lamp should switch ON when both switches are ON. It should switch OFF when both switches are OFF. Any other combination, i.e., one switch ON and the other OFF, should not change the previous status of output.
The difficulty: How to retain the previous status, which may be both ON or OFF for the same combination of input conditions?
Thanks.