RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
316
Undelayed
Short
List Command
list_call_abs
Function causes an unconditional jump to a subroutine that starts at the specified absolute list
buffer address (in any desired area of list memory). In the called subroutine, any absolute
vector and arc commands will receive an offset (based on the current coordinates at the
time of the call).
Call
list_call_abs( Pos )
Parameter
Pos
Absolute jump address [0 … (2
20
–1)] as an unsigned 32-bit value
Comments • The list_call_abs command is basically identical to list_call (see the comments there).
However, list_call_abs results in a different execution of absolute vector and arc
commands within the called subroutine. When list_call_abs executes, an offset is
established for the called subroutine and set according to the current position. Thereby,
the current position is automatically considered when absolute vector and arc
commands of the called subroutine are subsequently executed. Nested calls are taken
into account when the offset is determined (with list_return, the previous offset values
are re-established). Subroutines can thus contain absolute vector and arc commands
even if they are intended to be repeated in different parts of the image field.
• If the called subroutine contains no absolute commands, then there is no difference
between list_call_abs and list_call.
RTC
®
4
RTC
®
5new command
References list_call, list_call_abs_cond
Undelayed
Short
List Command
list_call_abs_cond
Function Conditional subroutine call (AbsCall): This command executes the command
list_call_abs(
Pos
), if the current
IOvalue
at the EXTENSION 1 connector’s 16-bit digital
input port meets the following condition:
((IOvalue AND
Mask1
) =
Mask1
) AND (((not IOvalue) AND
Mask0
) =
Mask0
)
(i.e. if the bits specified in
Mask1
are
1
and the bits specified in
Mask0
are
0
). Otherwise, the
directly following list command will be immediately executed.
Call
list_call_abs_cond( Mask1, Mask0, Pos )
Parameters
Mask1,
Mask0
16-bit masks as unsigned 32-bit values
(only the least significant 16 bits are evaluated)
Pos
Absolute jump address [0 … (2
20
–1)] as an unsigned 32-bit value
Comments • See list_call_abs.
• Also see "Conditional Command Execution", page 213.
RTC
®
4
RTC
®
5 new command
References list_call_abs