LinuxCNC New user experience
13 Jul 2023 23:26 #275384
by shodan
Replied by shodan on topic LinuxCNC New user experience
yes
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
13 Jul 2023 23:32 #275385
by tommylight
Replied by tommylight on topic LinuxCNC New user experience
Nice!
Although it was terrifying at the time...
Although it was terrifying at the time...
Please Log in or Create an account to join the conversation.
17 Jul 2023 06:46 #275625
by shodan
Replied by shodan on topic LinuxCNC New user experience
Where can I find the communication protocol between linuxcnc and the ethernet GPIO bridge devices that seem to be required ?
Please Log in or Create an account to join the conversation.
17 Jul 2023 08:11 #275629
by cornholio
Replied by cornholio on topic LinuxCNC New user experience
Actually it's way more than a "ethernet GPIO bridge", the MESA cards employ a FPGA to at the very least create the Step & Direction signals from the Linuxcnc timing info (thats the simple explanation).
I doubt very much if it would be possible to get hold of the timing info and convert back to gcode to resend to a USB controller.
I doubt very much if it would be possible to get hold of the timing info and convert back to gcode to resend to a USB controller.
Please Log in or Create an account to join the conversation.
17 Jul 2023 08:15 #275630
by meister
Replied by meister on topic LinuxCNC New user experience
there is no standard protocol i think,
but you can take a look here: github.com/scottalford75/Remora/blob/mai...ents/Remora/remora.c
and see how other projects handle this.
but you can take a look here: github.com/scottalford75/Remora/blob/mai...ents/Remora/remora.c
and see how other projects handle this.
Please Log in or Create an account to join the conversation.
17 Jul 2023 09:36 #275636
by rodw
Replied by rodw on topic LinuxCNC New user experience
the source for the hm2_eth driver used to talk to Mesa ethernet cards is here
github.com/LinuxCNC/linuxcnc/blob/master...a-hostmot2/hm2_eth.c
These devices are very dumb devices.
Regarding motion, Linuxcnc converts the required velocity to a stepper frequency and sends it to the the mesa stepgens. The stepgens will then oscillate at that frequency forever or until told to change it (which Linuxcnc can do 1000 times a second).
As I said previously, Linuxcnc is the motion controller and is in full control of everything attached to the PC.
github.com/LinuxCNC/linuxcnc/blob/master...a-hostmot2/hm2_eth.c
These devices are very dumb devices.
Regarding motion, Linuxcnc converts the required velocity to a stepper frequency and sends it to the the mesa stepgens. The stepgens will then oscillate at that frequency forever or until told to change it (which Linuxcnc can do 1000 times a second).
As I said previously, Linuxcnc is the motion controller and is in full control of everything attached to the PC.
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds