Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
18 Apr 2025 09:38
Replied by andypugh on topic Mazak QT20 Automatic tool changer

Mazak QT20 Automatic tool changer

Category: Turning

I would suggest that you connect iocontrol.0.tool-prepare to the turret-unclamp output pin, and then connect carousel.0.enable to the turret-unclamp-ready pin.

That way a tool change request will immediately unclamp the turret, and the carousel component will only start up once the turret is actually unclamped.

Probably, some experimentation may be needed, especially regarding how the re-clamping happens.
  • andypugh
  • andypugh's Avatar
18 Apr 2025 09:26 - 18 Apr 2025 09:29
Replied by andypugh on topic [ Vfdmod ] An easy VFD control over MODBUS RTU

[ Vfdmod ] An easy VFD control over MODBUS RTU

Category: HAL

For the benefit of anyone else using the L510 (or the RS-branded RS510) VFD this component seems to work:
github.com/gitcoffey/l510_vfd
after making this change
github.com/gitcoffey/l510_vfd/pull/1
Install with
sudo halcompile --userspace --install --extra-link-args="-lm -lmodbus" l510_vfd.c
  • andypugh
  • andypugh's Avatar
18 Apr 2025 09:14
Replied by andypugh on topic Tool in spindle memory

Tool in spindle memory

Category: General LinuxCNC Questions

I assume that you are using the tool-number in HAL rather than pocket-number to bypass the tool/pocket swapping inherent to a random TC?

Is it possible that you could save a copy of the tool.tbl file before and after the problem and attach the two files here? That might help work out what is going on.
  • besriworld
  • besriworld
18 Apr 2025 09:13
Replied by besriworld on topic GMOCCAPY - Cannot find pin error

GMOCCAPY - Cannot find pin error

Category: HAL

Check in hawshow if there is an enable pin for this window glade ...

If you have a different theme color, you can fix it by looking at the last comment on this post.

forum.linuxcnc.org/gmoccapy/45856-spindl...capy?start=40#313268
  • andrei_linuxcnc
  • andrei_linuxcnc
18 Apr 2025 09:06
GMOCCAPY - Cannot find pin error was created by andrei_linuxcnc

GMOCCAPY - Cannot find pin error

Category: HAL

Hi, I'm new to LinuxCNC and I really need your help on this issue I run into.I created a custom button in Glade.
So I made a Top Level window named window1, put in a HAL table, hal_table1 and inside the HAL table a HAL button, hal_button1. I save the file as test.glade.
I'm using Glade 3.8.6 on LinuxCNC 2.8.4.
I added to the .ini file the following lines:

- In AXIS:GLADEVCP = -u hitcounter.py test.glade
POSTGUI_HALFILE = andrei.hal
In andrei.hal I have: setp gladevcp.hal_table1 TRUE

The button is show on the interface and it's active. This is working perfect.Now I want to implement the same in gmoccapy

-In GMOCCAPY:
EMBED_TAB_NAME = test
EMBED_TAB_COMMAND = gladevcp -c gladevcp -x {XID} test.glade
EMBED_TAB_LOCATION = box_custom_2
POSTGUI_HALFILE = andrei.hal
If I comment the setp gladevcp.hal_table1 TRUE in andrei.hal, the button is shown in the interface, but it is greyed out.
When I uncomment the line in andrei.hal the LinuxCNC is not starting and I have the error:andrei.hal:1: parameter or pin 'gladevcp.hal_table1' not found. Please see the linuxcnc.txt error report.

If I comment the line in andrei.hal and start the LinuxCNC with Gmoccapy interface, the button is greyed but I see the gladevcp.hal_table1 pin and I can send in halshow the setp gladevcp.hal_table1 TRUE command and it's working fine.
Also after loading the interface, I can see pins with halcmd show pin | grep hal_table1.

So as far as I can understand, the gladevcp.hal_table1 pin is not available at runtime in gmoccapy.
I tried a lot of settings with these commands and configurations and I don't know what I'm doing wrong, as aI follow the exact guidelines from the documentation.

I attach the .ini file. test.glade, andrei.hal files and the eror report linuxcnc.txt.
  • andypugh
  • andypugh's Avatar
18 Apr 2025 08:53
Replied by andypugh on topic A simple question: How to use EXPORT_SYMBOL()

A simple question: How to use EXPORT_SYMBOL()

Category: General LinuxCNC Questions

Presumably this is in C?

You may need ti #include A.h in B.c
  • unknown
  • unknown
18 Apr 2025 07:40

Working with Aspire 12 – Happy to Help If Anyone Needs It

Category: CAD CAM

Whole bunch of answers here and the appropriate place to discuss it.
forum.linuxcnc.org/9-installing-linuxcnc...official-images-only

You'll have to give a description of your setup, what image are you using, what is the latency & ping times.
Displaying 17146 - 17152 out of 17152 results.
Time to create page: 0.414 seconds
Powered by Kunena Forum