RTC
®
5 PC Interface Board
Rev. 1.9 e
6 Developing User Applications
81
innovators for industry
Other than that, the same rules as for indexed
subroutines are applicable (see
Conversion of Non-Indexed Subroutines", page 78
).
Notes
• The
command is synonymous
with the
command.
Calling Indexed Text Strings
Indexed text strings can be called for marking times,
dates and serial numbers via the commands
,
“AbsCall” commands
Dates, Times and Serial Numbers" on page 150
Management of Indexed Characters and Text
Strings
The RTC
®
5’s management of indexed characters
together with the management of indexed text
strings occurs via one internal management table
maintained separately from the internal index
management of indexed subroutines.
Index management by the user (renumbering,
copying, …) resembles index management of
indexed subroutines (see
) using the commands
,
/
protected buffer area also includes indexed char-
acters and text strings.
6.5.3 Jumps
(synonymous with
commands allow the definition of runtime jumps by
the RTC
®
5 to a specified address.
With the
memory address within the configured list area
(“List 1” and “List 2”) can be specified. Jumps within
or out from the protected buffer area (“List 3”) are
not allowed with these commands. Any
command having such an unallowed
jump address will be ignored during execution.
, jump widths (i.e. relative
memory addresses) can be specified. This command
can be used in all memory areas, even the protected
buffer area (“List 3”). Nevertheless, when specifying
jump addresses, you should be sure the jump does
not exceed the boundary of the corresponding
memory area. Otherwise, the RTC
®
5 will ignore the
command during execution. If the command is used
in an indexed subroutine, you must further ensure
the jump does not exceed the subroutine’s bound-
aries. During processing of indexed subroutines,
relative jumps that exceed a subroutine’s boundaries
will be ignored by the RTC
®
5.
Notes
• Reconfiguration of the list memory or conversion
of a subroutine can result in an originally-valid
jump address becoming invalid due to new list
boundaries or an altered subroutine position in
the memory. In this case, the RTC
®
5 ignores the
corresponding jump command – hence, the
program will probably no longer function as
intended. Therefore, exercise care when
programming jump commands.
• When conditional jump commands are used,
execution of a jump is dependent on an external
control signal (see
).
• Jump commands initiating a jump to themselves
as
list_jump_rel( 0 )
will be ignored at runtime
to prevent an infinite loop that excludes further
activities.
On the other hand, conditional jump commands
as
list_jump_rel_cond( Mask1, Mask0, 0 )
are
allowed, e.g. to wait for confirmation of a signal.