Write movement manualy to g-code with linuxcnc

More
23 Mar 2019 09:37 #129345 by aleksamc
Hi, all.

I have very interesting task to realize.
On my CNC machine I want to set encoders and to move spindle manualy. And linuxcnc should write this coordinates to file as G-code for each axis. After that I want to open this file and to make run in linuxcnc program.

How can I make this? I know that it's far from default task of linuxcnc - read encoder inputs and write them to the file. Or I need to write my own program in Pyton where I should use HAL only? Please give me an advise of that.
As for hardware I want to use Mesa cards for this. Motors will be controled with analog singal to servodrives.

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

More
23 Mar 2019 12:07 - 23 Mar 2019 12:07 #129350 by pl7i92
this is called probe result
look into here

there are ready made NGC and functions to probe a part in a boundery
Last edit: 23 Mar 2019 12:07 by pl7i92.

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

More
23 Mar 2019 13:00 #129358 by fixer
This is called teach-in on some controllers,
Here is LinuxCNC implementation forum.linuxcnc.org/forum/21-axis/30986-a...osition-logger#74810

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

Time to create page: 0.081 seconds
Powered by Kunena Forum