View Full Version : Newbie Just when I though I had it figured out.....


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

The One
04-28-2008, 08:13 AM
You already have the tool in the Rapid clearance position before the Mcode 9, which is why you don't get another clearance move in the tool change.


Rapid X0.8251 Y0. Z0.1
Mcode 9
Mcode 5
0
Tool# 0
Rapid
Rapid X0.7426 Y0.


Is there a specific height to which you want the tool to retract?

Regards

orizaba
04-28-2008, 02:09 PM
You already have the tool in the Rapid clearance position before the Mcode 9, which is why you don't get another clearance move in the tool change.





Is there a specific height to which you want the tool to retract?

Regards

z+5 would be great, but more importantly knowing how to make it do it would be great-er.:rainfro:


How should I edit the post to get a rapid move to the next position then Z+5 for the change. I put the tool length off sets in the mill, so I assume I dont need to address that in BCC?
Thanks again for all your help
Matt

The One
04-29-2008, 08:02 AM
If you need to have the machine move to a specific position so that you can change the tool, I would suggest hard coding the position into your post. Just treat the position as a string in the post. Since you already have the post setup to display all Z moves, it won't really have any negative impact on the posted programs.


Regards

orizaba
04-29-2008, 09:58 PM
I'll add a "Rapid Z4.0" proir to the tool change in the post?
I ran Bob all day today with out a hitch.
Thanks again
Matt