EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Less than (<)

HEIDENHAIN iTNC 530 HSCI
1966 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...
1794 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.8.32 LESS THAN (<)
Syntax: < (LESS THAN)
Operands: B, W, D, K
Action:
This command sets off a direct transition from word to logical processing.
Compare the content of the word accumulator with the content of the
addressed operand. If the word accumulator is less than the operand, the
condition is true and the iTNC sets the logic accumulator to 1. If the word
accumulator is greater than or equal to the operand, it sets the logic
accumulator to 0. The comparison takes place over the number of bits in the
operand:
where B = 8 bits, W = 16 bits, and D = K = 32 bits.
Example:
Compare a constant with the content of double word D8, and assign the result
to marker M500.
Initial state:
Constant = 16 000 (dec)
Double word D8 = 15 000 (dec)
Marker M500 = ?
Function STL Accumulator
content
Operand content
Load the constant into the
word accumulator.
L
K16000
16000
Check whether word
accumulator < operand; if
not, set logic accumulator
to 0.
< D8 0 15000
Assign the result to
marker M500.
= M500 0 0

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals