Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual page 308

Melsec iq-r series, positioning control
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

Program example
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■Motion SFC program
The Motion SFC program for executing the servo program (No. 60) for absolute auxiliary point-specified helical interpolation
control is shown below.
Absolute auxiliary point-specified
helical interpolation control
[F10]
SET M2042
[G10]
X0*M2415*M2435*M2455
[K60]
ABH
Axis
1,
Axis
2,
Str.Ax.
3,
Speed
Number of pitches 500
Aux.P.
1,
Aux.P.
2,
[G20]
!X0
END
*1 Example of the above Motion SFC program is started using the automatic start or sequence program.
5 POSITIONING CONTROL
306
5.9 Helical Interpolation Control
Turn on all axes servo ON command.
Wait until X0, Axis 1 servo ready, Axis 2 servo ready
and Axis 3 servo ready turn on.
Absolute auxiliary point-specified circular helical interpolation
88541 pulse
Axis for the circular . . . . . . . . . Axis 1, Axis 2
interpolation
30000 pulse
End point address of the . . .
20000 pulse
circular interpolation axis
1000 pulse/s
Linear axis for the circular . . . . Axis 3
interpolation and linear interpolation
45000 pulse
End point address of the linear axis . . . . . 20000 [pulse]
20000 pulse
Positioning speed . . . . . . . . . . . . . . . . . . . . 1000 [pulse/s]
Number of pitches . . . . . . . . . . . . . . . . . . . . 500
Auxiliary point address . . . . . .
of the arc
Wait until X0 turn OFF after circular interpolation completion
Axis 1 . . . . 88541 [pulse]
Axis 2 . . . . 30000 [pulse]
Axis 1 . . . . 45000 [pulse]
Axis 2 . . . . 20000 [pulse]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r32mtcpuMelsec iq-r64mtcpu

Table of Contents