Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
28 Aug 2025 13:52
Replied by PCW on topic Serial port asynchronous reading

Serial port asynchronous reading

Category: Advanced Configuration

Since it's not realtime, you should be able to make a simple (python?) userspace
hal component using the kernels serial driver.
  • andypugh
  • andypugh's Avatar
28 Aug 2025 13:50
Replied by andypugh on topic Lathe Macros

Lathe Macros

Category: Other User Interfaces

The idea is that the images make the parameters self-explanatory.

All of the macros start from the current position of the tool.

So to machine a radius on the end of a bar you would set the diameter of the bar in the diameter box, the Z of the end of the bar in the Z box, enter the required radius.
Make sure the correct radius position radio button is selected.

For an external radius on the right-hand end of the work you then jog the tool tip to somewhere just outside the material diameter, and just to the right of the material end, and press the button.
  • andypugh
  • andypugh's Avatar
28 Aug 2025 13:42
  • PCW
  • PCW's Avatar
28 Aug 2025 13:28
Replied by PCW on topic Use override to modify laser power

Use override to modify laser power

Category: Plasma & Laser

Did you want the laser PWM controlled by both the feed rate and motion.analog-out-00?

If so you probably want to add a scale component to multiply the analog out setting by the feed rate.
  • PCW
  • PCW's Avatar
28 Aug 2025 13:07

Pulling out my hair trying to set up a spindle on 7i96

Category: Basic Configuration

pncconf (at least in 2.9.4) does seem to do the right thing.

SSR 00 for Spindle CW and SSR 01 for Spindle CCW:
( they are in odd locations on the screen)


  


This does generate the expected connections in the hal file:


 
 
  • ts
  • ts
28 Aug 2025 12:57 - 28 Aug 2025 13:01
Replied by ts on topic Serial port asynchronous reading

Serial port asynchronous reading

Category: Advanced Configuration

Andypugh, Thanks for reply!

I didn't use mesa board. I think about ehtercat + rs232 , this is more simple for me (ethercat modules avaible from stock, but mesa is not available). But of course best way to use onboard rs232 to sending and receiving data.

About realtime -This is not critical , because speed is 19200, so i dont need realtime.

I will read links more detailed this evening.
And may be there are some another way if no needed realtime.
  • andypugh
  • andypugh's Avatar
28 Aug 2025 12:51
Replied by andypugh on topic Serial port asynchronous reading

Serial port asynchronous reading

Category: Advanced Configuration

Does your system have a Mesa card? If it does then you could look at using a Mesa UART.

Otherwise it ought to be possible to use the onboard serial port, but for some reason I haven't seen anyone do that through HAL in realtime.

In theory you ought to be able to do it with inb and outb commands:
stackoverflow.com/questions/47048726/bau...-outb-commands-linux
(note that the advice there is "don't" but they are not considering realtime limitations)

There is an existing hal component that uses the serial port status lines for GPIO
github.com/LinuxCNC/linuxcnc/blob/master...drivers/serport.comp
which it might be possible to tweak. But the fact that nobody seems to makes me wonder if it is impossible for some reason?
  • PCW
  • PCW's Avatar
28 Aug 2025 12:34
  • Ul
  • Ul
28 Aug 2025 12:25 - 28 Aug 2025 12:28
Replied by Ul on topic in linuxcnc freecad 1.0 einbinden

in linuxcnc freecad 1.0 einbinden

Category: Configuration Tools

die zwei Befehle bewirken kein 'Systemupdate auf Version 13'.
'sudo apt update' bringt nur die source list auf den neusten Stand. Es wird keine Software runtergeladen und nichts installiert.

'sudo apt install freecad' lädt Freecad (gemäss Source list) runter und installiert es.
 

Ja, das stimmt. Ich habe es gerade eben ausprobiert, es hat die Version 0.20.2 installiert. Ich muss zuvor irgendetwas Anderes gemacht haben, was zum volständigen Update geführt hat. Bei ihm sind aber trotzdem zumindest Terminal, Dateimanager und Browser weg.

