EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 331

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...
7 Applied Instructions
7.7 Handy Instruction
329
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
5. Program examples
1) Circuit diagram
In the sequence circuit shown below, other portions than the shaded area are routine circuits. You can
program the shaded area circuit according to the content of the control.
a) Initial circuit
During operation of the machine, the operation can be changed over freely within the "automatic
operation' mode (stepping/one-cycle/continuous).
During operation of the machine, if changed over among "individual operation"/ "return home"/
"automatic operation", for safety precaution, all outputs are once reset, and the mode after
changeover is valid.
(You cannot reset when all outputs reset ban M8045 is turned ON.)
b) Individual operation
Program is not required when individual mode is not available.
Initial
state
M8000
RUN
monitor
IST
EN
s
ENO
d1
d2
X020
S20
S27
X004 X002
M8044
Left
limit
Upper
limit
Unclamp
The home position status is detected, and used as the
condition for start of transfer to automatic operation.
Y001
Home position
condition
[Structured ladder]
M8044:= X004 AND X002 AND NOT Y001;
IST(M8000, X020, S20, S27);
[ ST ]
X012
Clamp command
Clamp
X007
Unclamp command
SET
EN ENO
d
Y001
X005
Ascend
command
Y000
Y002
X010
Descend
command
Y002
Y000
X006
Left move
command
Y003
Y004
X002
X011
Right move
command
Y004
Y003
X002
Ascend
Descend
Left move
Right move
Upper limit
RST
EN ENO
d
Y001
[ ST ]
SET(X012, Y001);
RST(X007, Y001);
Y002:= X005 AND NOT Y000;
Y000:= X010 AND NOT Y002;
Y004:= X006 AND X002 AND NOT Y003;
Y003:= X011 AND X002 AND NOT Y004;
[Structured ladder]

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals