TYPES OF MACROS
The macro examples in this manual show line separations by the use of [CR]. When you see [CR] in the
examples, press enter to start a new line for the next instruction.
Commands
To issue a command in a macro, begin a new line with the word COMMAND, followed by the site ID (ME), the
unit number, and the command channel and command state (A or B) to activate:
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
Note: If desired, a number based on a variable can be inserted into the command channel location instead of a
channel number and letters A or B. This can be useful in “While Loops” that increment the variable value each pass.
Switch A for channels 1-16 would equal a variable value of 1-16. Switch B would equal 17-32.
Nested Macros
A macro can be used to initiated another macro. Start the line with the word MACRO, followed by the site and
unit numbers, and the macro number to run.
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
Note: Nested macros do not act as subroutines – they run concurrently with the originating macro. If you need to
execute a full macro sequence prior to running another macro, see the sub-procedure on page 110.
CHAPTER 10: MACROS
97
CUSTOMER SUPPORT: 978-486-3711 • support@burk.com • www.burk.com
COMMAND ME, ME, 10A [CR]
Command tells the macro it will issue a
command. The first ME refers to the site.
The second ME indicates the channel is
located on this unit. 10A refers to the
command channel and output state to be
activated. [CR] indicates carriage return
(press ENTER or RETURN) to start the
next line.
COMMAND ME, 5, 10A [CR]
Same as above, but in this example, the
macro refers to channel 10A on I/O unit
number 5.
MACRO ME, ME, 5 [CR]
Macro indicates that this instruction will
initiate another macro. The first ME refers
to the site. The second ME indicates the
channel is located on this unit. "5" means
that Macro #5 will be run. [CR] indicates
carriage return (press ENTER or RETURN)
to start the next line.
MACRO ME, 3, 5 [CR]
Same as above, but in this example, the
macro refers to Macro #5 on I/O unit
number 3.
Summary of Contents for GSC3000
Page 8: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL viii ...
Page 22: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 14 ...
Page 32: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 24 ...
Page 40: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 32 ...
Page 52: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 44 ...
Page 68: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 60 ...
Page 120: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 112 ...
Page 128: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 120 ...
Page 132: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 124 ...
Page 140: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 132 ...
Page 144: ...GSC3000 VRC2500 INSTALLATION OPERATION MANUAL 136 ...