A-79805E
Title
Draw
No.
32/40
Sheet
FANUC Series 30i/ 31i/ 32i
Live Tool Control With Servo Motor
Edit
Apprv.Desig.
Date
Design
Descri
tion
Date
Oct.26.2004
・Program command example
1. Use G96.2 to issue a move command to the spindle. Simultaneously as
he start of the movement of the spindle, start the execution of the next
block. The spindle keeps on moving even while other blocks are being
executed.
(During live tool indexing, the live tool indexing signal SPP (Fn522)
becomes 1.)
2. To give the next command to the spindle, use G96.3 to check for the
completion of movement.
If movement is not completed (the live tool indexing signal is 1),
the system enters the wait state.
If movement is completed, the command is issued and the spindle starts
moving.
Example) Command that does not wait for the completion of live tool indexing,
command checking for completion (parameter No.3781(S1) = 1)
Program command Operation
G96.2 P1 R270.0 ;
Command that does not wait for the completion of live
tool indexing.
The first spindle S1 starts moving to 270.0.
G01 X10.0 Y20.0 F1000. ;
Start of cutting feed. No waiting for the completion of
live tool indexing
G02 X50.0 Y100.0 R50.0 ;
Start of circular interpolation. No waiting for the
completion of live tool indexing.
G96.3 P1 ; Check for completion.
Start of rigid tapping if live tool indexing signal is 0.
M29 S100 P1 ;
G84 X10.0 R-5.0 Z-20.0 F100. ;
Waiting for a rigid tapping command when the live tool
indexing signal is 1.