Advanced Search

Search Results (Searched for: )

  • Shu
  • Shu's Avatar
Today 11:28 - Today 11:34

Wanted: used Mesa 7i77 family card in Europe

Category: User Exchange

I might have one in my spare parts drawer, I'll check when I'm in the shop.
Pick it up in Berlin or send me your address at shu at admin dooot world
  • Shu
  • Shu's Avatar
Today 11:24
Replied by Shu on topic End Mill Break Recovery Options?

End Mill Break Recovery Options?

Category: General LinuxCNC Questions

I have done it in the past manually, it's not trivial. Best way is to edit the g-code and reload, trim away everything after the preamble to the last plunge move.

It's not possible to just resume the file from the point it ended as that is most probably right in the workpiece without a safe direct line from the tool height probe position. So we need at least a safe ramp/plunge movement. And the preamble needs to run again, to use the correct tool height offsets, tool diameter compensation, bring the spindle up to speed...

I don't think there can be a generic resume-at-position for this that fits all. Some tools that have a certain orientation or don't enter the workspiece colinear to the spindle, e.g. t-slot cutters, profile cutters in general, taps. And then there's five axis machines.
  • mediocre_chloride
  • mediocre_chloride's Avatar
Today 11:09
Replied by mediocre_chloride on topic XML Settings for EC1-57E

XML Settings for EC1-57E

Category: EtherCAT

Have you checked the digital inputs? 
there is origin and pos/negative limit set as default functions for the digital input. If the limits are setup for NC wiring and nothing is connected, it might become an issue
  • rodw
  • rodw's Avatar
Today 11:06

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

Where is it called from and what does the code around it do? send a URL into github
I don't think it can simply be  ignored.
  • tuxcnc
  • tuxcnc
Today 10:43
Replied by tuxcnc on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

void RtapiApp::unexpected_realtime_delay(rtapi_task *task, int nperiod) {
    static int printed = 0;
    if(!printed)
    {
        rtapi_print_msg(RTAPI_MSG_ERR,
                "Unexpected realtime delay on task %d with period %ld\n"
                "This Message will only display once per session.\n"
                "Run the Latency Test and resolve before continuing.\n",
                task->id, task->period);
        printed = 1;
    }
}
The code above displays message only once.
This may mean either a serious problem or a one-off event with no impact on further work.
This, in turn, means that this message says nothing, warns against nothing and is unnecessary.
The right thing to do is to run latency-test or latency-plot for a few hours immediately after installation, which will clearly answer the question whether the hardware and software can be used safely.
  • rodw
  • rodw's Avatar
Today 10:16

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

"Unexpected realtime delay on task" means that linuxcnc did not get everything done in the allotted 1ms time of the servo thread. This is nothing to do with the LinuxCNC application.

