APP - 18
A
PPENDICES
(d) No.120 : JOG
[F120]
//1 axis JOG operation speed =
//100000PLS/s
D640L=K100000
//2 axes JOG operation speed =
//100000PLS/s
D642L=K100000
JOG
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.
(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.
[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
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)
Signal name
PX3
PX4
PX5
PX6
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.
(e) No.130 : 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
Manual pulse generator
[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
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.