Mitsubishi Electric MELDAS 60 Series Programming Manual page 81

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

Advertisement

Program example
(1) Program to compare the X0 to 1F data, D3 and D4 data.
D=
10
(2) Program to compare the BCD value 18000, D3 and D4 data.
M3
10
(3) Program to compare the BIN value -80000, D3 and D4 data.
M3
10
(4) Program to compare the D0, D1, D3 and D4 data.
M8
M3
10
D=
K8X0
D3
D3
D=
H18000
D=
K-80000
D3
M8
D0
D3
Coding
No. of
Y33
steps
10
13
14
Coding
No. of
Y33
steps
10
11
15
16
Coding
No. of
Y33
steps
10
11
15
16
17
18
Coding
No. of
Y33
steps
10
11
12
15
16
- 73 -
LDD=, ANDD=, ORD=
Com-
Device
mand
LDD= K8X0
D3
OUT
Y33
Com-
Device
mand
LD
M3
D3
ANDD=
H18000
OUT
Y33
Com-
Device
mand
LD
M3
LDD=
D3
K-80000
OR
M8
ANB
OUT
Y33
Com-
Device
mand
LD
M3
AND
M8
ORD= D0
D3
OUT
Y33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents