RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
805
Undelayed
Short List
Command
sub_call_repeat
Function Causes an unconditional jump to an indexed subroutine and executes its body several
times.
Call
sub_call_repeat( Index, Number )
Parameters
Index
Index of the to be called indexed subroutine (as with sub_call).
Number
Number of repetitions.
As an unsigned 32-bit value.
Number
= 0 is treated like
Number
= 1.
Comments •
sub_call( Index )
is synonymous with
sub_call_repeat( Index, 1 )
.
• sub_call_repeat avoids an empty cycle at the repetition, which otherwise inevitably
occurs with
sub_call
…
sub_call
or
list_repeat
…
sub_call
…
list_until
constructions.
• By sub_call_repeat, for example, trajectories (see Glossary entry on page 30) from
micro vector commands for runup curves and coast down curves can be seamlessly
joined together with shapes from subroutines.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References sub_call_abs_repeat, sub_call, sub_call_abs,
micro_vector_abs,micro_vector_abs_3d,micro_vector_rel,micro_vector_rel_3d