Programming a 4 Axis Hex

More
23 Oct 2015 22:48 - 23 Oct 2015 22:51 #64186 by rfhowell68
I have been trying to make a program where the operator only needs to change the Hex Length and Distance across the flats to machine a hex edm electrode.
The program graphs ok, but will not run.

I'm sure it's something simple. If anyone could help me out it would be greatly appreciated.
Attachments:
Last edit: 23 Oct 2015 22:51 by rfhowell68.

Please Log in or Create an account to join the conversation.

More
24 Oct 2015 08:43 #64203 by andypugh
Replied by andypugh on topic Programming a 4 Axis Hex

but will not run.


How does it manifest its not-running nature?

Please Log in or Create an account to join the conversation.

More
24 Oct 2015 21:51 #64215 by rfhowell68
Replied by rfhowell68 on topic Programming a 4 Axis Hex
The tool does not move on screen, nor do you see the axis locations move.
It just sits there like you see in the photo.

After trying to run the hex program all other programs have the same problem.

Please Log in or Create an account to join the conversation.

More
25 Oct 2015 13:31 #64243 by Rick G
Replied by Rick G on topic Programming a 4 Axis Hex
Well although it looks different it seems to run on the sim 9 axis.
How do you have the axis configured?
Is your tool table set up properly?

Rick G

Please Log in or Create an account to join the conversation.

More
25 Oct 2015 18:17 - 25 Oct 2015 18:31 #64250 by cncbasher
Replied by cncbasher on topic Programming a 4 Axis Hex
how are you machining this ? on a Lathe or mill with 4th axis
i would have expected a axis

what os are you using ? i notice your using an older 2.4.3 version , you may find this easier with the latest version
you don't have a spindle speed or m3 m5 ( start stop)
Last edit: 25 Oct 2015 18:31 by cncbasher.

Please Log in or Create an account to join the conversation.

More
26 Oct 2015 20:35 #64291 by andypugh
Replied by andypugh on topic Programming a 4 Axis Hex

The tool does not move on screen, nor do you see the axis locations move.
It just sits there like you see in the photo.

After trying to run the hex program all other programs have the same problem.


Is the feed-override at zero?
What is the value of motion.adaptive-feed, motion.feed-hold and motion.feed-inhibit ? (details of the pins: www.linuxcnc.org/docs/html/man/man9/motion.9.html )

Please Log in or Create an account to join the conversation.

More
27 Oct 2015 00:39 - 27 Oct 2015 00:50 #64318 by rfhowell68
Replied by rfhowell68 on topic Programming a 4 Axis Hex
Mill with 4 Axis
Feed-override not at zero
The spindle on/off is a manual operation M3 & M5 not needed.
Tool Table is fine
I'll check " motion.adaptive-feed, motion.feed-hold and motion.feed-inhibit "

I can run the snowflake example before I run the HexProgram, but after I've tried the HexProgram the snowflake example will not run. It just sits the same as the HexProgram.
Last edit: 27 Oct 2015 00:50 by rfhowell68.

Please Log in or Create an account to join the conversation.

More
27 Oct 2015 00:54 #64319 by andypugh
Replied by andypugh on topic Programming a 4 Axis Hex

I can run the snowflake example before I run the HexProgram, but after I've tried the HexProgram the snowflake example will not run. It just sits the same as the HexProgram.


I wonder if it is waiting for a toolchange?

If you run the snowflake, then issue a tool-change command in MDI then try again what happens?

Please Log in or Create an account to join the conversation.

More
27 Oct 2015 03:52 #64324 by rfhowell68
Replied by rfhowell68 on topic Programming a 4 Axis Hex
Ran snowflake no problems
Called T1M6 from MDI then ran snoflake no problems
Ran HexProgram same problems - Graphs ok, but won't run, computer slow to respond after
Ran snowflake again after hexprogram - Graphs ok, but won't run, computer slow to respond after

Looks like it's something in my math or variable names
The attached simpler version does the same thing Graphs ok, but won't run, computer slow to respond after
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Oct 2015 05:13 #64327 by andypugh
Replied by andypugh on topic Programming a 4 Axis Hex
G91 A60 is a 6 minute move at F10. Is it that?

Please Log in or Create an account to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum