1 Attachment(s)
Problem driving long tools into vice......second version.seems version one is closed.
With X5 Mcam and fadal format 2 after I complete a tool cycle (using tools with a + compensation due to long length) the compensation comes off after the cycle then the machine attempts to move z back to the 0 position on whatever work offset I am using....with bad results ...
attached is generic format post for fadal
1 Attachment(s)
Re: Problem driving long tools into vice......second version.seems version one is clo
Ok found where it's happening,
What code would you use to retract the spindle. Say to a reference position? G53, g28?
Sent from my HTC One using Tapatalk
Ok added g53 for now. should now move to reference Z 0.
Also added g43 to tool offset calls.
See how it works. other option is to remove it. just let me know how it goes - take your time the first time.
Re: Problem driving long tools into vice......second version.seems version one is clo
Just twigged you asked about it adding 1 to your offsets. I will have a look at this while I'm in here.
Sent from my HTC One using Tapatalk
Re: Problem driving long tools into vice......second version.seems version one is clo
Looking at the post ...would like to remove the E0 line but not sure how...
pretract #End of tool path, toolchange
sav_absinc = absinc$
sav_coolant = coolant$
coolant$ = zero
# if nextop$ = 1003, #Uncomment this line to leave coolant on until eof unless
[ # explicitely turned off through a canned text edit
if all_cool_off,
[
#all coolant off with a single off code here
if coolant_on, pbld, n$, sall_cool_off, e$
coolant_on = zero
]
else,
[
local_int = zero
coolantx = zero
while local_int < 20 & coolant_on > 0,
[
coolantx = and(2^local_int, coolant_on)
local_int = local_int + one
if coolantx > zero,
[
coolantx = local_int
pbld, n$, scoolantx, e$
]
coolantx = zero
]
coolant_on = zero
]
]
#cc_pos is reset in the toolchange here
cc_pos$ = zero
sav_gcode = gcode$
gcode$ = zero
sav_absinc = absinc$
absinc$ = zero # 'G90' mode
pcan
pbld, n$, sccomp, *sm05, scoolant, psub_end_mny, e$
if wcs_mode = two, # 'E' fixture offset mode
pcan1, pbld, n$, *sgabsinc, sgcode, "Z0.", strcantext, e$ # Retract Z w/ tool length cancel
else, # 'G28' retract mode
[
absinc$ = one
pcan1, pbld, n$, "G28", "Z0.", strcantext, e$
if nextop$ = 1003 | tlchg_home, pbld, n$, *sg28ref, "X0.", "Y0.", protretinc, e$
else, pbld, n$, protretinc, e$
]
pcan2
absinc$ = sav_absinc
coolant$ = sav_coolant
gcode$ = sav_gcode
Re: Problem driving long tools into vice......second version.seems version one is clo
???, do you mean the cold/safe start.
Sent from my HTC One using Tapatalk
Re: Problem driving long tools into vice......second version.seems version one is clo
No, sorry for the confusion, I need to keep the E0 (machine 0)in the output g code but need to remove the H0. Or preferably move the Z to E0 before E0, x0, y0 then cancel the H0...if that makes sense, or just remove the H0? Just not sure of the repercussions of removing the H0 length cancellation?