Specifications

100
CREATING MACROS TYPES OF MACROS
7 Beaver Brook Road, Littleton, MA 01460 • 978-486-0086 • www.burk.com
TYPES OF MACROS
COMMANDS
To issue a command in a macro, begin a new line with the word
“Command. This is followed by the location of the command
output that will be triggered.
1. Identify the site (your VRC2500 unit). This is the site network
number or the word “ME.
2. Identify the VRC unit controlling the command output by using
the word “ME.
3. The final entry in the command line is the actual command
output that is to change state. Possible values here are 1-16
and either A or B. 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 also trigger another macro. As with commands,
macros are identified by site and VRC unit. Start the line with the
word “Macro ME, ME, followed by the macro number to be run.
An example of a nested macro would be a macro re-defining
upper and lower metering limits that are placed at the end of a
power change macro.
Macro Line Example Description
Macro ME, ME, 5 [CR] “Macro” tells the macro it will be triggering another macro
The first “ME” refers to the site. The second “ME” refers to
this VRC unit. The “5” means Macro #5 on this I/O will be
run. [CR] Carriage Return or Enter.
Macro Line Example Description
Command ME, ME, 10A [CR] “Command” tells the macro it will issue a command
The first “ME” refers to the site. The second “ME” refers to
this VRC unit. 10A refers to the command output to be
executed (CR) Carriage Return or Enter