Advanced Search

Search Results (Searched for: )

  • 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.
  • PCW
  • PCW's Avatar
Yesterday 22:13 - Yesterday 22:29
Replied by PCW on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Can you check the output of the module with an ohmmeter?

If the PC817 module needs 5V drive you would have to connect it in sinking
mode to the 7I92. ( +5V to PC817 module IN+ 7I92 output to
PC817 module IN-  and active low output )

Is there some other issue with reverse in the hal file
( like PWM connections if you have spindle speed control )
  • tommylight
  • tommylight's Avatar
Yesterday 22:02
Replied by tommylight on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

The LED on the PC817 module lights up when REV is on, but the spindle doesn't reverse.

  • PCW
  • PCW's Avatar
Yesterday 21:58 - Yesterday 21:59
Replied by PCW on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Is it a hal setup error?

For Mesa FPGA cards you need to know the GPIO pin number
for the pin and to set that GPIO pin into output mode.
  • tommylight
  • tommylight's Avatar
Yesterday 21:51 - Yesterday 21:52
Replied by tommylight on topic I can't reverse the spindle rotation.

I can't reverse the spindle rotation.

Category: Basic Configuration

Do i understand correctly, you have a BOB attached to Mesa, and then from BOB to PC817?
That seems redundant as you already have the GND's wired together, so might want to get rid of the PC817 as it is not isolating anything.
Is there any resistor on the input side of the PC817?
There must be one, probably a 47-100 ohm should work.
also, might want to try the pull down version, so the pin 9 to the other input of PC817, and the input that was on pin 9 to +5V. This might also require inverting the pin in hal.
  • tommylight
  • tommylight's Avatar
Yesterday 21:43
Replied by tommylight on topic Cannot get out of Estop

Cannot get out of Estop

Category: General LinuxCNC Questions

Does the machine have a physical e-stop?
What comms between RPI and control board?
  • galmiklos
  • galmiklos
Yesterday 21:34
Cannot get out of Estop was created by galmiklos

Cannot get out of Estop

Category: General LinuxCNC Questions

Hi,

I have a PrintNC machine with a Flexi-HAL board, and installed the customized Expatria LinuxCNC image (github.com/Expatria-Technologies/Flexi-Pi) on a Pi5, then upgraded LinuxCNC to 2.9.8. It all works fine.
I have the Pi5 with an SSD as well as an SD card, so I can kind of multiboot, and the above mentioned setup is on the SSD. I wanted to move from bookworm to trixie, so imaged the SD card with the latest trixie based LinuxCNC image (github.com/LinuxCNC/linuxcnc/releases/do...9.8_arm64_trixie.deb), and copied all the linuxcnc configuration over from the SSD.

LinuxCNC starts with the same configuration, but I cannot get out of ESTOP. I click the big red ESTOP button (using qtdragon_hd), but nothing happens.

Any advise what I can look at?

Thank you in advance!
Displaying 1 - 15 out of 14868 results.
Time to create page: 1.240 seconds
Powered by Kunena Forum