Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

LinuxCNC

LinuxCNC

bclapperton
New Contributor

I have a customer who uses LinuxCNC (http://linuxcnc.org/ ) for a range of automation machinery. They run this on a dedicated computer and drive step and direction drives using a driver board.

I am wondering how we can run LinuxCNC  on Ctrlx.

LinuxCNC is quite well devloped. It has functionality for up to 9 CNC axes. There are numerous GUI user interfaces already developed for various types of machines - Milling, Lathe, Plasma, Motion platforms etc. The system is coded in Python and the user interfaces are written using the GTK toolkit (I think). I think that LinuxCNC and CtrlX could be a great combination for many customers looking to graduate from stepper systems to fieldbus drive systems.

Connecting the axis position commands should be a matter of writing a LinuxCNC Hardware Application Layer (HAL) to write to the CtrlX Data Layer. This doesn't look to hard. Also it should be possible to use the Indralogic PLC

However, I don't know how we can run the existing GUI interface on Ctrlx. CtrlX does not have a graphics card. The idea being that any GUI could be written as HTML. However, I don't think that the LinuxCNC GUI's are written in HTML or can be easily converted. (If there is a way, please tell me!). 

I'm way out of my depth on this, but it looks like we might be able to use an XServer-Client setup. In this case a remote computer with a graphics card becomes a server of graphics resources. The X Client (X11?) would run on the CtrlX and send low level rendering commands to the server and also receive user input like mouse clicks etc. I would like an opinion on whether this is a good approach? Are we likely to support or make examples of anything like this? 

Another issue is sharing files between the CtrlX and the machine running the graphics. However there seem to be solutions for doing this (Samba). 

3 REPLIES 3

Jochen_Mueller
Community Moderator
Community Moderator

Hello

We have to check the details about running LinuxCNC at the ctrlX.

Please contact me directly to discuss possible further steps.

email: jochen.mueller@boschrexroth.de

Thanks, Regard

Jochen

MAE
Established Member

Hello,

sounds interesting.

Only short view on the HAL code of LinuxCNC: I think the abstraction layer is a little bit to near to hardware.
For datalayer, i think, you need a realtime cyclic position command or a layer upper: path commands. But for this actually only linear movements are existing (G1)

But, when you have more informations or you know the code better: Let me know. I'm interesting at backend side, not GUI.

 

Jochen_Mueller
Community Moderator
Community Moderator

Latest information /result of investigation:

  • To much effort to get it running on ctrlX CORE. No support planned.

 

Details:

  • Significant effort the change the stepper motor interface to data layer,
  • License issue (due to GPL V3 we had to publish our source code and tools)
  • LinuxCNC require a graphic card on the Core
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist