EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Marking Dates, Times and Serial Numbers; Marking the Time and Date; Marking Serial Numbers

Scanlab RTC6 PCIe Board
1004 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...
RTC6 boards
Doc. Rev. 1.0.21 en-US
7 Basic Functions for Scan Head Control and Laser Control
210
innovators for industry
7.5 Marking Dates, Times and
Serial Numbers
The RTC6 DLL contains a series of commands to mark
the current time, current date or the serial number of
products.
Before times, dates and serial numbers can be
marked, the required characters and text strings must
be defined as indexed characters and indexed text
strings.
Separate text strings can be defined for marking
times/dates and serial numbers. See Section
”Defining Indexed Text Strings for Time, Date and
Serial Number”, page 119.
7.5.1 Marking the Time and Date
By time_update the PC time/date is transferred to
the RTC6 PCIe Board. This is necessary after every PC
restart. After that, the board (as long as it remains
energized) internally counts the date/time with the
quartz-controlled 10 µs clock to the second.
By time_fix, time_fix_f or time_fix_f_off the current
time/date of the board is hold in a cache.
The time (hours, minutes, seconds) can be marked by
mark_time or mark_time_abs and the date (year,
month, day, day-of-the-week) by mark_date or
mark_date_abs.
To mark the date and time, the Gregorian or Julian
date can be set as well as the 12- or 24-hour format.
For marking dates of expiry, time_fix_f_off is
available to fix a forward date based on the current
date and current time.
7.5.2 Marking Serial Numbers
By mark_serial and mark_serial_abs, up to 12-digit
serial numbers can be marked. It can be specified
how leading zeros are handled.
The RTC6 PCIe Board manages up to 4 serial-number-
sets (each with its own serial number and increment
size). Serial-number-set 0 is selected at initialization
with load_program_file.
Other serial-number-sets must be selected in advance
by select_serial_set or select_serial_set_list (see
notes below).
By set_serial, set_serial_step or
set_serial_step_list, a starting serial number (max.
10 digits) and an increment size for each serial-
number-set can be specified. At initialization with
load_program_file all starting serial numbers are set
to 0 and all increment sizes are set to 1.
Each call of mark_serial or mark_serial_abs causes
the current serial number to be incremented (yet
before execution of the serial number marking) by
the specified increment size.
If a serial number is to be omitted a blank marking
can be executed (
Digits
= 0), which increments the
serial number by 1 (not by the specified increment
size).
Notes
If a serial-number-set is to be marked by
mark_serial or mark_serial_
abs, then you can
only
select that set by the list command
select_serial_set_list. mark_serial,
mark_serial_abs and set_serial_step_list are
always applied to the serial-number-set most
recently selected by select_serial_set_list.
You can use the control command get_list_serial
to query the number of the serial-number-set
most recently selected by select_serial_set_list
as well as the current serial number of that set.
This also lets you determine (among other things)
whether the current number has been or has not
been incremented after an uncontinued aborted
list.
The control command select_serial_set lets you
select (independently of selection by
select_serial_set_list) a serial-number-set for the
control commands set_serial_step and
set_serial (Note that the RTC6 PCIe Board does
not prohibit modifying parameters of the serial-

Table of Contents