Load Byte (Lb); Load Word (Lw) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.5 LOAD BYTE (LB)

Function
Load inputs I3 to I10 into the
accumulator (bit 0 to bit 7).
Assign accumulator contents to
byte 8.

9.8.6 LOAD WORD (LW)

1766
LB (LOAD BYTE)
Syntax:
M, I, O, T, C
Operands:
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
I4
= 1
Input
I5
= 1
Input
I6
= 0
STL
Accumulator
content
7 6 5 4 3 2 1 0 I10 I9
LB I3
0 1 1 0 0 1 1 1 0
= B8
0 1 1 0 0 1 1 1 0
LW (LOAD WORD)
Syntax:
M, I, O, T, C
Operands:
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.
Input
I7
Input
I8
Input
I9
Input
I10
Operand content
I8
I7
1
1
0
7
6
5
4
1
1
0
HEIDENHAIN Technical Manual iTNC 530 HSCI
= 0
= 1
= 1
= 0
I6
I5
I4
I3
0
1
1
1
3
2
1
0
0
1
1
1

Advertisement

Table of Contents
loading

Table of Contents