RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
478
Undelayed
Short List
Command
list_call_abs_cond
Function Conditional subroutine call (AbsCall): list_call_abs_cond executes list_call_abs(
Pos
), if
the current
IOvalue
at the EXTENSION 1 socket connector’s 16-bit digital input port 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
list_call_abs_cond( Mask1, Mask0, Pos )
Parameters
Mask1
16-bit mask. As an unsigned 32-bit value.
Only the least significant 16 bits are evaluated.
Mask0
See
Mask1
.
Pos
Absolute jump address [0…(2
23
–1)].
As an unsigned 32-bit value.
Comments • See list_call_abs.
• 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 list_call_abs
Undelayed
Short List
Command
list_call_abs_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_abs_repeat( Pos, Number )
Parameters
Pos
Absolute jump address [0…(2
23
–1)].
As with list_call_abs: 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_abs( Pos )
is synonymous with
list_call_abs_repeat( Pos, 1 )
.
• list_call_abs_repeat avoids an empty cycle at the repetition, which otherwise
inevitably occurs with
list_call_abs
…
list_call_abs
or
list_repeat
…
list_call_abs
…
list_until
constructions.
• See list_call_repeat and list_call_abs.
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_cond, list_call_repeat, list_repeat, list_until