RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
87
innovators for industry
Ctrl Command get_value
Function
reads the current value of the specified signal
Parameter
signal
specified signal represented by an unsigned 16-bit value:
= 0:
LASERON signal (1 = Laser On, 0 = Laser Off)
= 1:
StatusAX (X-axis status channel of head A)
= 2:
StatusAY (Y-axis status channel of head A)
= 3:
StatusAZ (Z-axis status channel of head A)
= 4:
StatusBX (X-axis status channel of head B)
= 5:
StatusBY (Y-axis status channel of head B)
= 6:
StatusBZ (Z-axis status channel of head B)
= 7:
SampleX (X-axis cartesian output value)
= 8:
SampleY (Y-axis cartesian output value)
= 9:
SampleZ (Z-axis cartesian output value)
= 10:
SampleAX_Corr (X-axis output value of head A)
= 11:
SampleAY_Corr (Y-axis output value of head A)
= 12:
SampleAZ_Corr (Z-axis output value of head A)
= 13:
SampleBX_Corr (X-axis output value of head B)
= 14:
SampleBY_Corr (Y-axis output value of head B)
= 15:
SampleBZ_Corr (Z-axis output value of head B)
Result
Current value of the specified signal as an unsigned 16-bit value
Integration
Pascal:
function get_value(signal: word): smallint;
C:
short get_value(unsigned short signal);
Basic:
function get_value (ByVal signal As Integer) As Integer
Comments
• The type of scan system being used determines which status signals will be generated
and returned via the status channels. Specific information can be found in your scan
system’s operating manual.
• For scan systems with only one status channel, the status signals are only readable if
signal = 1
or
signal = 4
.
• Coordinate transformations defined by
or
are already reflected in the SampleX, SampleY and SampleZ cartesian
output values.
• The SampleAX_Corr..SampleBZ_Corr output values are the (digital) output values actu-
ally transmitted from the RTC
®
4 to the scan system. The RTC
®
4 computes these values
while taking into account the SampleX, SampleY and SampleZ output values as well as
the selected correction file.
• To observe the specified signal over a long time period, use
to start a corre-
sponding measurement session.
References