Winding up wire on a coil

More
12 years 3 months ago #48482 by andypugh
Replied by andypugh on topic Winding up wire on a coil

s4nj0k wrote:

andypugh wrote:
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.204 seconds
Powered by Kunena Forum