EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Not Equal Command 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...
7 156 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.9.10 NOT EQUAL COMMAND FOR STRING PROCESSING (<>)
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 = SPINDLE 2
Immediate string = SPINDLE 1
String memory (characters)
1 ..128
S0 SPINDLE 2
...
Function STL String accu. (characters), or logic accu. [bit]
1 ..128
Load the string into
the string
accumulator.
L S SPINDLE 1 SPINDLE 1
Gate the content of
string memory S0
with content of
string accumulator
(=, <, >, >=, ...)
<> S0 SPINDLE 2
31.. 15 ..................... 7 .................. 0
If the condition is
fulfilled, set logic
accumulator to 1 and
call the module.
CMT 50 x ..... x xxxxxxx1xxxxxxx

Table of Contents

Related product manuals