Advanced Search

Search Results (Searched for: )

  • besriworld
  • besriworld
22 May 2025 19:05

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

At a later stage, I plan to add an additional 1kW servo motor, which will operate in torque mode to act as a dynamic load on the main 7kW motor. This will increase the system's rigidity. Currently, I'm using the encoder from the main motor
  • spumco
  • spumco
22 May 2025 18:46

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

I don't have copy on hand, but if you search through my posts you should find some of the later caxis.comp configs attached.  Maybe 4-6 months ago or so?

I tried step/dir and pwm, so there may be examples of both attempts somewhere in the forum.

Something to keep in mind is that for rotary axis work you want the highest resolution encoder (or resolver) you can get.  NoJo (OP) I think reported problems with C-axis milling and feature alignment due to a moderate-count encoder.

Of course, high counts and a high-speed spindle means problems with max input speed.  I wound up with a 10k-line encoder on my 3500rpm spindle... which works but I had to turn off Mesa input filtering.

Another issue I think I encountered with NoJo's polar kinematics was that he hard-coded the live tool offset in to the component.  He only had a single live tool so that worked for him, but a re-write which uses a tool offset from the tool table might be wise.
  • atrex77
  • atrex77's Avatar
22 May 2025 18:42 - 22 May 2025 18:43

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

Update
1.variable pulse width for the step generator (1000nS - 6000nS) set from hal pin.
2.work with pico + w5500 module (connections like in the w5100s-evb-pico)
 
  • eliaslau28
  • eliaslau28
22 May 2025 18:41
Mesa Sammelbestellung was created by eliaslau28

Mesa Sammelbestellung

Category: Deutsch

Hallo zusammen,

ich plane aktuell eine Sammelbestellung für Mesa-Karten (z. B. 7i76e, 6i25, etc.), da sich bei größeren Stückzahlen häufig günstigere Konditionen ergeben – sowohl beim Preis pro Karte als auch beim Versand.

Rahmenbedingungen:

Ziel: mindestens 10 Karten

Bestellung erfolgt gesammelt direkt beim Hersteller
!!!Vorkasse notwendig, damit ich nicht auf den Kosten sitzen bleibe!!!
Ich übernehme die Organisation und den Versand innerhalb Deutschlands

Preise sind noch nicht final, je nach Anzahl & Modell

Wer Interesse hat, bitte folgende Infos per E-Mail an "This email address is being protected from spambots. You need JavaScript enabled to view it.":

Betreff: [Name, Vorname]   [Modell]  [Anzahl]
z.b.:      [Lauterbach, Elias] [7i76e] [3]

Als Text dann den Versandort (Packstation Möglich)

Alles weitere erfolgt dann per E-Mail :)

Wenn wir genug zusammenbekommen, gebe ich die finalen Preise bekannt und sammle dann das Geld ein, bevor bestellt wird.
Ziel ist eine faire, transparente und zügige Abwicklung.

Viele Grüße
Elias Lauterbach
  • besriworld
  • besriworld
22 May 2025 17:46

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

Thanks for the update. Then I will try without polar coordinates.I would be happy if you could share the configuration. Because I did not find an example of a spindle and C axis with +-10v control.
My lathe doesn't have an index yet and can't make threads. Because I want to install a hydraulic chuck first.
  • spumco
  • spumco
22 May 2025 16:50

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

It seems quite complicated. Has anyone done it with +-10v control? I want to try it on my lathe.


It's been a while since that post, and my lathe project has been stalled for a few months... but I had to give up on C-axis.comp.  I didn't get far enough to try the polar kinematics.

The insurmountable problem I encountered with caxis.comp was that it interfered with synchronized spindle moves (threading).  I wasn't able to figure out how/why it was causing problems, but once I abandoned it for a spindle/axis scheme proposed by @Aciera and @PCW, threading started working properly.

There is still an issue with threading in LCNC - thread start point varies with RPM - but that's not related to caxis.comp.
  • besriworld
  • besriworld
