5. SEQUENCE INSTRUCTIONS
5
−
4
MELSEC-A
Program Examples
LD , LD2 , AND , ANI , OR , ORI
•
Coding
0 LD
X003
1 OR
X004
2 OR
X005
3 OUT
Y033
4 LD
X005
5 AND
M11
6 ORI
X006
7 OUT
Y034
8 END
(
)
(
)
X003
X004
X005
X005
X006
M11
Y033
Y034
0
4
•
Coding
0 LD
X003
1 AND
M6
2 LDI
X004
3 ANI
X007
4 ORB
5 ANI
M9
6 OUT
Y033
7 LD
X005
8 LD
M8
9 OR
M9
10
ANB
11
ANI
M11
12
OUT
Y034
13
END
(
)
(
)
X003
X004
X005
M6
X007
M8
M9
M9
M11
Y033
Y034
0
7
ANB
ORB
•
Coding
0 LD
X005
1 OUT
Y035
2 AND
X008
3 OUT
Y036
4 ANI
X009
5 OUT
Y037
6 END
(
)
(
)
(
)
X005
X008
X009
Y035
Y036
Y037
0
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......