EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Modules for String Processing

HEIDENHAIN iTNC 530 HSCI
1966 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...
1828 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.10.11 Modules for string processing
Module 9070 Copy a number from a string
The iTNC searches a selectable string memory, (S0 to S99), for a numerical
value. When the numerical value is first found, the iTNC copies it as a string
into another selectable string memory. The iTNC 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
iTNC recognizes unsigned and signed numbers, with and without decimal
places. Both the period and comma are permitted as decimal point. The iTNC
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 code:
Example L S"X-POS.:123"
= S0
PS K+0
PS K+1
CM 9070
PL W520
Marker Value Meaning
M4203 0 Number copied
1 Error. See W1022.
W1022 2 Invalid address of the source string 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

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals