Advanced Search

Search Results (Searched for: )

  • Lcvette
  • Lcvette's Avatar
Today 16:28
Replied by Lcvette on topic calling all probe basic lathe users!

calling all probe basic lathe users!

Category: QtPyVCP

@spumco
I think most of that could be done with the new user configs, pb lathe already has a large sidebar xz dro and you could add additional as needed. i think for the led/dro/the sidebar would be ideal. and the user main dro bottom panel is configurable already for any number of combinations.

it sounds like the machine you built is very specific for some dedicated work you need to accomplish. the conversational i created is really geared more towards a job shop type workflow on a traditional toolroom cnc lathe. not sure it would be of much help for your automation geared setup.

@susan-parker
sweet keep me posted! i think this would be right up your alley for your machine!
  • BartyBorris
  • BartyBorris
Today 15:01

Returning to LinuxCNC After 10+ yrs, Questions on Old Mesa Hardware & New Builds

Category: Driver Boards

Yeah, I was starting to think the same, but still need to do a bit more digging regarding drivers and firmware tonight. I just built myself a new PC last year and still have the old one with a couple PCI slots... Seems like a more modern MESA setup would be Ethernet based nowadays (for my use case), but using the 5i22 would still get me going with Linuxcnc again, even though it is overkill, and many of the skills I develop would likely transfer to a more modern setup for the next project.
  • tommylight
  • tommylight's Avatar
Today 14:48
Replied by tommylight on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Thank you for reporting back.
  • Aciera
  • Aciera's Avatar
Today 14:47
Replied by Aciera on topic Total lines in a GCode file

Total lines in a GCode file

Category: General LinuxCNC Questions

Try the scale component (set gain to 0.01) to convert 0..100 to 0..1:
linuxcnc.org/docs/html/man/man9/scale.9.html
  • tommylight
  • tommylight's Avatar
Today 14:47

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Dell Optiplex 790 is still usable but needs at least 4GB of RAM.
Lenovo M93 with 4000 series CPU are also good, so if this is what you can get it is better than that Optiplex.
Fujitsu from that era are also OK.
  • galmiklos
  • galmiklos
Today 14:14 - Today 14:21
Replied by galmiklos on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

I found the culprit! :-)

Apparently, the customized component that handles the SPI communication with the customized remora-spi firmware is not compatible with trixie.

