Fast Hole EDM from Hacked Parts

More
1 year 9 months ago #318479 by tommylight
Replied by tommylight on topic Fast Hole EDM from Hacked Parts
Shooting from the hip here, but, having that pin .... oh cr@p, i need sleep badly, having a hard time keeping things organized inside my noggin, so here goes an incoherent train of thoughts:
-probably would need scaling from the GUI to set the reverse speed, i do not think there is a need to back off at full feed rate
-should be active only when the input pin is active (mister obvious! :) )
-can not recall what the pin is for reverse run....
-
What did you try? Maybe it jogs a few gray cells...
More
1 year 9 months ago #318482 by IronManDylan
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts
Hi Tommy,

Thank you for the response.  I am not sure what is obvious right now. The pin I am trying to use is motion.adaptive-feed which is what Aceira suggested.  From the motion page it seems that when this pin is set to 1 the feedrate is what was initially set.  Then this value can be scaled.  Its a multiple.  So to reverse feedrate at the same velocity in reverse this pin should be set to -1. 

This is how I understand it but could be wrong.  But I just don't know how to do this. 
More
1 year 9 months ago #318490 by tommylight
Replied by tommylight on topic Fast Hole EDM from Hacked Parts
Yeah, now it dawns on me that it already has scaling built in, from -1 to 1 i think, so that is sorted.
Pretty sure it can make do without it, but it is a nice to have.
Again, fuzzy, but roughly in hal
net shorted-move-back motion.adaptive-feed hm2_7i96s.0.inm.00.input-10
yeaaaah that wont work...
setp ....
dropping the towel... :)
Aciera, HELP :) :)
Sorry, but i really need rest, it is 3AM here.
More
1 year 9 months ago - 1 year 9 months ago #318504 by IronManDylan
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts
Tommy,

Maybe you were good luck, but I got it working.  It may have been a syntax error.  Or maybe I didnt make the python file executable.  But what matters is that the feedrate will reverse now.  Thank god. I can even control it with the arduino.  Tomorrow I will do a test cut. 

Best,
-Dylan
Last edit: 1 year 9 months ago by IronManDylan.
The following user(s) said Thank You: tommylight
More
1 year 9 months ago #318548 by tommylight
Replied by tommylight on topic Fast Hole EDM from Hacked Parts
Glad you got it working, but i have to ask, why python?
More
1 year 8 months ago #322730 by IronManDylan
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts
Here is a video of the system: 


tommy, idk, isn't linuxCNC built on python?
Time to create page: 0.374 seconds
Powered by Kunena Forum