Nimrod
01-14-2004, 04:03 PM
Anyone know how I can get my Fadal post to put out a G84.2 pryer to my G84.1 so it would read like so:
G84.2
H18Z10.M8
G84.1G98Z-9.4R05.S286.F357.5
thanks
Nimrod
Originally posted by Nimrod
Anyone know how I can get my Fadal post to put out a G84.2 pryer to my G84.1 so it would read like so:
G84.2
H18Z10.M8
G84.1G98Z-9.4R05.S286.F357.5
thanks
Nimrod
If you want it on every file on every tool change, you can hard-code it in the ptlchg_com section of your post.
Mine reads like this
ptlchg_com #Tool change common blocks
pcom_moveb
c_mmlt #Multiple tool subprogram call
#ptoolcomment
spaces=0
spaces=sav_spc
pcan
if sav_mi3 = 1, n, "M33", e
if mi7 <> 0,
[
n, "G91", "G28", "Z0", E
n, "G0", "A180.", E
n, "A-180.", E
]
n, "M01", e
popnumber
comment
if stagetool <= zero, pbld, n, *t, "M06", ptoolcomm, e
if stagetool >= one,
[
n, "G91", "G28", "Z0", E
n, "G91", "G28", "Y0", E
n, "G90", "G00", "G52", "X-40.", E
pbld, n, "M06", ptoolcomm, E
]
spaces=0
if output_z = yes, preadbuf5
#if output_z = yes & opcode > 0 & opcode < 16, "(", "MAX | ", *max_depth, ")", e
if output_z = yes & opcode > 0 & opcode < 16, "(", "MAX-DEPTH | ", *min_depth, ")", e
spaces=sav_spc
pstock
pindex
sav_absinc = absinc
if wcstype > one, absinc = zero
if speed <> 0, n, *spindle, *speed, pgear, strcantext, e #used for Part Location Cycle
pcorner_round
pcan1, pbld, n, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, *cabs, e
pbld, n, "G43", *tlngno, pfzout, next_tool, e
"/", n, scoolant, E
absinc = sav_absinc
pcom_movea
toolchng = zero
c_msng #Single tool subprogram call
last_op_id = op_id
if sav_mi3 = 1, n, "M31", e
Yours is different, but you should be able to find where to place the code. In mine, it's 8 lines from the bottom, above the line that has the "G43" in it.
You'd write something like this..
n, "G84.2", e
If you want to have it depend on anything, like tool number, fixture number etc, you'll have to come up with some kind of logic statement to do it.
HTH
'Rekd
BTW, BACK UP YOUR POST before you start making ANY edits. (Been there, done that, go a post so screwed up I had to start over... )
Oh, how did you make out with the Access and tool table issues? Did you get it formatted the way it needs to be?
'Rekd