Exclusive Or (Xo) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.23 EXCLUSIVE OR (XO)

Logic processing
with the
EXCLUSIVE OR
command
Function
Load the operand
content into the logic
accumulator.
Gate the content of
logic accumulator
and input I5 with
EXCLUSIVE OR.
Assign the gating
result to output O2.
7 – 110
Syntax:
XO (EXCLUSIVE OR)
Operands:
M, I, O, T, C
Action:
n
At the beginning of a logic sequence, this command functions like an L
command, i.e., the logical state of the operand is loaded into the logic
accumulator. However, you should always begin a sequence of logical
gating operations with a load command (see L, LN, L–).
n
Within a logic sequence, gate the content of the logic accumulator and the
logical state of the operand with EXCLUSIVE OR. The TNC saves the result
of the operation in the logic accumulator.
Example:
Gate the inputs I4 and I5 with EXCLUSIVE OR, and assign the result to output
O2.
Initial state:
Input
I4
= 1
Input
I5
= 1
Output
O2
= ?
STL
Accumulator contents [bit]
31..15 ..................... 7 ................. 0
L I4
x ..... x x x x x x x x 1 x x x x x x x
XO I5
x ..... x x x x x x x x 0 x x x x x x x
= O2
x ..... x x x x x x x x 0 x x x x x x x
HEIDENHAIN Technical Manual TNC 426, TNC 430
Operand contents [bit]
1
1
0

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