Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1686

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.22 EXCLUSIVE OR (XO)
Logic processing
with the
EXCLUSIVE OR
command
1686
Syntax:
XO (EXCLUSIVE OR)
Operands:
M, I, O, T, C
Action:
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. You should always begin a sequence of logical gating
operations with a load command (see L, LN, L–).
Within a logic sequence, gate the content of the logic accumulator and the
logical state of the operand with EXCLUSIVE OR. The control 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
= ?
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.
STL
Accumulator
content
L I4
1
XO I5
0
= O2
0
HEIDENHAIN Technical Manual MANUALplus 620
Operand content
1
1
0

Advertisement

loading