EasyManua.ls Logo

S-COM 7K - Applications of Macros

Default Icon
400 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Macros
6-3
and by simply entering the name of the master macro, you will cause all of
them to be executed.
Sequence of Execution
When a macro is executed, the commands (or other macro names) stored in
that macro are executed in the order they were stored. For example, assume
that a certain macro contains a programming command, then a macro name,
then another programming command. When this macro is executed, the first
programming command will be executed first. Then, the “imbedded” macro will
be fully executed. (This means that if the imbedded macro contains other
commands and other macros, they will all be executed before the remaining
items in the imbedded macro are executed.) Finally, the last programmming
command in the macro will be executed. Your controller has the ability to
queue up to 40 commands or macros at one time.
Cautions
Do not create a loop by creating a macro that calls its own name. Likewise, do
not create a series of macros that will eventually loop back and call the
originating macro. For example, don’t create a macro named 65, which calls
macro 66, which calls macro 67, which calls 65. The result will be a locked up
system that will require you enter 40 commands by hand to reinitialize itself, or
a trip to the site to do a warm start.
Note:The controller does not check the validity of the data stored in macros; it
simply stores whatever data you specify. If you create errors in the data you
store in macros, or if you change a command password after commands using
the password are stored in macros, the macros will not execute properly.
Applications of Macros
You can exucute a macro by entering its name, followed by the (*). You can
skip the (*) if you have turned ON the command execution on carrier drop
feature using the Enable/ Disable End-of-Transmission Command Execution
commands (page 16-6). You can instruct the controller to automatically execute
macros based on hardware or software. There are many of these Event-
Triggered Macros described throughout the manual. (Examples can be found
on pages 7-10, 16-2, and 16-4.)
If you create a macro that contains the autopatch sequence, the macro
becomes an Autodial Code. you can personalize the autodial by having it
identify the call with a message. here’s how its done.
Create a macro, using the desired macro name, the autopatch access
password, and the telephone number.
Append a command to the macro, using the same macro name, that sends
the message: (PW) 15 (your message) *

Table of Contents