Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Author Topic: Repeat Cycle Timer  (Read 3636 times)

OldSalt

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 15
Repeat Cycle Timer
« on: March 01, 2011, 08:00:11 PM »

Repeat cycle Timers are used in processes where the cycle must be repeated numerous time over the course of a day. They can replace many time of day timers.  This example is a working fragment of a larger system.  The actions of the Master ON / Master Off not germain to the Repeat Cycle Timer for pump control have been removed.

System is AHP 3.306 with Smart Macros
This example works from the computer as no flags are used.  Modified Macros that run from the interface are included.

Module Descriptions:
A1 (Master)
   - any Switchable On/Off module I'm using an M466.  This MAY be a phantom module.
   - provides enable for repeat cycle timer

A2 (Pump Control)
   - any Switchable On/Off module I'm using an M466.  This IS a phantom module.
   - maintains state for repeat cycle timer

A3 (Pump)
   - any Switchable On/Off module I'm using an WS13A. This IS a real module.
   - actual control for the pump


Macro Descriptions:
Master On - Provides initial trigger Repeat Cycle Timer
Master Off - turns Pump Control and Pump Off
Cycle Timer - implements the repeat cycle, and controls A3 (Pump)
Pump Control Reset - not needed, turns A2 (Pump Control) Off When A1 (Master) is off, following self- trigger of Cycle Timer


Macros (for the computer)

Master On
Trigger: A1 On
Conditions: none

Actions:
 - A2 On


Master Off
Trigger: A1 Off
Conditions: none

Actions:
 - delay 1 second
 - A3 Off
 - A2 Off


Cycle Timer
Trigger: A2 On
Conditions: A1 On

Actions:
 - A3 On
 - delay 5 seconds (set to your desired On time)
 - A2 Off
 - A3 Off
 - delay 10 seconds (set to your desired Off time)
 - A2 On (Self - Triggers Cycle Timer)


Pump Control Reset (Else for Cycle Timer)
Trigger: A2 On
Conditions: A1 Off

Actions:
 - A2 Off


Macros (for the interface)

Master On
Trigger: A1 On
Conditions: none

Actions:
 - Set Flag 1 On
 - A2 On


Master Off
Trigger: A1 Off
Conditions: none

Actions:
 - Set Flag 1 Off
 - delay 1 second
 - A3 Off
 - A2 Off


Cycle Timer
Trigger: A2 On
Conditions: A1 On AND Flag 1 is On

Actions:
 - A3 On
 - delay 5 seconds (set to your desired On time)
 - A2 Off
 - A3 Off
 - delay 10 seconds (set to your desired Off time)
 - A2 On (Self - Triggers Cycle Timer)


Pump Control Reset (Else for Cycle Timer)
Trigger: A2 On
Conditions: A1 Off

Actions:
 - A2 Off

« Last Edit: March 01, 2011, 08:31:23 PM by OldSalt »
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.