7.7.49 EQUAL TO [ ] (==[ ])
7 – 132
Syntax:
==[ ] (EQUAL[ ])
Operands:
None
Action:
By using parentheses you can change the sequence of processing
comparative commands in a statement list. The opening-parenthesis
command puts the content of the word accumulator onto the program stack.
This clears the accumulator for calculation of intermediate results.
The closing-parenthesis command gates the buffered value from the program
stack with the content of the word accumulator. The TNC saves the result in
the accumulator again. Maximum nesting depth: 16 parentheses.
Comparative commands cause a direct transition from word to logical
processing. If the specified comparative condition is true, the TNC sets the
logic accumulator to 1; if the condition is not fulfilled, it sets it to 0.
See next page for example.
HEIDENHAIN Technical Manual TNC 426, TNC 430