Word Processing With The Load Command - HEIDENHAIN iTNC 530 HSCI Technical Manual

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

Advertisement

Word processing
with the LOAD
command
1762
L (LOAD)
Syntax:
B, W, D, K
Operands:
Action:
Load the value of the addressed operand, or of a constant, into the word
accumulator. If necessary, the accumulator is supplemented with the correct
algebraic sign. In contrast to logical operations, you must always begin a
sequence of word gating operations with an L command. You cannot replace
the L command with a logical gating instruction.
Example:
Gate a constant and byte B5 with AND, and assign the result to byte B8.
Initial state:
Constant
54
= 36 (hex)
Byte
B5
= 2A (hex)
Output
B8
= ?
Function
Load the constant into the
word accumulator.
Gate the contents of the
word accumulator and
byte B5 with AND.
Assign the gating result to
byte B8.
STL
Accumulator
content
L K+54
36
A B5
= B8
HEIDENHAIN Technical Manual iTNC 530 HSCI
Operand content
2A
22

Advertisement

Table of Contents
loading

Table of Contents