RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
82
innovators for industry
Ctrl Command get_dll_version
Function
returns the version number of the RTC
®
4 driver DLL
Result
DLL version number as an unsigned 16-bit value
Integration
Pascal:
function get_dll_version: word;
C:
unsigned short get_dll_version(void);
Basic:
function get_dll_version()%
Comments
• The RTC
®
4 DLL version numbers are in the range 400-499.
• The RTC
®
3 DLL version numbers are in the range 100-399.
References
Ctrl Command get_head_status
Function
returns the
scan head
status signals according to the XY2-100 or XY2-100-O protocol
Parameter
head
= 1:
returns the status of scan head A (primary scan head connector)
= 2:
returns the status of scan head B (secondary scan head connector)
Integration
Pascal:
function get_head_status(head: word): word;
C:
unsigned short get_head_status(unsigned short head);
Basic:
function get_head_status(ByVal head%)%
Result
Status signal word (unsigned 16-bit value):
Bit #15 (MSB)
Power Status, 1 = OK
Bit #14
Temperature Status, 1 = OK
Bit #13
reserved
Bit #12
Position Acknowledge
Y
, 1 = OK
Bit #11
Position Acknowledge
X
, 1 = OK
Bit #10
reserved
Bit #9
0
Bit #8
1
Bits #7…#0
identical to Bits #15…#8
Comments
• See
for information about using two scan heads.
• It’s also important to consider all the status signal information described in your
scan system’s operating manual.
• Together with an intelli
SCAN
®
be used to get the status signals (Statusword) directly after a new start or reset or when
the Statusword is selected to be transmitted by the scan system via the
command. In addition, intelli
SCAN
®
scan systems logically AND-
connect the Position Acknowledge signals of the X- and Y-axis and only return a
common signal at bit#3,4,11,12 (here the Position Acknowledge signals of the X- and
Y-axis can be separately read out via the command
with
code
=
0528
H
at flag bit#12).
References
,