Putting It All To Work - AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual

Programming language
Table of Contents

Advertisement

Channel Characteristics
DEFINE_TOGGLING
[RELAY,SCREEN_UP]
[RELAY,SCREEN_DOWN]

Putting it all to work

Now that you know how all these different types of channels operate, proceed to the mainline
section of the program and add the following lines to activate your system power, screen, drape, and
lighting relays:
DEFINE_PROGRAM
PUSH[TP,8]
TO[RELAY,SYSTEM_POWER]
PUSH[TP,1]
TO[RELAY,SCREEN_UP]
PUSH[TP,2]
TO[RELAY,SCREEN_DN]
PUSH[TP,3]
TO[RELAY,DRAPES_OPEN]
PUSH[TP,4]
TO[RELAY,DRAPES_CLOSE]
PUSH[TP,5]
TO[RELAY,DRAPES_STOP]
PUSH[TP,9]
TO[LIGHTS,LIGHT_FULL]
PUSH[TP,1Ø]
TO[LIGHTS,LIGHT_MED]
PUSH[TP,11]
TO[LIGHTS,LIGHT_LOW]
PUSH[TP,12]
TO[LIGHTS,LIGHT_OFF]
This section accomplishes several tasks:
!
!
!
!
!
22
(* POWER ON/OFF *)
(* SCREEN UP *)
(* SCREEN DOWN *)
(* DRAPES OPEN *)
(* DRAPES CLOSE *)
(* DRAPES STOP *)
(* LIGHTS FULL *)
(* LIGHTS MEDIUM *)
(* LIGHTS LOW *)
(* LIGHTS OFF *)
Pressing button number 8 on the Touch Panel alternately latches and unlatches the
SYSTEM_POWER channel (channel 1) on card RELAY.
A press of the Screen Up button latches on the SCREEN_UP channel on device RELAY,
after unlatching SCREEN_DN. The Screen Down button acts the same way as the Screen
Up button, but with the opposite channels.
Pressing Drapes Open or Drapes Close does several things. If it is off, it makes sure the
other drape channel is off (due to its mutually exclusive relationship), then it latches on.
If it was on, it turns off, but leaves its status on. To turn off the status of a channel in a
mutually exclusive group, use the TOTAL_OFF keyword.
Since the LIGHTS channels are mutually exclusive latching, a press of the Lights Full
button latches on the LIGHT_FULL channel on the device LIGHTS, after unlatching any
LIGHTS channel that was previously on. The other LIGHTS channels operate in a
similar fashion.
The DRAPES_STOP channel is momentary mutually exclusive, whereas the other drape
channels are mutually exclusive latching. When the Drapes Stop button is pressed,
Axcess makes sure the other drape channels are off, then engages the DRAPES_STOP
Axcess Programming Language

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Axcess

Table of Contents