In kernel traces I did a long time ago on an i5 machine with Bookworm, Linuxcnc typically took 200 us to execute the servo thread and sleeps for the remaining 800 us. That 800 us is the safety buffer for real time tasks. Sometimes there is a Linux task that consumes a lot of the  CPU time which impacts on the servo thread and LinuxCNC does not have enough time to get everything done in time. Then the system reports the realtime delay and generally disables linuxcnc (so long since I have experienced this myself I can't remember). There are many possible tasks that can cause this.

One new source I found this week is that if the wifi has poor signal strength, a NetworkManager task fires looking for any stronger wifi signals every 30 seconds or so and causes a latency spike every 34-36 seconds. Because CNC machines are not generally wandering the aisles of a corpporate workspace, its a no brainer (and safe)  to disable this service. Linux obligingly provides an obscure process to do that.... Don't ask me what it is, I've forgotten already.
  • cgrobi
  • cgrobi
Today 10:06
Replied by cgrobi on topic XML Settings for EC1-57E

XML Settings for EC1-57E

Category: EtherCAT

Addendum:
I took a deeper look (again) into the datasheet of the motor driver. There is a green LED that flashes at a rate of about 2s. According to the datasheet, this means, that the motor power is still off. When the power is on, this LED should light up constantly without flashing.
Reading the statusword of the driver shows a value of 0xb094. According to the cia402 specification, Bits 3, 5 and 7 are 1. This means OP is enabled, quick stop is active and there seems to be a warning. Maybe this is helpful.
Greetings 
  • tommylight
  • tommylight's Avatar
Today 10:06
Replied by tommylight on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

.... or it is called at the wrong moment (LinuxCNC starts and maybe something jams, but only then and only once).

Usually the call to OpenGL subsystem used by Gremlin will do this, more often with NVIDIA graphic cards and some integrated Intel ones.
Despite bumping into this occasionally, i could never invest more time in finding the exact issue is/was.
Gremlin is the tool path preview used on some LinuxCNC GUI's
  • tuxcnc
  • tuxcnc
Today 09:55
Replied by tuxcnc on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

Once again.
Many times I had the problem with the "Unexpected realtime delay on task" message, which meant nothing and only annoyed the user because neither latency-test nor latency-plot showed anything wrong.
This has nothing to do with compiling LinuxCNC yourself, except that compiling it yourself allows you to disable this message.
As for the message itself, I suspect that either the procedure displaying it is bad, or it is called at the wrong moment (LinuxCNC starts and maybe something jams, but only then and only once).
  • RLA
  • RLA
Today 09:44
Replied by RLA on topic 5 axis tool offset

5 axis tool offset

Category: CAD CAM

Like pic attached..
  • cgrobi
  • cgrobi
Today 09:42
Replied by cgrobi on topic XML Settings for EC1-57E

XML Settings for EC1-57E

Category: EtherCAT

Thank you, guys, for your help! I appreciate that. 

I tried Rod's advice and got an xml part with the needed registers. This seems like a bit of progress. I took the needed parts from the auto-config.xml file and copied them to my own ethercat-conf.xml (slave ID 3). However, I tried adapting my hal file for the A axis (for which the driver is for) similar to the servo drives I already integrated, but was not able to get any reaction of the stepper motor that was connected on the stepper driver. It's a closed loop motor, but to exclude possible errors, I switched the driver to open loop mode for now. I tried reading some registers back with the ethercat read_register command and the values seem to be valid so far. The driver is in OP mode. But I assume, I've done something wrong in my hal file. If I try to move the A axis, the motor doesn't turn in any way. After some (theoretical) distance after pressing the A+/A- button in LinuxCNC, I get a joint following error. I'm not sure, if the PC really is talking to the stepper driver. If I try to move the axis, I would assume the target position register is updated somehow. But if I read the register value using the ethercat read_register command, I always get the same number.
Could you please do me a favor and have a look at my files I attached? Is there a possibility to guess the problem? I'm quite confident, that I may get everything I need for my machine to work. The A axis is the only missing piece. I don't want to integrate another controller like the PoKeys57CNC I have laying around. Ethercat is a really nice solution.
Thank you very much.

Christian
  • tommylight
  • tommylight's Avatar
Today 09:38
Replied by tommylight on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

The biggest issue is not using the dkms drivers with realtek NIC's. Try to always use Intel NIC's.

Those will cause the "error finishing read", not latency error, so for now do not bother with it, see here:
forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity
  • rodw
  • rodw's Avatar
Today 09:23 - Today 09:26

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

Its nothing to do with building LinuxCNC. As time goes on, the hardware manufactuters add more power saving features which induce latency so it takes more work to get it under control. Trixie is no worse than Bookworm. The biggest issue is not using the dkms drivers with realtek NIC's. Try to always use Intel NIC's. I've covered this and other steps in a few videos over the last 12 months or so on my YouTube channel.
  • tuxcnc
  • tuxcnc
Today 08:44
Replied by tuxcnc on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

I assume you have installed the RT kernel...
As for the error message that appears immediately after starting LinuxCNC, I have been blocking it for a long time (I always compile LinuxCNC myself).
I suspect that the cause of this error is the procedure for checking it.
I reported it once, but no one was interested.
Anyway, the message was almost always displayed, but latency-test or latency-plot didn't show anything alarming...
Displaying 1 - 15 out of 288706 results.
Time to create page: 4.862 seconds
Powered by Kunena Forum