EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - mark_serial

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
select_serial_set_list (or of serial-number-set 0 after load_program_file) 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
load_text_table or set_text_table_pointer, will be marked.
•M
1
= 1: The indexed characters for digits [0…9], as defined via load_char
or set_char_pointer, will be marked. The desired character set can be
selected (previously) with select_char_set.
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.

Table of Contents

Related product manuals