1702 HEIDENHAIN Technical Manual MANUALplus 620
8.15.37 AND [ ] (A[ ])
Syntax: A[ ] (AND [ ])
Operands: None
Action:
The use of parentheses enables you to alter the sequence of processing
logical 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 control loads the content of the logic accumulator onto the
program stack. If you address the word accumulator, the control loads the
contents of the word accumulator. The "close-parenthesis" statement gates
the buffered value from the program stack with the content of the logic
accumulator or the word accumulator, depending on which accumulator was
addressed prior to the "open-parenthesis" instruction. The control 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
control 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: