Regular (Periodic) External Starts
By
set_control_mode
and
(Bit #10), equidistant
External
that are independent of the time point of the start
trigger as long as they occur within the specified
track delay.
This strongly periodic list processing is –
independently of a list's actual duration of execution
and the exact time point of the
synchronized to the 10 µs clock of the
RTC6 PCIe Board.
If desired, set Bit #10 = 1 (Mode|Bit #10) to
configure the internal encoder-counter's processing
so that the track delay of an
counted only beginning with the time point of the
triggering external start signal or
(Bit #10 = 0) but already beginning with the most
recently executed
External Start
external start signal or simulate_ext_start), see
Figure
70. This makes the distance between
consecutive
External
Starts (in encoder pulses)
constant.
For activation of this mode, an
have successfully occurred (only one-time) in mode
Bit #10=0 (Mode &~Bit #10). Each subsequent
External Start
must be requested within the specified
track delay.
RTC6 boards
Doc. Rev. 1.0.21 en-US
9 Programming Peripheral Interfaces
set_control_mode_list
Starts can be created
External Start
– exactly
External Start
is not
simulate_ext_start
(also executed by an
External Start
must
Example in Pascal of a typical command sequence
without use of an external start signal:
set_control_mode(Mode
&~Bit #10);
// (one-time) reset (disable) Bit #10
// (initialization)
set_start_list_pos(ListNo, Pos);
// open some list
// afterward: some commands
simulate_ext_start(Delay,EncoderNo);
// first time start in mode Bit #10 = 0,
// otherwise in mode Bit #10 = 1
set_control_mode_list(Mode|Bit #10);
// set Bit #10 = 1
// afterward: further commands
set_end_of_list;
// close the list
execute_list_pos(ListNo,Pos);
// (one-time) start the list
If the first start is to be triggered externally (for
example, by /START or by simulate_ext_start_ctrl)
rather than by an
execute_list_pos
subsequent starts triggered by simulate_ext_start,
set_control_mode_list
then
must be called before simulate_ext_start.
After setting set_control_mode(
external start queue entries get explicitly canceled
upon an
External Stop
(thereby,
permanently stopped by an
Bit #1
For set_control_mode(
– after an otherwise infinitely repetitive series has
been stopped (for example, by
Bit #0
set_control_mode(
deactivate the track delay and cancel the queue of
not-yet-executed
External
set_ext_start_delay(
Delay
next "equidistant"
External Start
correct gap. set_control_mode(
is not sufficient for termination, because the track
delay is reactivated by any not-yet-executed
simulate_ext_start
calls.
command, but all
in the above example
Bit #1
= 1 ), the
External
Starts can be
External
Stop).
= 0 ) (default setting)
= 0 ) – you should
Starts by
= 0 ). Otherwise, the
does not have the
Bit #2
= 1 ) alone
293
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?
Questions and answers