Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
09 Feb 2025 23:24
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

sudo ping -i 0.001 -c 1000000 -f 192.168.1.1

This was pinging my router, for about 15 minutes, and I did not get a failed packet, no lockups.
  • unknown
  • unknown
09 Feb 2025 23:02 - 09 Feb 2025 23:19

unable to get gpio to work on Raspberry Pi 5 using latest image

Category: Advanced Configuration

It does work, 2 users have had a couple of users have confirmed it.
I've also confirmed myself that loading of the driver as given in the docs also works.

Taking GPIO8 out of the input list allows the driver to load correctly. Which makes sense as GPIO08 as well as GPIO07 seemed to be claimed.

section lifted from gpioinfo
"GPIO7"   "spi0 CS1"  output   active-low [used]
"GPIO8"   "spi0 CS0"  output   active-low [used]

Commenting out spi out in /boot/broadcom/config.txt "fixes" the issue.
 
halcmd: loadrt hal_gpio inputs=GPIO18,GPIO23,GPIO24,GPIO25,GPIO8 outputs=GPIO4,GPIO17,GPIO27,GPIO22,GPIO10,GPIO9,GPIO26
Note: Using POSIX realtime
halcmd: show pin
Component Pins:
Owner   Type  Dir         Value  Name
     4  bit   IN          FALSE  hal_gpio.GPIO10-out
     4  bit   IN          FALSE  hal_gpio.GPIO17-out
     4  bit   OUT         FALSE  hal_gpio.GPIO18-in
     4  bit   OUT         FALSE  hal_gpio.GPIO18-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO22-out
     4  bit   OUT         FALSE  hal_gpio.GPIO23-in
     4  bit   OUT         FALSE  hal_gpio.GPIO23-in-not
     4  bit   OUT         FALSE  hal_gpio.GPIO24-in
     4  bit   OUT         FALSE  hal_gpio.GPIO24-in-not
     4  bit   OUT         FALSE  hal_gpio.GPIO25-in
     4  bit   OUT         FALSE  hal_gpio.GPIO25-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO26-out
     4  bit   IN          FALSE  hal_gpio.GPIO27-out
     4  bit   IN          FALSE  hal_gpio.GPIO4-out
     4  bit   OUT         FALSE  hal_gpio.GPIO8-in
     4  bit   OUT         FALSE  hal_gpio.GPIO8-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO9-out
     4  s32   OUT             0  hal_gpio.read.time
     4  s32   OUT             0  hal_gpio.write.time
  • rodw
  • rodw's Avatar
09 Feb 2025 22:36

THC with Beckhoff EL5101 and THCAD2 => encoder signal loss

Category: Plasmac

Maybe the EL5101 can say when it doesn't have a good reading, or something along those lines. Obviously check cabling.
It seems you get zero Hz as frequency, that's a unique signal, THCAD always give some hundred/thousand of Hz.
Maybe some hal trickery to hold the last good value while frequency is zero. An own component perhaps.

Yes, a real time component could monitor the voltage and add a delay before it drops the voltage sent to plasmac. The moving average would do something similar. Say it averaged 1000 readings ( 1 second), it would take 1 second before it fell all the way to zero.

From your halscope plot, please let me know how long it lasts for.
  • PCW
  • PCW's Avatar
09 Feb 2025 22:32 - 09 Feb 2025 22:41

THC with Beckhoff EL5101 and THCAD2 => encoder signal loss

Category: Plasmac

I would try at the THCADs 1/32 divide ratio

(The 1/1 ratio has relatively short pulse widths = 0.5 usec
which might be too short for the EL5101)
Displaying 19381 - 19384 out of 19384 results.
Time to create page: 0.348 seconds
Powered by Kunena Forum