EasyManua.ls Logo

S-COM 7K - Names of Macros; Contents 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...
7K Chapter 6
6-2
digits, or two commands totalling 98 digits, or three commands totalling 96, and
so forth.
If the amount of memory remaining in a macro is insufficient to store a desired
command, there may still be enough room to store the name of another macro.
“Chaining” another macro to the original macro expands the storage capacity
by another 100 digits.
Note: Commands must reside completely within a macro. You may not store
part of a command in a macro and continue it in another macro.
Names of Macros
You name the macro when you create it. Creating a macro causes the
controller to put the macro name in a directory so it can find the macro at
execution time. A macro can be renamed, since the controller can easily
replace the old macro name in the directory with a new one. A macro can be
deleted, since the controller can erase the name in the directory.
You can give a macro any name that is 1, 2, 3, or 4 characters in length and
does not contain a (*) or (#). Thus, you may use the characters 0 through 9 and
the lettered keys (A, B, C, and D). Names you could use included “7,” “123,”
“1234,” “3AC6,” and so on.
If the Macro Name has leading zeros, they will be ignored by the controller. For
example, the following macro names will all refer to the same macro: 5, 05,
005, 0005. You may execute the macro by entering any of these names. When
you chain a macro to another macro, you may enter the macro name into the
original macro by skipping the leading zeros.
Note: It is important to know that many of the programming commands in this
manual require a macro name to be entered in 4 digits, because the 4 digits act
as placeholders. You must use leading zeros if necessary, since skipping them
will cause the command to have the wrong format. Therefore, when creating a
new macro, or using any of the other commands that specify a 4-digit macro
name, enter leading zeros if the name has fewer than 4 digits.
Contents of Macros
You may store any sequence of digits into a macro except for the (*) and (#).
The (*) is entered last, to terminate the command and indicate the end of the
data to be stored. Since the (*) and (#) cannot occur in the data being stored,
you must store one command at a time. Store the first command in a macro
when you create it, and store any additional commands using the Append To
Macro command on page 6-7.
A macro, then, can store programming commands, other macro names, or
both. You can create Master Macros which contain the names of other macros,

Table of Contents