Advanced Search

Search Results (Searched for: )

  • TMinj
  • TMinj
01 Jul 2025 20:06 - 01 Jul 2025 20:10
Import pin value in handler.py was created by TMinj

Import pin value in handler.py

Category: Qtvcp

Hello,

I'm still fairly new to LinuxCNC and QTVCP. I'm trying to modify the QTDragon GUI.

I added a status label and a progress bar using Qt5.
In handler.py, I added the following lines, and I can display the value:
- self.w.OilPumpPositionGage.setValue(int(multiplied_pwm_value))
- self.w.OilPumpPositionValue.setText(f"{multiplied_pwm_value:.2f} %")

My issue is that I would like multiplied_pwm_value = pwmgen.0.value * 100 but I can't figure out how to access the "pmw.0.value" value from handler.py

I tried working with the "newpin" function, but it's not working.


Where can I find information on how to do this, or could someone point me in the right direction?Thanks in advance
  • Johnnysacalu
  • Johnnysacalu
01 Jul 2025 19:51
Configuración thcad2 con mesa 7i96s was created by Johnnysacalu

Configuración thcad2 con mesa 7i96s

Category: General LinuxCNC Questions

Hola estoy intentando ya más de una semana configurar el thc y no soy capas “bueno tampoco entiendo de esto” hay algunas configuraciones que se pueden copiar ya lo mejor corregir algunas cosas. Por que configura algo y rompo otra cosa y así.

si hace falta dejo los archivos.hal y .ini o lo que haga falta
  • tommylight
  • tommylight's Avatar
01 Jul 2025 19:36
Replied by tommylight on topic Bios error during lcnc start

Bios error during lcnc start

Category: Computers and Hardware

Try disabling secure boot and TPM in BIOS.
  • PCW
  • PCW's Avatar
01 Jul 2025 19:33
Replied by PCW on topic Bios error during lcnc start

Bios error during lcnc start

Category: Computers and Hardware

Hard to tell, it might be a connection issue causing a parity error
in that slot or some unknown incompatibility.

Does lspci show the card?

lspci | grep 2718


 
  • ALS
  • ALS
01 Jul 2025 19:26
Keyboard Functions was created by ALS

Keyboard Functions

Category: AXIS

Hello, how are you?
I would like to know if it is possible to change the functions of the alphanumeric keyboard to functions customized by me.
For example: by default, the F2 key turns on the machine. Can I change it to any other function?

Tanks 
  • workshop54
  • workshop54
01 Jul 2025 19:15

Wait for spindle-halt signal before reversing spindle direction

Category: Basic Configuration

In that case it seems like writing a custom component is the best choice. 
I'm just getting into writing custom realtime components, so this might be a nice exersize.

I can post the link here when I'm done with it if you guys are interested.
  • GDTH
  • GDTH's Avatar
01 Jul 2025 18:37 - 08 Jul 2025 17:36
Bios error during lcnc start was created by GDTH

Bios error during lcnc start

Category: Computers and Hardware

He.

I have a 5i25 in a HP workstation.
The computer works fine until I want start lcnc. It reboots and gives this error tlp poisend on pci slot.

Does anyone have any idea what is going on?
I did have some difficulty getting the card in. 

photos.app.goo.gl/Vi21HjgVt7QMj1yf9
photos.app.goo.gl/Nu3xv5JSHQanxng99
 
  • PCW
  • PCW's Avatar
01 Jul 2025 18:24

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

OK, that's probably to be expected since there does not seem to be any B axis home switch
and you have setup a homing scheme that requires that switch.

If you don't have a home switch on B, and you want to home to index, you need to setup
Index-only homing:

linuxcnc.org/docs/html/config/ini-homing.html#_configuration


 
  • JackRay
  • JackRay
01 Jul 2025 17:07
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

my configuration works very well on the x,y,z axes with on/off switches. homming is all done at the same time without any problem. the problem is only on this rotary axis where i have an encoder with which i want to use the Z phase to do my homing.
  • PCW
  • PCW's Avatar
01 Jul 2025 16:17

Wait for spindle-halt signal before reversing spindle direction

Category: Basic Configuration

Do you have a spindle encoder? 
(it might be a bit easier in hal knowing the velocity)

Also maybe this could be done in the g code with 
m5 m66 
  • Tntmold
  • Tntmold
01 Jul 2025 13:40 - 01 Jul 2025 13:42
Replied by Tntmold on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

halshow value for cia402.0.csp-mode is true, but the drive parameters (value of modes-of-operation/cia402.0.opmode/lcec.0.x.opmode) is 0.

in the XML file there is
<pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="S32"/>

in the HAL file there is:

setp cia402.0.csp-mode 1
...
net x-modes-of-operation cia402.0.opmode => lcec.0.X.opmode
...

The drive wants parameter 6060 to be 8 for CSP mode. How do I correct that?
  • Aciera
  • Aciera's Avatar
01 Jul 2025 13:08

Wait for spindle-halt signal before reversing spindle direction

Category: Basic Configuration


Is there a built-in way in LinuxCNC to delay or block a direction change until this signal becomes active? Or do I need to handle this myself, for example using HAL logic or some custom component?


I'm not aware of a built in solution but this could certainly be handled using HAL logic (or a custom component)
  • hellvetica
  • hellvetica
01 Jul 2025 11:54

Robot reads the same position every time it is turned on.

Category: Advanced Configuration

Sorry, i realised i didn't upload the correct .hal file
Displaying 14761 - 14774 out of 14774 results.
Time to create page: 1.420 seconds
Powered by Kunena Forum