Advanced Search

Search Results (Searched for: )

  • Dougal9887
  • Dougal9887
12 Nov 2024 20:26 - 12 Nov 2024 20:29

Error when trying to open Gmoccapy confiuration.

Category: Gmoccapy

Hi,
I am moving an existing working configuration to a new computer running Debian 12 and a newly downloaded version of LinuxCNC.
The Gmoccapy sims open fine, but I get an error attempting to open my configuration.
The message appears to reference Python, so I have attached copies of the .py files from the configuration Python folder and a copy of the report (linuxcnc.txt). I have also attached a copy of the .hal and.ini files in case they are relevant.

I wonder if perhaps there is a mismatch of the old Python files and the new LinuxCNC?

I would be most grateful if someone could please take a look as this is out of my depth!

Many thanks,
Dougal.

Attached files:
 

File Attachment:

File Name: probe_screen.py
File Size:88 KB

 

File Attachment:

File Name: remap.py
File Size:1 KB

 

File Attachment:

File Name: stdglue.py
File Size:8 KB

 

File Attachment:

File Name: toplevel.py
File Size:1 KB

 

File Attachment:

File Name: starmill.hal
File Size:4 KB

 

File Attachment:

File Name: starmill.ini
File Size:4 KB

 

File Attachment:

File Name: linuxcnc.txt
File Size:14 KB

 
  • Aciera
  • Aciera's Avatar
12 Nov 2024 20:10

Spindeldrehzahl durch ändern der PWM Frequenz steuern

Category: Deutsch

Kannst du bitte mal deine hal und ini Dateien anhängen?
  • TripleM
  • TripleM
12 Nov 2024 20:06 - 14 Nov 2024 11:18

Spindeldrehzahl durch ändern der PWM Frequenz steuern

Category: Deutsch

Hi,
ich habe einen ältern Gleichstrom Drehzahlregler der ein Rechtecksignal zur Drehzahlsteuerung benötigt.
Signal passt auch soweit und durch manuelles ändern des Parameters pwm_frquenzy kann ich die Drehzahl ändern.

Jetzt bekomm ich es nicht hin,  diesen Parameter mit der Spindeldrehzahl zu verbinden.
So habe ich es versucht:
net spindle-speed-cmd-rpm  => ...pwmgen.pwm_frequency

​​​​​​Jedoch kommt immer ein Fehler, dass der Pin nicht bekannt ist.
​​​​​​Wie kann ich das Problem angehen? 

Danke 
Viele Grüße
Manuel

​​​​​
​​​
  • JackRay
  • JackRay
12 Nov 2024 18:07
Replied by JackRay on topic Mesa 7i96s connected but inputs not working

Mesa 7i96s connected but inputs not working

Category: Driver Boards

thank you very much , I will go try that ASAP
  • mBender
  • mBender
12 Nov 2024 17:07

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

It's not that the motors stall during acceleration. The run for like 50mm normal. I try to make a video. And the weird thing is, it works with the parallel port. I can switch back and forth between the Tang and the parallel port.
  • Aciera
  • Aciera's Avatar
12 Nov 2024 16:58
Replied by Aciera on topic How to connect hal pins to custom GUI?

How to connect hal pins to custom GUI?

Category: Other User Interfaces

use the 'show Halconfiguration' tool to find the correct pin name (something like 'qtplasmac.somePin')
  • digiex_chris
  • digiex_chris
12 Nov 2024 16:53

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

is it maybe too high of an acceleration value? Even not connected to anything steppers need a slowish ramp up compared to servos.
  • PCW
  • PCW's Avatar
12 Nov 2024 16:11

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

Not sure what the easiest path is here but I see a couple options:

1. With pncconf, make a normal step/dir 7I76E configuration and a normal 7I77 configuration and merge them

2. Use pncconfs discover option
  • Sziggy_NC
  • Sziggy_NC
12 Nov 2024 16:10
Replied by Sziggy_NC on topic +-10v setup 7i97 & .ini

+-10v setup 7i97 & .ini

Category: General LinuxCNC Questions

You are awesome! Thank you!

That was the final thing stopping me from continuing the retrofit.

After increasing the FERROR and MIN_FERROR in the ini I have tuned the X axis. I will get the Y and Z today.
  • mjones@welfab.ca
  • mjones@welfab.ca
12 Nov 2024 15:57

Mesa, Linuxcnc with step direction servo's for axis and analog servo spindle.

Category: Basic Configuration

now that we have checked my firmware, how do I blend my hal file for the step and direction on the 7i76e
  • bladekel
  • bladekel
12 Nov 2024 15:50
Replied by bladekel on topic How to connect hal pins to custom GUI?

How to connect hal pins to custom GUI?

Category: Other User Interfaces

I tried this but I got an error like
./my-mill.hal:57: Pin 'somePin' does not exist
  • Aciera
  • Aciera's Avatar
12 Nov 2024 15:43
Replied by Aciera on topic How to connect hal pins to custom GUI?

How to connect hal pins to custom GUI?

Category: Other User Interfaces

This is not correct syntax to connect two pins in hal:
net somePin  hal_gpio.PIN33-in

Correct syntax is (<= and => are optional and are only to improve readability)
net some-signal-name  <=  hal_gpio.PIN33-in => somePin
  • bladekel
  • bladekel
12 Nov 2024 15:36 - 12 Nov 2024 15:39
How to connect hal pins to custom GUI? was created by bladekel

How to connect hal pins to custom GUI?

Category: Other User Interfaces

Hello to all.
I'm trying to build a custom GUI with pyqt5 for raspberryPi 5.
My linuxCNC version is 2.9.3, python version is 3.11.2.

I wanted to watch a input pin status whenever it changes.
I create a net in my hal file.
net somePin  hal_gpio.PIN33-in

After I created this net, I can see the pin and its changing logic from hal show with axis GUI.
I examined the qtplasmac_sim_handler.py and tried to make connections as on it.

Here is my custom GUI's handler file
def __init__(self, halcomp,widgets,paths):
    super().__init__()

    self.hal = halcomp self.somePinComp = self.hal.newpin('somePin', hal.HAL_BIT, hal.HAL_IN)
    self.somePinComp.value_changed.connect(lambda v: self.debugPrint("Changed"))

with this setup I cant see any changes. It only fires one time "Changed", and after that there is no information...

My guide qtplasmac_sim_handler.py did like I was...

What is my fault?
  • PCW
  • PCW's Avatar
12 Nov 2024 14:43
Replied by PCW on topic Raspberry PI4, MESA 7I96S problems

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

Basically the issue is that the RPI4 Ethernet interface is connected via USB
and USB is not suited for real time.

For a RPI4 I would use a SPI interfaced device, The RPI5 (or most PCs) are fine with Ethernet
LinuxCNC motion controllers because their Ethernet hardware are not USB devices.
Displaying 18241 - 18255 out of 24117 results.
Time to create page: 0.924 seconds
Powered by Kunena Forum