1666 HEIDENHAIN Technical Manual MANUALplus 620
8.15.3 LOAD NOT (LN)
Logic processing
with the LOAD NOT
command
Syntax: LN (LOAD NOT)
Operands: M, I, O, T, C
Action:
Load the one's complement of the addressed operand into the logic
accumulator. Always use the L command at the beginning of a logic chain in
order to be able to gate the operand in the following program sequence.
Example:
Gate the inverted logical state of inputs I4 and I5 with AND, and assign the
result to output O2.
Initial state:
Input I4 = 0
Input I5 = 1
Output O2 = ?
Function STL Accumulator
content
Operand content
Load the inverted operand
content into the logic
accumulator.
LN I4 0
Gate the content of the
logic accumulator and
input I5 with AND.
A I5 1
Assign the gating result to
output O2.
= O2 1