1 load (l) – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 391

3/2000
TNC 416/TNC 406/TNC 306
Commands
7-101
STRING Accumulator and STRING memory are volatile, and so are again deleted upon powering off.
For STRING execution, the new operand "S" has been introduced. The operand "S" may be used with
various arguments.
Explanation of the Operand:
The operand "S" is only used in STRING execution. The following locations may be addressed with
the various arguments:
– STRING memory: Should a STRING memory be addressed, the number of the required memory
(S0-S3) must be specified after the Operand-Designation.
– Immediate STRING: A STRING can also be entered directly into the PLC program. The Text
STRING, which may contain 0 – 37 characters, must be identified by quotation marks.
Example: S "COOLANT 1 ON"
– Text from the PLC error messages and/or from the PLC dialogs: Text from the active error
message or dialog files may be read by the input of the line number.
PLC-ERROR:
S#Exx
xx: Number from the PLC-Error Messages (0 to 199)
PLC-DIALOG:
S#Dxx
xx: Number from the PLC-Dialogs (0 to 199)
The character sequence #Exx or #Dxx is entered in the Argument
A 5 Byte long character train E0xx or D0xx is loaded into the Accumulator (
= ASCII ). Instead of this character train, the line xx of the active error message or dialog file
is read for display on the screen.
Note:
The execution times depend on the length of the STRINGS. The specified times indicate maximum
values. For the Immediate STRINGS, the length "n" of the STRINGS must respectively be added to
the command length; should this be odd, the next larger even length must be added.
3.14.1 LOAD (L)
Abbreviation for PLC Editor:
L (LOAD)
Execution time [µs]
< 80
Number of bytes
STRING memory:
10
Immediate STRING:
18 + n
STRING from error message or dialog files
24
Operands: S
Operation:
The STRING Accumulator is loaded with this L command. The selection of the STRINGS to be
loaded, proceeds using the Argument
Refer also to operand explanation.