EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 113

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...
6 Step Ladder Instructions
6.3 RET
111
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. Caution
The following examples show how MELSEC-LD step ladders are expressed in the structured programs
(structured ladder, ST).
Reference: MELSEC-LD step ladder expression
Expressing step ladder in structured program
1) Structured ladder
1) When expressing step ladder (STL)
instructions in the coil format. (Same as that
for GX Developer)
2) When expressing step ladder (STL)
instructions in the contact format.
2) ST
SET(M8002, S0);
STL(TRUE, S0);
Y000:=TRUE;
SET(X000, S20);
STL(TRUE, S20);
S0:=X001;
RET(TRUE);
M8002
X000
X001
SET S0
STL S0
Y000
SET S20
STL S20
S0
RET
END
M8002
SET S0
Y000
SET S20
S0
RET
END
S0
STL
X000
S20
STL
X000
Y000
SET
EN ENO
d S0
M8002
S0
SET
EN ENO
d S20
X000
S0
S20
RET
EN ENO
X001
STL
EN ENO
s
STL
EN ENO
s

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals