Specifications
<< >>
NOT EQUAL TO
==
EQUAL TO
++
ADD
––
SUBTRACT
**
MULTIPLY
//
DIVIDE
%% ––
Returns the INTEGER VALUE OF THE REMAINDER of a division problem
(()) ––
PARENTHESES
Parentheses must be in pairs. The computation of the innermost pair is resolved before moving outward to the
next computation.
CHAPTER 10: MACROS
103
CUSTOMER SUPPORT: 978-486-3711 • support@burk.com • www.burk.com
Z=METER(1)/METER(2) [CR]
The variable Z is now equal to the floating point
value of metering channel 1 DIVIDED by metering
channel 2.
X=METER(3)%98 [CR]
The value of X is now equal to the integer
remainder of metering channel 3 divided by 98.
Z=(METER(1)+METER(2))/35 [CR]
The variable Z is now equal to the floating point
value of metering channels 1 and 2 ADDED
together, then divided by 35.
IF METER(3)<>50 THEN [CR]
END [CR]
ELSE [CR]
COMMAND ME, ME, 1A [CR]
ENDIF [CR]
Compares metering channel 3 of this unit to the
value of 50. If metering channel 3 is NOT EQUAL
TO 50, the macro ends. If metering channel 3 is
EQUAL TO 50 then issue command 1A on this
unit.
IF METER(3)=50 THEN [CR]
END [CR]
ELSE [CR]
COMMAND ME, ME, 1A [CR]
ENDIF [CR]
Compares metering channel 3 of this unit to the
value of 50. If metering channel 3 is EQUAL TO
50, the macro ends. If metering channel 3 is NOT
EQUAL TO 50 then issue command 1A on this
unit.
Z=METER(1)+METER(2) [CR]
The variable Z is now equal to the floating point
value of metering channels 1 and 2 ADDED
together.
Z=METER(1)-METER(2) [CR]
The variable Z is now equal to the floating point
value of metering channel 1 MINUS metering
channel 2.
Z=METER(1)*METER(2) [CR]
The variable Z is now equal to the floating point
value of metering channels 1 and 2 MULTIPLIED
together.










