RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
476
Ctrl Command set_serial
Function sets the starting serial number of the serial-number-set most recently selected via
select_serial_set (or of serial-number-set 0 after load_program_file) and sets the
increment size for this serial-number-set to 1.
Call
set_serial( No )
Parameters
No
Serial number as an unsigned 32-bit value;
allowed range: [0 … (2
32
–1)]
Comments • The command set_serial is synonymous with set_serial_step with
Step
= 1 (see
comments there).
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
(the command was previously only available for the RTC
®
SCANalone Board, i.e. the
standalone version of the RTC
®
4 board)
References set_serial_step, select_serial_set
Ctrl Command set_serial_step
Function sets the starting serial number and the increment size for the serial-number-set most
recently selected via select_serial_set (or for serial-number-set 0 after
load_program_file).
Call
set_serial_step( No, Step )
Parameters
No
Serial number as an unsigned 32-bit value; allowed range: [0 … (2
32
–1)]
Step
Increment size as an unsigned 32-bit value;
allowed range: [0 … 9999]; only the last 4 decimal digits are used.
Comments • During initialization, the starting serial number is set to 0 and the increment size set to
1.
•If mark_serial or mark_serial_abs was called with Mode M
2
= 1 (i.e. automatic serial-
number incrementing was deactivated), then the increment size setting will have no
effect.
•If
Step
= 0, then incrementing will not occur, except in the case of markless marking
(see mark_serial or mark_serial_abs:
digits
= 0), which always increments serial
numbers by 1.
• For command usage, see chapter 7.5.2 "Marking Serial Numbers", page 150.
RTC
®
4
RTC
®
5 new command
References mark_serial, mark_serial_abs, set_serial, select_serial_set, select_serial_set_list