How can i add the process when adding ethernet devices and serial devices?

More
15 Jul 2021 03:15 #214804 by curran209
How can i add the process when adding ethernet devices and serial devices?
Is it need to go through IO moudule and HAL layer when add related devices? 
 

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

More
19 Jul 2021 00:11 #215272 by tommylight
Sorry for the late reply,
A bit more info would help as i am not sure if you mean adding the ethernet or SSerial device or adding a process to what ?
Or do you mean adding a process for eth/SSerial to a running LinuxCNC instance ?

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

More
19 Jul 2021 06:38 #215285 by curran209
Our machine tool's controller is a Industrial Personal Computer, it connect a few devices, such as motors by Ethercat, Laser marking card by ethernet cable(there is none can support Ethercat ), Range controller(need both directly connect RS485 and connect Ethercat trans RS485). I want to control motors by Linuxcnc. Motors and Laser marking card controlled by same a G code file, so i need add the Ethernet(Laser marking card) control program in Linuxcnc, I got the API that control the the Laser marking card by its offical website. So i want to know whether i don't need modify linuxcnc HAL when i want to control a device directly connected by ethernet cable, whether my program doesn't go through HAL.

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

More
29 Jul 2021 20:48 #216266 by andypugh
The easiest way is probably to write a HAL driver using the API.
This _probably_ needs to be a user-space driver.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum