Positioning Program Examples [Rj010 Mode] - Mitsubishi Electric MELSEC-Q Series User Manual

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

Advertisement

6.4 Positioning program examples [RJ010 mode]

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-qd77gf4Melsec-qd77gf8Melsec-qd77gf16

Table of Contents