EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Division (;)

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...
1790 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.8.27 DIVISION (/)
Syntax: / (DIVIDE)
Operands: B, W, D, K
Action:
The iTNC extends the operand to the width of the accumulator (32 bits) and
then divides the content of the word accumulator by the content of the
operand. The result of the operation is stored in the word accumulator where
you can process it further. If the iTNC cannot execute the division correctly, it
then sets marker M4201, otherwise it resets it.
Example:
Divide the constant by the number saved in word W6, then assign the result
to double word D8.
Initial state:
Constant = 100 (dec)
Word W6 = 20 (dec)
Double word D8 = ?
Function STL Accumulator
content
Operand content
Load the constant into the
word accumulator.
L K100 100
Divide the content of the
word accumulator by
word W6
/ W6 5 20
Assign the result to
double word D8.
= D8 5 5
Set Reset
M4201 Division by 0 NC PLC

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals