RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
358
innovators for industry
Normal
List Command
mark_serial
Function
marks the current serial number of the serial-number-set most recently selected via
(or of serial-number-set 0 after
) in the selected
format at the current position. Afterward the serial number is (optionally) automatically
incremented.
Call
mark_serial( Mode, Digits )
Parameters
Mode
Selection of the serial number format and (de)activation of automatic serial
number incrementing as an unsigned 32-bit value.
Mode
= 20 · M
1
+ 10 · M
2
+ M
3
(allowed range for M
1
: [0, 1], for M
2
: [0, 1], for M
3
: [0 … 2])
a) Selection of the character set for digit marking
• M
1
= 0: The indexed text string for digits [30…39], as defined via
, will be marked.
• M
1
= 1: The indexed characters for digits [0…9], as defined via
or
, will be marked. The desired character set can be
selected (previously) with
b) Incrementing of the serial number after marking
• M
2
= 0: The serial number is incremented after marking.
• M
2
= 1: The serial number is
not
incremented after marking.
c) Marking of leading zeros
• M
3
= 0: Leading zeros are marked as zeros. Dependent on M
1
the corre-
sponding indexed text string definition (Index = 30) or the indexed char-
acter definition ’0’ is used.
• M
3
= 1: Leading zeros are suppressed (left-justified marking).
• M
3
= 2: Leading zeros are marked as blank characters (right-justified
marking). Dependent on M
1
the corresponding indexed text string defini-
tion (Index = 29) or the indexed character definition ’ ’ is used.
Digits
number [0-12] of to-be-marked digits as an unsigned 32-bit value;
allowed range: [0-12]; larger values will be clipped.