Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1669

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.5 LOAD BYTE (LB)
Function
Load inputs I3 to I10 into the
accumulator (bit 0 to bit 7).
Assign accumulator contents to
byte 8.
8.15.6 LOAD WORD (LW)
January 2012
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
I4
= 1
Input
I5
= 1
Input
I6
= 0
STL
Accumulator
content
7 6 5 4 3 2 1 0 I10 I9
LB I3
1 1 1 0 0 1 1 0 0
= B8
1 1 1 0 0 1 1 0 1
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.
8.15 Command Set
Input
I7
= 0
Input
I8
= 1
Input
I9
= 1
Input
I10
= 0
Operand content
I8
I7
I6
1
1
0
0
7
6
5
4
3
1
1
0
0
I5
I4
I3
1
1
1
2
1
0
1
1
0
1669

Advertisement

loading