RTC
®
5 PC Interface Board
Rev. 1.9 e
6 Developing User Applications
84
innovators for industry
6.6.3 Master/Slave Operation
If multiple synchronously-clocked RTC
®
5 boards are
to be used in a PC, then the RTC
®
5 boards must first
be connected pairwise with each other via the
MASTER and SLAVE connectors and then installed in
adjacent PCI slots. Always connect a board’s MASTER
connector to the SLAVE connector of another board.
Suitable connection cables are available from
SCANLAB.
An RTC
®
5 board automatically gets the master board
of a master/slave chain if a further RTC
®
5 board is
connected to its MASTER connector but no further
RTC
®
5 board is connected to its SLAVE connector. All
other RTC
®
5 boards automatically get slave boards.
can be used to query separately
for each board the master/slave status, i.e. whether
the board is operated as a master, slave or single
board.
Initialization
The commands
and
must be executed on all RTC
®
5
boards of a master/slave chain. The synchronous
timing with stable phase position of a master/slave
chain is severed by the first not-initialized board. If an
RTC
®
5 board is initialized via
but
connected as slave to a board, then it is subject to its
own clock with an arbitrary phase position.
Clock Phase Synchronization
If the RTC
®
5 boards of a master/slave chain shall be
synchronously clocked with a defined relative clock
phase, then the boards must be correspondingly
synchronized via the command
.
Therefore, it’s only necessary to send the command
(one-time) to the master board.
SCANLAB recommends performing the synchroni-
zation immediately after all boards have been
initialized (via
(0,1,2) or to temporarily detach
all scan heads.
After synchronization, the clock phase of each slave
board is (reproduceably) delayed by approx. 0.16
µ
s
in relation to the clock phase of the preceding
(upstream) board. Without synchronization, delays
of up to 10
µ
s can occur. You can use
to check if a slave board is synchro-
nized to the master board (or to the preceding board
in the master/slave chain).
Notes
• The master board doesn’t pass the encoder
signals to the slave board(s). They must always be
individually supplied to the slave board(s). Here,
you’ll need to take into account the 0.16 µs clock
phase shift.
Matching of Short-Command Counts (as of
Version DLL 523, OUT 524)
The maximum allowed number of directly consec-
utive short list commands within a 10
µ
s clock period
depends on the DSP version. To ensure that short list
commands execute synchronously even when using
multiple RTC
®
5 boards with differing DSP versions in
a master/slave chain, the
command (if
sent to the master board) reduces the short list count
on all faster boards in the master/slave chain to equal
that of the slowest board (i.e. the board with the
lowest DSP version number).
Notes
• The CPU clock frequency isn’t altered, only the
count of short list commands.
• You can also use the
command to
make appropriate individual adjustments for each
RTC
®
5 board.
• But note that some commands (e.g.
) are only available on boards
with higher-numbered DSP versions. Adjusting
the short-command count doesn’t change this
fact. To ensure that the master/slave chain
remains synchronized, only use commands that
are available even for the board with the lowest
DSP version number.
Synchronous Starts and Stops
Within a master/slave chain, external list starts (if
enabled with
) and external list
stops will be passed on from one board to all down-
stream slave boards. Therefore, a synchronous list
start of all boards (with presettable track delays) can
be induced by an external start signal, a
at
the master board; and a synchronous list stop of all
boards can be induced by an external stop signal or
a
at the master board.
In contrast, list starts via
will
not
be passed on. They must be
separately executed even at master/slave-synchro-
nized boards.