Command Append To Macro - S-COM 7K Manual

Microprocessor repeater controller
Table of Contents

Advertisement

This command is used to attach additional commands to a macro.
• The macro name (to be appended) must already exist in the directory.
• The stored information, shown below as Command, in the command form
section, may be a control command or another macro name (if you wish to
chain together several macros).
Command Form:
Command
Append to Macro
Acknowledgment: Sends OK
Errors:
Error
? err 1
? not found
? too big
Default: None
Examples:
Assume that a macro has been created to turn ON Logic Output #1, and that
its name is 6A. We wish to append a command that dials a telephone number
(i.e. accesses the autopatch). This way, entering 6A will result in the controller
both dialing the number and turning on the output.
Assuming the autopatch password is 10 (the default), and the number we wish
to dial is 663-6000, the command to dial is:
(PW) 29 006A 10 6636000 *
Note: The macro 6A must already exist before this additional command may
be appended. See the Create New Macro command on page 6-5.
Append To Macro
Form
(PW) 29 (macro name, command)*
Meaning
too few digits entered
macro name does not exist in directory
command being entered exceeds the storage
area remaining for this macro
Macros
6-7

Advertisement

Table of Contents
loading

Table of Contents