EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - get_head_status

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
266
innovators for industry
Ctrl Command get_head_status
Function returns the XY2-100 status word from the specified scan head connector.
Call
get_head_status( Head )
Parameter
Head
= 1: returns the status of the primary scan head connector
(Byte #1 = Byte #0)
= 2: returns the status of the secondary scan head connector (activation
required) (Byte #1 = Byte #0)
else: returns the status of the primary scan head connector (Byte #0)
and of the secondary 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
Bit #7 Power Status, 1 = OK
Byte #1 Bits #8…#15 bit assignments as with Byte #0
Bytes #2…#3 Bits #16…#31 0
Comments The get_head_status command doesn’t read the “normal” 20-bit status word, but
rather the permanently transmitted additional 6 status bits of the SL2-100 protocol
(also via the XY2-100 converter) (see page 127). The status bits are returned via
get_head_status in bits#2-7 and/or bits#10-15. Independently of the scan system’s
current state, bits#0 and 8 are returned via get_head_status as 1, while bits#1 and 9
are returned as 0.
If no scan system is currently connected, then the status of the most recently connected
system will be returned. If a scan system is still not connected after a reset (power-on
or load_program_file) or if (for
Head
= 2) the “second scan head control” option has
not been enabled, then get_head_status returns the value 0. If only the XY2-100
converter is connected, then get_head_status returns a 0xFD byte (“everything OK”).
In this case, get_startstop_info can be used for distinguishing between “everything
OK” and “no scan system”.
The Power Status and Temperature Status signals deliver combined status information
of both axes.
It’s also important to consider all the status signal information described in your scan
system’s operating manual.
When using an iDRIVE
®
scan system (intelliSCAN
®
, intelliSCAN
de
®
, intelliDRILL
®
,
intellicube
®
, intelliWELD
®
, varioSCAN
de
),
Without the SL2-100 interface, get_head_status only returns meaningful return
information if the XY2-100 status word was selected for return transmission.
the Position Acknowledge signals of the X- and Y-axis are logically AND-connected
and only returned as a common signal (e.g. at bit#3,4). Here, in addition, the Posi-
tion Acknowledge signals of the X- and Y-axis can be separately read out via the com-
mand control_command with
data
= 0528
H
at flag bit#12.
after a reset or power-up of the scan system, it can take around 5 seconds for data
to be returned from the scan system.

Table of Contents

Related product manuals