Mitsubishi Electric Q173CPU Programming Manual page 467

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

APPENDICES
Main
[F20]
SET M9028 //Clock data read request on
SET M100 //Stop ON (Initials set)
Stop
Programming operation
[G20]
M9076 //Did you release a forced
//stop?
[F110]
SET M2042//All axes servo ON command
// is ON
[G21]
!M9076//Did you turn on forced
//stop?
[F25]
DOUT PY10,H0000 //PY10 to PY1F
//(16 points)OFF
Stop
[G170]
//Did you release a stop?
// (Did a thing during servo ON and PX5
//turn off 1 axis and 2 axes?)
M2415*M2435*!PX5
[F170]
//A stop is being released stop, status.
RST M3200 //1 axis stop command OFF
RST M3220 //2 axes stop command OFF
RST M100 //Stop OFF
(a) No.20 : Main
The internal relay (M100) for the stop
turn on.
The subroutine starts "170: stop" and
"150 : Programming operation".
P0
When a forced stop is released, all axis
servo on command are turned on.
"Real output (PY)" is turned off at the
time of the forced stop.
(Note-1) : A subroutine during the start is
(Note-2) : Actual output is turned off if
(Note-3) : The occurrence detection of
P0
(b) No.170 : Stop
P0
[F171]
//The stop is being turned on, status.
SET M100 //Stop ON
SET M3200 //1 axis stop command ON
SET M3220 //2 axes stop command ON
P0
made to stop if necessary.
necessary.
servo error and so on is added
to the stop condition with the
forced stop if necessary.
APP - 30
The subroutine that motion control was
executed at the time of the forced stop
did not stop and which started it for a
while goes on, and it is executed by
this sample program.
Motion control is stopped after servo
OFF is detected at the time of the
forced stop in the inside of the
subroutine.
Resuming of the motion control is
executed after all the axis servo ON
command were turned on in this
program and the detection of servo ON
was done on the subroutine side when
a forced stop is released.
When servo ON and the outside input
signal (PX5) for the stop are OFF, 1
axis, 2 axis stop command are turned
off, and 1 axis, 2 axis continue motion
control by turning off an internal relay
(M100) for the stop.
It is made to turn on 1 axis, 2 axis stop
command, and motion control is made
to stop by turning on an internal relay
(M100) for the stop, too, when either
axis turns off servo or when PX5 turns
it on.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents