RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
510
innovators for industry
Normal
List Command
simulate_ext_start
Function
after the specified track delay, causes a simulated external list start.
Call
simulate_ext_start( Delay, EncoderNo )
Parameters
Delay
track delay (in counter steps of the selected
EncoderNo
encoder counter) 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
.
• The track delay is specified in (relative) counting units of the selected encoder counter
(the RTC
®
5’s encoder counters are triggered via an external or simulated encoder
). The list start will only be triggered after the internal encoder
counter was counted up (or down) by the specified track delay. External list starts initi-
ated via
simulate_ext_start
or via an external start signal, but whose execution was
postponed according to the specified track delay, will be placed in a queue that accom-
modates up to 8 starts.
simulate_ext_start
cancels a previous queue and starts a new
one.
• A start trigger initiated via
simulate_ext_start
or an external start signal will only
trigger a list start if it doesn’t occur when the BUSY status is set (e.g. when outputting
a list), when the INTERNAL-BUSY status is set (e.g. during
PAUSED status is set (after
or
). Otherwise, bit#11 of the
return value will be set. Therefore, if an unsuitable track delay is
specified (e.g.
Delay
= 0), no list start will be triggered. If
simulate_ext_start
is the
first command in a list, then
can be used for checking whether
processing of this list can finish within the defined track delay.
• 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).
• Track delays can also be set with
. Track
delays are deactivated via initialization (with
), via external list stops
. They can also be deactivated with
(bit#2).
• The
simulate_ext_start
command alone
doesn’t
cause an encoder reset. But if accord-
ingly set with
(bit#9), a start trigger initiated via
simulate_ext_start
or via an external start signal will cause an
encoder reset if the start trigger is preceded by one of the Processing-on-the-fly
commands
or
• If
EncoderNo
> 1, then
simulate_ext_start
will be replaced with a
(
return code
RTC5_PARAM_ERROR
).
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
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
,
,