Appendix 2.4 Positioning Program Example - Mitsubishi Electric MELSEC Q Series User Manual

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

APPENDICES

Appendix 2.4 Positioning program example

*
* No.1 Parameter setting program
*
* Basic parameter, OPR parameter, Manual control parameter
* Servo parameter, System parameter
* Write the parameters to the buffer memory*
*
* SM403 is added so that M0 may turn ON/OFF by the PLC RUN/STOP.
X3
SM403
0
* No.1-1 Basic parameter Pr.0 to Pr.31
* Axis 1 setting example
M0
12
* No.1-2 OPR parameter Pr.50 to Pr.66
* Axis 1 setting example
M0
60
* No.1-3 Manual control parameter Pr.80 to Pr.84
* Axis 1 setting example
M0
74
DMOVP K8192
DMOVP K3125
DMOVP K819100000
DMOVP K-819100000
DMOVP K10
MOVP
K1
DMOVP K10
MOVP
H0
MOVP
K2
DMOVP K0
DMOVP K2500000
DMOVP K0
APP - 11
M0
U0\
G0
<Electronic gear numerator>
U0\
G2
<Electronic gear denominator>
U0\
G4
<Upper limit value 81910mm>
U0\
G6
<Lower limit value -81910mm>
U0\
G10
<Speed limit value 6000r/min>
U0\
<Interpolation group No.1>
G25
U0\
G26
<Interpolation speed limit value 6000r/min>
U0\
<DOG, FLS, RLS: Negative logic>
G31
U0\
G50
<Data set method OPR>
U0\
G52
<OP address = 0>
U0\
G80
<JOG speed 250mm/s>
U0\
G84
<Incremental feedrate = 0>
MELSEC-Q

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd74mh

Table of Contents