Advanced Search

Search Results (Searched for: )

  • spumco
  • spumco
Today 15:18
Replied by spumco on topic Water depth, slats, and underwater cutting

Water depth, slats, and underwater cutting

Category: Plasma & Laser

Our borax doesn't go away due to evaporation, but we do lose some to drag-out when we're too impatient to drain parts and scrap in to the table.

Problem with borax is that it doesn't mix well; we've found heating up a couple gallons in the house and dissolving it works.  The concentrate can then be poured in the table and it mixes up ok during the drain/fill cycle.
  • Dudelbert
  • Dudelbert
Today 15:15

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

I worked again at the spindle.

I have a “theory” on how to handle the two gearings of the machine.

First, I try to get the motor RPM into LCNC. With the analog out from the VFD, I am now able to get this with an accuracy of about ±25 RPM, which is less than 5% off. I measured the real RPM with a cheap optical tachometer and the RPM that the VFD “thinks” it is at. These two were consistently very close. The VFD was consistently 3 to 5 RPM higher than the tachometer, in an RPM range from 880 RPM (at 30 Hz) to 2080 (at 70 Hz). 3 to 5 RPM seems close enough to ignore that error and believe the VFD.

Now, having the motor RPM, I set the variator by hand so the overall reduction ratio was 1:1 (or close to it)

My plan is to tune the PID at this point and later multiply the error term (pid.s.error) by the overall reduction ratio. If I am not thinking about this totally wrong, this should give the system a hopefully somewhat stable spindle PID over the very large reduction that the backgear and variator provide.

Now I do have 3 problems:

1: There is something wrong with my pid.s setup. As soon as the error gets significantly negative, the output shoots up and the system runs away. I found that pid.s.output can be between 3000 and -3000, but I use 0–10 V, not ±10 V, so as soon as pid.s.output goes negative enough, it runs awaythe sign seems to be ignored. I think this has to be a somewhat common problem with 0–10 V. I was able to remove the runaway by using a limit component to cut away the negative part of pid.s.output, but that led to strange behavior as well. With this, I can increase P to large values without it starting to oscillate much.

2: I was able to get the motor RPM, and I have the spindle RPM, but putting both into a div2 component gives 0 at all times. And not a close-to-zero float (e.g. 5.459834658e-7), but actually just 0. I thought it had to do with the deadband, but no value of that seemed to resolve this. The spindle RPM is obviously 0 when the spindle is still, so I do have a limit component to keep the spindle RPM at ≥ 1, resolving divide-by-zero issues. And as soon as the spindle spins, the numbers seem fine.

3: I already foresee a future problem: given that I have the gear ratio and a solid PID at a ratio of 1:1, I would need to scale pid.s.error (reduction_ratio * pid.s.error), but I could not find where this variable is set, so I would not know how to set my scaling factor.

Sorry for this long rambling message, I hope I was able to explain what is going on on my side.
  • susan-parker
  • susan-parker
Today 14:06

30 Second timeout before opening and E-Stop button not clicking...

Category: QtPyVCP

Thanks :)

Just to tidy up this thread, here is a pic of my working PB Lathe setup...

 
  • dredivan
  • dredivan
Today 13:54

Rotary axis backplot — centre of rotation not following WCS offset

Category: General LinuxCNC Questions

But the main question is still open: is there any way to tell the backplotter where the centre of rotation is, when the rotary chuck is not at machine Y=0?

In my case the chuck is fixed at Y=700mm. The backplotter always rotates around Y=0 (machine origin), so the wrapped toolpath displays as a large circle far from the actual machine envelope instead of showing correctly near the chuck.

I have already seen the 2013 thread where andypugh said there is no solution.
Is this still the case in 2.9.8, or has anything changed since then?
  • tommylight
  • tommylight's Avatar
Today 13:45

Rotary axis backplot — centre of rotation not following WCS offset

Category: General LinuxCNC Questions

Yes, for hal scaling and output and encoder count direction, but i do not know if that works for geometry.
  • tommylight
  • tommylight's Avatar
