FS 16i/18i/21i-TB, Spindle Control M, S, P format, Specification Additional Manual Page 10

Additional Manual
5 Alarm and Message
Number Message Description
5305
ILLEGAL SPINDLE
NUMBER
When the spindle is selected by
address P in multi-spindle
control,
1. Address P is not
commanded.
2. Parameter
No.3781-No.3784 is not set
to select spindle.
3. Spindle on another path is
specified in rigid tapping.
4. G code which cannot be
commanded with “S_P_” is
commanded.
5. Multi-spindle control is not
valid because parameter
EMS (No.3702#1) or
ISI(No.3701#1) is “1”.
6. G code, which cannot be
commanded with “Spindle
control M code", is
commanded. (Spindle
control M code = M03, M04,
M05, M19)
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
10/12

Contents Summary of FS 16i/18i/21i-TB, Spindle Control M, S, P format, Specification Additional Manual

  • Page 1FANUC Series 16i/18i/21i-TB Spindle control M, S, P format Specification Contents 1 Outline .................................................................................................................................2 2 Details....................................................................
  • Page 21 Outline By this function, Spindle control M, S, P format is available. Spindle control M, S, P format is a command format for that the spindle control function is specified by M code and the controlled spindle is selected by P code. When using this function, the operator doesn't have to learn a lo
  • Page 32 Details 2.1 Explanation Spindle control M, S, P format has following function. (1) CNC outputs the value of the M code according to the commanded M code and P code to PMC. (2) M code is used to command a spindle control function. It is possible to use M03/M04/M05/M19 for command. The following 4 M
  • Page 42.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
  • Page 52.3 Display and System variable The screen which displays M code like the Modal, Current, Next and so on, displays the values of the M code which was described in the program. System variable #4113 (the modal information of M code) stores the value of the M code which was described in the program. 2
  • Page 63 Parameter #7 #6 #5 #4 #3 #2 #1 #0 03713 MSP [Data type] Bit MSP Spindle control M,S,P format is 0: unavailable. 1: available. Note 1 This function is included in multi-spindle control. Multi-spindle control is an optional function. And in order to use Spindle control M, S, P format, the following
  • Page 713558 M value for M05 with 1st spindle 13559 M value for M05 with 2nd spindle 13560 M Value for M05 with 3rd spindle 13561 M value for M05 with 4th spindle [Data type] 2 word type [Valid data range] 0, 1 to 99999999 Set the value of the M code to output to PMC by the following command. M05 (Sxxxxx)
  • Page 8#7 #6 #5 #4 #3 #2 #1 #0 03703 MPP [Data type] Bit MPP In multi-spindle control, spindle select function by address P is 0: not available. 1: available. Note 1 When this function is used, set the parameters No.3781-No.3784. 03781 P number for 1st spindle 03782 P number for 2nd spindle 03783 P number
  • Page 94 Signals The output signal address that the M code after changed is the same as the case of usual auxiliary function. < F010 - F013 > When using Multiple command of auxiliary function (M code 3 pair) (=M3B 3404#7), the each M codes after changed is output as follows. - 1st M code : < F010 - F013 >
  • Page 105 Alarm and Message Number Message Description 5305 ILLEGAL SPINDLE When the spindle is selected by NUMBER address P in multi-spindle control, 1. Address P is not commanded. 2. Parameter No.3781-No.3784 is not set to select spindle. 3. Spindle on another path is specified in rigid tapping. 4. G code
  • Page 116 Notes (1) The spindle rotation direction control (CW/CCW) When applying this function, parameter TCW/CWM (3706#7, #6) can not be used. Please, always set both of parameter TCW (3706#7) and CWM (3706#6) to 0. As for the spindle rotation direction, please control CW/CCW command signal SFRx/SRVx
  • Page 12(6) About the value of the M code which is output to PMC In this function, the values that were set to parameters (13550-13565) are output just as it is to PMC. (For example, if the parameter setting value is "0", CNC outputs M code "0" to PMC.) In order to set these parameters (13550-13565), please