Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
11 Jul 2025 22:54
  • andypugh
  • andypugh's Avatar
11 Jul 2025 20:10
Replied by andypugh on topic Read value or file in G-code

Read value or file in G-code

Category: G&M Codes

This isn't elegant, but if your python file imports "hal" then you can create a HAL pin, put the value on that, and then read that value in your G-code.
The most reliable way to do this is to "net" it to one of the G-code analogue inputs and read it with M66. But you can also use the #<hal[mymodule.pinname]> format in the G-code. Just be aware that the latter method will generally get the value that was on the pin when the G-code program starts and won't see any live updates.

linuxcnc.org/docs/html/gcode/overview.html#gcode:ini-hal-params
  • andypugh
  • andypugh's Avatar
11 Jul 2025 19:59
Replied by andypugh on topic Do I need a better PC?

Do I need a better PC?

Category: EtherCAT

It's possible that the noise is due to the servos getting a bad rotor "home"
This only applies to brushless motors, but the drives need to know where the rotor magnets are relative to the motor windings.
If you are using EtherCAT then this is probably all inside the drives, so I am not sure how you could ever be sure if this is the problem. Do you know how the drives perform this step? (If they use absolute encoders or hall sensors then this is unlikely to be the problem)
  • andypugh
  • andypugh's Avatar
11 Jul 2025 19:32
Replied by andypugh on topic Weird problem happening during g71, g70 cycle

Weird problem happening during g71, g70 cycle

Category: General LinuxCNC Questions

I wouldn't expect G71 and friends to accept REPEAT/ENDREPEAT in the profile subroutine. It parses G1,G2,G3 commands into a profile internally then creates a toolpath to cut that profile.
I am not even sure that it can be expected to correctly read #<_x> etc.
  • unknown
  • unknown
11 Jul 2025 19:00
  • unknown
  • unknown
11 Jul 2025 18:59

Graphical glitches with Raspberry Pi 400 + LinuxCNC 2.9.4 (arm64)

Category: Installing LinuxCNC

Ok the screenshots are interesting. Unfortunately I haven't had a chance to check as life has got in the way.
To tell the truth when I test the images I use an old 19" 4:3 monitor. Another thing to be aware of is that the images aren't meant to be for a daily driver, the sole purpose is to run Linuxcnc which is what is concentrated on. So yes there will be packages left out that are part of a standard Desktop install.
The kernel was built using the official RPi sources, with the only mod being enabling the RT section in the kernel config. So there is really nothing fancy in that area.
It very well be an issue related to resolution, in config.txt you should be able to adjust the memory allocated to the graphics system, something you'll have to look at the config.txt documentation, 2 things to be aware of, there is no raspi-config utility so the config.txt will need to be hand edited and the location of it is different to the Raspberry OS, the main thread for the images has this info.
If you just want to explore what Linuxcnc has to offer without running a machine or connecting to any hardware there is also the option of running the amd64 version as a live session on a PC or installing in a virtual machine such as VirtualBox. RT capabilities will be non existent but it will run the simulations fine.
Another option would be to install RaspiOS and build Linuxcnc from source, a real time kernel would not be required in your case and use at ad a Run In Place install. How to do this can be found in the docs.
Displaying 14461 - 14466 out of 14466 results.
Time to create page: 2.103 seconds
Powered by Kunena Forum