Today 13:44
Replied by tommylight on topic Water depth, slats, and underwater cutting

Water depth, slats, and underwater cutting

Category: Plasma & Laser

I use baking soda as rust inhibitor, it does a pretty good job and even when water evaporates, it does not, so adding more is not necessary for a long time.
It also remains attached to slats/table when no water is left, so had no rust issues for many years.
  • rodw
  • rodw's Avatar
Today 13:41
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I've used debian 10 11 and 13
I skipped debian 12 this is for internal timing release reasons, not because 12 had anything wrong with it. I did not notice on my hardware considerable differences between debian releases. 

I don't really see any difference between 12 & 13 (everything is 13 here). From earlier feedback on the preempt_rt email group, The preempt_rt network latency issues were most likely introduced in kernel 5.9 and Debian 11 had 5.10 but because Linuxcnc never released anything on 11, the issues did not  appear until Debian 12 which I used from the original beta release.
  • rodw
  • rodw's Avatar
Today 13:35
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I'm also on the discord, and I am fluent in Italian 

discord.gg/WwMfD9v9M

If your Italian friend wants to hop in, I'll be glad to help him out.

Thanks I've passed that on. He'll probably call himself frk (Francesco)
  • Hakan
  • Hakan
Today 12:49
Replied by Hakan on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

This is not related to the phasing.
Or perhaps it is, on the way that clocks have started to run with different speeds.

You can switch on debug "ethercat debug 1" and watch the DC time difference between slaves slooowly converge.

It's part of the startup of slaves
gitlab.com/etherlab.org/ethercat/-/blame...e=heads&page=2#L1480

The server issues 5000 sync requests, one every millisec, and waits until clocks are within 10 microseconds.
If they aren't, you get the message. The slaves' clocks will eventually converge.

I had this issue, was unable to fix or even poke at it, and then suddenly it went away.
I suspect it has something to do with ethercat master version, but since I was unable to
diagnoze it, I really don't know.
  • grandixximo
  • grandixximo's Avatar
Today 12:34
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I'm also on the discord, and I am fluent in Italian 

discord.gg/WwMfD9v9M

If your Italian friend wants to hop in, I'll be glad to help him out.
  • grandixximo
  • grandixximo's Avatar
Today 12:27 - Today 12:28
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I've used debian 10 11 and 13
I skipped debian 12 this is for internal timing release reasons, not because 12 had anything wrong with it. I did not notice on my hardware considerable differences between debian releases. If you have issues please share your configuration, be clear about the issue, share as much info as you can, and if you are not using my fork code, you most likely HAVE phasing issues. Those maybe effecting OP times, or motion, or nothing, it depends on the hardware. Will update to my fork fix everything? No, most definitely NOT everything, but I am sure phasing will be as proper as it can be on your system, and you will have debug pins to analyze performance which you can share, run halscope and halshow, see the ecat.0.xx pins, so that we can get to the bottom of the issue.
If Scott was still in the game, he would probably merge it and make a release. I would advise everyone to update, and if you have any issue, I will be here or on GitHub for support.
 
TL;DR
My fork does not magically fix all issues, but it does fix some, and gives you pins to benchmark your setup. Please build and install my fork, then test, and share your configuration and test results if you have issues and you want help.
  • rodw
  • rodw's Avatar
Today 12:02

Water depth, slats, and underwater cutting

Category: Plasma & Laser

I think 4" deep is enough even less if you have to. I found best quality was with the water touching the bottom of the plate (to 5mm below) but often evaporation took it down lower. Enable preflow to get air flowing before starting a cut to blow the water away from the torch. Using commercial quench, I only emptied the tray every 6 months or so and just kept topping it up as the active ingredient does not get lost.
  • endian
  • endian's Avatar
Today 11:59 - Today 12:09
Replied by endian on topic Beckhoff BK1120 + KL modules on Linuxcnc

Beckhoff BK1120 + KL modules on Linuxcnc

Category: EtherCAT

