Resetting A-axis

More
1 year 5 months ago #327592 by dannym
Resetting A-axis was created by dannym
I did some manual G-code to use a 4th axis rotary basically like a lathe.  The A axis doesn't have a homing switch.  It advances a specified number of turns as the X and Y does its thing.  

Part gets changed out, repeat.  

What's the correct G-code to reset the A axis?  Numerically, it's spooled up like 1000 turns in one direction.  Moves aren't relative and I don't need the thing to unspool 1000 turns to get back to the absolute A-axis value the next G-code run will start at.

 

Please Log in to join the conversation.

More
1 year 5 months ago #327593 by andypugh

Please Log in to join the conversation.

More
1 year 5 months ago #328667 by dannym
Replied by dannym on topic Resetting A-axis
I tried G10 L20 P0 A0

This doesn't work. It's resetting the work coords to 0 so the G-code works at first, but continues incrementing A0 indefinitely in machine coords. After about 10 runs, the G-code faulted mid-run, says the next command would move joint 3 past machine limits.

At that point, A has reached 9800 or so, ini limited A to 10,000. I can put in a larger number. but we're just kicking this can down the road.

Can I reset the machine coord value, or is there a way to say the A axis has no limits on how many times it can turn?

Please Log in to join the conversation.

More
1 year 5 months ago #328668 by Aciera
Replied by Aciera on topic Resetting A-axis
Try removing the LIMIT entries from the JOINT_n sections. That should set the value to +/- 1e99 which no machine will ever reach.


 

Attachment not found


linuxcnc.org/docs/2.8/html/config/ini-co...t__lt_num_gt_section

 

Please Log in to join the conversation.

Time to create page: 0.247 seconds
Powered by Kunena Forum