EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - 8.15.36 NOT EQUAL (<>)

HEIDENHAIN MANUALPLUS 620
1818 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...
January 2012 8.15 Command Set 1701
8.15.36 NOT EQUAL (<>)
Syntax: <> (NOT EQUAL)
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 and the operand are not equal,
the condition is true and the control sets the logic accumulator to 1. If they are
equal, the logic accumulator is set to 0. The comparison takes place over the
number of bits corresponding to 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 so, set logic
accumulator to 1.
<> D8 1 15000
Assign the result to
marker M500.
= M500 1 1

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals