Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
13 Aug 2025 00:15
Replied by tommylight on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

Use sudo with lspci, a lot of info is not accessible without it
sudo lspci -v
  • PCW
  • PCW's Avatar
12 Aug 2025 23:27 - 12 Aug 2025 23:30

"pwm/dir" (Out1) switches for spindle CCW

Category: Basic Configuration

The 5i25_5ABOBx2.bit is matching my china bob?

Yes, it has a slightly different pinout but is designed for that BOB.
It supports all 5 Axis (on each BOB) so has a stepgen pin on IO7=DB25 pin 17
but was designed to easily reclaim the pins as GPIO since it uses stepgen
8,9 for the per BOB 5th axis so by setting num_stepgens to 8, you can get 4 stepgens
per connector and still have the relay GPIO free.


You could also just recompile your bit file and change the PWM dir pin to just a GPIO pin

The problem with using the PWM DIR pin is that it depends on the PWM sign, this
may work if you connect the PWM value to the signed spindle speed command
rather than the absolute spindle speed command (you may still need to invert the DIR pin).
The advantage is that this may work with your existing bitfile.
 
  • KaveMan
  • KaveMan
12 Aug 2025 23:00

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

I've been gone from LinuxCNC for about 10 yrs. Thought I'd give a try again. And with that I have been working with pi5 GPIOs work fine but thought I might attempt a waveshare pcie adapter and that to the MosChip parallel port card which works in my old PC to run my plasma table.
Where I am at is, LinuxCNC recognizes the MosChip card but shows this error below. Any help would be appreciated.

Note the pcie adapter is from Amazoncnc@raspberrypi:~$ lspci -vv
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSELhttps://www.amazon.com/Waveshare-PCIe-x1-Board-Compatible/dp/B0DYCHPBL3/ref=sr_1_9?crid=33VGWMUG0BYP3&dib=eyJ2IjoiMSJ9.ypQynbq41MCoeL4QGbABJHPTLsXcsupt4y410Y7-ojV6fTZ0l1M0KgsBg1J-yDKzsnJKpEpvTI-4IPJQlz7VGpzcEdx4HVRXnVcwc6LUxmMsNXybT09m7bEUKP-XrAHi_aLbnWLF7A4PnWWFlLrgbw_c4POs6tvwYKhloFUVozBtrmY_6VMjehxaNp7EqRCznyaAfjPxqCbt5p75su5ewqCcAUu9DFlwG6k9lVeqdqE.BDsiMCAAEEQHMEl5wAkZVBy3hYMhbq_P1rJMjNTIVSc&dib_tag=se&sprefix=waveshare+pcie%2Caps%2C95

 =fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 39
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0000:01:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Asix Electronics Corporation (Wrong ID) MCS9900 Multi-I/O Controller
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 0
Region 2: Memory at 1b80000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Region 5: Memory at 1b80001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: <access denied>

