Mitsubishi Electric MELDAS 60 Series Programming Manual page 101

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

Execution conditions
The execution conditions for D* are as shown below.
Multiplication command
D *
Program example
(1) Program to multiply the D7, 8 BIN data and D18, 19 BIN data when X5 turns ON, and output the
results to D1 to 4.
X5
10
(2) Program to multiply the D20 BIN data and D10 BIN data when X0 turns ON, and output the
high-order 16-bit to Y30 to 4F.
X0
10
ON
OFF
Executed per scan
D7
D18
D1
D *
D *
D20
D10
D0
K8Y30
DMOV
D3
- 93 -
Executed per scan
Coding
No. of
Com-
steps
mand
10
LD
X5
11
D*
D7
16
Coding
No. of
Com-
steps
mand
10
LD
X0
11
D*
D20
16
DMOV D3
20
D*
Device
D18
D1
Device
D10
D0
K8Y30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents