In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Stefan Man wrote: [color=#0000ff>Shawn [color=black>Thank] [/color] [color=black>I] [/color] [color=#0000ff> IF] HIGH Power_relay HIGH Power_relay_led PAUSE Timer HIGH Con_relay HIGH Con_relay_led [/color] [color=blue> When the INPUT see 0 Volts then want to have this routine run[/color] IF IN = 0 LOW Con_relay LOW Con_relay_led PAUSE Timer LOW Power_relay LOW Power_relay_led [color=#0000ff> [color=#0000ff>