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
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......