Specifications
108
CREATING MACROS • MATHEMATICAL STATEMENTS
7 Beaver Brook Road, Littleton, MA 01460 • 978-486-0086 • www.burk.com
+ ADD
Macro Line Example Description
Z = meter(1)+meter(2) [CR] The variable Z is now equal to the floating point value of
Meter Channels 1 and 2 of this unit ADDED together
- SUBTRACT
Macro Line Example Description
Z = meter(1)-meter(2) [CR] The variable Z is now equal to the floating point value of
Meter Channel 1 MINUS Meter Channel 2 of this unit
* MULTIPLY
Macro Line Example Description
Z = meter(1)*meter(2) [CR] The variable Z is now equal to the floating point value of
Meter Channels 1 and 2 of unit MULTIPLIED together
/ DIVIDE
Macro Line Example Description
Z = meter(1)/meter(2) [CR] The variable Z is now equal to the floating point value of
Meter Channel 1 DIVIDED by Meter Channel 2 of this unit
% Returns the integer value of the remainder of a division problem. 5%2=1
Macro Line Example Description
X = meter(3)%98 [CR] The value of X is now equal to the integer remainder of
Meter Channel 3 of this unit divided by 98
= EQUAL TO
Macro Line Example Description
If meter(3)=50 Then [CR] Compares Meter Channel 3 of this unit to the value of 50
End [CR] If Meter Channel 3 is EQUAL TO 50, the macro ends
Else [CR] If Meter Channel 3 is NOT EQUAL TO 50 then issue
Command ME, ME, 1A [CR] Command 1A on this unit.
ENDIF [CR]










