5. SEQUENCE INSTRUCTIONS
5
−
11
MELSEC-A
POINT
(2) Set the numbers of used MPS and MPP instructions to the same. If the
used numbers differ, the following occurs.
1) When the number of MPS instructions is larger than that of MPP
instructions, the PC performs operation in the changed circuit.
Before change
After change
2) If the number of MPP instructions is larger than that of MPS
instructions, this results in circuit plotting error and the PC cannot
perform proper operation.
•
Coding
0 LD
X000
1 AND
X001
2 MPS
3 AND
X002
4 OUT
Y040
5 MRD
6 AND
X003
7 OUT
Y041
8 MPP
9 AND
X004
10
OUT
Y042
11
END
•
Coding
0 LD
X000
1 AND
X001
2 MPS
3 AND
X002
4 OUT
Y040
5 MRD
6 AND
X003
7 OUT
Y041
8 NOP
9 AND
X004
10
OUT
Y042
11
END
(
)
(
)
(
)
0
X000
X001
X002
X004
X003
Y040
Y042
Y041
MPP is changed to NOP.
(
)
(
)
(
)
0
X000
X001
X002
X004
X003
Y040
Y042
Y041
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......