Define_Latching; Define_Mutually_Exclusive; Define_Toggling - AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual

Programming language
Table of Contents

Advertisement

Channel Characteristics
Input and output changes occurring on non-combined panels will not affect combined panels, and
vice versa.

Define_Latching

In this definition section, latching channels and variables are defined. A latching channel is a
channel that only changes its state once per PUSH. That is, if a latching channel is activated by a
TO keyword, it changes its state; when the TO is stopped by releasing the button that started it, the
channel does not go back to its previous state (like a momentary channel). The channel stays either
on or off. The status of a latching channel will reflect the on/off state of the channel. For example:
DEFINE_LATCHING
[RELAY,SYSTEM_POWER]
[VCR,PLAY]..[VCR,REWIND]
VAR1
In this example, the device-channel [RELAY,SYSTEM_POWER] is defined as latching, and the
variable VAR1 is defined as latching.

Define_Mutually_Exclusive

Members of a mutually exclusive set are placed in parentheses underneath the
DEFINE_MUTUALLY_EXCLUSIVE keyword. The double period (..) shortcut specifies a range
of device-channels to be defined as mutually exclusive. For example:
DEFINE_MUTUALLY_EXCLUSIVE
([RELAY,SCREEN_UP],[RELAY,SCREEN_DOWN])
([RELAY,DRAPE_OPEN]..[RELAY,DRAPE_STOP])
The first set defines two channels as mutually exclusive. The second set defines a range of channels
as mutually exclusive.

Define_Toggling

To make a channel toggling, it must be defined as both mutually exclusive and toggling. The
DEFINE_TOGGLING section is usually located directly after the
DEFINE_MUTUALLY_EXCLUSIVE section. Here is an example:
DEFINE_TOGGLING
[RELAY,SCREEN_UP]
[RELAY,SCREEN_DOWN]
26
Axcess Programming Language

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Axcess

Table of Contents