RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
480
Undelayed
Short List
Command
list_call_repeat
Function Causes an unconditional jump to a subroutine that starts at the specified absolute address
(in any desired area of RTC6 List Memory) and executes its body several times.
Call
list_call_repeat( Pos, Number )
Parameters
Pos
Absolute jump address [0…(2
23
–1)].
As with list_call: As an unsigned 32-bit value.
Number
Number of repetitions.
As an unsigned 32-bit value.
Number
= 0 is treated as
Number
= 1.
Comments •
list_call( Pos )
is synonymous with
list_call_repeat( Pos, 1 )
.
• list_call_repeat avoids an empty cycle at the repetition, which otherwise inevitably
occurs with
list_call
…
list_call
or
list_repeat
…
list_call
…
list_until
constructions.
• By list_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.
• An empty cycle must be inserted if at list_call_repeat another subroutine call follows
immediately (nested calls). This can be avoided, if there is for example, at least one
micro_vector[*] Command between two subroutine calls.
• The subroutine start
Pos
can be located in any part of the RTC6 List Memory area. This
applies in particular directly after list_call_repeat. Thus, the complete RTC6 List
Memory can continuously be used for list commands without reserving a special area
for protected subroutines.
• After a list_return the next processed command is the one which follows directly after
list_call_repeat. However, if the subroutine start follows directly after list_call_repeat,
then the next processed command is the one which follows directly after list_return.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References list_call, list_call_abs, list_call_abs_repeat, list_repeat, list_return, list_until,
micro_vector_ab
s, micro_vector_abs_3d,
micro_vector_rel, micro_vector_rel_3d