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
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......