6 - 21
Chapter 6 Sequence Program Used for Positioning Control
6.4 Positioning program examples
An example of the "Axis 1" positioning program using LD77MS4 is given in this section.
When setting the parameters or data with the sequence program, set them in the Simple Motion
module using the TO command from the PLC CPU. (Carry out the settings while the PLC
READY signal [Y0] is OFF.)
When setting the parameters or data with GX Works2, the [No. 1] to [No. 4] program is not
necessary.
[No. 1] to [No. 4] parameter and data setting program
DMOVP K50000
Movement
amount
(low-ord
er 16 bi
* <Changing of movement amount >
* <Setting of unit >
*
* No.1 Parameter setting program
* (For basic parameters <Axis 1>)
* OPR parameter
*
*
*
DMOVP K9000
Speed (
low-orde
r 16 bit
s)
* <Changing of speed setting >
D1
D3
MOVP
K0
Unit set
ting
D50
* <Setting of unit magnification >
MOVP
K1
Unit mag
nificati
on : AM
D51
* <Setting of No. of pulses per ro >
DMOVP K4194304
No. of pu
lses per
rotatio
n : AP
D52
* <Setting of No. of movement amoun>
DMOVP K25000
D54
No. of m
ovement
amount :
AL
K0
D50
K8
* <Setting of basic parameters 1 to >
Unit set
ting
H0
TOP
K62
K2
K1
* <External command function selecti >
H0
TOP
K70
K6
K1
* <OPR method (Data set method) >
H0
TOP
K74
K1500
K1
* <OPR speed >
H0
DTOP
SM402
ON for 1
scan onl
y after
RUN
0
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: ......