And [] (A[]) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.38 AND [ ] (A[ ])
7 – 126
Syntax:
A[ ] (AND [ ])
Operands:
None
Action:
By using parentheses you can change the sequence of processing logic
commands in a statement list. The opening-parenthesis command puts the
content of the accumulator onto the program stack. If you address the logic
accumulator in the last command before an opening-parenthesis statement,
the TNC puts the content of the logic accumulator onto the program stack.
When you address a word accumulator, the TNC saves the content of the
word accumulator. With the closing-parenthesis command, the TNC gates the
buffered value from the program stack with the content of the logic
accumulator or word accumulator, depending on which you have addressed
before the opening-parenthesis statement. The TNC assigns the result of the
gating operation to the corresponding accumulator. Maximum nesting depth:
16 parentheses.
Please note:
The sequence of function is the same for word processing, however, the TNC
writes the complete word accumulator onto the program stack.
Example:
Example for the commands AND [ ], AND NOT [ ], OR [ ], OR NOT [ ],
EXCLUSIVE OR [ ], EXCLUSIVE OR NOT [ ]:
Use parentheses to develop a statement list in accordance with the following
logic circuit diagram:
M500
M501
I0
I1
OR
AND
OR
HEIDENHAIN Technical Manual TNC 426, TNC 430
O12

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