running linux cnc with no display - some questions

More
7 years 6 months ago #130422 by calvin.d
I want to see if there is any info or ideas on how I would run a machine using linux cnc without a display.

Basically I think I am asking 2 questions at once

1. can I just load linuxcnc at the command line without running a screen like axis ?
2. can i setup the machine to take commands over a network ?

I don't want to try to feed commands in real time, just start/stop/ load gcode. stuff like that

In terms of communication, some form of persistent socket communication would be great, but really I can probably make anything work, even if I have to write a communication shell.

My ideal situation is to have a machine that effectively has a virtual interface, something I can do in HTML/JS and I can load locally on an embedded device with a touch screen, or on a remote device on the same network.

Anyone interested in doing some work on this feel free to shoot me a message

Thank You
Calvin

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

More
7 years 6 months ago #130427 by pl7i92
You can only leve the disaplay away
and use a
Pendand
Control Panel
THE G-code is loded on Auteo so the Filename is the Same at all the time
You generate the NGC file to a FIX position
and the Button press relods the Code

THE Mashine is homed by button so the PART Zero is also Fixed as on Plasmatable in use

ofcase YOU CAN DO what you want to do
its not comen but workable
the Gcode file can come from whatever interface you like

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

More
7 years 6 months ago - 7 years 6 months ago #130441 by andypugh

calvin.d wrote: 1. can I just load linuxcnc at the command line without running a screen like axis ?

Yes.
The simplest way is to set DISPLAY = halui.


2. can i setup the machine to take commands over a network ?


Yes: linuxcnc.org/docs/html/man/man1/linuxcncrsh.1.html
Last edit: 7 years 6 months ago by andypugh.

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

More
7 years 6 months ago #130514 by calvin.d
Andy, thanks this is exactly the starting point I was looking for.

I think I might need to look at the linuxcncrsh source and see if I can do rewrite so it is websocket based not telnet based.

Thank You
Calvin

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

More
7 years 6 months ago #130525 by andypugh
Machinekit might have something suitable already, try looking there first.

If you can make linuxcncrsh work with both, or create a related driver that works with websocket then (linuxcncwebsocket?) then we could consider adding it to the release. (It seems like something that is unlikely to break much, I imagine it translates input to NML messages?)

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

More
7 years 6 months ago #130526 by calvin.d
can you point me to where in the source the section for linuxcncrsh lives, googling gets me a ton of examples of usage, but not sure what section the source lives.

I want to do this at a low level, because I want this to be really light weight. machine kit has some bindings for python which I could just call from a webserver like flask and it would work, but not quite what I am looking for.

Thank You
C

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

Time to create page: 0.349 seconds
Powered by Kunena Forum