RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
85
innovators for industry
Ctrl Command get_serial_number
Function
returns the individual serial number of the RTC
®
4 board
Result
RTC
®
4 serial number as an unsigned 16-bit value
Integration
Pascal:
function get_serial_number: word;
C:
unsigned short get_serial_number(void);
Basic:
function get_serial_number()%
Comments
• The command is helpful when using several RTC
®
4 boards in one computer.
.
Ctrl Command get_startstop_info
Function
provides information about internal and external list starts and stops, as well as
information about the laser signals
Result
Status signal word (unsigned 16-bit value):
Bit #0 (LSB)
= 1:
An internal START has been executed since the last
command was called.
Bit #1
= 1:
An external START has been executed since the last
command was called.
Bit #2
= 1:
An internal STOP (command
) has been executed since the last
command was called.
Bit #3
= 1:
An external STOP has been executed since the last
command was called.
Bit #4
logical AND operation of the signals /STOP and /STOP2:
= 1:
The external /STOP input (and the /STOP2 input of the MARKING ON THE FLY connector) are
currently set to HIGH or not connected.
= 0:
The external /STOP input (or the /STOP2 input of the MARKING ON THE FLY connector) are
currently set to LOW.
Bit #9
Enable Laser Status. Bit = 1: Laser is enabled. See
and
Bit #10
TTL Laser Signal Status. Bit = 1: Laser signals are
active-low
(Jumper
X10
Bit #12
logical AND operation of the signals /START and /START2:
= 1:
The external /START input (and the /START2 input of the MARKING ON THE FLY connector)
are currently set to HIGH or not connected.
= 0:
The external /START input (or the /START2 input of the MARKING ON THE FLY connector) are
currently set to LOW.
The remaining bits are reserved.
Integration
Pascal:
function get_startstop_info: word;
C:
unsigned short get_startstop_info(void);
Basic:
function get_startstop_info()%
Comments
• The status bits #0 … #3 are reset after the command is executed.
References