EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - 8.15.5 LOAD BYTE (LB); 8.15.6 LOAD WORD (LW)

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
January 2012 8.15 Command Set 1669
8.15.5 LOAD BYTE (LB)
Syntax: LB (LOAD BYTE)
Operands: M, I, O, T, C
Action:
Copy 8 markers, inputs, outputs, timers or counters with ascending
numbering into the word accumulator. Each operand occupies one bit in the
accumulator. The control saves the given operand address as LSB in the
accumulator, the given address + 1 as LSB + 1 and so on. The last (8th)
operand becomes the MSB! If necessary, the control fills the accumulator
with the correct algebraic sign.
Example:
A pure-binary coded value is read through inputs I3 to I10 and saved in byte B8
in order to process it later.
Initial state:
Input I3 = 1 Input I7 = 0
Input I4 = 1 Input I8 = 1
Input I5 = 1 Input I9 = 1
Input I6 = 0 Input I10 = 0
8.15.6 LOAD WORD (LW)
Syntax: LW (LOAD WORD)
Operands: M, I, O, T, C
Action:
Copy 16 markers, inputs, outputs, timer or counters with ascending
numbering into the word accumulator. Each operand occupies one bit in the
accumulator. The control saves the given operand address as LSB in the
accumulator, the given address + 1 as LSB + 1 and so on. The last (16th)
operand becomes the MSB! If necessary, the control fills the accumulator
with the correct algebraic sign.
Example:
See example command LB. Use command LW in the same way as LB.
However, the control processes 16 operands.
Function STL Accumulator
content
Operand content
7 6 5 4 3 2 1 0 I10 I9 I8 I7 I6 I5 I4 I3
Load inputs I3 to I10 into the
accumulator (bit 0 to bit 7).
LB I31110011001100111
76543210
Assign accumulator contents to
byte 8.
= B81110011011100110

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals