RTC
®
5 PC Interface Board
Rev. 1.9 e
6 Developing User Applications
65
innovators for industry
6.2.4 Start of Operation
To start RTC
®
5 operation after successful initialization
of the DLL (see preceding section), the following
steps should be carried out at the beginning of every
RTC
®
5 user program:
RTC
®
5 Initialization
(1)
Call the command
. This command resets the RTC
®
5 (the
equivalent of a hardware reset), performs a DSP
memory check, initializes the memory configura-
tion (in the default configuration), loads the firm-
ware (
RTC5RBF.rbf
), the program file
RTC5OUT.out
and a binary support file
(
RTC5DAT.dat
), and starts the signal processor.
After execution of this command, the position of
the scanner will automatically be set to the null
position (0|0) (i.e. the laser focus is centered in
the image field) and laser control will be
deacti-
vated
.
Assorted versions of the DLL driver and the
program files
RTC5OUT.out
,
RTC5RBF.rbf
and
RTC5DAT.dat
cannot be arbitrarily combined with
another. The command
performs a version compatibility check. If a
version error exists (error code 7 and
return code
RTC5_VERSION_MISMATCH
), the board will be
and thus will not be avail-
able for further commands other than those not
requiring access rights. RTC
®
5 boards can only be
operated if all software files are available with a
compatible combination of versions (see
).
If the version compatibility check detects an error
and the board’ s access rights aren’t assigned to
another application, the multi-board command
n_load_program_file
can be used to load a
correct program version, followed by
to access the board.
If multiple RTC
®
5 boards are connected as master
and slave, then the command
boards and a clock phase synchronization should
be performed prior to initializing and operating
the individual boards with further commands
(see
chapter 6.6.3 "Master/Slave Operation",
RTC
®
5 Configuration
(2)
If necessary, configure the RTC
®
5’s list memory
via
. By default
SCANLAB preconfigures the list memory such that
“List 1” and “List 2” can each store 4,000 list
commands. The protected memory area, “List 3”,
receives the remaining 1040576 of the 2
20
storage positions.
Scan System Initialization
(3)
to down-
load the necessary correction file(s) to the RTC
®
5
(you can load a correction table before or after
but you should load it
before
; you should at least load
a 1:1 correction table).
See
, for information about
using several different correction tables.
(4)
Assign the previously loaded correction table(s)
to the scan head control port(s) via
(2)
. This causes the intended
image field correction to also be applied to the
default scanner position (0|0) previously set by
image field correction can even shift the null posi-
tion).
After the command
default assignment is:
– The first scan head control port uses
correction table #1.
– The second scan head control port is off.
The desired image field correction becomes active
only after a subsequent
, jump or marking
command.
(5)
Define the scanner delay mode (for instance
variable polygon delay or constant polygon delay;
command
(6)
Load a table for the variable polygon delay
if necessary (command
The remaining settings (scanner delays, jump speed
and marking speed) are set via further control
commands or list commands.
(1)
deletes correction tables number 3 and 4.
(2) As of Version DLL 521, OUT 521,
auto-
matically calls
after loading the correction
table (if the command follows
) (see notes
on
).