22 May 2025 16:37

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

It seems quite complicated. Has anyone done it with +-10v control? I want to try it on my lathe.
  • ihavenofish
  • ihavenofish
22 May 2025 16:00
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

Ok, time to get back to this.

What am I doing again? :P
  • SanzuiWorks
  • SanzuiWorks's Avatar
22 May 2025 15:58 - 22 May 2025 16:06
Replied by SanzuiWorks on topic Manual Toolchange + Abs Z Probe (QtDragon)

Manual Toolchange + Abs Z Probe (QtDragon)

Category: Qtvcp

I’ve managed to detect WCS (G54–G59) from a loaded .ngc file and output it to the terminal.
To be precise, it prints the WCS to the terminal log.
But I haven’t yet succeeded in sending it to MDI to change the GUI WCS.

Code implemented inside qt5_graphics.py > StatCanon:
def set_g5x_offset(self, index, x, y, z, a, b, c, u=None, v=None, w=None):
    g5x = {
        1: "G54", 2: "G55", 3: "G56", 4: "G57",
        5: "G58", 6: "G59", 7: "G59.1", 8: "G59.2", 9: "G59.3"
    }
    print(f"[DEBUG] {g5x.get(index)} on line {self.lineno}")
    super().set_g5x_offset(index, x, y, z, a, b, c, u, v, w)

Sample G-code:
G21
G90
G55
G0 X10 Y10
M2

Terminal output:
[DEBUG] G54 on line 0
[DEBUG] G55 on line 3
[DEBUG] G54 on line 5

As you can see, G54 appears at both the top and bottom.
This needs further filtering to ensure only the first actual WCS used in the program is considered.
  • byunchov
  • byunchov's Avatar
22 May 2025 15:58

Interpolation accuracy with Delta ASD-B3 EtherCAT servo drives

Category: EtherCAT

Greetings fellow machinists!
Back in 2023, I did a reconstruction of my old CNC router for my woodshop. I have decided to use EherCAT hardware as my main communication interface tween LCNC and the main build components. A friend that makes CNC machinery advised me that I use Delta servo system, as it is the best option for my budget. I have decided to go for Delta ASD-B3 drives with 1kW motors. The setup in LCNC for the drives was rather easy. I had to use generic driver for lcec and couple it with dominik’s hal-cia402 component.

Everything seemed to work fine until last week when I have noticed that the circles turn out to be slightly oval. This is especially prominent on semi- and quarter-circles. I see this effect while doing interpolation in XY, XZ and YZ. The error seems to be of the same size and in the same position in the 3 planes.

I have also noticed that when I make a slot it is slightly wider than the tool diameter and slightly shorter than programmed. What is more the depth pattern is visible and alternating on the sides. This is depending on the cut direction. I usually use ramp plunging along the whole length of the slot and this effect is not visible then but when doing single line slot milling with small ramp plunge then the score lines are visible.I have tried few things like tuning the servo drives, changing LCNC configuration parameters like axis acceleration, speed; arc blending settings in [TRAJ] section but nothing seems to work. I have tried both slow and fast work feeds but the effect is prominent no matter the speed.

Something interesting I have found is that when squaring a piece of wood (hardwood like oak, beech or soft materials like pine, MDF, chipboard) one corner is seemingly sharp and the opposing corner is rounded and then this is mirrored diagonally. The radius seems to around 1mm. When squaring I have created a subroutine that uses arcs at corners so that the tool is not chipping the piece at the corners and sometimes to avoid burns.

Y- and Z-axis are ball screw with 5 and 10 mm pitch and are belt driven with 1:1 ratio. X-axis is helical rack and pinion with 1:10 gearbox. I have checked for mechanical issues and none is present or apparent. The gantry and the axes in general are square, as far as I can measure. X-axis is 4100 mm of travel but along that distance, I get like 0.02mm deviation from the zero point. Y-axis is around 1600 mm and Z-axis is around 560 mm. I have enabled E-Gear option in the servo drives as 10000 PPR.

