Not Equal Command For String Processing - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.9.10 NOT EQUAL COMMAND FOR STRING PROCESSING (<>)
Function
Load the string into
the string
accumulator.
Gate the content of
string memory S0
with content of
string accumulator
(=, <, >, >=, ...)
If the condition is
fulfilled, set logic
accumulator to 1 and
call the module.
7 – 156
Syntax:
<> (NOT EQUAL)
Operands:
S <arg>
Action:
This command sets off a direct transition from string to logical processing.
Compare the content of the string accumulator with the string in the
argument. If the string accumulator is not equal to the operand, the condition
is true and the TNC sets the logic accumulator to 1. If the string accumulator
is equal to the operand, it sets the logic accumulator to 0.
Example:
This example of string processing also applies to the commands =, <, >, <=,
>=, <>.
Compare the immediate string with the content of the string memory S0.
Depending on the result, call Module 50.
Initial state:
String memory
S0
Immediate string
String memory (characters)
1
S0
S P I N D L E 2
...
STL
L S "SPINDLE 1"
<> S0
CMT 50
= SPINDLE 2
= SPINDLE 1
String accu. (characters), or logic accu. [bit]
1
S P I N D L E 1
S P I N D L E 2
31.. 15 ..................... 7 .................. 0
x ..... x x x x x x x x 1 x x x x x x x
HEIDENHAIN Technical Manual TNC 426, TNC 430
..128
..128

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