EasyManua.ls Logo

Mitsubishi MELSEC-A series - Page 176

Mitsubishi MELSEC-A series
508 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. BASIC INSTRUCTIONS
6 64
MELSEC-A
Program Example CALL , RET
(1) Program which executes the subroutine program when X1 changes from off to
on.
()
()
(
)
()
P
CALL P33
Y011
X008
0
2
6
P33
13
8
9
X001
X009
X00A
Y013
FEND
Y033
Y034
RET
Coding
0 LD X008
1 OUT Y011
2 LD X001
3 CALLP P33
6 LD X009
7 OUT Y013
8 FEND
9 P33
10 LD X000
11 OUT Y033
12 OUT Y034
13 RET
14 END

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals