1766 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.8.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 iTNC saves the entered operand address in the accumulator
as LSB, the entered address +1 as LSB +1 etc. The last (8th) operand is now
the MSB! If necessary, the iTNC 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
9.8.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 iTNC saves the entered operand address in the accumulator
as LSB, the entered address +1 as LSB +1 etc. The last (16th) operand is now
the MSB! If necessary, the iTNC fills the accumulator with the correct
algebraic sign.
Example:
See example command LB. Use command LW in the same way as LB.
However, the iTNC 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 I30110011101100111
76543210
Assign accumulator contents to
byte 8.
= B80110011101100111