Hi everyone,I am trying to get a Beckhoff BK1120 (EtherCAT to K-bus coupler) working with LinuxCNC using EtherLab (ethercat-master) and the linuxcnc-ethercat (lcec) driver.I am running into some limitations and hope someone has experience with this.Setup:

  • LinuxCNC on Debian Bookworm
  • EtherLab master (from openSUSE repo)
  • linuxcnc-ethercat (lcec)
  • NIC: Intel I210 (working fine)
  • Hardware:
    • BK1120
    • KL1104 (digital inputs)
    • KL9010 end terminal


      What works:
      • EtherCAT master is running and stable (Active: yes, Phase: Operation)
      • BK1120 is detected correctly
      • Communication is stable (no frame loss, link up)

        The problem:
        The BK1120 does not expose standard CoE PDOs like typical EtherCAT slaves (for example EL terminals).
        Instead it provides a fixed process image for the attached KL modules.Because of this:
        • Standard PDO mapping via lcec XML does not work (0x6000 etc.)
        • Terminal-based configs (EK1100 + ELxxxx) do not apply to KL modules
        • lcec does not seem to support raw domain access for mapping the BK1120 process image directly to HAL pins

          What I have tried:
          • Generic slave configs with and without PDO entries
          • Attempted raw mappings (not accepted by lcec parser)
          • Minimal configs to bring the master up (works, but no usable I/O)
          • Checking data with ethercat CLI (limited without proper domain mapping)

            Current conclusion:
            • BK1120 with KL modules does not fit well with lcec, which expects PDO-based slaves
            • The data exists, but is not easily exposed to HAL

              Questions:
              • Has anyone used BK1120 with KL modules in LinuxCNC?
              • Has anyone managed to access the process image and map it to HAL pins?
              • Has anyone written a custom lcec extension or used another approach?

                Alternatives I am considering:
Writing a custom HAL component to read from EtherCAT master directly

Userspace polling (not suitable for realtime CNC)

Before I give up on the BK1120, I would like to know if there is a workable solution.Any input, configs or experience would be appreciated.Thanks



For every problem exist solution ... you have K-bus, something like profi-bus 

you need USB to TTL serial communication then open small doors which are for this connection, then you will need buy or made custom cabling for 4x2,54mm pins ...

you need to have KS2000 paid software which will allow to configure your EEPROM of KL1120 for existing/present members of Kbus because they are not self-identifing itselfs ... You will create configuration of whole Kbus members behind KL1120 in KS2000 and every bus member has some lenght of data .. everything in WORDs

then done mapping for ethercat PDOs and each SMs and then you can list your config over terminal build configuration tool ... then create .xml file 

finally you should run some KL stuff with non DC mode without synchronization 
  • rodw
  • rodw's Avatar
Today 11:54
Replied by rodw on topic Estimate program run time

Estimate program run time

Category: Plasmac

Snowgoer- I get what your saying. I've heard enough "Can't you just...?" of my own. I know you can't please everyone, but I'm grateful for all your and everyone else's contributions.

I guess I'll see what I can do with axis. I do appreciate the plasmac statistics.
As a fabricator, most of my quoting involves chicken blood, planetary alignments and bs. I'll let you decide how much of each.

Does anyone quote by inches and pierces?

I think there is a feature in Sheetcam that gives a job time estimate that does it this way. I see, to remember you did define a pierce time. Don't forget to include the phase of the moon!
  • rodw
  • rodw's Avatar
Today 11:44
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I spoke too soon. I've been helping someone in Italy who has 6 Ethercat drives and says:
When run lcnc the drive pdo are read with after some second , respect debian 10 ( is instantanious). On dmesg have slave did not sync after 5000 ms. The same drive with the same xml file not have problem on debian 10. I have test 2 pc, with realtek nic and intel nic , but the problem is the same. How can resolve. This problem is the same on debian 12.

So I assume he' s experiencing this issue and using grandixximo's repo should fix it. Can someone confirm?
Its odd that he says it works on Debian 10. My live machine (since sold) was running Debian 11 so perhaps its a Debian 12 and up issue.
Displaying 1 - 15 out of 284926 results.
Time to create page: 4.337 seconds
Powered by Kunena Forum