Advanced Search

Search Results (Searched for: )

  • nathanb
  • nathanb
21 Aug 2025 15:48
Replied by nathanb on topic Raspberry Pi 5 with 7c81 WORKING!

Raspberry Pi 5 with 7c81 WORKING!

Category: Driver Boards

Hi, I also got my rpi5 and the 7c81 to run. First I had problems in the pncconf due to language settings. After this pncconf worked fine. Afterwards I had to change the hm2_spix in the created .hal
  • Todd Zuercher
  • Todd Zuercher's Avatar
21 Aug 2025 15:46
Displaying Active Work Coordinate System was created by Todd Zuercher

Displaying Active Work Coordinate System

Category: GladeVCP

I'm trying to modify a GladeVCP to have a label that displays the current active work coordinate system.  And to put it bluntly Python is kicking my butt.  So how exactly would one set up the python handler file to read the linuxcnc stat.g5x_index then use that to change the string that is displayed in the gtk label? 
In my  GladeVCP the label I want to use is named "work_coord_label" and I would like the label to read "G54(front)" when the G54 coordinate system is active, and "G55(Rear)" when G55 is active.  (The other coordinate systems can meerly read G56,G57... as there is no plan to use them at this point.)

PS.  This is on a machine running Linuxcnc ver 2.7.25 (And I don't think I can ugrade because this system requires a very low latency RTAI config that I don't think I can easily replicate with newer versions.)
  • Mars
  • Mars
21 Aug 2025 14:18
Replied by Mars on topic Adaptive Feed Rate HAL example?

Adaptive Feed Rate HAL example?

Category: HAL

Thanks for your discussion. A few minutes ago I got my simple concept breadboard running with adaptive feed so that I can throw a physical switch that is attached to a GPIO pin on the Rpi5 and the trajectory backs up. As is typical, once I got some of the basic ideas of the HAL programming (thanks A METRIC TON to swolebro and his excellent tutorials!), I has able to hack a HAL file together. I now need to think more about the system architecture which relates to your discussion. Am I missing something or does the linuxCNC documentation lack one key element that is critical for the newbie: there are precious few if any examples of HAL command syntax in the documentation...not the case for most languages. I think including a few examples per command would greatly lower the learning curve.
  • PCW
  • PCW's Avatar
21 Aug 2025 13:49 - 21 Aug 2025 13:50
Replied by PCW on topic Stop feed when spindle rpm lower

Stop feed when spindle rpm lower

Category: AXIS

This is normally what motion.spindle-at-speed is used for.
LinuxCNC checks motion.spindle-at-speed  after the
spindle speed has changed in the Gcode and pauses
the first cutting move after the spindle speed change until
motion.spindle-at-speed is true. 

If you have a way to read the spindle speed, usually the
"near" hal component is used to generate the spindle-at-speed
signal. This can also be done if the spindle drive has a signal to report
that is is at speed.

Note that this will not work if you want to stop or alter the feed rate
if the spindle slows during operation, as motion.spindle-at-speed is ignored
after the first cutting move that follows a spindle speed change.

If you need to alter or stop the feed if the spindle speed drops during operation,
you would need to use adaptive feed (motion.adaptive-speed) and some hal math
or logic.
 
  • Artur_1617
  • Artur_1617's Avatar
21 Aug 2025 13:25
Stop feed when spindle rpm lower was created by Artur_1617

Stop feed when spindle rpm lower

Category: AXIS

Hi,
I looking for something can stop feed when spindle rpm is lower what is setup in G code S300 for example -15% and start feed when rpm back to S300.
 
  • Martin.L
  • Martin.L
21 Aug 2025 13:00
Replied by Martin.L on topic Carousel ATC setup on Probe Basic

Carousel ATC setup on Probe Basic

Category: QtPyVCP

Fixed setting up a new install on a desktop pc, the same configuration shows the ATC tab as it should.. now I need to figure out how to configure the ATC according to my setup :

1) I have a servo motor with 17 bit abs encoder with an unknown gear reduction due to this retrofitted ATC. Setup with an INPUT SCALE: 157.48 it takes from 0 to 255 units to make a full turn

2) How to implement it in Probe basic is there a documentation?

thanks for your time
  • Martin.L
  • Martin.L
21 Aug 2025 10:40

Install in thinkcentre Edge71 : LinuxCNC 2.9.4 Debian 12 Bookworm PREEMPT-RT ISO

Category: Installing LinuxCNC

Somehow now that I decided to ask fot it I guess I finally succesfully installed it. using the autoinstall option, during the installation it asks if you want to force UEFI, at that point if you answer NO the auto-partitioner create just two partitions instead of three.

Then it finally asks you where you want to install the GRUB bootloader. where /dev/sda is the location to set
  • xenon-alien
  • xenon-alien's Avatar
21 Aug 2025 09:22
Replied by xenon-alien on topic Round system parameter to tenths?

Round system parameter to tenths?

Category: G&M Codes

