HEIDENHAIN TNC 122 Technical Manual User Manual
Page 49

48
TNC 122
12 PLC Description
4/97
ASSIGN BYTE (B=)
Operands: M, I, O, T, C
ASSIGN BYTE copies 8 bits from the Word Accumulator to Markers, Inputs, Outputs, Timers or
Counters with ascending numbering. Each bit corresponds to one operand. The LSB in the
Accumulator is copied to the designated operand address, the LSB + 1 to the designated address
+ 1 and so on. The last affected operand is occupied by the MSB.
ASSIGN WORD (W=)
Operands: M, I, O, T, C
ASSIGN WORD copies 16 bits from the Word Accumulator to Markers, Inputs, Outputs, Timers or
Counters with ascending numbering. Each bit corresponds to one operand. The LSB in the
Accumulator is copied to the designated operand address, the LSB + 1 to the designated address
+ 1 and so on. The last affected operand is occupied by the MSB.
ASSIGN DOUBLEWORD (D=)
Operands: M, I, O, T, C
ASSIGN DOUBLEWORD copies 32 bits from the Word Accumulator to Markers, Inputs, Outputs,
Timers or Counters with ascending numbering. Each bit corresponds to one operand. The LSB in
the Accumulator is copied to the designated operand address, the LSB + 1 to the designated
address + 1 and so on. The last affected operand is occupied by the MSB.
ASSIGN NOT (=N)
Logic execution
Operands: M, I, O, T, C
In conjunction with a logic operand (M, I, O, T, C), ASSIGN NOT copies the complement of the
contents of the Logic Accumulator into the addressed operand. See ASSIGN (=) for the sequence of
operations.
Word execution
Operands: B, W, D
In conjunction with a word operand (B, W, D), ASSIGN NOT copies the complement of the contents
of the Word Accumulator into the addressed operand.
ASSIGN TWO'S COMPLEMENT (=-)
Operands: B, W, D
ASSIGN TWO'S COMPLEMENT copies the TWO'S COMPLEMENT of the contents of the Word
Accumulator into the addressed operand.