RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
804
Undelayed
Short List
Command
sub_call_abs_repeat
Function Causes an unconditional jump to an indexed subroutine and executes its body several
times.
Call
sub_call_abs_repeat( Index, Number )
Parameters
Index
Index of the to be called indexed subroutine (as with sub_call_abs).
Number
Number of repetitions.
0 is treated as 1.
As an unsigned 32-bit value.
Comments •
sub_call_abs( Index )
is synonymous with
sub_call_abs_repeat( Index, 1 )
.
• See sub_call_repeat and sub_call_abs.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References sub_call_repeat, sub_call_abs, sub_call
Undelayed
Short List
Command
sub_call_cond
Function Conditional call of an indexed subroutine: sub_call_cond executes sub_call(
Index
), if the
current
IOvalue
at the 16-bit digital input port of the EXTENSION 1 socket connector meets
the following condition:
((IOvalue AND Mask1) = Mask1) AND (((not IOvalue) AND Mask0) = Mask0)
(= if the bits specified in
Mask1
are
1
and the bits specified in
Mask0
are
0
). Otherwise, the
directly following list command is immediately executed.
Call
sub_call_cond( Mask1, Mask0, Index )
Parameters
Mask1
16-bit mask.
As an unsigned 32-bit value.
Only the lower 16 bits are evaluated.
Mask0
See
Mask1
.
Index
Index of the to-be-called indexed subroutine.
As an unsigned 32-bit value.
Allowed value range: [0…1023].
Comments • See sub_call.
• See also Chapter 9.3.2 ”Conditional Command Execution”, page 295.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References sub_call