This is the part in the code that breaks it.
int rt_peripheral_init(void)
{
    int  memfd;
    FILE *fp;

    // assume were only running on >RPi3

    if ((fp = fopen("/proc/device-tree/soc/ranges" , "rb")))
    {

The soc ranges path is different in trixie.
root@raspberrypi:~# hd /proc/device-tree/soc\@107c000000/ranges
00000000  00 00 00 00 00 00 00 10  00 00 00 00 80 00 00 00  |................|
00000010

I modified the component so, that when the path does not exist, I just consider it as a Raspberry Pi 5 with RP1 chip, and now it works! :-)
    if ((fp = fopen("/proc/device-tree/soc/ranges" , "rb")))
    {

. . . . . . . . .

    }
    else
    {
        DEBUG_PRINT("Raspberry Pi 5, using RP1 driver\n\n");
        rp1 = true;
    }

I know it's just a quick and dirty workaround, but works for me.
  • Japoo_Ness
  • Japoo_Ness
Today 14:04

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Finally, after a long wait, the boards have arrived! Now I'm looking to buy the PC to control the machine. Checking all the models you shared before, I couldn't find any of them available in my country for under $700 USD.

However, I found two options: a Dell Optiplex 790 with an i5-2400, and another refurbished PC with an i5-4400 (the seller didn't specify the exact model, just that it could be an Optiplex, HP, Lenovo, or Bangho).

Which one would recommend? Both rely on integrated graphics. Is that going to be an issue in my case? From what I've read, a dedicated GPU is usually recommended, but I'm not sure if that's only for software pulse generation or if it's recommended for hardware-assisted setups too.

Thanks in advance!
  • timo
  • timo
Today 13:22
Replied by timo on topic largest NC file

largest NC file

Category: General LinuxCNC Questions

I was looking at one of my "bigger ones" and it has a measly 2kB.
About 80 000 lines of G-code. :-),
A bit of 2.5D surfacing nothing really exciting.
  • scsmith1451
  • scsmith1451's Avatar
Today 12:08
Replied by scsmith1451 on topic Total lines in a GCode file

Total lines in a GCode file

Category: General LinuxCNC Questions

While gmoccapy.program.progress does display the current progress of the job, it reports the value as whole percent rather that fractional percent. Unfortunately, the HBar widget requires fractional percent between 0.0 and 1.0.

Is there a way to convert the output of program.progress in the HAL file when connecting the signal or will I have to use an on_changed handler to do the conversion?
  • Babymomoh
  • Babymomoh
Today 08:54

Documenting my journey through ethercat config.

Category: EtherCAT

My background:
 i am working as electrical panel maker for cnc machines for wood routers since 2 years for a company near me as a part timer, or you can say whenever they have a new order. they have been using cheap parallel port card with mach3. Now the computers with parallel ports being scarce they wanted me to find them something that is cheap, reliable, and something somewhat latest in technology.
 This is how I came across linuxcnc. although i knew about it long ago, but never had the chance to work on it. also i couldn't acquire mesa cards till today. so i decided to work on ethercat instead of going for specific hardware.

Hardware i am using:
XINJE DS5C1                                             Drives for axis
EK1100, EL1008, EL2008, EL4002            Beckhoff ethercat modules for input output.
  • Aciera
  • Aciera's Avatar
Today 05:42 - Today 06:57

Shutting down a standalone GLADE panel launched with gmoccapy

Category: Gmoccapy

Searching Google for an answer to this issue it suggested to put a system command in the shutdown.hal file and set the .ini parameter:

SHUTDOWN = shutdown.hal

which I have done.

I've created a bash command script, killglade, which if run from the command line kills the orphaned glade panel. In my shutdown.hal file I have the following command:

system killglade


That is pure AI generated nonsense. There is no hal command 'system':
www.linuxcnc.org/docs/stable/html/hal/ba...tml#sec:hal-commands

What you could try is start your configuration through bash and have your killglade script execute after linuxcnc is shut down:
linuxcnc path_to_your_inifile_here && bash path_to_your_bash_script_here
  • SoloRev
  • SoloRev
Today 04:56
Replied by SoloRev on topic Plasma CNC Pipe Cutting Machine

Plasma CNC Pipe Cutting Machine

Category: Plasma & Laser

I am not. I just read trivkins and it also supports xyzabc. so ill have a go at that.
  • galmiklos
  • galmiklos
Yesterday 02:49 - Yesterday 02:51
Replied by galmiklos on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Since I had the flexi-pi image on the SSD, I booted it, started linuxcnc in debug mode and saved the output.
I then booted the new LinuxCNC image from, the SD card, and did the same. Started linuxcnc in debug mode and saved the output.
Since the SSD is always connected, I mounted it, and so I could compare the debug output. The only difference was these lines.
DEBUG: Initialising RP1 library: rt_rp1lib_init
DEBUG: Base address:  1f00000000, size: 400000, mapped at address: 0x7ffeecb60000
DEBUG: rp1spi_init(), SPI0
DEBUG: SPI0 Base address:       50000, mapped at address: 0x7ffeecbb0000
DEBUG: dws->ver = 3430322a
DEBUG: Synopsys DWC APB SSI v4.02
DEBUG: Detected FIFO size: 64 bytes
DEBUG: Detected 32-bits max data frame size
DEBUG: Pin: MOSI -> GPIO Number: 10, FSEL Number: 0
DEBUG: Pin: MISO -> GPIO Number: 9, FSEL Number: 0
DEBUG: Pin: SCLK -> GPIO Number: 11, FSEL Number: 0
DEBUG: Pin: CS   -> GPIO Number: 8, FSEL Number: 0
DEBUG: clk_div = 10
DEBUG: BAUDR = 20000000 hz
I don't know where to get this ;library from, I thought it would be part of the "flexi" component that comes withe flexi-pi image.
  • scsmith1451
  • scsmith1451's Avatar
Yesterday 00:34

Shutting down a standalone GLADE panel launched with gmoccapy

Category: Gmoccapy

Searching Google for an answer to this issue it suggested to put a system command in the shutdown.hal file and set the .ini parameter:

SHUTDOWN = shutdown.hal

which I have done.

I've created a bash command script, killglade, which if run from the command line kills the orphaned glade panel.  In my shutdown.hal file I have the following command:

system killglade

However, the panel is not stopped upon shutdown of gmoccapy. The documentation from the web mentioned that the bash script should be in the configuration directory. While not technically in the configuration directory I created a soft link to the actual file which is in my ~/bin directory which in turn is in my search path so the file can be executed from anywhere.

Does anyone have an idea what I may be missing or any insight into running bash scripts with the system command in the shutdown.hal file?

I've attached my killglade script and my shutdown.hal file for your reference. 
  • galmiklos
  • galmiklos
Yesterday 23:53
Replied by galmiklos on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Yes, there is an ESTOP input on the board, but it is not triggered.

The communication between the RPi5 and the board is SPI. The firmware flashed is a customized version of remora-spi, tailored for the Flexi-HAL board by Expatria (github.com/Expatria-Technologies/remora-flexi-hal).

I don't think there is anything is wrong with the board. As I said, I have multiboot set up with an SSD and an SD card, and I have the customized linuxcnc image on the SSD from Expatria (github.com/Expatria-Technologies/Flexi-Pi). If I boot that, everything works.

My best guess is that it is the communication between the board and the Pi through SPI that isn't working for some reason.
Displaying 1 - 15 out of 286804 results.
Time to create page: 3.377 seconds
Powered by Kunena Forum