HEIDENHAIN iTNC 530 HSCI Technical Manual page 1829

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

Advertisement

July 2013
Module 9071 Find the string length
The iTNC ascertains the length of the string in a selectable string memory (S0
to S99).
Call:
PS
K/B/W/D/S<>String no. or string>
CM
9071
PL
B/W/D
<>Length of the string>
Error code:
Marker
Value
Meaning
M4203
0
String length found
1
Error. See W1022.
W1022
2
Invalid immediate strings, address of the source or
target string is out of range (S0 to S99), string
memory was searched but no string end was found
Module 9072 Copy a byte block into a string
Module 9072 copies a byte block into a string. The module does not check
whether the byte block consists of valid ASCII characters. The content of the
string may not be correctly displayed (e.g. due to special characters or end-of-
string identification). An end-of-string identifier is set automatically after the
last copied byte. The entire programmed byte block is always copied,
regardless of any end-of-string identifiers within the byte block.
Call:
PS
B/W/D/K <>start byte>
PS
B/W/D/K <>Length of the byte block>
PS
B/W/D/K <>String number>
CM
9072
Error code:
Marker
Value
Meaning
M4203
0
Byte block copied into string
1
Error code in W1022
W1022
1
Invalid length of the programmed byte block (max. 127
characters)
3
Invalid address of the start byte
4
Invalid sum of the start byte and the length of the byte
block
11
Invalid string
9.10 Commands for String Processing
1829

Advertisement

Table of Contents
loading

Table of Contents