Advanced Search

Search Results (Searched for: )

  • jcbryant
  • jcbryant
23 Sep 2025 20:00

Going from Devian 10 to 12 has created problems

Category: General LinuxCNC Questions

For some time now I've enjoyed a stable system created using the LinuxCNC 2.8.2 Debian 10 PREEMPT-RT ISO.   But now that I've upgraded to Debian 12 (I wanted to install a package unrelated to LinuxCNC, and the Debian 10 repository is no longer supported), things have fallen apart.  After the transition, LinuxCNC was still present, but it would not launch.  I assumed that this was because it had run in kernel space in my original system and so was treated specially (e.g. executable not in "bin").  Was this so?  In any case I installed linux-uspace.  It launches as expected, but unfortunately produces a string of error pop-ups:  "Smart Serial Port 0: Dolt not cleared from previous servo thread", "Error finishing read", and so on.

The hardware and BIOS are exactly as they were when things worked perfectly. LinuxCNC is 2.9.5 and the kernel is 6.1.0_39_rt_amd64.  Pinging the Mesa card gives consistent times of .125msec.  The latency looks generally  reasonable, but the histograms show a significant number of extreme outliers (???).

 

Can anybody help?  I feel that its probably a case of some option not being set correctly (i.e. the kernel isn't really pre-empting, LinuxCNC doesn't have the highest priority, or something such).  What might be missing somewhere in some configuration file?

There's also a little matter of the Axis window not maximizing, but this is a relatively minor concern.

 
  • peterpan
  • peterpan
23 Sep 2025 19:59
Replied by peterpan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

Okay, so would the equivalent allow it to become operational?
Do you have a little more guidance as to what I'm looking for, because I still don't really understand what I'm looking at or for. I have a list of seemingly all of this drives pdos/sdos and their descriptions.
The manual says the drives conform to CiA402, but I don't know what all that standard includes-I assume based on your comment that the registers are separate from the standard?

Thanks Rod
  • rodw
  • rodw's Avatar
23 Sep 2025 19:54
Replied by rodw on topic Python pendant logic problems

Python pendant logic problems

Category: General LinuxCNC Questions

When AI reports info from a post of mine on the forum, you know it at best is only superficial.
There is an example in the docs on a mpg using an encoder. It is easy to convert to a Mesa MPG encoder input but I think on the 7i96s you need extra firmware from mesa web site and forgo some I/O pins.
  • rodw
  • rodw's Avatar
23 Sep 2025 19:43
Replied by rodw on topic External E-Stop

External E-Stop

Category: HAL Examples

With a safety relay, usually you would implement a momentary latch button to enable the relay.
Then a  pin on the relay should be connected to  iocontrol.0.emc-enable-in to tell linuxcnc the machine is enabled.
You will still need to press the machine on button in axis.

Also, if you don't have the external latch button, you can use iocontrol.0.user-request-enable instead. COnnect to the pilz latch. It sends a momentary latch signal to the relay when you enable linuxcnc
 
  • meister
  • meister
  • rodw
  • rodw's Avatar
23 Sep 2025 19:28
Replied by rodw on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

0x2000 and 0x2011 seem to just not exist
This could be correct as these are from a manufacturer specific range so not CIA402 registers. . You need to review the manual for your drive
 
  • JackRay
  • JackRay
23 Sep 2025 18:18
Replied by JackRay on topic linuxcnc post processor for Siemens NX CAM

linuxcnc post processor for Siemens NX CAM

Category: Post Processors

Bonjour,
Je suis trés intressé pour la création d'un post pro full 5 axes sous NX . 
Existe il plus de documentation pour cela .

Merci
  • tightmopedman9
  • tightmopedman9
23 Sep 2025 18:14
Replied by tightmopedman9 on topic QtVCP Cannot Connect Message Dialog Box Hal Pin

QtVCP Cannot Connect Message Dialog Box Hal Pin

Category: Qtvcp

OK, the problem was my understanding (or lack thereof) of HAL I/O pins.

I was able to resolve this particular issue by using the custom component passthru from this post: forum.linuxcnc.org/forum/24-hal-componen...id-pin-problems#6489

It looks like I could have also used the existing component TRISTATE_BIT as well.

I guess I don't understand what the purpose of a HAL pin for a dialog box is, if that dialog box can't be set within HAL. Is the idea that the dialog box should only be opened by a Python file?

As for the probe error routine handler function - is there any way to prompt a user and wait for input from within a running python routine?
  • JT
  • JT's Avatar
23 Sep 2025 16:13

FlexGui touch - FSC-like myOwn tab from ext UI file

Category: Flex GUI

I just tried this and it works fine
from functools import partial

def startup(parent):
	parent.slider_1.valueChanged.connect(partial(slider_1, parent))
	parent.slider_2.valueChanged.connect(partial(slider_2, parent))

def slider_1(parent):
	parent.label_1.setText(f'{parent.slider_1.value()}')
	if parent.slider_1.value() >= 15:
		parent.slider_2.setMinimum(80)
	else:
		parent.slider_2.setMinimum(0)

def slider_2(parent):
	parent.label_2.setText(f'{parent.slider_2.value()}')
  • JT
  • JT's Avatar
23 Sep 2025 15:38

FlexGui touch - FSC-like myOwn tab from ext UI file

Category: Flex GUI

That would have to be done in your custom Python code using the sliders valueChanged() signal to trigger a call to your function and use the setMinimum() function of the slider to change the minimum set point.

JT
  • ts
  • ts
23 Sep 2025 14:55

FlexGui touch - FSC-like myOwn tab from ext UI file

Category: Flex GUI

Hi, 

​​​​​​JT thanks for your reply.
additional for this situation question. I have two sliders. Usong Slider1 user may choose value 10..20. slider2 could be 0..100 . But if slider1 is more than 15, Slider2 could be only 80..100.
How i may realise this?

Thanks in advance.
  • spumco
  • spumco
23 Sep 2025 14:26
Replied by spumco on topic G33.1 synchronized tapping problem

G33.1 synchronized tapping problem

Category: General LinuxCNC Questions

Spumco hasn't said anything since... 

I've been on an LCNC hiatus for 6 months due to some other work eating up all my free time.

I've still not gotten the new spindle motor completely hooked up and tested, much less tried Aciera's fix.  Hoping to get back to it in the next month or so now that the outside work has finished.
  • ckuecker
  • ckuecker
23 Sep 2025 14:03
Replied by ckuecker on topic EasyProbe error

EasyProbe error

Category: pyVCP

I found the probe signal problem and got the EasyProbe screen to come up.
Something is still wrong - clicking any probe button gives an error:
EOF in file: /usr/share/axis/images/axis.ngc seeking o-word: 0<probe_x_minus> from line: 0
I also do not have the Probe Signal LED working. So, my "fix" of the probe input error must have broken something that does not cause an error message on startup.
  • peterpan
  • peterpan
23 Sep 2025 13:25
Replied by peterpan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

It also gives the following error when I press the home button:
"emc/task/taskintf.cc 976: Error on joint 0, command number 74"
if that helps at all...
Displaying 11251 - 11265 out of 14544 results.
Time to create page: 0.763 seconds
Powered by Kunena Forum