General > General Discussions
Interrupt to monitor physical micro-switch on and off
(1/1)
bobsamuel:
Hi,
Hardware being used: FMD88-10 and T40H-Relay
I have an application in which the NO and NC states of a physical micro-switch must be monitored in real-time to change the state of a Relay and/or Output. The switch's state must be monitored and responded to without waiting for the next ladder scan.
I understand how to use an interrupt (INTRDEF) and related Custom Function to monitor the micro-switch and set a Relay and/or Output, from off to on.
Question: How can an interrupt (INTRDEF) and related Custom Function be used to monitor the same micro-switch to re-set a Relay and/or Output, e.g. from on to off?
Suggestions will be appreciated. Thanks, Bob
BetterBath:
To monitor the micro-switch for changes from on to off using an interrupt (INTRDEF) and Custom Function, set up a second interrupt routine for this specific condition. This way, you can respond to both state changes of the micro-switch in real-time.
Junkremovalbulktrashpickuprubbishhaulingclickherevisitour sitejunkdisposalhaulingtrashpickup
Click herehaulinglawn carerepairtallahasseeour sitejunk removalclick herehandymanjunk haulingjunk removersclean outcape coralwebsitehandymansour serviceslandscapingfloridajunk removallandscaping.
Navigation
[0] Message Index
Go to full version