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
command.
Call
set_ext_start_delay( Delay, EncoderNo )
Parameters
Delay
EncoderNo Number of the to-be-used encoder counter as an unsigned 32-bit value,
Comments
• For external list starts, see
• The track delay is specified in (relative) counting units of the selected encoder counter
(the RTC
see
page
• 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
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
• 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
• 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
RTC5_PARAM_ERROR).
®
®
RTC
4 RTC
5 unchanged functionality (except for the extended range of values)
®
The RTC
real encoder (hardware encoder), but also with an encoder simulation started via
simulate_encoder.
®
In RTC
4 compatibility mode, the RTC
permissible range of values is correspondingly reduced).
References
simulate_ext_start,
set_extstartpos, set_extstartpos_list,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
track delay (counter steps of the selected encoder counter EncoderNo) as a
signed 32-bit value; allowed range: [–2
allowed values:
= 0:
Encoder counter Encoder0
= 1:
Encoder counter Encoder1
page
210.
®
5's encoder counter is triggered via an external or simulated encoder signal,
215).
or an external start signal) to occur when the BUSY status or
return value will be set).
5 allows this command to be used not only (as with the RTC
set_ext_start_delay_list
simulate_ext_start
or
simulate_ext_start_ctrl
31
31
... +(2
–1)]
set_control_mode
(bit#2).
(get_last_error
®
5 multiplies the specified value for Delay by 16 (the
set_control_mode
return code
®
4) together with a
422
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?