PSC
07 May 06, 11:13 AM
First of all the blinds should be electrically interlocked using two channels of a Change Over relay.
TOOLKIT
Create one GA for that blind in the 'Trigger' application e.g. KITCHEN BLINDS.
Create four 'Action Selectors' e.g. 0 = OFF, 1 = OPEN, 2 = STOP, 3 = CLOSE within than GA.
You will need three buttons to control the blinds - OPEN / STOP / CLOSE.
Setup the OPEN / STOP / CLOSE button functions as a 'Scene' within the input unit (DLT, Reflection, Saturn & NEO only). Edit the details for that function by selecting the box to the right of the 'function' drop down box.
Select 'KITCHEN BLINDS' from the 'Trigger Group' drop down box, select the required 'Trigger Group Action Selector' from the drop down box - i.e. OPEN. Leave the other options in that window as default - Scene 1 and Instant.
Setup the output unit (Change Over relay) for the required GA's i.e. -
Channel 1 = KITCHEN BLIND 1 OPEN
Channel 3 = KITCHEN BLIND 1 CLOSE
Channel 3 = KITCHEN BLIND 2 OPEN
Channel 4 = KITCHEN BLIND 2 CLOSE
PICED / S+
Create a scene for the blinds along these lines -
FOR THE OPEN COMMAND:
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 OPEN to Level '100%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '100%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: OPEN
FOR THE STOP COMMAND:
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: STOP
FOR THE CLOSE COMMAND:
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 CLOSE to Level '100%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '100%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: CLOSE
FOR THE OFF COMMAND:
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: OFF
You will need to setup your timers for the OPEN / STOP / CLOSE functions in the 'Constants' section of the Logic Engine. Here's one I prepared earlier -
KITCHEN BLINDSOpenTimer = 1;
KITCHEN BLINDSStopTimer = 2;
KITCHEN BLINDSCloseTimer = 3;
Another good idea is to setup reset the timers in the 'Intialisation' section of the Logic Engine. Here's one I prepared earlier -
TimerStop (KITCHEN BLINDSOpenTimer);
TimerStop (KITCHEN BLINDSStopTimer);
TimerStop (KITCHEN BLINDSCloseTimer);
OK, now we need to write some code to control the blinds. Here's one I prepared earlier -
{BLIND LOGIC CONTROL - OPEN}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 1 {"OPEN"} ) then
begin
TimerStart(KITCHEN BLINDSOpenTimer);
TimerStop(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSStopTimer);
end;
once TimerTime(KITCHEN BLINDSOpenTimer) = "0:00:45" then
begin
SetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSOpenTimer);
end;
{BLIND LOGIC CONTROL - STOP}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 2 {"STOP"} ) then
begin
TimerStart(KITCHEN BLINDSStopTimer);
TimerStop(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSOpenTimer);
end;
once TimerTime(KITCHEN BLINDSStopTimer) = "0:00:02" then
begin
SetCBusLevel("NETWORK1, "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSStopTimer);
end;
{BLIND LOGIC CONTROL - CLOSE}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 3 {"CLOSE"} ) then
begin
TimerStart(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSOpenTimer);
TimerStop(KITCHEN BLINDSStopTimer);
end;
once TimerTime(KITCHEN BLINDSCloseTimer) = "0:00:45" then
begin
SetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSCloseTimer);
end;
You will find that the scenes will be fired by the trigger levels and LED on the input unit will stay on for the nominated time as well as following the current direction of the blinds.
TOOLKIT
Create one GA for that blind in the 'Trigger' application e.g. KITCHEN BLINDS.
Create four 'Action Selectors' e.g. 0 = OFF, 1 = OPEN, 2 = STOP, 3 = CLOSE within than GA.
You will need three buttons to control the blinds - OPEN / STOP / CLOSE.
Setup the OPEN / STOP / CLOSE button functions as a 'Scene' within the input unit (DLT, Reflection, Saturn & NEO only). Edit the details for that function by selecting the box to the right of the 'function' drop down box.
Select 'KITCHEN BLINDS' from the 'Trigger Group' drop down box, select the required 'Trigger Group Action Selector' from the drop down box - i.e. OPEN. Leave the other options in that window as default - Scene 1 and Instant.
Setup the output unit (Change Over relay) for the required GA's i.e. -
Channel 1 = KITCHEN BLIND 1 OPEN
Channel 3 = KITCHEN BLIND 1 CLOSE
Channel 3 = KITCHEN BLIND 2 OPEN
Channel 4 = KITCHEN BLIND 2 CLOSE
PICED / S+
Create a scene for the blinds along these lines -
FOR THE OPEN COMMAND:
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 OPEN to Level '100%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '100%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: OPEN
FOR THE STOP COMMAND:
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: STOP
FOR THE CLOSE COMMAND:
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 CLOSE to Level '100%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '100%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: CLOSE
FOR THE OFF COMMAND:
KITCHEN BLIND 1 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 OPEN to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 1 CLOSE to Level '0%', Ramp Rate '0s'.
KITCHEN BLIND 2 CLOSE to Level '0%', Ramp Rate '0s'.
SCENE TRIGGER:
NETWORK: NETWORK1
APPLICATION: Trigger Control
GROUP ADDRESS: KITCHEN BLINDS
TAG: OFF
You will need to setup your timers for the OPEN / STOP / CLOSE functions in the 'Constants' section of the Logic Engine. Here's one I prepared earlier -
KITCHEN BLINDSOpenTimer = 1;
KITCHEN BLINDSStopTimer = 2;
KITCHEN BLINDSCloseTimer = 3;
Another good idea is to setup reset the timers in the 'Intialisation' section of the Logic Engine. Here's one I prepared earlier -
TimerStop (KITCHEN BLINDSOpenTimer);
TimerStop (KITCHEN BLINDSStopTimer);
TimerStop (KITCHEN BLINDSCloseTimer);
OK, now we need to write some code to control the blinds. Here's one I prepared earlier -
{BLIND LOGIC CONTROL - OPEN}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 1 {"OPEN"} ) then
begin
TimerStart(KITCHEN BLINDSOpenTimer);
TimerStop(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSStopTimer);
end;
once TimerTime(KITCHEN BLINDSOpenTimer) = "0:00:45" then
begin
SetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSOpenTimer);
end;
{BLIND LOGIC CONTROL - STOP}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 2 {"STOP"} ) then
begin
TimerStart(KITCHEN BLINDSStopTimer);
TimerStop(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSOpenTimer);
end;
once TimerTime(KITCHEN BLINDSStopTimer) = "0:00:02" then
begin
SetCBusLevel("NETWORK1, "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSStopTimer);
end;
{BLIND LOGIC CONTROL - CLOSE}
once (GetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS") = 3 {"CLOSE"} ) then
begin
TimerStart(KITCHEN BLINDSCloseTimer);
TimerStop(KITCHEN BLINDSOpenTimer);
TimerStop(KITCHEN BLINDSStopTimer);
end;
once TimerTime(KITCHEN BLINDSCloseTimer) = "0:00:45" then
begin
SetCBusLevel("NETWORK1", "Trigger Control", "KITCHEN BLINDS", "OFF", 0);
TimerStop(KITCHEN BLINDSCloseTimer);
end;
You will find that the scenes will be fired by the trigger levels and LED on the input unit will stay on for the nominated time as well as following the current direction of the blinds.