- LinuxCNC
- General LinuxCNC Questions
- How can i add the process when adding ethernet devices and serial devices?
How can i add the process when adding ethernet devices and serial devices?
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
15 Jul 2021 03:15 #214804
by curran209
How can i add the process when adding ethernet devices and serial devices? was created 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?
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
19 Jul 2021 00:11 #215272
by tommylight
Replied by tommylight on topic How can i add the process when adding ethernet devices and serial devices?
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 ?
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.
- curran209
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 0
19 Jul 2021 06:38 #215285
by curran209
Replied by curran209 on topic How can i add the process when adding ethernet devices and serial devices?
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
29 Jul 2021 20:48 #216266
by andypugh
Replied by andypugh on topic How can i add the process when adding ethernet devices and serial devices?
The easiest way is probably to write a HAL driver using the API.
This _probably_ needs to be a user-space driver.
This _probably_ needs to be a user-space driver.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- How can i add the process when adding ethernet devices and serial devices?
Time to create page: 0.068 seconds