Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello everyone, I want to output G-code like this for swivel head 3,4,5-axis milling. For 4 and 5 axes, required G43.4 before rotary motion, and for 3 axes, G43. Can someone point me to which section in the post-processor I need to modify to achieve the required code? plz check the attached post-processor file. and creo10 mfg file..
(5-AXIS SWIVEL HEAD CLEANED PROGRAM)
%
O0001
N3 G91 G28 Z0.
N4 G91 G28 X0. Y0.
N5 G91 G28 B0.
N6 G91 G28 C0.
N7 G00 G80 G40 G49 G90 G54
N8 G00 B0.
N9 G00 C0.
N15 T1 M06
N16 S2387 M03
N18 G43.4 Z210.000 H1
N19 G00 X-100.000 Y-337.491 C-90. B90.
N20 G00 Z-10.000
N21 G00 Y-107.000
N22 G01 Y-100.000 F1193.66
N23 G01 X100.000
N24 G00 Y-337.491
N25 G91 G28 Z0.
N26 G91 G28 X0. Y0.
N27 G91 G28 B0.
N28 G91 G28 C0.
N29 M30
%
Solved! Go to Solution.
Posts for each machine are much easier to maintain and customize. Keep It Simple and your life becomes easier.
Take one post and copy it for another if the machines are very similar, then tweak to that machines needs to deliver a NC tape that is efficient.
By using multiple posts, you can include custom PPRINT statements to help the machinist and others who may look at the printout.
Hi @asifcad,
Thank you for your question.
Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.
Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.
Best Regards,
Vivek N
Community Moderation Team
in Gpost Option file generator in 'Advanced tab' Fil editor....
cimfil/on,loadtl
rslt=postf(2,1,2707,1)
rslt=postf(13)
rslt=postf(2,1,2707,0)
TNUMB=POSTF(7,4)
TNUM=TEXT/CONVF,TNUMB,8,4,0,1,4
insert/'G43.3H',TNUM,'Z210.00','$'
cimfil/off
I get this:
T09M06
G43.3H9Z210.00
S75M03
G0X-.27383Y.303
.......................
The Z210.000 is fixed/hard coded. Can have it use your retract plane.
Hello, Peter Mueller. Many thanks for the reply...(The Z210.000 is fixed/hard-coded. Can you use your retract plane) Is it possible that Z value is also derived from NC Sequence Retract or the Clearance Plane?also how post processor know which sequence 3 and which is 4-axis or 5-axis.
Regards
Asif
I'll look into this one when I have time.
I use multiple posts for 3.4 and 5axis. Less complicated
Posts for each machine are much easier to maintain and customize. Keep It Simple and your life becomes easier.
Take one post and copy it for another if the machines are very similar, then tweak to that machines needs to deliver a NC tape that is efficient.
By using multiple posts, you can include custom PPRINT statements to help the machinist and others who may look at the printout.