![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-l-series/melsec-l-series_user-manual_238757783.webp)
13 - 93
Chapter 13 Control Sub Functions
[3] Program examples
[LD77MS4 program example]
Pre-reading start program (when positioning start signal Y10 is used)
<Pre-reading start command pulse>
<Sets 1 to positioning start No.>
<Turns ON execution prohibition flag>
<Turns ON positioning start signal>
<Turns OFF execution prohibition flag>
<Turns OFF positioning start signal>
M100
PLS
0
9
20
X4B
23
31
Y10
X4C
M100
Y10
X10
X10
DX0C
X8
Y14
SET
Y10
SET
Y14
RST
Y10
RST
END
H0
TOP
K1500
K1
K1
Use the direct access input as BUSY
signal to use this program example.
Pre-reading start program (when dedicated instruction ZP.PSTRT1 is used)
<Turns ON execution prohibition flag>
<Sets 1 to positioning start No.>
<Executes positioning start>
<Turns OFF execution prohibition flag>
<Normal termination of positioning>
<Sets error code>
<Abnormal termination of positioning>
0
END
X4B
X4C
M100
M100
M101
20
23
37
Y14
SET
D102
K1
Y14
RST
MOVP
ZP.PSTRT1
"U0"
D100
M100
D300
K1
MOV
D200
D100
MOV
D300
K0
MOV
Summary of Contents for MELSEC-L Series
Page 2: ......
Page 30: ...MEMO ...
Page 70: ...2 10 Chapter 2 System Configuration MEMO ...
Page 83: ...3 13 Chapter 3 Specifications and Functions MEMO ...
Page 103: ...3 33 Chapter 3 Specifications and Functions MEMO ...
Page 107: ...3 37 Chapter 3 Specifications and Functions MEMO ...
Page 111: ...3 41 Chapter 3 Specifications and Functions MEMO ...
Page 115: ...3 45 Chapter 3 Specifications and Functions MEMO ...
Page 140: ...4 22 Chapter 4 Installation Wiring and Maintenance of the Product MEMO ...
Page 253: ...5 113 Chapter 5 Data Used for Positioning Control MEMO ...
Page 342: ...5 202 Chapter 5 Data Used for Positioning Control MEMO ...
Page 438: ...7 20 Chapter 7 Memory Configuration and Data Process MEMO ...
Page 440: ...MEMO ...
Page 485: ...9 25 Chapter 9 Major Positioning Control MEMO ...
Page 594: ...9 134 Chapter 9 Major Positioning Control MEMO ...
Page 624: ...10 30 Chapter 10 High Level Positioning Control MEMO ...
Page 656: ...11 32 Chapter 11 Manual Control MEMO ...
Page 690: ...12 34 Chapter 12 Expansion Control MEMO ...
Page 798: ...13 108 Chapter 13 Control Sub Functions MEMO ...
Page 866: ...14 68 Chapter 14 Common Functions MEMO ...
Page 884: ...15 18 Chapter 15 Dedicated Instructions MEMO ...
Page 899: ...16 15 Chapter 16 Troubleshooting MEMO ...
Page 1036: ...Appendix 88 Appendices MEMO ...
Page 1039: ......