
5-4
BenchMike Pro 2025/2050 & Z-Mike Pro 4025/4050 Instruction Handbook: Advanced Capabilities
You can use also access individual segments, fixture position, temperature information, and global variables (see
following table).
Usage
Description
seg[x]
Returns the size of segment x, where x is a valid segment
number. See
ments.
linposx
Returns the current position of linear fixture #1 or #2, where x
is the fixture number. This name is used only with an Intelli-
gent Linear Fixture, and is not tied to a Feature.
rotposx
Returns the current position of rotating fixture #1 or #2, where
x is the fixture number. This name is used only with an Intelli-
gent Rotational Fixture, and is not tied to a Feature.
globx
Returns the value of a global parameter, where x is 1, 2, 3, or
4.
temp
Returns the Thermal Compensation Actual Temperature.
size.tmult
Returns the value of the Thermal Compensation Multiplier
Global variables are reserved for the end user. The BenchMike Pro will not modify their values. They are used
system-wide and are non-volatile. This means that, once defined, each value remains fixed across libraries, fea-
tures, and even after power down. You may set their value as an expression or via a PURL command.
5.1.1.5
Mathematical Functions
You can also use the following mathematical functions in your expressions. These expressions use double float-
ing point precision.
Function
Usage
Description
abs
abs(num)
Absolute value of num
acos
acos(num)
Arccosine of num; returned angle is given
in radians from 0 to pi.
asin
asin(num)
Arcsine of num; retuned angle is given in
radians from -pi/2 to +pi/2
atan
atan(num)
Arctangent of num; returned angle is given
in radians from 0 to pi.
atan2
atan2(xnum,ynum) Arctangent of the specified x and y coordi-
nates; the arctangent is the angle from the
x-axis to a line containing the points (0,0)
and (xnum,ynum); returned angle is given
in radians from -pi to +pi.