beautypg.com

Load byte (lb), Load word (lw), Load doubleword (ld) – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 321: 4 load byte (lb) lb, 5 load word (lw) lw, 6 load doubleword (ld) ld

background image


3/2000

TNC 416/TNC 406/TNC 306

Commands

7-31

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.

This manual is related to the following products: