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:
Looking at the example program, you are doing full circles ( 360 Arcs)
You cannot program a Full circle in one line of program, using the R word address.
So you would need to break the Circular Interpolation into two Arcs, each less than 360.
Must commonly 2 arcs of 180 each, to make the full circle. This likely would defeat the objective of shortening the Program.
But
The concept of using IJK and leaving out values not needed, would shorten the Program, but you would need to use the G91 INC mode.
Then any Value left out would be understood to be .000 and will be acceptable in the INC G91 mode. This should be useable in most all controls even Older Models.
In the G91 mode the only value you would need in the program line is the "Z" and the J-.0241 the rest would either Modal or be understood.
What did we do for enjoyment before CNC programming.
.0002
Thanks for the input:
Colin:
I added the into my Post.
xabs = xabs * two
Just before the
pheader$
When I reposted, the X values are 4X
so I experimented and found that if I used the Square Root of two ( 1.414213 ) in place of the word two
The X Values posted as DOULBLE
This of course confuses my Norwegian Logic, can anyone explain this, so it makes sense to me ?
I have not found a Lathe Post yet, since this * two was intriguing me, but I will also continue in that direction.
Thanks for the Help
Mark ( .0002 ) Anderson
We have around 30 VMC so we have multiple seats of MASTERCAM mill. We have only one Lathe with "C" Axis capability so currently we do not own a Lathe version.
We occasionaly need to Live Tool a involved shape with the "C" axis on our lathe. We use our Mill software to out put the TXT so we can have the coordinate values.
We then need to double the "X" values to represent Diameter. and then change the "Y" word address to "C" word address. The "Y" / "C" is an easy find/ replace.
Is there a way that I can alter the Post to double the "X" Values..............so I do not have to manually edit the "X".
Thanks for any help you can provide
EX-wccprogrammer
Thanks for the input
We looked at our Post we have
fs2 1 0.7 0.6
fmt "X" 2 xabs
fmt "Y" 2 yabs
So to make sure I understand your input..................I should change the number 2 in both of the fmt lines to a number 1
We are going to change both lines to the 1, and re-post to see if the 4th place decimal in our code changes from the original post.
Thanks
MOA
We have a HURCO VM that has a tolerance of 50 millionths for the matching of I/J and X/Y coordinates in the G2/G3 moves.
Our Post out puts to the, 4th decimal place, but when doing this it not consistent in the rounding up or down. It can be .0001 off
Which cause the HURCO to move incorrect. What do I need to change in my POST to assure that the Coordinate values will be with in .000050
when Posted Out ? I already contacted HURCO and they have informed me that there is nothing they can do to open the Tolerance in the Machine Control.
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.