LinuxCNC New user experience

More
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.

More
13 Jul 2023 23:32 #275385 by tommylight
Nice! :)
Although it was terrifying at the time... :(

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

More
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.

More
17 Jul 2023 08:11 #275629 by cornholio
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.

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

More
17 Jul 2023 08:15 #275630 by meister
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.

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

More
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.
 

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

Time to create page: 0.301 seconds
Powered by Kunena Forum