Specifications
118
CREATING MACROS • MACRO EXAMPLES
7 Beaver Brook Road, Littleton, MA 01460 • 978-486-0086 • www.burk.com
AND in an IF/THEN Statement
This example shows a macro examining
two factors in a situation and then taking
action if both factors require it.
First, the macro checks Status Channel 5.
If the reading on this channel is not “Low,”
the IF statement is skipped and the macro
ends. If the reading on Status Channel 5 is
“Low,” then the macro checks Status
Channel 6. If the reading on Status
Channel 6 is also “Low,” the macro then
issues Commands 10a and 11a. If Status
Channel 6 is not “Low,” then no action is
taken and the macro ends.
In order for any commands to be issued,
both conditions must be true.
The second example shows how the same
results can be achieved by the use of the
“AND” statement in the “IF/THEN”
command.
And In If/Then Statement Macro
And in If/Then Statement Macro










