Winding up wire on a coil

More
07 Jul 2014 16:01 #48478 by s4nj0k
Replied by s4nj0k on topic Winding up wire on a coil
I think I will do it with G10 and just set counter to zero in G90-absolute distance mode.

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

More
07 Jul 2014 16:16 #48479 by ArcEye
Replied by ArcEye on topic Winding up wire on a coil

Then the problem is, that it doesn´t stop at the endpoint of ten and is not moving backwards. Incremental distance mode g91 shall apply only to the number of degrees, but I don´t know how to put it in.


You don't even have to use degrees, you can define a rotary axis as linear and just tell it to move a distance, you just have to work out how many linear units equal a complete turn.
Then you could use G91 G01 A600 Y1 say

All you need is a rotational axis holding the 'bobbin' and a 90deg opposed axis feeding the wire, moving up and down synchronised with the rotation.

I admit being somewhat confused by your original post, specifically this bit :S

By the way the A is my y-axis.


regards

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

More
07 Jul 2014 16:57 #48482 by andypugh
Replied by andypugh on topic Winding up wire on a coil


G95 F0.12
M3 S400
O100 repeat [200]
G1 X+25
G1 X -25
O100 endrepeat


Unfortunately that code doesn´t work for my machine.


G95 mode needs a spindle encoder connected to motion.spindle-speed-in in HAL.

Actually, it doesn't have to be an actual spindle encoder as long as the value fed in to that HAL "pin" represents the speed of rotation. It would be possible to create a suitable signal from the step-generator feedback and a ddt component, but it is probably not worth the trouble in your case, coordinated moves in X and A should work.

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

Time to create page: 0.121 seconds
Powered by Kunena Forum