Rename Macro - S-COM 6K Owner's Manual

Microprocessor repeater controller
Table of Contents

Advertisement

RENAME MACRO

Command Form:
Description:
Acknowledgement: OK
Errors:
? ERR 1
Examples:
6K V1.02 03-16-91
(PW) 27 (old name, new name) *
This command is used to change the name of an existing macro. The
commands stored in the macro are not affected. The macro names must be
entered using 4 digits. If either (or both) is shorter than 4 digits, enter
leading zeroes.
wrong number of digits entered
? NOT FOUND
? NAME USED
Assume that a macro exists under the name 6A, and that we want to
change its name to 1200. Enter the following command:
(PW) 27 006A 1200 *
Assume that we now want to change its name to 789. Enter the following
command:
(PW) 27 1200 0789 *
Finally, let's change its name once more to simply D. Enter the following
command:
(PW) 27 0789 000D *
Here is a wrap up of what we have done: Before its name was changed, the
macro was executed by entering 6A*. After the first name change, it was
executed by entering 1200*. After the second name change, it was
executed by entering 789*. After the third name change, it was executed by
entering D*. You can see that a macro can have a short or a long name,
and that its name can be made up of numerals and letters.
MACROS
the old name does not exist in the directory
the new name already exists in the directory
126

Advertisement

Table of Contents
loading

Table of Contents