EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-A series

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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 #119 background imageLoading...
Page #119 background image
6. BASIC INSTRUCTIONS
6 7
MELSEC-A
Program Examples D=
(1) Program which compares the data of X0 to 1F and the data of D3 and D4.
D<>
(2) Program which compares the BCD value 18000 and the data of D3 and D4.
D>
(3) Program which compares the BIN value -80000 and the data of D3 and D4.
D<=
(4) Program which compares the data of D1 and D0 that of D3 and D4.
()
0
K8
D= X000 D3
Y033
Coding
0 LDD= K8X000 D3
11 OUT Y033
12 END
()
0
H
D<> 00018000 D3
Y033
Coding
0 LD M3
1 ANDD<> H00018000 D3
12 OUT Y033
13 END
M3
()
0
K-
D> 80000 D3
Y033
Coding
0 LD M3
1 LDD> K-80000 D3
12 OR M8
13 ANB
14 OUT Y033
15 END
M3
M8
()
0
D<= D0 D3
Y033
Coding
0 LD M3
1 AND M8
2 ORD<= D0 D3
13 OUT Y033
14 END
M3 M8

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals