RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
406
Ctrl Command get_head_status
Function Returns the XY2-100 status word from the specified scan head connector.
Call
get_head_status( Head )
Parameters
Head
= 1: Returns the status of the first scan head connector
(Byte #1 = Byte #0).
= 2: Returns the status of the second scan head connector
(Byte #1 = Byte #0).
Else: Returns the status of the first scan head connector (Byte #0)
and of the second scan head connector (Byte #1).
Result XY2-100 status word.
As an unsigned 32-bit value.
Byte #0
(LSB)
Bit #0
(LSB)
1.
Bit #1 0.
Bit #2 1 (reserved).
Bit #3 Position Acknowledge of x axis, 1 = OK.
Bit #4 Position Acknowledge of y axis, 1 = OK.
Bit #5 1 (reserved).
Bit #6 Temperature Status, 1 = OK. See comment, page 407.
Bit #7 Power Status, 1 = OK. See comment, page 407.
Byte #1 Bit #8
…
Bit #15
Bit assignments as with Byte #0.
Byte #2
…
Byte #3
Bit #16
…
Bit #31
0.
Comments • get_head_status is available even with the SL2-100 protocol, if the data type is not set
to the 20-bit status word itself, see Section ”Status Information Returned from the
Scan System”, page 183.
• The status bits are returned by get_head_status in Bit #3…Bit #7 and/or
Bit #11…Bit #15. Independently of the scan system’s current state, Bit #0 and Bit #8
are returned by get_head_status as 1, while Bit #1 and Bit #9 are returned as 0.
• If no scan system is currently connected or is not switched on, then the value 0 is
returned.
• The PowerOK signal is an electronically generated signal. It means:
The scan system servo control is ready for input data (“PowerOK”, actually corresponds
to a “ServoOK”). Therefore, it cannot be used to check whether a connected scan head
is switched on at all. get_startstop_info (Bit #17 and/or Bit #25) can be used for
distinguishing.