Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
7 - 52
7 AUXILIARY AND APPLIED FUNCTIONS
(1) If a speed change is executed, the setting speed is ignored in the following cases.
(An error will not occur.)
(a) During motion program execution
(b) During deceleration by the stop command
(c) During a stop
(d) During manual pulse generator operation
[Operation Timing]
The operation timing for a speed change is shown in Fig. 7.21.
V2
V
V3
Operation at the JOG operation by V1
t
V2
V
3
V
1
Speed change register
CHGV
Fig. 7.21 Operation timing for speed change
[Program Example]
A program example for speed change is shown as the following conditions.
(1) Conditions for speed change
(a) Axis No. for speed change............................ Axis 1
(b) New speed.................................................... 1000
(c) Speed change command.............................. M100
(2) PLC program
SP.CHGV K1000 M0 D0H3E3
RST M100
M100
To self CPU
high speed
interrupt accept
flag from CPU
U3E3\
G48.0
"J1"
M0
Normal complete program
M1
Abnormal complete program
M1
Speed changing flag
of the axis No.1
(CPU No.4)
U3E3\
G518.0
Program which changes the positioning speed of the axis No.1 of the Motion CPU
(CPU No.4) from PLC CPU(CPU No.1) to 1000.