Overwrite String (Ovwr) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.10.4 OVERWRITE String (OVWR)

Function
Load the immediate
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.
1824
OVWR (OVERWRITE)
Syntax:
S <arg>
Operands:
Action:
Save the string from the string accumulator in a string memory. This command
differs from the = command in that the iTNC 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 iTNC is to
copy the string is selected through the argument <arg> after the operand
designation. Permissible arguments: 0 to 99 (string memory S0 to S99). 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 "HYDRAUL."
+ S0
OVWR S1
Final status:
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
...
...
= HYDRAULICS
= OIL
= COOLANT MISSING
String accumulator (characters)
1
O I L
H Y D R A U L . O I L
H Y D R A U L . O I L
HEIDENHAIN Technical Manual iTNC 530 HSCI
128
128
128

Advertisement

Table of Contents
loading

Table of Contents