Unit installation

8-3
RLC-3 V1.80 Copyright © 1998 Link Communications Inc. 9/17/98
II Call macro 501
A Call Command 007
B Call macro 502
1 Call macro 503
2 Call macro 504
3 Call macro 505
III Call Command 000 and connect port 1 and 3
Macros 503, 504 and 505 are at level 4. Note that they are all at the same level. Any commands
that are called from these macros will be at level 5. This is about as deep as the RLC-3 will let you
nest macros, 5 or 6 levels. If you ever exceed this limit, error macro 209 will be executed. This is
the nested macro depth limit.
Macros that Accept Data at Runtime:
Normally macros must be programmed with all of the data they will need to execute. For example,
a macro that dials a phone number could be programmed as follows:
055 500 ; erase macro 500
056 500 112 123 4567 ; call 123-4567
Such a macro will always call the same phone number. It can be executed by entering “500".
There is a way to make macros that accept more information at the time they are executed, and
pass that data into the commands that are executed by the macro. For example:
055 500 ; erase macro 500
056 500 112 ; phone number will be supplied at runtime
contains everything it needs to know to make the call, except for what phone number it is supposed
to use. You can tell the controller to get the rest of the information needed to execute the macro at
the time you tell it to execute the macro with command 067. For the above example, you could
enter:
067 500 07 0 ; make macro 500 accept exactly seven digits
Command 067 tells the controller that a macro will need more information at runtime. In this case,
we specified that the user would enter exactly seven digits. It would also be possible to let the user
enter seven or more digits (“067 500 07 1"), or any number of digits (“067 00 1"). See command
067 for more information.