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)
  • ihavenofish
  • ihavenofish
09 Feb 2025 22:23
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

hmm
OK, well I'm gonna put this all away for a bit while I wait for the drives and such.

Need to mill a new Z end plate to raise my clearance 10mm and gain 5mm travel.
  • rodw
  • rodw's Avatar
09 Feb 2025 22:15

New ethercat / probe basic control for minimonster

Category: CNC Machines

Others will know more than me but that looks like  a JST connector. Something like this 
www.ebay.com.au/itm/154065078026?chn=ps&...9UbkzuugEo8uJPwuwmfk

They come in different pitches eg 1, 1.5 , 2.0mm etc so measure the distance between pins
  • rodw
  • rodw's Avatar
09 Feb 2025 22:10

New ethercat / probe basic control for minimonster

Category: CNC Machines

You might be able to get a uart to rs485 adapter and make your own cable  to pick up the expansion port. Just check the voltage the PC uses. If you need 5 volts, you could steal it from a USB port.
core-electronics.com.au/ttl-uart-to-rs48...D1tkF_xoCPwkQAvD_BwE

Other than that, the USB version (which I use) is OK. Once, it changed to a different USB port then it has not changed again! I just needed to edit the config file to use the different port.
  • ihavenofish
  • ihavenofish
09 Feb 2025 22:08 - 09 Feb 2025 22:08
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

Seems to be a smaller pitch. 10 pins (none missing). Cant find anything online vaguely resembling it, lenovo does not seem to offer it as a part I can find. All my other lenovos use a different type of cable.

 
Displaying 19381 - 19388 out of 19388 results.
Time to create page: 0.469 seconds
Powered by Kunena Forum