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.