Download  Print this page

Mitsubishi Electric A800 Programming Manual Page 160

800 series, plc function.
Hide thumbs

Advertisement

Program example
D=
Program that compares the M0 to 31 data with D3 and D4 data.
K8
D=
M0
D3
0
D<>
Program that compares the BCD value 18000 with D3 and D4 data.
M3
H
D<>
00018000
0
D>
Program that compares the BIN value -80000 with D3 and D4 data.
M3
K-
D>
80000
0
M8
D<=
Program that compares D0 and D1 with D3 and D4 data.
M3
M8
0
D<=
D0
D3
(
Y0
)
(
Y0
)
D3
(
)
Y0
D3
(
)
Y0
Coding
0
LDD=
K8M0
D3
11
OUT
Y0
12
END
Coding
0
LD
M3
1
ANDD<> H00018000
D3
12
OUT
Y0
13
END
Coding
0
LD
M3
1
LDD>
K-80000
D3
12
OR
M8
13
ANB
14
OUT
Y0
15
END
Coding
0
LD
M3
1
AND
M8
2
ORD<= D0
D3
13
OUT
Y0
14
END
Basic instruction (32-bit)
Sequence program
3
159

Advertisement

Table of Contents

This manual is also suitable for:

F800

Comments to this Manuals

Symbols: 0
Latest comments: