
A-90075 E
Title
Draw
3/9
Sheet
FANUC Series 30
/ 31
/ 32
Spindle Control M,S,P Format
Edit
Apprv.
Desig.
Design
3 P code is used to select the spindle to apply the control that was
commanded by the spindle function M code. The method of select a spindle
by using the P code is the same as the function of "Spindle select by
address P. (Multi-spindle control)" (No.3781-3784)
Since then, in this specification, these P codes are called with the spindle
select P code. ( No.13550-No.13562)
4 M code output actually to PMC are 4 M codes in each spindle
axis.Please set M code output actually to PMC to the parameter.
Command format
The following command format can be used.
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 (No.3706#2)=1 and
using the format to command only a spindle control M code.
If using, P/S alarm 5305 occurs.
As for the parameter MPA (No.3706#2), please refer to the next clause in
this specification.
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 (No.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 No.3775.
(When spindle select P code is never yet commanded.)
M_ (Sxxxx) P_ ;
M_ ; (It is possible to use when setting parameter
MPA (No.3706#2)=1.)
M_ = Spindle control M code (M03, M04, M05, M19)
P_ = Spindle select P code