Mitsubishi Electric MELDAS C6 Programming Manual page 186

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Execution conditions
The execution conditions for D/, D/P are as shown below.
Division command
D /
D/P
Program example
(1) Program to multiply the D10 data by 3.14 when X3 turns ON, and output the low-order 16-bit of
the results to Y30 to 3F.
X3
10
Point
The source and destination sides of the above program are as follow.
8. Function Commands
D/, D/P
ON
OFF
Executed per scan
D10
K314
D0
*
D /
D2
D0
K100
MOV
K4Y30
D2
D10
K314
*
K100
D /
D0
MOV
D2
K4Y30
- 177 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Coding
No. of
Com-
steps
mand
10
LD
11
*
15
D/
21
MOV
24
D0
Possesses D0 , D1
D2
Possesses D2 to D5
D3 , D2 ... Redundant
D5 , D4 ... Quotient
Possesses D0 , D1
[The details of D2 are
output to Y30 to 3F.]
Device
X3
D10
K314
D0
D0
K100
D2
D2
K4Y30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents