orizaba
04-27-2008, 07:06 PM
At tool change, the spindle and coolent shut off, but it dosent retract. I have tinkered with the post editor with out any luck.I have included a 2 tool arc and the post commands. I assume the length offsets set at the mill??. what should I change to get the spindle to retract at tool change
Dim Abs
Tool# 0
Rapid Z0.1
Rapid X0.8251 Y0.
Tool# 1
Mcode 3
RPM1670
Mcode 8
Rapid X0.8251 Y0. Z0.1
Line X0.8251 Y0. Z-0.25 Feed12.
Arc Ccw X0.8251 Y0. Z-0.25 Radius0.8251
Rapid X0.8251 Y0. Z0.1
Mcode 9
Mcode 5
0
Tool# 0
Rapid
Rapid X0.7426 Y0.
Mcode 1
Rapid
Tool# 1 2
RPM3758
Mcode 3
Mcode 8
Rapid X0.7426 Y0. Z0.1
Line X0.7426 Y0. Z-0.25 Feed12.
Arc Ccw X0.7426 Y0. Z-0.25 Radius0.7426
Rapid X0.7426 Y0. Z0.1
Mcode 9
Mcode 5
EndMain
0. File header
1. Start of file programmed zero
absolute_coord
"Tool# 0"
rapid_move,force_z,zr
rapid_move,force_x,xr,force_y,yr
"Tool# ",first_tool
spindle_on
s
coolant_on
2. Start of file Standard
absolute_coord
"Tool# 0"
rapid_move,force_z,zr
rapid_move,xr,force_x,force_y,yr
"Tool# ",first_tool
spindle_on
s
coolant_on
3. Tool change
coolant_off
spindle_off
rapid z4.0 (I put in the z4.It goes up, down the stops for the change)
"Tool# 0"
rapid_move,force_z,
rapid_move,force_x,xr,force_y,yr
optional_stop
rapid_move,force_z,
"Tool# 1" t_offset,
s
spindle_on
coolant_on
4. Null tool change
5. End of file for non-zero tool
coolant_off
spindle_off
stop
6. Optional Stop
7. Sub program call
"Call ",sub_num
I use BCC preditor 7.0 and an Anilam3300mk controller
Thanks
Matt
Dim Abs
Tool# 0
Rapid Z0.1
Rapid X0.8251 Y0.
Tool# 1
Mcode 3
RPM1670
Mcode 8
Rapid X0.8251 Y0. Z0.1
Line X0.8251 Y0. Z-0.25 Feed12.
Arc Ccw X0.8251 Y0. Z-0.25 Radius0.8251
Rapid X0.8251 Y0. Z0.1
Mcode 9
Mcode 5
0
Tool# 0
Rapid
Rapid X0.7426 Y0.
Mcode 1
Rapid
Tool# 1 2
RPM3758
Mcode 3
Mcode 8
Rapid X0.7426 Y0. Z0.1
Line X0.7426 Y0. Z-0.25 Feed12.
Arc Ccw X0.7426 Y0. Z-0.25 Radius0.7426
Rapid X0.7426 Y0. Z0.1
Mcode 9
Mcode 5
EndMain
0. File header
1. Start of file programmed zero
absolute_coord
"Tool# 0"
rapid_move,force_z,zr
rapid_move,force_x,xr,force_y,yr
"Tool# ",first_tool
spindle_on
s
coolant_on
2. Start of file Standard
absolute_coord
"Tool# 0"
rapid_move,force_z,zr
rapid_move,xr,force_x,force_y,yr
"Tool# ",first_tool
spindle_on
s
coolant_on
3. Tool change
coolant_off
spindle_off
rapid z4.0 (I put in the z4.It goes up, down the stops for the change)
"Tool# 0"
rapid_move,force_z,
rapid_move,force_x,xr,force_y,yr
optional_stop
rapid_move,force_z,
"Tool# 1" t_offset,
s
spindle_on
coolant_on
4. Null tool change
5. End of file for non-zero tool
coolant_off
spindle_off
stop
6. Optional Stop
7. Sub program call
"Call ",sub_num
I use BCC preditor 7.0 and an Anilam3300mk controller
Thanks
Matt