Label Formatting Command Functions
142 Class Series 2 Programmer’s Manual
Special Label Formatting Command Functions
Two Special Label Formatting Commands, the <STX>S and the <STX>T, are entered directly
into the data field of label format records. (Do not confuse them with System-Level
Commands because the same control character is used.) If alternate control codes are
enabled the <STX> becomes “~” (hexadecimal 0x7E); see Control Code Command Functions.
Label Formatting Character Command Description
<STX>S
Recall global data and place in field
<STX>T
Print time and date
Table 6-2: Special Label Formatting Commands
STX S Recall Global Data and Place in Field
This command, when in the format record data field, places data from a specified global
register into the data field. See the G command.
Syntax:
<STX>Sn
Where:
n
-
Specifies the global register (A P) that contains the
data to place into the data field.
Sample:
<STX>L<CR>
121100000000000DMX<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
The sample above places the string “DMX” into the next available
global register (A), and then line 4 is effectively replaced by the
data from global register A.
STX T Print Time and Date
This command, using string characters and markers, allows time and date data to be
selected and retrieved from the internal clock. In addition, the <STX>T may be preceded
by data to be printed/encoded, and/or the string may be terminated by an <STX>
command followed by more data then <CR> terminated. The string characters/markers
are not printed; instead, the label will show the corresponding print value.
Syntax:
<STX>Tstring<CR>
Where:
trin
-
Is any set of characters, A - Z and a – h; see the
table below.