Multitech MT2834BL Specifications Page 113

  • Download
  • Add to my manuals
  • Print
  • Page
    / 225
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 112
107
CREATING MACROS • MATHEMATICAL STATEMENTS
TECHNICAL SUPPORT 978-486-0086 • support@burk.com • www.burk.com
MATHEMATICAL STATEMENTS
The macro program has a wide range of mathematical
statements that may be used to achieve your desired outcome.
Each statement will use standard notation with parentheses
being used to define a computational hierarchy. Some standard
trigonometric operators may be used as well.
Numerical results of mathematical computations are not always
exact. For example, -4 would not come back as 2. It would come
back as 1.9999 or 2.0001. Take this into consideration when
using mathematical statements in any macro.
A list of supported mathematical statements is available on the
table on page 120.
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 GREATER THAN 50, the macro ends.
Else [CR] If Meter Channel 3 is NOT GREATER THAN 50, then issue
Command ME, ME, 1A [CR] command 1A on this unit.
ENDIF [CR]
> GREATER THAN
< LESS THAN
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 LESS THAN 50, the macro ends.
Else [CR] If Meter Channel 3 is NOT LESS THAN 50, then issue
Command ME, ME, 1A [CR] command 1A on this unit.
ENDIF [CR]
< > NOT 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 NOT EQUAL TO 50, the macro ends.
Else [CR] If Meter Channel 3 is EQUAL TO 50, then issue command
Command ME, ME, 1A [CR] 1A on this unit.
ENDIF [CR]
Page view 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 224 225

Comments to this Manuals

No comments