Advanced Search

Search Results (Searched for: )

  • 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.

 
  • Aciera
  • Aciera's Avatar
09 Feb 2025 21:54
Replied by Aciera on topic Going past the z limit for tool change

Going past the z limit for tool change

Category: Advanced Configuration

Soft limit values can be changed through mcodes using the appropriate ini hal pins. For an example see the included 'millturn' sim config:
github.com/LinuxCNC/linuxcnc/tree/master...mach/millturn/mcodes
  • ihavenofish
  • ihavenofish
09 Feb 2025 21:52
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

Apparently the serial is through a special cable on these, not just the normal 2x12 board pins and those cables are are and expensive. sigh.

How much worse is the usb adapter? This is not a critical application really so if it lags some milliseconds I don't think it matters. The most critical thing is being able to respond to an alarm and stop the machine.
  • cakeslob
  • cakeslob
09 Feb 2025 21:47

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

 

the error says spidle.1.on does not exist ,

the qtplasmac_comp.hal needs those spindle pins
github.com/LinuxCNC/linuxcnc/blob/master...plasmac_comp.hal#L28

you need to set up those spindle pins to use qtplasmac
github.com/LinuxCNC/linuxcnc/blob/master...c_metric_ini.inc#L46
  • Aciera
  • Aciera's Avatar
09 Feb 2025 21:34

Error starting gmoccapy with spindle speed display.

Category: pyVCP

in gmoccapy, click on the settings button in the lower right:
 

You might have to put in the default code to enter the settings:
 

Once you are on the settings page click on the halshow button in the lower right:
 

Once the halshow tool opens you can expand the 'pins' in the left hand panel by clicking on the + beside it and check for 'pyvcp'
 
  • Hakan
  • Hakan
09 Feb 2025 21:22

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.
  • Giovanni
  • Giovanni
09 Feb 2025 21:08
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

I have prepared and tested an installing procedure for Debian systems.
(thank you freemoore for the collaboration)
Maybe youu could be interested.

Regards
  • rodw
  • rodw's Avatar
09 Feb 2025 20:57

Serious dependency trouble while installing linuxcnc

Category: General LinuxCNC Questions

It says MX 23.5 uses Debian Stable (eg Bookworm)
So the approach in the docs should work
linuxcnc.org/docs/stable/html/getting-st...th_preempt_rt_kernel

1. Install MX
2. follow the instructions I linked to above
  • daleroyer
  • daleroyer's Avatar
09 Feb 2025 20:51

Jogging not working properly when not on preview tab

Category: AXIS

Old thread but just wanted to add/archive that this (xset -r) fixed jogging irregularities using a standard USB keyboard on a Raspberry PI 5 install with the PREEMPT_RT kernel.

I am gearing up for an MPG build shortly but the difference in function from an x86 machine and .iso install was concerning me that there were underlying issues with the OS.  I doubt that is the case now.
 
Displaying 19051 - 19065 out of 19543 results.
Time to create page: 0.722 seconds
Powered by Kunena Forum