I have attached pictures of the interpolation errors I get. I am open to discussion of what might be the cause of this - communication lag, drive parameters, LCNC config. I will also attach my INI and EC configuration files.
  • mc_cubus
  • mc_cubus
22 May 2025 15:20
Probe tripped during non-probe move was created by mc_cubus

Probe tripped during non-probe move

Category: Basic Configuration

Hi everyone,
I am pretty new to LinuxCNC and currently working on a setup where a light distance sensor is mounted on a XYZ stage. My goal is to approach an object along z-axis until the sensor reading enters a defined window (26 – 27 mm) and then scan the object along the x-axis, stopping the moment the sensor reading exits that same window.

My current approach was to use probe mechanism with G.38 moves.
The .hal file:
# — threshold generator at 26.5 mm (window center) —
loadrt constant    count=1
addf   constant.0  servo-thread
setp   constant.0.value    26.5
# — “near” comparator: output HIGH when |sensor-mm – 26.5| ≤ 0.5 —
loadrt near        count=1
addf   near.0      servo-thread
setp   near.0.difference  0.5
# — feed the threshold and the actual distance into near.0 —
net ref-26p5      constant.0.out  near.0.in1
net sensor-mm     scale.0.out     near.0.in2
# map the “in-window” bit to the probe input
net in-window  near.0.out  motion.probe-input

The G-code:
(Move to initial coordinates before probing)
G21
G90
G1 X357 Y31 Z-118 F4800
(Z-approach – stops instantly on entering 26…27 mm)
F600
G38.3 Z-190 F600   ; probe toward, stop on motion.probe-input=1 (no error)
(Dwell 1 s)
G4 P1
(X-scan – stops instantly on exiting 26…27 mm)
F600
G38.5 X300 F600   ; probe away, stop on motion.probe-input=0 (error)
M2             

When running the G-code, the probing along Z-axis works just fine and the movement stops the moment we enter the window. When probing along X-Axis starts, it moves for just a tiny bit (~0.2s) and then throws an error: Probe tripped during non-probe move.

The motion.motion-type has value 5 (which is Probing) during both G38 movements, so I don't know where the error comes from.

I'd greatly appreciate any insights into this issue!
Thanks in advance.
  • PCW
  • PCW's Avatar
22 May 2025 15:03
Replied by PCW on topic Index homing Heidenhain ls 403/exe602

Index homing Heidenhain ls 403/exe602

Category: Basic Configuration

If the machine has no built in home switches, it really makes no sense to
have multiple index marks on the scale.

It it possible there is an electrical issue causing false index detection?

Is there documentation on the scale types?
  • unknown
  • unknown
22 May 2025 14:10
Replied by unknown on topic LinuxCNC 2.9.4 Released

LinuxCNC 2.9.4 Released

Category: Installing LinuxCNC

That's a well known issue, has been around for years and has been discussed quite a few times.
I'd be careful running dist-upgrade as it can mess kernels up.
If you want to upgrade packages a simple apt upgrade will suffice.
To be honest all I run on my desktops, laptops and servers is apt upgrade.
But if dist-upgrade works for you that's great.
  • langdons
  • langdons
22 May 2025 13:19 - 21 Jun 2025 14:11
Replied by langdons on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Reply based on misread image.
  • PCW
  • PCW's Avatar
22 May 2025 13:10

Smart Serial Comms Error - Since upgrade to 2.9.4

Category: General LinuxCNC Questions

The root issue is not sserial related but latency related
(notice that the first error is a watchdog bite)

I would

1. Run a latency test

2. Check the network latency with:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

or

sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121

(depending on 7I80 IP address setting)


 
Displaying 2401 - 2415 out of 25543 results.
Time to create page: 0.301 seconds
Powered by Kunena Forum