Warning
A warning message can be generated within a macro by using the word “WARNING” followed by the desired text
within double quote (“ ”) marks (the warning message will show up in the alarm window whenever the next
critical alarm condition occurs). Macro warnings are treated as non-critical alarms. No alarm notification will
occur until a critical alarm occurs. Up to 32 characters may be in each warning message. Multiple warning
statements may be in a single macro if more characters are needed.
E
Exxa
am
mp
plle
e
If/Then/Else
This feature allows the macro to perform conditional functions, such as initiating a command output if a
metering or status channel gives a certain reading. IF/THEN/ELSE statements can be placed anywhere within a
macro. The “IF” and the “THEN” must be on the same line in the macro. The “ELSE” statement is on a line by
itself and is not required in order for the IF/THEN condition to be evaluated. The “ENDIF” statement must be
included as the last line for any IF/THEN statement.
E
Exxa
am
mp
plle
e 1
1
E
Exxa
am
mp
plle
e 2
2
CHAPTER 10: MACROS
99
CUSTOMER SUPPORT: 978-486-3711 • support@burk.com • www.burk.com
IF STATUS(3)=LOW THEN [CR]
COMMAND ME, ME, 1A [CR]
DELAY 50 [CR]
COMMAND ME, 2, 16A [CR]
ENDIF
“IF” begins the IF/THEN statement.
These command lines will execute only if status
input is equal to LOW
“ENDIF” ends the IF/THEN statement (more
command statements in a macro can be included
before and/or after this IF/THEN portion).
IF MUTESTATESTATUS(5)=1 AND METER(12)>3500 THEN [CR]
MACRO ME, 3, 2 [CR]
ELSE
COMMAND ME, 1, 9B [CR]
ENDIF [CR]
Status channel 5
must be muted AND
metering channel 12
must be more than
3500 before Macro
#2 on Unit 3
executes
If the above is FALSE,
command 9B on
Unit 1 will be issued
WARNING “Power change complete” [CR]
The statement in double-quotes will
appear in the alarm window when the
next critical alarm occurs.
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 ...