Search the Community
Showing results for tags 'Heidenhain mill control'.
-
Today we had an unusual issue arise where a program that had passed verify and backplot in Mastercam X6, crashed at the machine. The program was helical milling an open bottom pocket perimeter to a given depth. Everything worked fine until the tool reached the depth and then the program wanted to move the tool to X zero to begin the bottom finishing pass. When it got to this point, the machine tried to travel a full circle to get to X zero which didn't work. Here is a snippet of the code in the offending area: 9142 CC X+0 Y+0 9143 CP IPA-14.701 Z-1.956 DR- RL 9144 CC X+0 Y+0 9145 CP IPA-14.701 Z-1.957 DR- RL 9146 CC X-.472 Y-1.7993 9147 CP IPA+179.99 Z-1.9607 DR+ RL 9148 CC X+0 Y+0 9149 CP IPA+29.399 Z-1.9639 DR+ RL 9150 CC X+.472 Y-1.7993 9151 CP IPA+179.99 Z-1.9675 DR+ RL 9152 CC X+0 Y+0 9153 CP IPA-14.673 Z-1.9685 DR- RL 9154 CC X+0 Y+0 9155 C X+0 DR- RL 9156 CC X+0 Y+0 9157 C X-.3647 Y-1.3901 DR- RL 9158 CC X-.472 Y-1.7993 9159 C X-.5794 Y-2.2086 DR+ RL 9160 CC X+0 Y+0 9161 C X+.5794 DR+ RL 9162 CC X+.472 Y-1.7993 9163 C X+.3647 Y-1.3901 DR+ RL 9164 CC X+0 Y+0 9165 C X+.0007 Y-1.4372 DR- RL 9166 CC X+.0009 Y-1.8347 9167 C X-.2803 Y-1.5537 DR+ RL 9168 L X+.0009 Y-1.8347 R0 9169 L Z+5 R0 F MAX /9170 STOP M9 and an illustration of the part. The pocket that posed the problem is the center bottom one. What I think happened is a rounding error between where Mastercam thought the tool would be Vs where the mill ended up. Watching backplot, Mastercam was 0.0007 away from X zero when it got to the equivalent of line 9153. Thus making the move to X zero would move the cutter that 7 tenths to begin the finish pass. I think the mill was past that point because of all the incremental moves and possible rounding and had to make a full circle to get back to X zero. My questions: Where would I turn off incremental polar angular moves so the numbers are absolute? Would using toolpath filtering help or be the best way to 'fix' this? Our original post was passed to us from an old contact about 10 years ago and has been updated very little (only as needed) to keep it running with current Mastercam versions. Could this be a post issue? Would the control definition setting for End point checks (No rounding - break arc on failure) help? Just trying to come up with a way to prevent this from happening again. Thanks for any and all help, Rick
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.