8 assign byte, 9 assign word, 10 assign doubleword – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 415: 8 assign byte (b=) b, 9 assign word (w=) w, 10 assign doubleword (d=) d

Advertising
background image


7-36

TNC 360

3 Commands

8/95

3.1.8 ASSIGN BYTE (B=)

B=

Abbreviation for the PLC Editor:

B= (ASSIGN BYTE)

Execution time [µs]

26.0

Number of bytes

14

Operands: M, I, O, T, C

Operation:
With the command B=, 8 bits are copied from the Word Accumulator to Markers, Inputs, Outputs,
Timers or Counters with ascending numbering. Each bit corresponds to 1 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.

3.1.9 ASSIGN WORD (W=)

W=

Abbreviation for the PLC Editor:

W= (ASSIGN WORD)

Execution time [µs]

50

Number of bytes

14

Operands: M, I, O, T, C

Operation:
With the command W=, 16 bits are copied from the Word Accumulator to Markers, Inputs,
Outputs, Timers or Counters with ascending numbering. Each bit corresponds to 1 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.

3.1.10 ASSIGN DOUBLEWORD (D=)

D=

Abbreviation for the PLC Editor:

D= (ASSIGN DOUBLE)

Execution time [µs]

104.4

Number of bytes

14

Operands: M, I, O, T, C

Operation:
With the command D=, 32 bits are copied from the Word Accumulator to Markers, Inputs, Outputs,
Timers or Counters with ascending numbering. Each bit corresponds to 1 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.

Advertising