Internet PLC Forum

General => General Discussions => Topic started by: bobsamuel on December 07, 2013, 03:14:05 PM

Title: Interrupt to monitor physical micro-switch on and off
Post by: bobsamuel on December 07, 2013, 03:14:05 PM
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
Title: Re: Interrupt to monitor physical micro-switch on and off
Post by: BetterBath on September 20, 2023, 12:37:57 AM
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.
Junk (https://secure.linkcentre.com/status/?url=https://stluciejunkremoval.com/junk-removal-fort-pierce)removal (https://secure.linkcentre.com/status/?url=https://sunrisecityjunk.com/junk-removal-port-st-lucie/)bulk (https://www.provenexpert.com/junk-removal-in-port-st-lucie-fl/)trash (https://www.a-zbusinessfinder.com/business-directory/Britishessaywriters-Port-St-Lucie-Florida-USA/33759031/)pickup (https://www.a-zbusinessfinder.com/business-directory/St-Lucie-Junk-Removal-Vero-Beach-Florida-USA/33890168/)rubbish (https://www.a-zbusinessfinder.com/business-directory/St-Lucie-Junk-Removal-Port-St-Lucie-Florida-USA/33890176/)hauling (https://www.a-zbusinessfinder.com/business-directory/Sunrise-City-Junk-Removal-Port-St-Lucie-Florida-USA/33899893/)click (http://www.4mark.net/story/10111832/junk-removal-fort-pierce-fl-starting-at-65-(772)-222-7057)here (http://www.4mark.net/story/10111855/junk-removal-vero-beach-fl-starting-at-85-(772)-222-7057)visit (http://www.4mark.net/story/10103662/junk-removal-port-st-lucie-fl-starting-at-85-(772)-222-7057)our site (http://www.4mark.net/story/10212009/affordable-junk-removal-in-port-st-lucie-fl-(772)-206-0304)junk (http://www.adbirds.com/ViewAd/?Junk_removalAdRNTSQ)disposal (https://folkd.com/detail/https%3A%2F%2Fstluciejunkremoval.com%2Fjunk-removal-fort-pierce)hauling (https://www.folkd.com/detail/https%3A%2F%2Fstluciejunkremoval.com%2Fjunk-removal-vero-beach)trash (https://www.folkd.com/detail/https%3A%2F%2Fstluciejunkremoval.com%2Fjunk-removal-port-st-lucie)pickup (https://folkd.com/link/port-st-lucie-junk-haulers)