
7 – 150
HEIDENHAIN Technical Manual TNC 426, TNC 430
7.9 Commands for String Processing
String processing enables you to use the PLC program to generate and
manipulate any texts. Use Module 9082 to display these texts in the PLC
window of the screen, and delete them with Module 9080. The TNC features
one string accumulator and eight string memories, in each of which you can
save up to 128 characters:
Example
String accumulator and string memory are volatile, which means that they are
erased by the TNC when power is switched off. The new operand “S” has
been introduced for string processing. You can use the operand “S” with
different arguments.
Operand
declaration
The “S” operands are to be used only with string processing. You can target
the following addresses with the various arguments:
n
Addressing string memory: After the operand designation, specify the
number of the desired memory (S0 – S15).
n
Address part of a string: Use the address Sn^X (see INDEX Register). The
TNC addresses the substring beginning with the X-th character of the
specified string.
n
Immediate string: You can also enter a string directly in the PLC program.
The text string, which may contain a maximum of 37 characters, must be
indicated by quotation marks.
Example:
“Coolant 1 on”
n
Texts from the PLC error message file or from the PLC dialog file: By
specifying the line number you can read texts from the active error message
file or dialog file:
PLC-ERROR: S#Exx xx
: Line number from the PLC error
message file (0 to 999)
PLC-DIALOG: S#Dxx xx:
Line number from the PLC dialog file (0 to 4095).
Enter the string #Exx or #Dxx in the argument <arg> of the string command.
The TNC then saves a 5-byte-long string <SUB> E0xx or <SUB> D0xx
(<SUB> = ASCII <SUB>) in the accumulator. Instead of this string, the TNC
reads the line xx of the active error message or dialog file on the screen.
n
Enter an ASCII character in the string. Define the ASCII character through
its code: S#Axxx
String accumulator (characters)
1 128
x x x x x x x x x x x x x x ................ x x x x x x x x x x x x x x
String memory (characters)
1
128
S0
x x x x x x x x x x x x x x .............. x x x x x x x x x x x x x x
...
x x x x x x x x x x x x x x .............. x x x x x x x x x x x x x x
String accumulator (characters)
1
128
C O O L A N T 1 O N
Summary of Contents for TNC 426 CB
Page 12: ...2 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 51: ...December 2001 Software 2 41 ...
Page 54: ...2 44 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 61: ...December 2001 Software Releases 2 51 ...
Page 82: ...2 72 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 86: ...3 4 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 104: ...3 22 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 112: ...3 30 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 125: ...December 2001 Encoders 3 43 ...
Page 136: ...3 54 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 141: ...December 2001 Touch Probe Systems 3 59 ...
Page 145: ...December 2001 Data Interface 3 63 ...
Page 152: ...3 70 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 168: ...3 86 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 183: ...December 2001 BTS 1x0 Monitor Keyboard Switch 3 101 ...
Page 187: ...December 2001 Dimensions 3 105 3 23 Dimensions Note All dimensions in mm ...
Page 191: ...December 2001 Dimensions 3 109 3 23 4 LE 430 M Max 9 Axes Weight approx 9 kg ...
Page 196: ...3 114 HEIDENHAIN Technical Manual TNC 426 TNC 430 3 23 9 BTS 110 ...
Page 197: ...December 2001 Dimensions 3 115 3 23 10 BTS 120 ...
Page 201: ...December 2001 Dimensions 3 119 3 23 14 Handwheels HR 130 Weight approx 0 7 kg ...
Page 202: ...3 120 HEIDENHAIN Technical Manual TNC 426 TNC 430 HR 150 Weight approx 0 7 kg ...
Page 203: ...December 2001 Dimensions 3 121 HR 410 ...
Page 205: ...December 2001 Dimensions 3 123 HRA 110 Weight approx 1 5 kg ...
Page 206: ...3 124 HEIDENHAIN Technical Manual TNC 426 TNC 430 Control knob for HR 130 and HR 150 ...
Page 207: ...December 2001 Dimensions 3 125 3 23 15 Touch probe systems TT 130 ...
Page 209: ...December 2001 Dimensions 3 127 TS 220 Adapter cable for TS 120 TS 220 ...
Page 210: ...3 128 HEIDENHAIN Technical Manual TNC 426 TNC 430 EA 6x2 Receiver Unit ...
Page 211: ...December 2001 Dimensions 3 129 TS 632 ...
Page 212: ...3 130 HEIDENHAIN Technical Manual TNC 426 TNC 430 APE 652 ...
Page 213: ...December 2001 Dimensions 3 131 ...
Page 214: ...3 132 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 219: ...December 2001 3 137 3 24 5 Grounding plan TNC 426 M TNC 430 M with POWERDRIVE Inverter System ...
Page 231: ...December 2001 3 149 3 26 2 Cable Overview TNC 426 PB TNC 430 PA Basic Configuration ...
Page 240: ...4 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 310: ...4 72 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 312: ...5 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 319: ...December 2001 Overview of Modules 5 9 ...
Page 329: ...December 2001 Overview of Markers and Words 5 19 ...
Page 330: ...5 20 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 349: ...December 2001 Machine Axes 6 19 ...
Page 357: ...December 2001 Machine Axes 6 27 ...
Page 381: ...December 2001 Axis Error Compensation 6 51 ...
Page 416: ...6 86 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 420: ...6 90 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 438: ...6 108 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 450: ...6 120 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 463: ...December 2001 The Control Loop 6 133 ...
Page 468: ...6 138 HEIDENHAIN Technical Manual TNC 426 TNC 430 MP2600 0 MP2600 optimum ...
Page 476: ...6 146 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 509: ...December 2001 Monitoring Functions 6 179 ...
Page 551: ...December 2001 Spindle 6 221 ...
Page 629: ...December 2001 Display and Operation 6 299 ...
Page 675: ...December 2001 Keystroke Simulation 6 345 ...
Page 709: ...December 2001 Touch Probe 6 379 ...
Page 786: ...6 456 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 831: ...December 2001 Commissioning 6 501 ...
Page 846: ...6 516 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 848: ...6 518 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1033: ...7 184 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1035: ...8 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1083: ...8 50 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1085: ...9 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1095: ...10 2 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...
Page 1114: ...December 2001 DSP Error Messages as of NC Software 280 476 01 10 21 ...
Page 1125: ...10 32 HEIDENHAIN Technical Manual TNC 426 TNC 430 ...