Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
18 Apr 2025 09:48
Replied by andypugh on topic ENCODER_RATIO function implementation.

ENCODER_RATIO function implementation.

Category: General LinuxCNC Questions

There is a fixed but parametric G-code file as part of the config that does the feeding / multiple passes.

You should definitely look at that file to see what it does, and also what it assumes. The system assumes that the tip of the cutter is touched-off to the workpiece radius (ie Z = 0 is on the work axis)
Also note that the axis assignment is a little unusual, with hobbing radius as Z and work axis along X.

"shift" is a profile shift, simply a radial offset of the hob relative to the workpiece centreline.
  • hellvetica
  • hellvetica
18 Apr 2025 09:41

Connecting TURCK B20 Gateway through EtherLab EtherCat

Category: EtherCAT

Hi,
thanks for the help.
I've been messing around with the project but can't seem to get it to work.
I compiled ethercat_twincat and ran it but it's not reading any ports from my ethercat device. There are no input/outputs. Is there somthing else i need to configure?
My device is in PREOP mode and erroring because of:
"The current and the projected module list do not match. The data
exchange is still in progress." or
"The gateway is still in INIT status, the module list has not yet been
written to the gateway."

I should be actively writing something to the gateway to configure it i guess...
  • 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.
  • Aciera
  • Aciera's Avatar
18 Apr 2025 07:10
  • ErwinCNC
  • ErwinCNC
18 Apr 2025 07:08

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

Category: CAD CAM

Hello, unfortunately I don't have a contribution to your CAM system, but I do have a question about the Raspberry Pi 5 and Linux CNC On the current PC I have problems with the latency, especially in the Ethernet connection to the 7i96s. Unfortunately, this always leads to unexpected stops of the machine. The last PC was no better and I don't want to buy a third one that will cause problems. My hope is that the Raspberry Pi 5 will work easily and without problems, even if it is a bit more expensive than a second-hand PC. Replacement would also be possible at any time. Now to the question What are your experiences with the pi 5 and which version are you using? Which SD card? Any special settings? Thank you very much Greetings Erwin 
  • Jabbery
  • Jabbery
18 Apr 2025 06:28 - 18 Apr 2025 09:00
Replied by Jabbery on topic Spindle will not stay running

Spindle will not stay running

Category: General LinuxCNC Questions

Thanks for the idea. When I ran a few simple tests with no effect. I'm not sure how to test for emi. I expect if there was some my test would have had a reaction change but nothing changed. I moved the VFD as far away as I could and added a grounded makeshift shield.
  • Jabbery
  • Jabbery
18 Apr 2025 06:15
Replied by Jabbery on topic Spindle will not stay running

Spindle will not stay running

Category: General LinuxCNC Questions

I never thought to check that. I do have a filter on the VFD power. I will move it and see if that changes the problem.
  • Rockwood
  • Rockwood
18 Apr 2025 06:13

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

I just went ahead and ordered the 1500mx. I had to get things rolling. It's gonna be an adventure!

As I said in the top post, my fallback is to use the same yaskawa PLC I did last time as a control. Last time it was a purpose built machine, this time I would have to rewrite my code to work on a mill layout. But I still have the backup of a simple UI coded for an automation direct c-more HMI. It has data entry boxes for operators to enter numbers for triming geometry. those get stored in memory and then applied to the motion control code in the yaskawa mp2300.

I just think it would be nicer and more dynamic to have a CNC control through. Hopefully I can make some flavor of LCNC work for me.
  • vre
  • vre
18 Apr 2025 06:08 - 18 Apr 2025 06:08
G0 code was created by vre

G0 code

Category: O Codes (subroutines) and NGCGUI

What does this code?

M3 S2000
G0 X200Y100
G0 @20 ^135
G1 Z-10 F50
G0 X500Y100
G0 @20 ^135
G1 Z-10 F50


Symbol @ is radius and ^ is degrees but from which center?
Displaying 2161 - 2175 out of 26464 results.
Time to create page: 0.378 seconds
Powered by Kunena Forum