EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Modules for String Processing

HEIDENHAIN TNC 430 PA/M
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
December 2001 Commands for String Processing 7 157
7.9.11 Modules for String Processing
Module 9070 Copy a number from a string
The TNC searches a selectable string memory (S0 to S15) for a numerical
value. When the numerical value is first found, the TNC copies it as a string
into another selectable string memory. The TNC does not check whether a
conflict arises between the source and target string. It may overwrite the
source string (even then, however, the function of the module is ensured). The
TNC recognizes unsigned and signed numbers, with and without decimal
places. Both the period and comma are permitted as decimal point. The TNC
returns the position (in characters) of the first character after the found
number in the string memory to be searched.
Call:
PS K/B/W/D <Address of the string memory to be searched>
PS K/B/W/D <Address of the string memory for the found number>
CM 9070
PL B/W/D <Offset end of numerical string in the searched string
memory>
Error recognition:
Example L SX POS.:123
= S0
PS K+0
PS K+1
CM 9070
PL W520
Marker Value Meaning
M4203 0 Number was copied
1 Error. See W1022.
W1022 2 Incorrect address of the source or target string
11 No number, no string end, or number string has a
length of more than 79 characters
String memory (characters) Data stack [bit]
1 ........................ 10.....................................................................128
S0 X- POS. : 123
S1 1 2 3 10
...

Table of Contents

Related product manuals