HEIDENHAIN TNC 426 PB/M Technical Manual page 1000

Table of Contents

Advertisement

Logical
comparisons during
string processing
December 2001
Use the following procedure to compare two strings, depending on the
argument:
n
Compare the string memory or immediate string. The TNC then checks both
strings character by character. After the first character that does not fulfill
the condition of comparison, the control resets the logic accumulator. Then
the TNC does not check the remaining characters. During a comparison, the
TNC always uses the significance of the characters from the ASCII table.
This results, for example, in:
A < B
AA > A
n
If you have entered PLC error messages or PLC dialog texts in the
argument, the TNC compares the position in the error-message file or dialog
file (0 to 4095), but not the actual text as with an immediate string.
The processing times depend on the length of the strings. The processing
times given in Chapter 7.7.2 are maximum values. For immediate strings, you
must add the length "n" of the string to the length of the command; if this
length is an odd number, you must add the next larger even-numbered length.
Commands for String Processing
7 – 151

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents