Overwriting A String (Ovwr) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.9.4 OVERWRITING A STRING (OVWR)

Function
Load the string into
the string
accumulator.
Add content of string
memory S0 to string
accumulator.
Overwrite content of
string memory S1
with content of
string accumulator.
December 2001
Syntax:
OVWR (OVERWRITE)
Operands:
S <arg>
Action:
Save the string from the string accumulator in a string memory. This command
differs from the = command in that the TNC does not transfer the "string end"
character along with it. In this way you can overwrite the beginning of a string
that is already in the string memory. The memory into which the TNC is to
copy the string is selected through the argument <arg> after the operand
designation. Permissible arguments: 0 to 7: (String memory S0 to S15). See
also "Operand declaration."
Example:
This example also applies to the string commands L, + and =.
Add a string from the string memory S0 to an immediate string. The result is
to overwrite the contents of string memory S1. Initial state:
Immediate String
String memory
S0
String memory
S1
String memory (characters)
1
S0
O I L
S1
C O O L A N T M I S S I N G
...
STL
L S "HYDRAULICS"
+ S0
OVWR S1
Final state:
String memory (characters)
1
S0
O I L
S1
H Y D R A U L. O I L M I S S I N G
...
Commands for String Processing
= HYDRAULICS
= OIL
= COOLANT MISSING
String accumulator (characters)
1
H Y D R A U L I C S
H Y D R A U L. O I L
H Y D R A U L. O I L
...128
...128
..128
7 – 153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents