Controlling Load with Two Inputs

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by pspeirs, Jun 4, 2015.

  1. pspeirs

    pspeirs

    Joined:
    Nov 23, 2013
    Messages:
    185
    Likes Received:
    10
    Location:
    Sydney
    Similar to another of my posts however I don't have the logic available on the output unit as I've used it for other things. Basically I have a PE beam wired to an AUX Input unit. The Aux Input channel 1 is configured as a timer and controls "Group1". The inside button controls "Group2". The Output is controlled by "Group3"

    The logic I'm using is basically

    once (GetLightingState("Group1") = ON) OR (GetLightingState("Group2") = ON) then
    SetLightingState("Group3", ON);

    once (GetLightingState("Group1") = OFF) AND (GetLightingState("Group2") = OFF) then
    SetLightingState("Group3", OFF);

    Is this the best way to handle my situation.
     
    pspeirs, Jun 4, 2015
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.