HEIDENHAIN TNC 122 Technical Manual User Manual
Page 48

4/97
TNC 122
12 PLC Description
47
LOAD BYTE (LB)
Operands: M, I, O, T, C
The LB command copies 8 Markers, Inputs, Outputs, Timers or Counters with ascending numbering
into the Word Accumulator. Each operand occupies 1 bit in the Accumulator. The designated
operand address occupies the LSB in the Accumulator, the designated address + 1 the LSB + 1 and
so on. In this way, the last affected operand occupies the MSB. The sign is added if necessary.
LOAD WORD (LW)
Operands: M, I, O, T, C
The LW command copies 16 Markers, Inputs, Outputs, Timers or Counters with ascending
numbering into the Word Accumulator. Each operand occupies 1 bit in the Accumulator. The
designated operand address occupies the LSB in the Accumulator, the designated address + 1 the
LSB + 1 and so on. In this way, the last affected operand occupies the MSB The sign is added if
necessary.
LOAD DOUBLEWORD (LD)
Operands: M, I, O, T, C
The LD command copies 32 Markers, Inputs, Outputs, Timers or Counters with ascending
numbering into the Word Accumulator. Each operand occupies 1 bit in the Accumulator. The
designated operand address occupies the LSB in the Accumulator, the designated address + 1 the
LSB + 1 and so on. In this way, the last affected operand occupies the MSB.
ASSIGN (=)
Logic execution with the ASSIGN command
Operands: M, I, O, T, C
In conjunction with a Logic Operand (M, I, O, T, C), ASSIGN copies the contents of the Logic
Accumulator into the addressed operand. ASSIGN is only used at the end of a logic chain to ensure
that a gating result is available. The command can be used several times in succession.
Word execution with the ASSIGN command
Operands: B, W, D
ASSIGN in conjunction with a Word Operand (B, W, D) copies the contents of the Word
Accumulator into the addressed operand. In contrast to bit execution, ASSIGN can also be used
within a word logic chain. The command can be used several times in succession.