PAC Processing speed

Discussion in 'C-Bus Wired Hardware' started by martymonster, Apr 4, 2006.

  1. martymonster

    martymonster

    Joined:
    Aug 5, 2004
    Messages:
    162
    Likes Received:
    1
    I am thinking about moving some code from Minder to a PAC.
    (There is no PAC yet but have been coding using PICED and testing the code)

    The Minder sets a flag which would be picked up by the PAC and then the PAC would execute the required code.

    My question is, which would process the code quicker or more efficiently, the Minder or PAC?

    The code does the following

    Code only executed when we are home.

    Flag is set. A PIR would set a flag when triggered in Minder.
    There are no light sensors etc.

    In the PAC
    Module gets triggered when flag is set.
    Check if it is NIGHT, if not EXIT

    See if light is on
    If not, turn it on to a set %
    Start Timer
    If it is on, see it we turned it on before
    If yes, restart timer
    If PAC did not turn it on, then a switch turned it on so EXIT

    When timer reaches set time, turn off light and timer

    Martin
     
    martymonster, Apr 4, 2006
    #1
  2. martymonster

    Josh

    Joined:
    Aug 25, 2004
    Messages:
    241
    Likes Received:
    0
    Location:
    Pretoria, South Africa
    I am doing something similar with a PAC. PAC monitors Application 1 (set by Minder) and switches lights on/off based on the Minders?s Mode (away/day/night).

    I find the PAC ideal as I do not have to change much on the Minder.
     
    Josh, Apr 4, 2006
    #2
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.