Mitsubishi Electric Melsec Q Series Programming Manual page 518

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

APPENDICES
(c) No.120 : JOG
JOG
[F120]
//1 axis JOG operation speed =
//100000pulse/s
D640L=K100000
//2 axes JOG operation speed =
//100000pulse/s
D642L=K100000
[G120]
//1 axis forward rotation JOG start
//SET/RST
SET M3202=PX3 * !M3203
RST M3202=!PX3
//1 axis reverse rotation JOG start
//SET/RST
SET M3203=PX4 * !M3202
RST M3203=!PX4
//2 axis forward rotation JOG start
//SET/RST
SET M3222=PX5 * !M3223
RST M3222=!PX5
//2 axes reverse rotation JOG start
//SET/RST
SET M3223=PX6 * !M3222
RST M3223=!PX6
//Is repeated to the JOG mode
//completion.
!(!PX1*!PX2)
[F122]
//1, 2 axis forward/reverse rotation
//JOG start command is reset.
RST M3202
RST M3203
RST M3222
RST M3223
END
(d) No.130 : Manual pulse generator
Manual pulse generator
[F130]
D720=100 //1-pulse input magnification
//setting of 1 axis
D721=100 //1-pulse input magnification
//setting of 2 axes
D714L=H00000001 //P1 is controlled
//1 axis.
D716L=H00000002 //P2 is controlled
//2 axes
SET M2051 //P1 Manual pulse generator
//enable flag is ON
SET M2052 //P2 Manual pulse generator
//enable flag is ON
[G130]
!(!PX2*PX1)//Did you complete a manual
//pulse generator mode?
[F131]
RST M2051 //P1 Manual pulse generator
//enable flag is OFF
RST M2052 //P2 Manual pulse generator
//enable flag is OFF
END
When each signal of PX3 to PX6 is turned on/off, which the
correspondences JOG command device is SET/RST.
It makes forward rotation JOG start of the same axis and a
reverse rotation JOG start from making turned on at the same
time.
Signal name
PX3
PX4
PX5
PX6
(Note) : The ON/OFF distinction of each signal can be
described with Y/N transition. But, processing time can
be shortened more the number of steps when it was
described as the following in the case of the processing
which could be described only with SET=/RST=
because it is made low.
Forward rotation/reverse rotation JOG status of 1, 2 axis is
turned off at the time of the JOG mode completion not to
continue a JOG movement after it moves to other mode of the
safety.
The setup of the following is executed to do manual pulse
generator operation of P1 with 1 axis/P2 with 2 axis.
Setting of 1-pulse input magnification of the 1 axis and 2
axis.
Manual pulse generator axis No. setting register is setup to
control of P1 with 1 axis/P2 with 2 axis.
Manual pulse generator axis enable flag of P1, P2 is
turned on.
1, 2 axis Manual pulse generator enable flag turned off at the
time of the JOG mode completion not to continue a manual
pulse generator operation after it moves to other mode of the
safety.
APP - 27
Correspond with JOG command device
M3202(1 axis forward rotation JOG)
M3203(1 axis reverse rotation JOG)
M3222(2 axis forward rotation JOG)
M3223(2 axis reverse rotation JOG)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents