2.2 Format
•
•
•
•
Command format
The following command format can be used.
M_ (Sxxxx) P_ ;
M_ ; (It is possible to use when setting parameter MPA (3706#2).)
M_ = Spindle control M code (M03, M04, M05, M19)
P_ = Spindle select P code
This function can not be used in the block that has a G code with using P code. (For
example: G04, G26, G30, G31, G71-G76, G83-G89, G51.2 (=G251))
This limitation is the same when setting parameter MPA (3706#2) and using the
format to command only a spindle control M code.
If using, P/S alarm 5305 occurs.
As for the parameter MPA (3706#2), please refer to the next clause in this
specification.
As for the limitation about spindle select P code, please refer to the specification of
"Spindle select by address P (Multi-spindle control)".
Incorrect format
In this function, if the correctly spindle select P code isn't commanded in the same
block, which is commanded spindle function M code (M03, M04, M05, M19), P/S
alarm 5305 occurs.
On the other hand, the specification, which the alarm doesn't occur to even if the
spindle select P code is not commanded, can be chosen.
(Parameter MPA (3706#2)=1)
When omitting spindle select P code by this parameter (MPA (3706#2)=1), a spindle
is select as follows.
The spindle, which corresponds to the latest spindle select P code.
The spindle, which was set to parameter 3775. (When spindle select P code is
never yet commanded.)
Please refer to "Additional function of spindle select by address P (Multi-spindle
control)".
A-79124E
Sheet
Title
Draw
No.
Ed. Date Design Description
Date Apr.28.’03 Desig. Apprv.
FANUC Series 16i/18i/21i – TB
Spindle control M, S, P format specifications
4/12