Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
07 Jan 2025 13:09
Replied by JT on topic Flexible GUI

Flexible GUI

Category: Flex GUI

As an added bonus I just added Next Previous buttons for a stacked widget so you only need two buttons for unlimited number of pages.



JT
  • tommylight
  • tommylight's Avatar
07 Jan 2025 12:54
Replied by tommylight on topic Probe basic Install errors

Probe basic Install errors

Category: QtPyVCP

Moved to QtPyVCP section.
  • my1987toyota
  • my1987toyota's Avatar
07 Jan 2025 12:54

A propsed aid to retrieving information when try to provide answers.

Category: Off Topic and Test Posts

The problem I see is unless it can be used to only make a select obscenely rich people even richer it
is kept locked away from the general public's view.
  • my1987toyota
  • my1987toyota's Avatar
07 Jan 2025 12:39
Replied by my1987toyota on topic Some 3D printing advice to start this section

Some 3D printing advice to start this section

Category: Additive Manufacturing

  Usually when I 3D print stuff I will make a pocket for a nut to either be pressed in or slid in place. That way if I have
to scrap the part I can recover the metal nut back out of it. I do understand though that their are times when that
simply isn't possible.
  • andypugh
  • andypugh's Avatar
07 Jan 2025 12:12 - 07 Jan 2025 12:12
Replied by andypugh on topic 2.9.3 INI_VARS issue

2.9.3 INI_VARS issue

Category: General LinuxCNC Questions

Lower-case INI file variables are OK in most circumstances.
For example adding this into the Touchy GUI init code (I just happened to have that one in the editor, not a special choice)
print("The value of [TEST]testywesty is %s" % self.ini.find("TEST", "testywesty"))
print("The value of [TEST]CAPITAL is %s" % self.ini.find("TEST", "CAPITAL"))
print("The value of [TEST]IDONTEXIST is %s" % self.ini.find("TEST", "IDONTEXIST"))

And inserting this in the corresponding INI file
[TEST]
testywesty = 12.3
CAPITAL = 4.56

Gives this result
The value of [TEST]testywesty is 12.3
The value of [TEST]CAPITAL is 4.56
The value of [TEST]IDONTEXIST is None

So lower case INI variables work in the general case.

But it seems that they do _not_ work in the case of G-code INI-file access.
This is probably because all G-code is lowercased before being sent to the interpreter. And then the bit of the interpreted that reads #<_ini....> variables explicitly uppercases them.
github.com/LinuxCNC/linuxcnc/blob/master..._namedparams.cc#L222

So, the actual situation is that if you want to read an INI variable from G code it must be capitalised, because case info is lost during the process of interpreting the G-code, and the interpeter assumes capitals.

To answer a question from the original posts, you can create a set of global parameters with particular values in the STARTUP_GCODES (would need to be a custom code or subroutine call, though).
But reading from the INI is probably best, accepting the limitations discussed here.
  • JT
  • JT's Avatar
07 Jan 2025 11:44
Replied by JT on topic Flexible GUI

Flexible GUI

Category: Flex GUI

The first video really didn't show the steps to create a stacked widget page change buttons very well.



And I added a screen shot to the docs
gnipsel.com/linuxcnc/flexgui/controls.html#stacked-widget

JT
  • vre
  • vre
07 Jan 2025 11:43 - 10 Jan 2025 01:39
Replied by vre on topic MB2HAL write

MB2HAL write

Category: HAL

edit
If write 256(dec) to hal pin opens
and if write 512(dec) to hal pin closes
Also works function 16..

How to write values 256 and 512 to hal pins need a python script to convert boolean value to 16bit hex ?
  • rodw
  • rodw's Avatar
07 Jan 2025 11:35

Exercise: Turn on output led on EL2809 when machine is turned on

Category: EtherCAT

for testing, you could also use flood and mist coolant pins so you can turn on and off within linuxcnc. That's what I do.
  • rodw
  • rodw's Avatar
07 Jan 2025 11:32
Replied by rodw on topic Black Friday Deal got me :)

Black Friday Deal got me :)

Category: Plasma & Laser

You could make up some machined blocks for your 4 jaw to hold rectangular tube centrally. eg 3" x 2" would need 2 x 1/2" blocks to make it a square.
  • machinedude
  • machinedude's Avatar
07 Jan 2025 11:26
Replied by machinedude on topic Black Friday Deal got me :)

Black Friday Deal got me :)

Category: Plasma & Laser

been looking into this and i think it can be done but it is not cheap project :) off the shelf options are either through the roof in price or yet to be discovered. even making the stuff myself is going to be expensive by my standards and could see costing around $400 per chuck. So that being said i think i will start with a rotary union to see if i can pull that off and go from there :) without that the whole idea goes out the window :)
  • JT
  • JT's Avatar
07 Jan 2025 11:20
Replied by JT on topic Flexible GUI

Flexible GUI

Category: Flex GUI

I installed the new deb from releases but it doesn't seem to be adding anything new. I don't have qabstractproperties on the pushbutton whether I set it inside the stacked widget or not. Do I have to do anything special when upgrading flexgui?
 

I'm not sure what qabstractproperties is, what are you trying to do with that?

If you download the deb from the latest release and install it with gdebi or your favorite way you have the latest.

I'll add a screenshot to the docs.

JT
  • MacKaye
  • MacKaye
07 Jan 2025 10:56
Replied by MacKaye on topic Weiler DZ26 Millturn Conversion

Weiler DZ26 Millturn Conversion

Category: Turning

Finally came around to start implementing everything. Freshly installed linuxcnc doesn´t recognize the mesa card though. I've set W5 down to load basic configuration in case the eeprom firmware has some issues. I can only see the Texas Instruments PCIE bridge when i list all connected PCI hardware in terminal
  • TooTall18T
  • TooTall18T's Avatar
07 Jan 2025 08:17
Replied by TooTall18T on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Zuerstmal egal ob die Leitungs- oder die Funkvariante, die Verbindung über USB ist nicht sicher. Heißt, die Funktionen können, müssen aber nicht funktionieren.
Ich persönlich wollte aber die zusätzliche Unsicherheit mit der Funkverbindung nicht haben.

Vom Handrad gibt es jeweils eine 4- und 6-Achsvariante.

Ich denke nicht, dass da unterschiedliche Hersteller hinter stecken. Die werde alle aus der gleichen Fabrik kommen.
  • Aciera
  • Aciera's Avatar
07 Jan 2025 07:43
Replied by Aciera on topic MB2HAL write

MB2HAL write

Category: HAL

Have you tried
MB_TX_CODE=fnct_16_write_multiple_registers
  • onceloved
  • onceloved's Avatar
07 Jan 2025 06:41

Exercise: Turn on output led on EL2809 when machine is turned on

Category: EtherCAT

You can set it directly via setp, for example, setp lcec.0.1.output-pin 1. For detailed instructions, see this link linuxcnc.org/docs/stable/html/hal/basic-hal.html#sub:hal-setp
Displaying 20551 - 20565 out of 21674 results.
Time to create page: 0.624 seconds
Powered by Kunena Forum