Reentrant Macros?

Started by PajamaGuy, July 24, 2008, 01:49:29 PM

Previous topic - Next topic

PajamaGuy

Flag #8 is SET
Phantom switch F8 switches OFF

Macro TimeOff triggers on F8-OFF
IF FLAG #8 is SET
      Delay 5 min 
     Clear FLAG #8
     Delay 1 min
    Set F8 OFF  (or SendRF F8=OFF)
Endif

If trigger module is already OFF, will sending an F8-OFF re-trigger the macro?  Will sending RF F8-OFF re-trigger macro?  If I have this macro turn ON F8, then wait the 5 min., and then send the OFF, will it re-trigger?

(Yeah, I'm going to try it when I get home, but I thought some of you'all might have some 'sperience with reentrant macros.
PajamaGuy
Win-7 - Dell XPS -Automation
VA12a on a dedicated desktop - Video
XTB-IIR & V572RF32

Remote via LogMeIn (FREE) and Ignition

Puck

Quote from: PajamaGuy on July 24, 2008, 01:49:29 PM
If trigger module is already OFF, will sending an F8-OFF re-trigger the macro?  Will sending RF F8-OFF re-trigger macro?  If I have this macro turn ON F8, then wait the 5 min., and then send the OFF, will it re-trigger?

AHP doesn't care about the previous state of a module. It will still run the OFF macro even if the module is currently OFF.

PajamaGuy

PajamaGuy
Win-7 - Dell XPS -Automation
VA12a on a dedicated desktop - Video
XTB-IIR & V572RF32

Remote via LogMeIn (FREE) and Ignition

SMF spam blocked by CleanTalk