- Fanuc 15M custom macro for saw angle help.
-
Registered
Fanuc 15M custom macro for saw angle help.
I want to write a macro to make saw cuts through MDI mode and I can't figure out how to calculate the angle of the cut.
The saw blade will rotate in 360 degrees with G58C0. being pointed toward + Y and G58C90. points it toward the -X.
I want to be able to enter a start and end point in mdi mode and have the program calculate the angle and make the cut for me.
example:
G66P110XYZABC
XYZABC
XYZABC
G80
With XY variables representing the start point of the cut and AB being the endpoints.
Z being the thickness of the material and C being the depth of the cut.
Can anyone help me with phrasing an equation so that a Fanuc 15M will calculate this?
Thanks
Similar Threads:
-
- Fanuc 15M custom macro for saw angle help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules