Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1726

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.21 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.
1726
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 control 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 control
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
...
...
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 .
...
...
= HYDRAULICS
= OIL
= COOLANT MISSING
M I S S I N G
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
O I L M I S S I N G
HEIDENHAIN Technical Manual MANUALplus 620
128
128
128

Advertisement

loading