Mitsubishi Electric MELSEC Q Series Programming Manual page 357

Motion controller, real mode
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6 POSITIONING CONTROL
(5) Motion SFC program
Motion SFC program, sequence program and parameter setting for position
follow-up control is shown below.
(a) Motion SFC program
Motion SFC program example for position follow-up control is shown below.
This program is started using D(P).SFCS instruction from PLC CPU (CPU
No.1).
Position follow-up control
Position follow-up control
[F10]
SET M2042
[G10]
M2049*M2455
[K100]
PFSTART
Axis
3,
Speed
[G20]
!M2003
Turn on all axes servo ON command.
Wait until all axes servo ON accept flag and
Axis 3 servo ready turn on.
Position follow-up control
D4000
20000pulse/s
Wait until Axis 3 start accept flag turn off after
position follow-up control completion.
END
6 - 170
Axis used
. . . . . . . . . . Axis 3
Positioning address . . . D4000
Positioning speed . . . . 2000[pulse/s]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents