4 load byte, 5 load word, 6 load doubleword – HEIDENHAIN TNC 335 Technical Manual User Manual
Page 411: 4 load byte (lb) lb, 5 load word (lw) lw, 6 load doubleword (ld) ld

7-32
TNC 360
3 Commands
8/95
3.1.4 LOAD BYTE (LB)
LB
Abbreviation for the PLC Editor:
LB (LOAD BYTE)
Execution time [µs]
30.0
Number of bytes
18
Operands: M, I, O, T, C
Operation:
With the command LB, 8 Markers, Inputs, Outputs, Timers or Counters with ascending numbering
are loaded 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!
If necessary, the Accumulator is filled according to the sign bit.
3.1.5 LOAD WORD (LW)
LW
Abbreviation for the PLC Editor:
LW (LOAD WORD)
Execution time [µs]
57.2
Number of bytes
18
Operands: M, I, O, T, C
Operation:
With the command LW, 16 Markers, Inputs, Outputs, Timers or Counters with ascending numbering
are loaded 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!
If necessary, the Accumulator is filled according to the sign bit.
3.1.6 LOAD DOUBLEWORD (LD)
LD
Abbreviation for the PLC Editor:
LD (LOAD DOUBLE WORD)
Execution time [µs]
117.2
Number of bytes
16
Operands: M, I, O, T, C
Operation:
With the command LD, 32 Markers, Inputs, Outputs, Timers or Counters with ascending numbering
are loaded 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!
If necessary, the Accumulator is filled according to the sign bit.