1664 HEIDENHAIN Technical Manual MANUALplus 620
8.15.2 LOAD (L)
Logic processing
with the LOAD
command
Syntax: L (LOAD)
Operands: M, I, O, T, C
Action:
Load the value 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 inputs I4 and I5 with AND, and assign the result to output O2.
Initial state:
Input I4 = 1
Input I5 = 0
Output O2 = ?
Function STL Logic
accumulator
Operand content
Load the operand content
into the logic
accumulator.
L I4 Logic
accumulator = 1
Gate the content of the
logic accumulator and
input I5 with AND.
A I5 0
Assign the gating result to
output O2.
= O2 0