RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
476
innovators for industry
Ctrl Command set_serial
Function
sets the starting serial number of the serial-number-set most recently selected via
(or of serial-number-set 0 after
) 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
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
®
SCAN
alone Board, i.e. the
standalone version of the RTC
®
4 board)
References
Ctrl Command set_serial_step
Function
sets the starting serial number and the increment size for the serial-number-set most
recently selected via
(or for serial-number-set 0 after
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
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
:
digits
= 0), which always increments serial
numbers by 1.
chapter 7.5.2 "Marking Serial Numbers", page 150
.
RTC
®
4
RTC
®
5 new command
References
,
,