1684 HEIDENHAIN Technical Manual MANUALplus 620
8.15.21 OR NOT (ON)
Logic processing
with the OR NOT
command
Syntax: ON (OR NOT)
Operands: M, I, O, T, C
Action:
At the beginning of a logic sequence, this command functions like an LN
command, i.e., the complement 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 OR NOT. The control saves the result of the
operation in the logic accumulator.
Example:
Gate the inputs I4 and I5 with OR NOT, and assign the result to output O2.
Initial state:
Input I4 = 0
Input I5 = 0
Output O2 = ?
Function STL Accumulator
content
Operand content
Load the operand content
into the logic
accumulator.
L I4 0 0
Gate the content of logic
accumulator and input I5
with OR NOT.
ON I5 1 0
Assign the gating result to
output O2.
= O2 1 1