MorganStark47
Plastic
- Joined
- Mar 11, 2020
Hello, I'm trying to use Tool Center Point control on FANUC Robodrill and haven't had much luck. The controller I'm working with is Fanuc Series 31i-Model B (4 axes).
First off, is TCP control at all possible with 4 axes or is 5 axes a minimum requirement? I read somewhere that G43.5 can be used only on 5 axes machines, does that apply to G43.4 as well?
Also, I'm unsure whether my syntax is correct and if I'm placing G43.4 correctly in my CNC file. I'm trying to get it to work on a 4 axes FANUC Robodrill, the sequence of operations being:
The manual for 31i-Model B states that TCT bit of parameter 5040 should be set to 1, which it is.
Here's the CNC file:
What happens is that the G43.4 line throws the error PS0010 - Improper G code.
What I want to achieve: as B rotates, the tool tip follows the X0 Y0 Z30 point, tracing out an arc about B rotation.
Where am I going wrong? If Tool Center Point Control is not possible on a 4 axes machine, what changes would need to be made to get this file working on a 5 axes machine? I presume I could switch to G43.5 for a 5 axes machine?
Thanks
First off, is TCP control at all possible with 4 axes or is 5 axes a minimum requirement? I read somewhere that G43.5 can be used only on 5 axes machines, does that apply to G43.4 as well?
Also, I'm unsure whether my syntax is correct and if I'm placing G43.4 correctly in my CNC file. I'm trying to get it to work on a 4 axes FANUC Robodrill, the sequence of operations being:
- position tool tip 30mm above G55 origin and also set B to 0deg
- rotate B to 45deg and dwell
- rotate B to 70deg
The manual for 31i-Model B states that TCT bit of parameter 5040 should be set to 1, which it is.
Here's the CNC file:
%
<TCP_test>
M05 (STOP SPINDLE)
G90 (SET TO ABSOLUTE MODE)
G21 (SET TO METRIC)
G94 (SET TO MM/MIN)
G01 (SET TO LINEAR INTERPOLATION)
G49 G40 G53 Z0.000
G53 G49 Z0.000
T7 M06 (LOAD TOOL)
(RELATIVE Z PATH)
(Position the part)
G55 (WORKPIECE COORDS)
X0.000 Y0.000 F5000
B0.000 F2000
G43.4 Z30.000 H7 F1000 (ENGAGING TCP CONTROL)
G5.1 Q0 (Smooth interpolation and AI contour control modes off)
F1000
G1 B45 (MOVE TO B45)
G04 X5 (WAIT FOR PERIOD)
G1 B70 (MOVE TO B70)
G04 X5 (WAIT FOR PERIOD)
G53 G49 Z0.000
G55 (WORKPIECE COORDS)
B0.000 F2000
X0.000 Y0.000 F5000
G49 G53 Z0.000
M30 (END OF CNC FILE)
%
<TCP_test>
M05 (STOP SPINDLE)
G90 (SET TO ABSOLUTE MODE)
G21 (SET TO METRIC)
G94 (SET TO MM/MIN)
G01 (SET TO LINEAR INTERPOLATION)
G49 G40 G53 Z0.000
G53 G49 Z0.000
T7 M06 (LOAD TOOL)
(RELATIVE Z PATH)
(Position the part)
G55 (WORKPIECE COORDS)
X0.000 Y0.000 F5000
B0.000 F2000
G43.4 Z30.000 H7 F1000 (ENGAGING TCP CONTROL)
G5.1 Q0 (Smooth interpolation and AI contour control modes off)
F1000
G1 B45 (MOVE TO B45)
G04 X5 (WAIT FOR PERIOD)
G1 B70 (MOVE TO B70)
G04 X5 (WAIT FOR PERIOD)
G53 G49 Z0.000
G55 (WORKPIECE COORDS)
B0.000 F2000
X0.000 Y0.000 F5000
G49 G53 Z0.000
M30 (END OF CNC FILE)
%
What happens is that the G43.4 line throws the error PS0010 - Improper G code.
What I want to achieve: as B rotates, the tool tip follows the X0 Y0 Z30 point, tracing out an arc about B rotation.
Where am I going wrong? If Tool Center Point Control is not possible on a 4 axes machine, what changes would need to be made to get this file working on a 5 axes machine? I presume I could switch to G43.5 for a 5 axes machine?
Thanks