Post processor issue when milling in XYZ Mode

Post processor issue when milling in XYZ Mode

downhurst
Explorer Explorer
190 Views
1 Reply
Message 1 of 2

Post processor issue when milling in XYZ Mode

downhurst
Explorer
Explorer

Hi,

 

I am milling a flat onto the end of a diameter on my Mazak 250MSY. It can be milled using the Y axis because it is within the limits but for some reason the C axis is indexing to different positions between 2 operations. The program simulates fine on Fusion but on the machine the flat from the roughing operation is not aligned to the flat in the finishing operation. I am using 2D adaptive for roughing and 2D contour for finishing. At the moment i am just forcing polar mode to get it to use the C axis instead which fixes the issue, so i think it has something to do with the post with how it handles the Y axis and the C axis indexing when Y axis is active.

 

Heres two snippets of posted code from both operation showing that it's indexing the C axis incorrectly on the 2D adaptive tool path.

 

N1(ROUGHING)
G53 X0. Y0.
G53 Z0.
M902
M300
G53.5
G98 G17
G110 C2 (CROSS AXIS CONTROL)
G0 G53 H0.
T0606
G97 S3820 M203
M312
G0 C-79.246
M310
G0 Z-81.675
X35.868 Y-14.203
M8
G1 Z-55.475 F8000.
Z-54.475 F1100.08
X35.862 Y-14.197 Z-54.354
X35.843 Y-14.177 Z-54.236
X35.813 Y-14.144 Z-54.12
X35.771 Y-14.1 Z-54.01
X35.718 Y-14.043 Z-53.907
X35.654 Y-13.976 Z-53.812
X35.582 Y-13.898 Z-53.726
X35.501 Y-13.812 Z-53.652
X35.413 Y-13.719 Z-53.59
X35.32 Y-13.619 Z-53.54
X35.222 Y-13.514 Z-53.504
X35.121 Y-13.407 Z-53.482
X35.019 Y-13.298 Z-53.475
G2 X31.449 Y-8.096 R25.53
G1 X31.395 Y-7.954
X31.354 Y-7.805
G2 X32.637 Y-4.384 R33.173
G1 X33.01 Y-3.23
X33.309 Y-2.071
X33.45 Y-0.904
X33.456 Y0.265
X33.319 Y1.431
X33.012 Y2.59
X32.583 Y3.739
X31.961 Y4.865
X31.198 Y5.97
X30.285 Y7.046
X29.214 Y8.085
X28.031 Y9.093
X26.679 Y10.046
X24.647 Y11.301
X24.189 Y11.684
X23.843 Y12.094
X23.615 Y12.526
G2 X23.979 Y13.269 R1.
G1 X24.122 Y13.366 Z-53.482
X24.262 Y13.462 Z-53.504
X24.398 Y13.555 Z-53.54
X24.529 Y13.644 Z-53.59
X24.651 Y13.727 Z-53.652
X24.763 Y13.804 Z-53.726
X24.864 Y13.873 Z-53.812
X24.952 Y13.933 Z-53.907
X25.026 Y13.983 Z-54.01
X25.085 Y14.023 Z-54.12
X25.127 Y14.052 Z-54.236
X25.153 Y14.07 Z-54.354
X25.162 Y14.076 Z-54.475
Z-71.675 F8000.
X33.436 Y-9.402
Z-55.475
Z-54.475 F1100.08
X33.426 Y-9.397 Z-54.354
X33.398 Y-9.38 Z-54.236
X33.35 Y-9.354 Z-54.12
X33.284 Y-9.316 Z-54.01
X33.202 Y-9.27 Z-53.907
X33.103 Y-9.214 Z-53.812
X32.99 Y-9.15 Z-53.726
X32.864 Y-9.079 Z-53.652
X32.727 Y-9.001 Z-53.59
X32.581 Y-8.919 Z-53.54
X32.428 Y-8.832 Z-53.504
X32.271 Y-8.743 Z-53.482
X32.111 Y-8.653 Z-53.475
G2 X31.395 Y-7.954 R1.583
G1 X31.128 Y-7.252
G2 X31.054 Y-5.909 R6.898
G1 X31.133 Y-5.165
X31.328 Y-4.
X31.53 Y-2.836
G3 X31.341 Y1.829 R21.62
G1 X30.936 Y2.981
X30.379 Y4.116
X29.663 Y5.228
X28.794 Y6.313
X27.77 Y7.364
X26.594 Y8.374
X25.295 Y9.364
X24.892 Y9.729
X24.584 Y10.117
X24.377 Y10.521
X24.079 Y11.305
G2 X24.443 Y12.048 R1.
G1 X24.586 Y12.145 Z-53.482
X24.726 Y12.241 Z-53.504
X24.862 Y12.334 Z-53.54
X24.993 Y12.423 Z-53.59
X25.115 Y12.506 Z-53.652
X25.227 Y12.583 Z-53.726
X25.328 Y12.652 Z-53.812
X25.416 Y12.712 Z-53.907
X25.49 Y12.762 Z-54.01
X25.549 Y12.802 Z-54.12
X25.591 Y12.831 Z-54.236
X25.617 Y12.849 Z-54.354
X25.625 Y12.855 Z-54.475
Z-71.675 F8000.
X33.169 Y-8.7
Z-55.475
Z-54.475 F1100.08
X33.16 Y-8.695 Z-54.354
X33.131 Y-8.678 Z-54.236
X33.083 Y-8.651 Z-54.12
X33.018 Y-8.614 Z-54.01
X32.935 Y-8.567 Z-53.907
X32.836 Y-8.512 Z-53.812
X32.723 Y-8.448 Z-53.726
X32.597 Y-8.377 Z-53.652
X32.46 Y-8.299 Z-53.59
X32.314 Y-8.217 Z-53.54
X32.162 Y-8.13 Z-53.504
X32.004 Y-8.041 Z-53.482
X31.844 Y-7.951 Z-53.475
G2 X31.128 Y-7.252 R1.583
G1 X30.519 Y-5.647
G2 X30.199 Y-3.792 R15.023
G1 X30.144 Y-2.624
X30.096 Y-1.456
X29.984 Y-0.288
X29.764 Y0.875
X29.412 Y2.031
X28.913 Y3.172
X28.261 Y4.295
G3 X25.748 Y7.195 R19.596
G1 X25.556 Y7.498
X25.409 Y7.805
X24.377 Y10.521
G2 X24.741 Y11.264 R1.
G1 X24.883 Y11.361 Z-53.482
X25.024 Y11.457 Z-53.504
X25.16 Y11.55 Z-53.54
X25.29 Y11.639 Z-53.59
X25.413 Y11.722 Z-53.652
X25.525 Y11.799 Z-53.726
X25.626 Y11.868 Z-53.812
X25.714 Y11.928 Z-53.907
X25.788 Y11.978 Z-54.01
X25.846 Y12.018 Z-54.12
X25.889 Y12.047 Z-54.236
X25.915 Y12.065 Z-54.354
X25.923 Y12.071 Z-54.475
Z-71.675 F8000.
X32.56 Y-7.095
Z-55.475
Z-54.475 F1100.08
X32.55 Y-7.089 Z-54.354
X32.521 Y-7.073 Z-54.236
X32.473 Y-7.046 Z-54.12
X32.408 Y-7.009 Z-54.01
X32.325 Y-6.962 Z-53.907
X32.226 Y-6.906 Z-53.812
X32.113 Y-6.842 Z-53.726
X31.987 Y-6.771 Z-53.652
X31.85 Y-6.694 Z-53.59
X31.704 Y-6.611 Z-53.54
X31.552 Y-6.525 Z-53.504
X31.394 Y-6.436 Z-53.482
X31.235 Y-6.346 Z-53.475
G2 X30.519 Y-5.647 R1.583
G1 X29.176 Y-2.112
G3 X27.367 Y2.64 R39.435
G1 X27.339 Y2.722
G2 X27.696 Y3.461 Z-53.574 R1.
X29.01 Y3.863 Z-53.675 R1. F8000.
X31.281 Y3.061 R1.
G1 X33.091 Y-1.705
G2 X31.566 Y-2.867 R1.
X30.049 Y-2.734 Z-53.574 R1.
X29.176 Y-2.112 Z-53.475 R1. F1100.08
G1 X25.409 Y7.805
G2 X25.772 Y8.549 R1.
G1 X25.915 Y8.646 Z-53.482
X26.055 Y8.742 Z-53.504
X26.192 Y8.835 Z-53.54
X26.322 Y8.923 Z-53.59
X26.444 Y9.007 Z-53.652
X26.556 Y9.083 Z-53.726
X26.657 Y9.152 Z-53.812
X26.745 Y9.212 Z-53.907
X26.819 Y9.263 Z-54.01
X26.878 Y9.303 Z-54.12
X26.92 Y9.332 Z-54.236
X26.946 Y9.349 Z-54.354
X26.955 Y9.355 Z-54.475
Z-81.675 F8000.
(FINISHING)
M300
G97 S4775 M203
M312
G0 C-90.
M310
G1 X33.425 Y-14.869 Z-81.675 F8000.
Z-68.675
Z-54.475 F3000.
G18 G2 X31.425 Z-53.475 R1. F954.93
G1 X29.425
G17 G2 X27.425 Y-13.869 R1.
G1 Y13.869
G2 X29.425 Y14.869 R1.
G1 X31.425
G18 G3 X33.425 Z-54.475 R1.
G1 Z-81.675 F8000.
M205
M9

I have attached my post processor, its nearly default to the one supplied by fusion but have made a few edits to do with sub program calls etc.

 

Thanks

 

part.PNG

 

 

 

 

0 Likes
Accepted solutions (1)
191 Views
1 Reply
Reply (1)
Message 2 of 2

a.laasW8M6T
Mentor
Mentor
Accepted solution

Hi

 

this does seem to be an issue with the post.

 

If you post process with the latest 250MSY post it works fine.(there's been over 20 updates to the post since your version)

 

There are quite a lot of differences between the two posts so I'm not sure where is going wrong in your one.

Id suggest updating to the latest post and adding your changes for the sub calls to that one.

Andrew Laas
Senior Machinist, Scott Automation


EESignature

0 Likes