EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - set_ext_start_delay

Scanlab RTC 5 PC Interface Board
622 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...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
422
innovators for industry
Ctrl Command set_ext_start_delay
Function sets a track delay for subsequent external list starts, so that the lists are started with a delay
relative to the triggering input signal or simulate_ext_start or simulate_ext_start_ctrl
command.
Call
set_ext_start_delay( Delay, EncoderNo )
Parameters
Delay
track delay (counter steps of the selected encoder counter
EncoderNo
) as a
signed 32-bit value; allowed range: [–2
31
…+(2
31
–1)]
EncoderNo
Number of the to-be-used encoder counter as an unsigned 32-bit value,
allowed values:
= 0: Encoder counter Encoder0
= 1: Encoder counter Encoder1
Comments For external list starts, see page 210.
The track delay is specified in (relative) counting units of the selected encoder counter
(the RTC
®
5’s encoder counter is triggered via an external or simulated encoder signal,
see page 215).
Ensure that the sign of the track delay (
Delay
parameter) is appropriate for the selected
encoder’s counting direction (for external triggering, this corresponds to the work-
piece’s direction of motion).
•For
Delay
= 0, the track delay is deactivated.
If a track delay is specified, that causes a subsequent start trigger (initiated via
simulate_ext_start or an external start signal) to occur when the BUSY status or
INTERNAL-BUSY status is set (e.g. when outputting a list or during goto_xy), then no
list starts will get triggered by this start trigger (in this case, bit#11 of the
get_startstop_info return value will be set).
Track delays can also be set with simulate_ext_start. Track delays are deactivated via
initialization (with load_program_file), via external list stops and via stop_execution.
They can also be deactivated with set_control_mode (bit#2).
The command set_ext_start_delay cancels already externally triggered list starts that
haven’t yet executed and are still being held in a queue that accommodates up to 8
starts.
•If
EncoderNo
> 1, then set_ext_start_delay will be ignored (get_last_error return code
RTC5_PARAM_ERROR
).
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
The RTC
®
5 allows this command to be used not only (as with the RTC
®
4) together with a
real encoder (hardware encoder), but also with an encoder simulation started via
simulate_encoder.
In RTC
®
4 compatibility mode, the RTC
®
5 multiplies the specified value for
Delay
by 16 (the
permissible range of values is correspondingly reduced).
References simulate_ext_start, set_ext_start_delay_list
set_extstartpos, set_extstartpos_list, set_control_mode

Table of Contents

Related product manuals