Using Input And Output; Channels; Input Change Keywords - AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual

Programming language
Table of Contents

Advertisement

Using Input and Output

Channels

You define what happens when remote inputs occur in mainline. To get inputs into the program, and
generate an output, use channels.
Almost all methods of control using an Axcess Control System require the use of channels on
devices, as shown in FIG. 2. Every channel has two aspects: the input function and output function.
When a button is pressed on a control panel, the input function of the button sends an input change
to your program. The input change alerts the Central Controller to scan your program for a
reference to that input.
FIG. 2 Input and output functions of a channel

Input Change Keywords

When there is an input change, Axcess passes through the entire program once to see if the change
is referenced. If so, Axcess executes the statements in the program associated with the input
change. The following six keywords are used in conjunction with input changes:
Input Change Keywords
PUSH
RELEASE
Axcess Programming Language
The PUSH keyword is used to find out if a channel has had an input change
from off to on, such as when a button is pressed. If the channel has been
turned on, the corresponding PUSH statement is activated. The operation(s)
following this PUSH statement is executed once after the channel is turned on.
PUSH statements must be followed by a device number and a particular chan-
nel, and both are enclosed in brackets. Variables can be used in their places,
but this is done only in special circumstances. Following the PUSH statement
is the operation to be executed when the PUSH occurs. If more than one event
must happen, a compound statement must follow the PUSH. For example:
PUSH[device,channel]
{
}
Multiple PUSH statements can be specified to execute the same action. For
example:
PUSH[TOUCH_PANEL,1]
PUSH[RADIO,64]
{
}
The RELEASE keyword is used in the same way as PUSH, except the opera-
tion underneath a RELEASE statement will be executed if the corresponding
button is released.
Using Input and Output
(* Statement *)
(* Statement *)
15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Axcess

Table of Contents