Programming Feedback
This section describes how to assign feedback to a button. Feedback refers to the lighting of a
button during and after it is pressed. Axcess does not do this automatically; you must tell the system
how to light the button.
Feedback involves only one statement per button. The first part of the statement references the
device-channel of the button that is going to be lit. It is followed by an equal sign (=) and the
conditional feedback. For example:
DEFINE_PROGRAM
[TP,1] = [RELAY,SCREEN_UP]
When RELAY channel 1 (the constant value of SCREEN_UP) is on, the light of TP button 1 will
also be on. When the channel is off, the light will be off.
Any reference to a device-channel that does not have the keyword PUSH or RELEASE preceding it
is referring to the output side of the channel. This is a very important concept, because it is the basis
of how feedback works.
One way of creating an output change is to assign a value directly to the device-channel. If the
value that you are assigning is another device-channel reference it tells Axcess to take the output
status of channel SCREEN_UP on device RELAY, and send it as an output change to channel 1 of
device TP. Since the device-channel [RELAY,SCREEN_UP] is defined as being in a mutually
exclusive group, its status will be ON if it was the last channel activated in that set, and the
feedback assignment will light button 1 on the Touch Panel.
Grouping feedback statements
The feedback statement is sometimes found after the end of a PUSH statement. For example:
DEFINE_PROGRAM
PUSH[TP,1]
TO[RELAY,SCREEN_UP]
[TP,1] = [RELAY,SCREEN_UP]
When TP button 1 (Screen Up) is pressed, RELAY channel 1 (SCREEN_UP) is turned on. Relay
channel 1 in turn causes the button's feedback to be turned on.
The feedback statements can also be grouped together in a feedback section at the end of the
program. as shown below:
[TP,3] = [RELAY,DRAPES_OPEN]
[TP,4] = [RELAY,DRAPES_CLOSE]
[TP,5] = [RELAY,DRAPES_STOP]
This feedback section will act no differently if each statement is placed under its corresponding
PUSH statement.
Feedback statements can be placed anywhere in the program. However, it is recommended that you
organize them in your program so that they can be easily located. While grouping all of the
feedback statements at the end of the program is acceptable, in larger programs it can be confusing
to skip from the top where the PUSH statement is located to the bottom where the feedback
statements are located. Smaller programs may be easier to manage if all the PUSHes are together
Axcess Programming Language
channel. Unlike the DRAPES_OPEN and DRAPES_CLOSE channels, however, the
DRAPES_STOP channel turns off when the button is released. Like the others, its status
stays on because it is in the mutually exclusive group with the other Drape channels.
(* SCREEN UP *)
Channel Characteristics
23
Need help?
Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?