Ez_DuzIt123
Plastic
- Joined
- Feb 24, 2019
Hopefully I can get some help with this one... I have never written a five axis program by hand so forgive me if I am totally off with what I currently have.
Basically what I am trying to do is put a 19MM tooling ball onto the table and then bring a coaxial indicator on it, manually center it, then run the program which rotates the C axis and the B axis so I can visually see the deviations if any exist. To me this seems like a fast way to see if the COR is off without machining a test part.
With the B axis at 0 degrees the program is easy, obviously. But how in the world do I get the B to 90 degrees while the indicator follows the outermost part of the ball? This is the current program I have (Forgive my OCD with repeating modals):
When I ran this program the indicator started jumping real bad as soon as the B started to rotate so I know this is not correct. Is this even possible to do with only a few lines of code?? I programmed it within Esprit to see if I could use that code but our post processor is not setup right to optimize the toolpath with any arcs so the code I get is a bunch of intermediate points.
Basically what I am trying to do is put a 19MM tooling ball onto the table and then bring a coaxial indicator on it, manually center it, then run the program which rotates the C axis and the B axis so I can visually see the deviations if any exist. To me this seems like a fast way to see if the COR is off without machining a test part.
With the B axis at 0 degrees the program is easy, obviously. But how in the world do I get the B to 90 degrees while the indicator follows the outermost part of the ball? This is the current program I have (Forgive my OCD with repeating modals):
Code:
G59 X0.Y0.
S700 M03
G43.4 H100
G1 X0. Y0. Z0. B0. C0. F100.
G1 X0. Y0. Z0. B0. C90.
G1 X0. Y0. Z0. B0. C180.
G1 X0. Y0. Z0. B0. C270.
G1 G17 X0. Y0. Z0. B0. C0.
[B]G3 G18 X.374 Z-.374 B90. C0. R.374[/B]
[B]G3 G17 X-.374 Y0. Z-.374 B90. C180. R.37[/B]
G49 G1 G17 G90
M5
When I ran this program the indicator started jumping real bad as soon as the B started to rotate so I know this is not correct. Is this even possible to do with only a few lines of code?? I programmed it within Esprit to see if I could use that code but our post processor is not setup right to optimize the toolpath with any arcs so the code I get is a bunch of intermediate points.