Channel Characteristics
25
Axcess Programming Language
Define_Combine
This definition section allows the combination of functionally identical devices, such as identically
programmed Touch Panels and Softwire Panels. When the program references one of these devices,
all other combined devices in the set are also referenced. The set of devices, called a combine list,
must be enclosed in parentheses. For example:
DEFINE_COMBINE (PANEL1,PANEL2,PANEL3)
This combines the three devices PANEL1, PANEL2, and PANEL3. If an input change occurs on
any of the three devices, Axcess sees the input as coming only from the first device in the list
(PANEL1). If button [PANEL2,12] is pressed, Axcess will see the input as coming from
[PANEL1,12] due to the combination. Likewise, any output change that is sent to any device in the
list will automatically be sent to all devices in the list. This includes level changes. For example, the
statement ON [PANEL3,5Ø] will turn on channel 50 for all three devices in the list.
DEFINE_COMBINE is typically located immediately after the DEFINE_DEVICE section of a
program.
Device and Channel Keywords (Cont.)
DO_RELEASE
This keyword causes an input change from on to off to occur on a specified
device-channel without the device-channel being deactivated by external
means.
Here is the format:
DO_RELEASE (device,channel)
If a RELEASE statement corresponding to the device-channel is present in the
program, it will be executed. The DO_RELEASE keyword also forces the
release of a device-channel turned on by DO_PUSH.
GET_PULSE_TIME
This system variable contains the current duration of PULSEs and MIN_TO, as
set by SET_PULSE_TIME.
Time is measured in tenths of seconds, and the default is one half-second.
For example:
SET_PULSE_TIME(12)
P_TIME = GET_PULSE_TIME
The variable P_TIME now contains 12, or 1.2 seconds.
This keyword is useful only in limited situations, and its use is strongly discour-
aged.
MASTER_SLOT
This system variable returns a number which represents the slot in which the
Central Controller is plugged.
Ø represents slot 1, and 1 represents slot 2.
If this keyword is used in any system other than an AXF-BP (large CardFrame),
MASTER_SLOT will always return to Ø.
SET_PULSE_TIME
To set the length of time for PULSE, use the keyword SET_PULSE_TIME.
Time is measured in tenths of seconds, and the default is one half-second. The
PULSE time remains the same value until it is changed in the program. Here is
an example of SET_PULSE_TIME:
SET_PULSE_TIME(12)
This sets the current duration of PULSEs to 1.2 seconds. It recommended that
you return pulse time to the default setting of .5 seconds, as in the following
example:
SET_PULSE_TIME(5)
Summary of Contents for Axcess
Page 1: ...instruction manual Software Axcess Programming Language ...
Page 8: ...vi Axcess Programming Language Table of Contents ...
Page 12: ...Introduction 4 Axcess Programming Language ...
Page 22: ...Axcess Basics 14 Axcess Programming Language ...
Page 38: ...Channel Characteristics 30 Axcess Programming Language ...
Page 54: ...Levels 46 Axcess Programming Language ...
Page 62: ...Operators 54 Axcess Programming Language ...
Page 66: ...Variable Types and Conversions 58 Axcess Programming Language ...
Page 70: ...Two Dimensional Arrays 62 Axcess Programming Language ...
Page 80: ...While Keywords 72 Axcess Programming Language ...
Page 86: ...Using Buffers 78 Axcess Programming Language ...
Page 94: ...Waits and Timer Keywords 86 Axcess Programming Language ...
Page 102: ...Using Subroutines 94 Axcess Programming Language ...
Page 108: ...Include Files and System_Calls 100 Axcess Programming Language ...
Page 120: ...Compiler Error Messages 112 Axcess Programming Language ...
Page 124: ...The External_Control Protocol 116 Axcess Programming Language ...