But if you just want to compare two numbers to see if they differ by less than a certain amount:

O100 IF [ ABS[#100 - #101] LT 0.01]
  <do stuff>
O100 ENDIF


https://linuxcnc.org/docs/html/gcode/overview.html#gcode:functions
https://linuxcnc.org/docs/stable/html/gcode/o-code.html#ocode:conditional
 

Thank you.
I saw that documents, but  I'm not realized it can be done so simple way...
  • electrosteam
  • electrosteam
21 Aug 2025 09:16 - 21 Aug 2025 09:35
Replied by electrosteam on topic Coordinate Rotations, Subroutines

Coordinate Rotations, Subroutines

Category: General LinuxCNC Questions

Apologies, the X, Y datum shift was me confusing the Home position and the Touch-off X0 Y0 for the job.

But coordinate rotations are a mystery.
I set G54 thru G59.2 sequentially to increments of 45 degrees with G10 L2 codes prior to the sub-routine, then the main.
The G59.2 setting was 315 degrees.

When the code ran, it cut at 315 degrees, even with a specific G54 (set to 0 degrees).

Problem disappeared when I relocated the G10 L2 P1 R0 code to the bottom of the list.
It appears the last rotational setting persists, even in the presence of a specific G54.

But, I still believe it must be me.
I am now going to re-read everything to do with G10 L2 rotations.
There must be something I am missing.

Edit:
Of course it was me !
Code errors that you become blind to.

All now good.


John
  • Martin.L
  • Martin.L
21 Aug 2025 09:12

Install in thinkcentre Edge71 : LinuxCNC 2.9.4 Debian 12 Bookworm PREEMPT-RT ISO

Category: Installing LinuxCNC

Hi, I want to report my issues with this installation specific to the hardware in the title.. I'm learning on the go, not a computer guy so I can say some bull***.
Assuming this pc is legacy only I successfully installed LCNC (title) on reboot I'm getting error no operative system found. So I made my research and seems in my situation I need to install GRUB directly on the main partition ./root ? I somehow successfully installed it via the installer, but cannot replicate what I did previously for a new install, luckly I was taking some pictures of the previous screens that I guess installed GRUB manually. 
  • Grotius
  • Grotius's Avatar
21 Aug 2025 08:27 - 21 Aug 2025 09:06

Request for Community Feedback on g-code++ (sterp) Integration with LinuxCNC

Category: Show Your Stuff

In the source i see you how you handle expressions.

I shoukd use a lib like: mu parser to handle expressions. 
This also handles and updates gcode variables for you. 

It wont run (nested) while loops. This while loop algo you can design yourself.

in future i love to see gcode dialect parsing,
given a json config file.

Then hopely the interpreter is also able to read fanuc and kuka robot language and produce the motion outputs for it. An extended version off straight_feed xyz...
would look like straigt_feed j1 j2 ....

Mu parser example
  • Grotius
  • Grotius's Avatar
21 Aug 2025 08:12
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Pcw had no luck on Mesa. The install script
destroyed his home directory back then.
This was done by a rm -rf command 
wich can do nasty things so we dont use that any more for cleaning up environment.

I only tested it on Ethercat with el2124 driven steppers and delta servo. 


 
  • electrosteam
  • electrosteam
21 Aug 2025 06:12
Replied by electrosteam on topic Coordinate Rotations, Subroutines

Coordinate Rotations, Subroutines

Category: General LinuxCNC Questions

Parameters still seem to be a problem to me.

Doing a polar pattern based on the test file posted earlier.
8 coordinate systems at 45 degree steps.

Shutdown overnight, now polar pattern off by 45 degrees rotation, and X,Y datum shifted.
The problem is most likely something silly by me, but the questions are still valid.

I used G10 L2 P1 X0 Y0 Z0 R0 to ensure G54 was where I started the polar pattern.
I this unnecessary and may complicate things ?

Should coordinate offsets be cleared before shutting down ?
How can I avoid parameters biting me in the future?
Should something be included in the shutdown.hal ?

John.
  • fujexo
  • fujexo
21 Aug 2025 05:38
Replied by fujexo on topic Mesa 7i96S mit Frequenzumrichter verbinden

Mesa 7i96S mit Frequenzumrichter verbinden

Category: General LinuxCNC Questions

Möchte mich kurz für diesen Thread bedanken, hat mir bei der Einrichtung meines FU geholfen, nachdem ich mit Modbus kein Glück hatte (vermutlich Interferenzen).

In meinem Fall musste ich für das analoge Signal GND verwenden und für FWD/REV den XGND. Dann lief die Spindel :)
  • Krishell
  • Krishell
21 Aug 2025 05:19
Replied by Krishell on topic Jetson Nano as LinuxCNC driver

Jetson Nano as LinuxCNC driver

Category: General LinuxCNC Questions

Any updates on Jetson nano projects?
Displaying 10816 - 10830 out of 17139 results.
Time to create page: 0.525 seconds
Powered by Kunena Forum