Wie auch immer - wenn man das richtige Image heruntergeladen hat, läuft die aktuelle Version 1.0.2 ohne Installation. Heruntergeladen habe ich es hier:  www.freecad.org/downloads.php?lang=de
Vielleicht ist es auch bei ihm so. 
  • jschulze
  • jschulze
28 Aug 2025 11:57
  • Ul
  • Ul
28 Aug 2025 11:55
Replied by Ul on topic in linuxcnc freecad 1.0 einbinden

in linuxcnc freecad 1.0 einbinden

Category: Configuration Tools

Habe das Problem gerade gelöst. Auf der Downloadseite von FreeCAD gibt es 2 Linuximages: x86_64 und aarch64. Da LinuxCNC bei mir auf einem Raspberry läuft, funktioniert nur Letzteres. Aber es funktioniert 

Die heruntergeladene Datei kann man ohne Installation ausführen, wie in der Anleitung oben beschrieben: 

After download, right click on it, properties, permissions, check "Allow executing file as program", close, double click on it.

  • Aciera
  • Aciera's Avatar
28 Aug 2025 11:50 - 28 Aug 2025 11:57
Replied by Aciera on topic in linuxcnc freecad 1.0 einbinden

in linuxcnc freecad 1.0 einbinden

Category: Configuration Tools

vermutlich weil du schon mit:

sudo apt update
sudo apt install freecad

ein Systemupdate auf Version 13 gemacht hast.


die zwei Befehle bewirken kein 'Systemupdate auf Version 13'.
'sudo apt update' bringt nur die source list auf den neusten Stand. Es wird keine Software runtergeladen und nichts installiert.

'sudo apt install freecad' lädt Freecad (gemäss Source list) runter und installiert es.
  • Ul
  • Ul
28 Aug 2025 10:57
Replied by Ul on topic in linuxcnc freecad 1.0 einbinden

in linuxcnc freecad 1.0 einbinden

Category: Configuration Tools

Hallo,
hast du vorher eine Sicherung gemacht? Bei dir sind die Programmverknüpfungen in der Taskleiste nicht mehr gültig, vermutlich weil du schon mit:

sudo apt update
sudo apt install freecad

ein Systemupdate auf Version 13 gemacht hast.

Sind deine CNC-Programme noch da?

Ich jedenfalls versuche seit 2 Tagen bluetooth, flatpak etc. zu installieren, was immer wieder zum Update auf Version 13 geführt hat. Ich nehme an, sobald man etwas installieren möchte, was eine höhere Linuxversion erfordert, wird automatisch ein vollständiges Systemupdate durchgeführt.
  • ts
  • ts
28 Aug 2025 10:51 - 28 Aug 2025 11:02

Serial port asynchronous reading

Category: Advanced Configuration

Hi.
i need to read every 100 millisec some values from rs232. (Old equipment and i haven't source) and during work have to change this values. Also with this values i switch to working state equipment. I understand command which i have to send and to read.

And now i see only solution when i write all commands on the arduino-like board for connecting with target board, and for upper lever (linuxcnc) via mobdus (arduino as slave). But im trying to find more simple solution with only linuxcnc.

how to do this elegance)?

Regards
 
  • Aciera
  • Aciera's Avatar
28 Aug 2025 09:25

How to modify 5axiskins from BC head to AC head

Category: General LinuxCNC Questions

As an alternative have a look at
'sim/axis/vismach/5axis/table-rotary_spindle-rotary-nutating/xyzbca-trsrn_twp/xyzbca-trsrn.ini' which uses 'xyzbca_trsrn.comp'

Set 'xyzbca_trsrn_kins.nut-angle' to 90°
Displaying 12316 - 12330 out of 14578 results.
Time to create page: 1.777 seconds
Powered by Kunena Forum