- Posts: 566
- Thank you received: 0
Write movement manualy to g-code with linuxcnc
7 years 7 months ago #129345
by aleksamc
Write movement manualy to g-code with linuxcnc was created 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.
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 to join the conversation.
7 years 7 months ago #129350
by pl7i92
Replied by pl7i92 on topic Write movement manualy to g-code with linuxcnc
this is called probe result
look into here
there are ready made NGC and functions to probe a part in a boundery
look into here
there are ready made NGC and functions to probe a part in a boundery
Please Log in to join the conversation.
7 years 7 months ago #129358
by fixer
Replied by fixer on topic Write movement manualy to g-code with linuxcnc
This is called teach-in on some controllers,
Here is LinuxCNC implementation forum.linuxcnc.org/forum/21-axis/30986-a...osition-logger#74810
Here is LinuxCNC implementation forum.linuxcnc.org/forum/21-axis/30986-a...osition-logger#74810
Please Log in to join the conversation.
Time to create page: 0.068 seconds
