Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

having problems getting good code for a head table mag1


lowcountrycamo
 Share

Recommended Posts

I have a postiblilty post for our new mag1 makino.  They have been very responsive.  I cannot get good code.   This is a Fanuc Head / Table mill.  I have been going back and forth with my Reseller.  I am curious if I am programming this correctly.  In one of Collins classes, he said the easiest way to prove a post is to create simple arc.  So, I did that.  When running a 5x curve around the green disk (B axis only) G43.4 does not work as the tool is rotating about the entry point, not around the disk.  If I run around the red disk G43.4 does work as that is the A axis (Head) only.   I am testing this code on a  Vericut sim.   I have programmed for head/head G43.4 and table/table G43, and have never had problems like this.   Has anyone had any experience with this?

1.png

Link to comment
Share on other sites

In tool center point G43.4 you should have a x and z in every line of the code going around the green arc (Y never changes). Here is a similar path from my T1 post.

 

T9 M06(1/2 BULL E.M.)
M01
T0
M236
G00 G17 G20 G40 G49 G80 G90
M236 M238
G00 G90 G54
G00 A0. B-90.
M257
G68.2 X0. Y0. Z0. I270. J90. K90.
G53.1
X0.
G69
G43.4 H1 Y-8.
G49
S10000 M03
G43.4 H1
X-11.33658 Y-8. Z0.
X-8.83658
G94 G01 G41.2 D2 X-7.33658 F120.
X-7.33527 Z.0998 B-89.2205
X-7.33316 Z.19954 B-88.4413
X-7.32983 Z.29926 B-87.6621
X-7.32502 Z.39891 B-86.8829
X-7.31897 Z.49847 B-86.1038
X-7.31146 Z.59795 B-85.3246
X-7.3027 Z.69729 B-84.5457
X-7.29249 Z.79653 B-83.7665
X-7.28101 Z.89568 B-82.987

...........

X7.33314 Z.20034 B88.4351
X7.33526 Z.10059 B89.2143
X7.33658 Z.00084 B89.9934
X8.83658 Z.00102 F300.
G00 G40 X11.33658 Z.0013
G49
M05
G53 Y0. Z0.
A0. B0.
M235
T0 M6
T0
G53 X0.
M01

  • Like 1
Link to comment
Share on other sites

Your code only has B moves. So in TCP the machine would rotate the b axis keeping your tool tip in the same XYZ coordinate relative to your work offset G54.

 

Try running this in vericut. it should simulate a path similar to your green arc.

