6SEQUENCE PROGRAM USED FOR POSITIONING CONTROL

6.4 Positioning program examples

MELSEC-Q

An example of the "Axis 1" positioning program is given in this section.

[No. 1] to [No. 3] parameter and data setting program

When setting the parameters or data with the sequence program, set them in the QD75 using the

TO command from the PLC CPU. (Carry out the settings while the PLC READY signal [Y1D] is

OFF.)

When setting the parameters or data with GX Configurator-QP, the [No. 1] to [No. 3] program is not necessary.

No. 1 Parameter setting program (For basic parameters 1 <axis 1>)

<Setting of unit setting (0: mm)>

<Setting of No. of pulses per rotation>

<Setting of movement amount per rotation>

<Setting of unit magnification (1 fold)>

<Setting of pulse output mode (CW/CCW)>

<Setting of rotation direction (forward rotation for increment)>

<Bias speed (10.00 mm/min) setting>

<Setting of basic parameters 1 to QD75>

<Basic parameter 1 setting completion>

Parameter setting program for speed-position switching control (ABS mode)

<For axis 1>

(Not needed when speed-position switching control (ABS mode) is not executed) <X4D turns ON before startup>

<Setting of unit setting (2: degree)>

<Software stroke limit upper limit = 0>

<Software stroke limit lower limit = 0>

<Current feed value during speed control = 0>

<Speed-position function selection (ABS mode)>

6 - 15

Page 235
Image 235
Mitsubishi Electronics QD75D, QD75P user manual Positioning program examples