EasyManuals Logo

HEIDENHAIN MANUALPLUS 620 Technical Manual

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
Page #1694 background imageLoading...
Page #1694 background image
1694 HEIDENHAIN Technical Manual MANUALplus 620
8.15.28 REMAINDER (MOD)
Syntax: MOD (MODULO)
Operands: B, W, D, K
Action:
The control extends the operand to the width of the accumulator (32 bits) and
then calculates the remainder resulting from the division of the content of the
word accumulator by the content of the operand. The remainder is stored in
the word accumulator where you can process it. If the control cannot execute
the MOD command correctly, it sets marker M4202, otherwise it resets it.
Example:
Divide the number saved in word W6 by the constant, then calculate the
REMAINDER and assign the result to double word D8.
Initial state:
Word W6 = 50 (dec)
Constant = 15 (dec)
Double word D8 = ?
Function STL Accumulator
content
Operand content
Load W6 into the word
accumulator.
L W6 50 50
Divide the content of the
word accumulator by a
constant, then save the
integral REMAINDER in
the word accumulator.
MOD
K15
11 15
Assign the REMAINDER
to double word D8.
= D8 11 11

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HEIDENHAIN MANUALPLUS 620 and is the answer not in the manual?

HEIDENHAIN MANUALPLUS 620 Specifications

General IconGeneral
BrandHEIDENHAIN
ModelMANUALPLUS 620
CategoryControl Systems
LanguageEnglish

Related product manuals