Start Transmitter
This is an example of a macro that starts other macros after a
short time delay. The first line starts Macro #2. There is a 10-
second delay, then Macro #3 is started. After another delay of
ten seconds, Macro #5 begins. Each line of code takes
approximately .2 seconds to run.
Note: This macro shows a time delay only. Each macro will start
immediately after the specified amount of delay time whether or
not the previous macro has finished. This type of macro should be
used with caution because too many macros running simultaneously
(more than eight) will cause an alarm. If a macro needs to be
completed before continuing on to the next part of the macro,
follow the sub-procedure example.
Sub Procedure
These examples show how global variables may be used in nested macros to ensure that each macro is finished
before another one begins. The first line sets the global variable number one to a value of zero. This line sets up
a variable loop that prevents subsequent macros from starting before the current one has finished running. The
second line launches Macro #8 which issues three Commands; 10A, 11A, and 12A, after which the global
variable is made equal to 1.
While Macro #8 is executing, Macro #7 is paused in a variable
loop established by the WHILE statement that lasts as long as
G(1) = 0. When Macro #8 changes the global variable to 1,
Macro #7 ends the WHILE statement and launches Macro 9.
Macro #9 issues three commands and then changes the value
of the global variable to 2 and then ends.
Macro #7 is paused by the second WHILE statement until
Macro #9 changes the global variable to 2. Macro #7 then
ends the WHILE statement and ends the macro.
GSC3000 & VRC2500 INSTALLATION & OPERATION MANUAL
CHAPTER 10: MACROS
110
Macro #8
Macro #9
Macro #7
Содержание GSC3000
Страница 8: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL viii ...
Страница 22: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 14 ...
Страница 32: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 24 ...
Страница 40: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 32 ...
Страница 52: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 44 ...
Страница 61: ...CHAPTER 6 MODEM SITE EQUIPMENT CONNECTIONS 53 CUSTOMER SUPPORT 978 486 3711 support burk com www burk com ...
Страница 68: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 60 ...
Страница 120: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 112 ...
Страница 128: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 120 ...
Страница 132: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 124 ...
Страница 140: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 132 ...
Страница 144: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 136 ...