RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
354
innovators for industry
Comments
• Before marking dates (after every boot-up), the RTC
®
5 and PC times should be synchro-
nized (see
) and the current (to be marked) date value should be stored
with
or
(see
"Marking Dates, Times and Serial
).
• The complete date can be marked via multiple calls of the
mark_date
command.
• The
mark_date
command reads (according to the stored date and according to the
selected date part) the starting address of the corresponding indexed text string or
character from the internal management table and then calls the command
(also see the comments there) an appropriate number of times, which then starts the
corresponding command list. The command lists must contain marking instructions for
digits 0…9 and for the month and day-of-the-week designations (see
defined text strings or characters are ignored (i.e. not marked). The called indexed text
strings can also contain calls to indexed characters (
). In the latter case, the character set can
be switched when needed (before marking via
mark_date
) with
(also
see
"Character Sets and Text Strings", page 80
• If
Part
> 7 and/or
Mode
> 3, then
mark_date
will, already during loading, be replaced
by a
RTC5_PARAM_ERROR
).
• Absolute vector and arc commands will execute absolutely after being called with
mark_date
. If date markings need to execute at various locations within the image
field, then the corresponding indexed text strings (or characters) can only contain rela-
tive mark, arc or jump commands or
must be used instead.
• When marking Gregorian dates or Julian days, the transition to the next day occurs at
24:00 o’clock. Leap years are represented in both date styles.
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
(the command was previously only available for the RTC
®
SCAN
alone Board, i.e. the
standalone version of the RTC
®
4 board)
References
,
,
Normal
List Command
mark_date_abs
Function
marks a part of the date previously stored via
or
in the
selected format at the current position. In the called indexed text strings or characters (see
below), any absolute vector and arc commands will receive an offset (based on the current
coordinates at the time of the call).
Call
mark_date_abs( Part, Mode )
Parameters
Part
See
.
Mode
See
.
Comments
• The
mark_date_abs
; however, internal calling of the
indexed text strings (or characters) is via
instead of
. If the
command lists of the called indexed text strings (or characters) contain no absolute
commands, then there is no difference between
mark_date_abs
RTC
®
4
RTC
®
5 new command
References
Normal
List Command
mark_date