keeping two axes synchronized while defining the feedrate of only one

More
1 year 3 months ago #331506 by weedsmoker
I'm attempting to build a multicolor titanium anodizing machine it has one axis of movement and a variable power supply the goal is to be able to define the power supply as the x-axis and the movement as the z. That will keep everything synchronized and allow me to program my color gradients but it also means that given the same f value the actual z axis feed rate will vary depending on the rate i change the power supply, im looking for a way around this. Im not sure whats best, can i just remap a mcode and run a python script that can keep them synced up and use single axis z movements? how hard would it be to edit the base level linuxcnc code to change the way it calculates the axis feed rates? That would be ideal and im willing to figure it out but i dont even know where to start with that, any advise would be greatly appreciated. 

Please Log in to join the conversation.

More
1 year 3 months ago #331522 by PCW
Assuming the power supply (X?) is controlled by LinuxCNC, shouldn't
this all be in the gcode with the feedrate just setting the total time? 

 

Please Log in to join the conversation.

More
1 year 3 months ago #331535 by Todd Zuercher
Would G93 mode (inverse time) be better suited to your needs than the usual G94 units/min?
linuxcnc.org/docs/html/gcode/g-code.html#gcode:g93-g94-g95

Please Log in to join the conversation.

More
1 year 3 months ago #331554 by weedsmoker
I didn't know about g93 you're right that's definitely the way to go

Please Log in to join the conversation.

Time to create page: 0.520 seconds
Powered by Kunena Forum