RML-1
PROGRAMING GUIDELINE
- 22 -
msec).
There is no wait time when the cutting direction changes.
When a two-dimensional command such as PD or PU is used, the dwell
operation is performed just before the PD tool-down operation or just
before moving the XY plane period parameters.
It is also performed just before changing from tool-down to tool-up with
PU.
However, it is not performed when a PU parameter manipulates the XY
plane.
In the case of a PU or PD command without parameters, it is performed
just before the tool-up or tool-down operation.
In the case of a three-dimensional movement command such as !ZZ, it is
performed just before the operation of that command is carried out.
Operations other than the command's are unaffected.
<Errors>
A value less than 0 or greater than 32767 results in error 3.
!MC
(Motor Control -- Motor control command)
<Format>
!MC n [terminator]
!MC [terminator]
<Type>
n: int
<Parameter range>
n -32768 through 32767
<Description>
When parameter n is other than 0 or when the parameter is omitted, the
spindle motor is set to a rotatable state.
What actually rotates is .
Thereafter, when the tool is moved by a command, the spindle motor is
made to rotate from a stopped state, and then the movement is performed.
When n is 0, rotation thereafter is prohibited.
Also, rotation is stopped immediately after the motor stops.
This command is effective in performing rotation or stoppage after waiting