%
O0000 (TEST)
(PROGRAM   - TEST.NC)
G00 G17 G20 G40 G80 G90
G53 Z0. M319
A0. B0.
T9 M06(1/2 BULL E.M.)
G00 G17 G20 G40 G49 G80 G90
G00 G90 G54
G00 A0. B-90.
M257
G68.2 X0. Y0. Z0. I270. J90. K90.
G53.1
X0.
G69
G43.4 H1 Y-8.
G49
S10000 M03
G43.4 H1
X-11.33658 Y-8. Z0.
X-8.83658
G94 G01 X-7.33658 F120.
X-7.33527 Z.0998 B-89.2205
X-7.33316 Z.19954 B-88.4413
X-7.32983 Z.29926 B-87.6621
X-7.32502 Z.39891 B-86.8829
X-7.31897 Z.49847 B-86.1038
X-7.31146 Z.59795 B-85.3246
X-7.3027 Z.69729 B-84.5457
X-7.29249 Z.79653 B-83.7665
X-7.28101 Z.89568 B-82.987
X-7.26812 Z.99456 B-82.2081
X-7.25396 Z1.09328 B-81.4291
X-7.23839 Z1.19179 B-80.6502
X-7.22154 Z1.29008 B-79.8713
X-7.20328 Z1.38821 B-79.0918
X-7.18377 Z1.48605 B-78.3125
X-7.16286 Z1.58356 B-77.5336
X-7.14069 Z1.68084 B-76.7543
X-7.11712 Z1.77779 B-75.9751
X-7.09232 Z1.87445 B-75.1956
X-7.06612 Z1.97071 B-74.4165
X-7.03871 Z2.06663 B-73.6372
X-7.00989 Z2.16215 B-72.858
X-6.9799 Z2.25728 B-72.0789
X-6.94851 Z2.35194 B-71.3
X-6.91591 Z2.44628 B-70.5204
X-6.88196 Z2.54009 B-69.7412
X-6.84681 Z2.63346 B-68.9619
X-6.81034 Z2.72632 B-68.1828
X-6.77266 Z2.81867 B-67.4037
X-6.73368 Z2.91051 B-66.6244
X-6.69347 Z3.00184 B-65.845
X-6.65203 Z3.09257 B-65.066
X-6.60936 Z3.18273 B-64.2869
X-6.56548 Z3.27229 B-63.5079
X-6.52035 Z3.36128 B-62.7286
X-6.47406 Z3.44963 B-61.9496
X-6.42651 Z3.53734 B-61.1704
X-6.37784 Z3.62443 B-60.3911
X-6.32794 Z3.71077 B-59.6122
X-6.27693 Z3.79651 B-58.833
X-6.22466 Z3.88154 B-58.0534
X-6.17131 Z3.96586 B-57.274
X-6.11677 Z4.04945 B-56.4945
X-6.06114 Z4.13226 B-55.7153
X-6.00438 Z4.21431 B-54.9361
X-5.94651 Z4.29556 B-54.1569
X-5.88756 Z4.37603 B-53.3778
X-5.82747 Z4.45569 B-52.5984
X-5.76637 Z4.53454 B-51.8193
X-5.70413 Z4.61251 B-51.0401
X-5.64094 Z4.68965 B-50.2612
X-5.57665 Z4.76588 B-49.4824
X-5.51133 Z4.8413 B-48.7031
X-5.44498 Z4.91578 B-47.9239
X-5.37761 Z4.9894 B-47.1445
X-5.30927 Z5.06206 B-46.3654
X-5.23992 Z5.13379 B-45.5862
X-5.16963 Z5.2046 B-44.8069
X-5.09834 Z5.2744 B-44.0276
X-5.02617 Z5.34328 B-43.2484
X-4.95303 Z5.41109 B-42.4693
X-4.879 Z5.47798 B-41.6901
X-4.80406 Z5.54379 B-40.9111
X-4.72825 Z5.60861 B-40.132
X-4.6515 Z5.67242 B-39.3524
X-4.57394 Z5.73515 B-38.5733
X-4.4955 Z5.79684 B-37.7939
X-4.41624 Z5.85743 B-37.0147
X-4.33616 Z5.91699 B-36.2352
X-4.25528 Z5.97538 B-35.456
X-4.17365 Z6.03273 B-34.6768
X-4.0912 Z6.0889 B-33.8976
X-4.00805 Z6.144 B-33.1185
X-3.92413 Z6.1979 B-32.3395
X-3.83949 Z6.25072 B-31.5602
X-3.75415 Z6.30233 B-30.7813
X-3.66812 Z6.3528 B-30.0022
X-3.58135 Z6.40212 B-29.2227
X-3.49397 Z6.45022 B-28.4436
X-3.40592 Z6.49717 B-27.6642
X-3.31723 Z6.54286 B-26.885
X-3.22794 Z6.58741 B-26.1056
X-3.13806 Z6.63065 B-25.3266
X-3.04764 Z6.67275 B-24.5475
X-2.95661 Z6.71353 B-23.7685
X-2.8651 Z6.75315 B-22.9896
X-2.77299 Z6.79146 B-22.2104
X-2.68042 Z6.82856 B-21.4315
X-2.58733 Z6.86435 B-20.6525
X-2.49371 Z6.89894 B-19.8731
X-2.39969 Z6.9322 B-19.0941
X-2.30519 Z6.9642 B-18.3148
X-2.21023 Z6.99492 B-17.5353
X-2.1149 Z7.02433 B-16.7561
X-2.01918 Z7.05246 B-15.9769
X-1.92308 Z7.07926 B-15.1977
X-1.82665 Z7.10478 B-14.4185
X-1.72984 Z7.12895 B-13.6392
X-1.63275 Z7.15184 B-12.8601
X-1.53529 Z7.17337 B-12.0805
X-1.43761 Z7.19362 B-11.3014
X-1.33962 Z7.21248 B-10.522
X-1.24141 Z7.23007 B-9.7428
X-1.14295 Z7.24626 B-8.9634
X-1.04433 Z7.26117 B-8.1844
X-.94552 Z7.27466 B-7.4055
X-.84651 Z7.2869 B-6.6262
X-.74736 Z7.2977 B-5.8473
X-.64806 Z7.30723 B-5.0682
X-.54859 Z7.31534 B-4.2887
X-.44909 Z7.32216 B-3.5098
X-.34948 Z7.32758 B-2.7306
X-.24979 Z7.33168 B-1.9513
X-.15006 Z7.33439 B-1.1721
X-.05031 Z7.33576 B-.3929
X.04946 Z7.33577 B.3863
X.1492 Z7.33441 B1.1654
X.24894 Z7.3317 B1.9446
X.34862 Z7.32762 B2.7239
X.44823 Z7.32221 B3.503
X.54773 Z7.31541 B4.2819
X.64719 Z7.30731 B5.0614
X.74648 Z7.29779 B5.8404
X.84568 Z7.28699 B6.6198
X.9447 Z7.27477 B7.399
X1.04356 Z7.26128 B8.1783
X1.14218 Z7.24638 B8.9573
X1.24058 Z7.23021 B9.7362
X1.33879 Z7.21263 B10.5154
X1.43673 Z7.1938 B11.2944
X1.5344 Z7.17356 B12.0734
X1.63186 Z7.15204 B12.853
X1.72895 Z7.12917 B13.632
X1.82576 Z7.10501 B14.4114
X1.92225 Z7.07949 B15.1909
X2.01834 Z7.0527 B15.9701
X2.11407 Z7.02459 B16.7493
X2.2094 Z6.99519 B17.5285
X2.3043 Z6.9645 B18.3075
X2.3988 Z6.9325 B19.0868
X2.49283 Z6.89926 B19.8657
X2.58644 Z6.86469 B20.6452
X2.67954 Z6.82891 B21.4241
X2.77216 Z6.79179 B22.2035
X2.86427 Z6.7535 B22.9826
X2.95585 Z6.71387 B23.762
X3.04688 Z6.6731 B24.541
X3.1373 Z6.63101 B25.3201
X3.22719 Z6.58778 B26.0991
X3.31643 Z6.54327 B26.878
X3.40511 Z6.49759 B27.6571
X3.49312 Z6.45068 B28.436
X3.5805 Z6.4026 B29.2151
X3.66728 Z6.35329 B29.9946
X3.75332 Z6.30283 B30.7737
X3.83871 Z6.2512 B31.5531
X3.92336 Z6.19839 B32.3323
X4.00733 Z6.14447 B33.1118
X4.09049 Z6.08937 B33.8909
X4.17294 Z6.03321 B34.6701
X4.25458 Z5.97588 B35.4493
X4.33547 Z5.9175 B36.2285
X4.41551 Z5.85799 B37.0075
X4.49477 Z5.79741 B37.7867
X4.57317 Z5.73576 B38.5656
X4.65073 Z5.67305 B39.3447
X4.7275 Z5.60925 B40.1243
X4.80331 Z5.54444 B40.9034
X4.87831 Z5.4786 B41.6828
X4.95234 Z5.41171 B42.4621
X5.02554 Z5.34387 B43.2416
X5.09772 Z5.27501 B44.0208
X5.16901 Z5.20521 B44.8001
X5.23932 Z5.13441 B45.5794
X5.30867 Z5.06269 B46.3587
X5.37702 Z4.99003 B47.1378
X5.44436 Z4.91647 B47.9167
X5.51072 Z4.84199 B48.6958
X5.57604 Z4.76658 B49.4751
X5.64038 Z4.69031 B50.2545
X5.70362 Z4.61313 B51.0338
X5.76587 Z4.53516 B51.8131
X5.82702 Z4.45628 B52.5927
X5.88712 Z4.37662 B53.3721
X5.94611 Z4.29611 B54.1516
X6.004 Z4.21486 B54.9308
X6.06076 Z4.13282 B55.71
X6.1164 Z4.05001 B56.4892
X6.17092 Z3.96648 B57.2683
X6.22428 Z3.88216 B58.0477
X6.27652 Z3.79718 B58.8268
X6.32754 Z3.71145 B59.606
X6.37745 Z3.62512 B60.3849
X6.42611 Z3.53808 B61.1637
X6.47366 Z3.45038 B61.943
X6.51999 Z3.36197 B62.7225
X6.56513 Z3.27299 B63.5018
X6.60904 Z3.18338 B64.2813
X6.65173 Z3.09323 B65.0603
X6.69317 Z3.0025 B65.8394
X6.73337 Z2.91122 B66.6184
X6.77236 Z2.81938 B67.3977
X6.81005 Z2.72703 B68.1767
X6.84653 Z2.63418 B68.9559
X6.88169 Z2.54081 B69.7352
X6.91566 Z2.447 B70.5144
X6.94824 Z2.35272 B71.2936
X6.97964 Z2.25806 B72.0725
X7.00965 Z2.16293 B72.8517
X7.03848 Z2.06741 B73.6309
X7.0659 Z1.97149 B74.4101
X7.09211 Z1.87523 B75.1893
X7.11692 Z1.77862 B75.9684
X7.14049 Z1.68168 B76.7476
X7.16266 Z1.58445 B77.5265
X7.18358 Z1.48694 B78.3054
X7.20311 Z1.38909 B79.0847
X7.22139 Z1.29097 B79.8643
X7.23824 Z1.19268 B80.6432
X7.25382 Z1.09417 B81.4222
X7.268 Z.99544 B82.2012
X7.2809 Z.89655 B82.9801
X7.2924 Z.79741 B83.7596
X7.30261 Z.69816 B84.5389
X7.31139 Z.59882 B85.3178
X7.31891 Z.49933 B86.097
X7.32498 Z.39971 B86.8765
X7.3298 Z.30006 B87.6558
X7.33314 Z.20034 B88.4351
X7.33526 Z.10059 B89.2143
X7.33658 Z.00084 B89.9934
X8.83658 Z.00102 F300.
G00  X11.33658 Z.0013
G49
M05
G53 Y0. Z0.
A0. B0.
G53 X0.
M30
%

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...