Specifications

106
CREATING MACROS • SUBHEAD ONE
7 Beaver Brook Road, Littleton, MA 01460 • 978-486-0086 • www.burk.com
CONSTANTS
There are constants that cannot have any other value. These
constants may be used in any macro or combination and may
have other variable's values set to theirs.
HIGH = 1
LOW = 0
ON = 1
OFF = 0
REMLOC
The REMLOC statement allows the I/O unit to return a value to
indicate if it is in a REMOTE or LOCAL state. This equates to the
front panel push button on each I/O that causes the
REMOTE/LOCAL LED to illuminate solid or flash RED when
pressed. It does not matter which I/O unit caused the changes of
state as each I/O on the site's network returns the same value.
Macro Line Example Description
IF REMLOC=1 THEN [CR] Check REMOTE/LOCAL state
END [CR] If in local mode, end macro. If not in local
ELSE [CR] local mode, run Macro #4 on this unit. Then
MACRO ME, ME, 4 [CR] end statement.
ENDIF [CR]
STA
TUS
The status statement returns the high or low state of the desired
status channel. Enter the word “STATUS” followed immediately by
the channel number inside of parentheses.
Macro Line Example Description
IF STATUS(3)=LOW THEN [CR] If Status Channel 3 is low, then the instruction continues