Instruction manual

Initial APWeb Setup by Network Admin
12
APWeb Instruction Manual
Creating/Editing Macros
A macro is a sequence of BCS (Basic Control Structure) control commands that are executed
simultaneously. Up to 50 macros can be created on the Create/Edit Macro page and executed from the
Execute Macro page. (A macro can contain up to 63 individual command characters).
Note: If you are not familiar with BCS (Basic Control Structure) commands, see the “BCS Protocol
Instruction Manual” on the AMX AutoPatch CD or at www.amx.com.
APWeb macros should not be confused with local presets (called macros on some systems) or with
global presets. Local presets are defined using XNConnect; global presets are defined using BCS
commands or a control panel. Both types of presets are stored on the distribution matrix. APWeb macros
are defined and stored on APWeb and cannot be executed from other control points (e.g., control panels,
HyperTerminal, etc.). APWeb macros can, however, include preset commands that were defined
elsewhere (see the example below). Since a global preset replicates a predefined total system state, its
command string should not be in an APWeb macro command that includes other BCS commands.
A macro BCS command (not case sensitive) is one or a series (shown in the first example below) of
complete BCS commands. Do not enter a space (or any other character) between theT” ending one
command and the start of the next command.
Macro Examples
We recommend writing down the BCS command(s) used for each macro, as the contents of a macro
cannot be retrieved after it is created. We also suggest making the names of the macros very descriptive
(so the user can easily determine what the macro switches) and providing the user with a list of macro
names with descriptions of each macro’s contents.
BCS Command
Action
CL0I2O7TCL0I5O21 23 24T Creates a macro that switches Input 2 to Output 7 and Input 5 to
Outputs 21, 23, and 24 on Level 0
R7T Creates a macro to execute global preset 7 (defined on control panel)
FIG. 6
Create/Edit Macro page
Specify Macro Contents
Delete Macro