0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 00000000-005fffff [size=6M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Region 0: Memory at 1f00410000 (32-bit, non-prefetchable) [size=16K]
Region 1: Memory at 1f00000000 (32-bit, non-prefetchable) [virtual] [size=4M]
Region 2: Memory at 1f00400000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rp1
  • Clive S
  • Clive S
12 Aug 2025 21:23
  • MaHa
  • MaHa
12 Aug 2025 21:08
Replied by MaHa on topic Get rid of username/password?

Get rid of username/password?

Category: Basic Configuration

In Debian, XFCE i use this:
For auto login to Debian open a terminal:

sudo nano /etc/lightdm/lightdm.conf

Uncomment the following and add your user name, be sure to scroll far enough down to get past the comments sections.:

autologin-user=yourusername
autologin-user-timeout=0
  • Kieran
  • Kieran
12 Aug 2025 21:03

Axis gui no tool table or program editor.

Category: General LinuxCNC Questions

OK I've got my machine setup to use geany as the program text editor in my ini. program would upen if i hit "edit" gui button.  Tool table wouldn't open using the drop down in axis. My tool.tbl does work though, as I can open it externally and add tools and linuxcnc picks it up. Then I tried switching my ini to use gedit just to see what happens.  It appears new linuxcnc doest have gedit anymore so it didn't work. Switched back to geany, and now neither tool table or program edit works. Seems buggy. Will my pyvcp panel work or easily port to a not-terrible gui?
  • Kieran
  • Kieran
12 Aug 2025 20:53 - 12 Aug 2025 20:54
Replied by Kieran on topic Get rid of username/password?

Get rid of username/password?

Category: Basic Configuration

Hmm I'm not seeing any options in Debian to auto login. I did some googling here and there over the last few weeks and havnt found a good way yet. My 10+ year old Ubuntu linuxcnc machine seemed a lot simpler to get going. Debian seems annoying so far.
  • Hartwig
  • Hartwig
12 Aug 2025 20:23

New member from Germany - CNC retrofit of a Leinen FM1

Category: General LinuxCNC Questions

Hi Andy,
yes it is that machine, It is not the only machine, it is the only prototype of the NC version..

My information is, that over serveral years less than a total of 20 units of all versions were built and sold.
There were 3 versions available
- a manual version (can be seen on on lathes.co.uk)
- a NC version like mine with combined servo-drives and handwheels
- a CNC version with a Siemens control,unit an without handwheels (there ios one on Ebay in Germany - can be fpund under "Prätecma")

Best regards

Hartwig
  • Beovoxo
  • Beovoxo
  • nichtAlex
  • nichtAlex
12 Aug 2025 19:16
Replied by nichtAlex on topic Mesa 7i76eu gpio pins not working

Mesa 7i76eu gpio pins not working

Category: General LinuxCNC Questions

Do you have power connected to the orange TB1 header? The Jumper W1 connects VIN to VField but you still need to supply power to VField/VIN and GND. My 7i76eu is powered entirely by 24V going to both TB1 Pin 5 / Pin 8 for field voltage and TB3 Pin 21/ Pin 24 for logic power. My PNP sensors work flawlessly although it took me some time to figure out how to set the inputs to sinking/sourcing.
  • Piton4ik
  • Piton4ik
12 Aug 2025 17:56 - 12 Aug 2025 17:58

Tool table crash after reboot or power off

Category: General LinuxCNC Questions

Hi all, i have a problem.
If i open tooltable to edit tool and  power supply goes out tooltable is crashed,
If i open tooltable to edit and go to shut down my pc, tooltable is crash.
How to fix it problem?
The power in my workshop often suddenly goes out because the electricians are repairing the old network.
 
  • mgm
  • mgm's Avatar
12 Aug 2025 16:58 - 12 Aug 2025 17:03
Replied by mgm on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

So, I've now tested it in a VM. 

If I leave the query in the function

if((position > stop1)&&;(position < stop2))
halt=1;
else
halt = 0;
I cannot activate the machine!
If I reverse the query, I can reference the machine and also move the axis to the position support.stop1 From this point on, the axis can no longer be moved.So far, so good! 

What I still don't understand:
- Where or with which pin is the reed sensor of the cylinder connected
  The reed sensor that tells me that the cylinder is retracted! 

Of course, this is now a simulation and on the real machine it is an input on the Mesa card, but there must be a pin to compare whether the spport.halt and reed sensor of the cylinder are the same or not? 

The motion.enable should only trigger when the two signals are different. 

So the axis is between the positions stop1 and stop2:
- If halt.motion is true and the cylinder's reed sensor is also true, the axis can continue to move- If the two signals are different,
 the axis must stop, which is what it is currently doing ...
  • scsmith1451
  • scsmith1451's Avatar
12 Aug 2025 16:18
Replied by scsmith1451 on topic Set program zero using XY positioning laser

Set program zero using XY positioning laser

Category: Advanced Configuration

I've got most of the gladevcp buttons working on my machine; i.e. I can toggle may laser marker, I can move the table so that the quill moves to the desired X/Y coordinates, and I can set the program zero for the current coordinate system.

However, I'm experiencing a SNAFU. When the laser is on, the machine will not jog. Further, I have to turn the laser off then click some other widget before the machine will jog again.  What might be the cause and the solution?  My implementation requires that I can jog my table until the crosshairs are at the desired X/Y program zero.

These are the HAL commands to toggle the laser:

# *** Crosshair laser Toggle and LED ***
net machine-is-on => gladevcp.crosshair-ctl-active
net crosshair-toggle-out <= gladevcp.crosshair-toggle
net crosshair-toggle-out => gladevcp.crosshair-led

The LED is set to flash when the laser is active as a prompt to turn the laser off after use.

Kind regards;
 
  • juergen-home
  • juergen-home
12 Aug 2025 15:56 - 12 Aug 2025 16:54
Replied by juergen-home on topic "pwm/dir" (Out1) switches for spindle CCW

"pwm/dir" (Out1) switches for spindle CCW

Category: Basic Configuration

What do you mean with firmware? The bit-file?

If you mean my IO Connections for the 6i25 they are shown in my first post in the last source code section.
I made my own bit file matching the in and outputs of the mach3 bob.
The 5i25_5ABOBx2.bit is matching my china bob?

Can I remove the "17 7 IOPort PWM 0 Dir (Out)" in the bit file and make a nomal I/O Port out of it or must these PWMs come in pairs of PWM and PWM/DIR?.
If not, can I change a component so that the relay clicks with CW and not with CCW?

 
  • PCW
  • PCW's Avatar
12 Aug 2025 15:49 - 12 Aug 2025 15:51

"pwm/dir" (Out1) switches for spindle CCW

Category: Basic Configuration

What fIrmware are you using? 

5i25_5ABOBx2.bit should have the correct pinout and GPIO 7 is just GPIO on that firmware

 
Displaying 2851 - 2865 out of 22877 results.
Time to create page: 0.866 seconds
Powered by Kunena Forum