EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 85

Mitsubishi Electric MELSEC FX Series
838 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
Loading...
5 Basic Instruction
5.7 MPS, MRD, MPP
83
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
4. Program example 4 (Four stacks)
In programming a circuit on the upper side, it is necessary to use MPS instruction three times.
By changing the circuit on the upper side into the circuit on the lower side, the same contents can be
programmed easily without MPS instruction.
X000 X001 X002 X003 X004
X004
X000
X001
X002
X003
Y004:= X000;
Y003:= Y004 AND X001;
Y002:= Y003 AND X002;
Y001:= Y002 AND X003;
Y000:= Y001 AND X004;
[Structured ladder]
[ ST ]
MPS
EN ENO
Y000
Y001
MPS
EN ENO
MPS
EN ENO
MPS
EN ENO
MPP
EN ENO
Y002
MPP
EN ENO
Y003
MPP
EN ENO
Y004
MPP
EN ENO
Y000:= (((MPS(X000) AND MPS(X001)) AND MPS(X002)) AND MPS(X003)) AND X004;
Y001:= MPP(TRUE);
Y002:= MPP(TRUE);
Y003:= MPP(TRUE);
Y004:= MPP(TRUE);
[Structured ladder]
Y004
Y003
Y002
Y001
Y000
[ ST ]

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals