Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
29 Jun 2024 13:32

Error: Unexpected realtime delay on task 0 + Watchdog has bit!

Category: Advanced Configuration

36 s32  RW  3890184        hm2_7i90.0.write.tmax

Means the SPI write to the FPGA took almost 4 ms.
As I mentioned before, this likely means that the
Orange PI's kernel SPI driver is not capable of
real time operation.
  • JT
  • JT's Avatar
29 Jun 2024 11:50
Debian 12 RTAI was created by JT

Debian 12 RTAI

Category: Installing LinuxCNC

I installed a generic Debian 12 then installed
www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb

When I try and run LinuxCNC the config picker just freezes up. Latency is crazy good...

When I try and run the testsuite I get
john@rtai:/usr/realtime-5.4.258-rtai-amd64/testsuite$ pwd
/usr/realtime-5.4.258-rtai-amd64/testsuite
john@rtai:/usr/realtime-5.4.258-rtai-amd64/testsuite$ sudo /usr/realtime-5.4.258-rtai-amd64/testsuite/display
[sudo] password for john:
CANNOT FIND MAILBOX
john@rtai:/usr/realtime-5.4.258-rtai-amd64/testsuite$ sudo /usr/realtime-5.4.258-rtai-amd64/testsuite/latency
CANNOT CREATE MAILBOX
john@rtai:/usr/realtime-5.4.258-rtai-amd64/testsuite$ sudo /usr/realtime-5.4.258-rtai-amd64/testsuite/run
.runinfo is /usr/realtime-5.4.258-rtai-amd64/testsuite/.runinfo
RTAI loaded.
Unloading modules...
Running rmmod on /usr/realtime-5.4.258-rtai-amd64/testsuite/.runinfo...
rmmod: ERROR: Module rtai_msg is not currently loaded
rmmod: ERROR: Module rtai_mbx is not currently loaded
rmmod: ERROR: Module rtai_sched is in use by: rtapi
rmmod: ERROR: Module rtai_hal is in use by: rtapi rtai_sched
All RTAI modules unloaded.
Running insmod on /usr/realtime-5.4.258-rtai-amd64/testsuite/.runinfo...
insmod: ERROR: could not insert module /usr/realtime-5.4.258-rtai-amd64/modules/rtai_hal.ko: File exists
Error inserting rtai_hal.ko
CANNOT CREATE MAILBOX
CANNOT FIND MAILBOX
Cleaning up...
rmmod: ERROR: Module rtai_msg is not currently loaded
Error removing rtai_msg.ko

Anyone have an idea what I missed?

JT
 
  • Hossein74Majidi
  • Hossein74Majidi
29 Jun 2024 11:15

Error: Unexpected realtime delay on task 0 + Watchdog has bit!

Category: Advanced Configuration

Hey guys
I still have problem. With lots of searching and trying out and talking with some of friends, I think it might be the SPI that have the realtime issue not the os kernel. Please help me to get through this.
I'm still getting these 2 errors:
"Unexpected realtime delay on task 0 with period 1000000. This message will only display once per session. Run the latency test and resolve before continuing."
"hm2/hm2_7i90.0: Watchdog has bit! (set the .has-bit pin to false to resume)"
The watchdog error doesnt show up in a regular timing. but  in every session it will definitely happen.
 
  • BHar
  • BHar
29 Jun 2024 11:11
Replied by BHar on topic VFD setup help

VFD setup help

Category: Milling Machines

Well, I better bow out, you sound quite sure that your motor speed is voltage-dependent not hz/poles like an AC induction motor.
Might be worth throwing some info on the motor up here - surely someone in the linuxcnc community has used a similar unit.
  • CNCGOOS
  • CNCGOOS
29 Jun 2024 10:00 - 29 Jun 2024 10:04
Replied by CNCGOOS on topic Duplicate settings in Pref File

Duplicate settings in Pref File

Category: Gmoccapy

It by me also stil happening.
with the same strange interval. i will look if there is by mee also a connection whenn jobs ar ready.

By me was the first time after opdating to 2.9
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:54
Replied by andypugh on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

Did you change the microstepping number? 1.9 just doesn't make sense.

1.016 is the ratio between 5tpi and 5mm pitch. Maybe the leadscrew isn't the pitch you think it is?
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:45
Replied by andypugh on topic disable run button if door open

disable run button if door open

Category: AXIS

I no longer get errors but it still doesn't work, my pin axisui.run-disable remains on false while my input hm2_7i97.0.inmux.00.input-11-not works fine


I think that probably means that the postgui HAL file isn't being executed. Did you add the postgui file to the [HAL] section of the INI file?
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:36
Replied by andypugh on topic CNC lathe help

CNC lathe help

Category: Turning

USB to Serial isn't relevant here. I think that plug is intended for transferring G-code to the controller, not for machine control.

USB to parallel won't work either.

Do you have a PC with a physical parallel port? (some have one as headers on the motherboard, but don't connect it to the rear panel)

You could also consider using a Raspberry Pi 4 (not 5 at the moment) but there isn't a config wizard for the Pi GPIO pins.
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:19 - 29 Jun 2024 09:20
Replied by andypugh on topic REMAP M6 ERROR

REMAP M6 ERROR

Category: AXIS

Is there any more? This doesn't get as far as reporting the actual error.
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:18

Linuxcnc ignore stored position for specifix axis

Category: Advanced Configuration

There might be a way to do what you want, but I am not sure how.

What happens if you remove the reference to A from the position.txt file before you restart LinuxCNC?

You can almost certainly do his by creating a custom homing routine, but I would hope that there is a simpler way than that,
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:12

About the Fusion360 mill-turn machine's post processor for linuxcnc.

Category: Fusion 360

I think that I have looked into this in the past, and found that it was fairly easy to change the postprocessor file based on the results of a Google search.

What is the problem? Is it that the postprocessing fails when you try to create the G-code?
  • andypugh
  • andypugh's Avatar
29 Jun 2024 09:04 - 29 Jun 2024 09:06

Docs -1.1 Apt Sources Configuration Table 1 - Repository Error?

Category: LinuxCNC Documents

The best way to report an error in the docs is to raise an issue at:
github.com/LinuxCNC/linuxcnc/issues

But there is no need to do that here, as I just fixed it.

Thanks for the correction.
  • andypugh
  • andypugh's Avatar
29 Jun 2024 08:53
Replied by andypugh on topic MPCNC help with Homing switches on LPT board

MPCNC help with Homing switches on LPT board

Category: Basic Configuration

In Stepconf you can only pick one function for each parallel port pin, but that doesn't mean that LinuxCNC doesn't support it.

Create a config with Z-home not allocated, then when the config is finished, edit the HAL file by hand.

You will see a line looking something like:
net home_Y2 parport.0.pin-12-in joint.3.home

Edit that to say
net home_Y2 parport.0.pin-12-in joint.3.home joint.4.home

If you want you can also change the signal name (home_Y2) to something that makes more sense to you.

Also, I am guessing the joint-to-axis allocations, so the numbers above might not be right. Adapt the numbers to suit your actual config.
  • ihavenofish
  • ihavenofish
29 Jun 2024 07:05
Replied by ihavenofish on topic VFD setup help

VFD setup help

Category: Milling Machines

Soooorta.

So the drive needs to be 135v or it will toast the spindle. BUT, you are 100% right in that lowering the voltage has some some sort of math and reduced the power.

After working with the drive support people, we did a few things. ! was to boost the carrier frequency to 16khz. this reduced current a lot (over an amp at load). Then we upped the voltage bit by bit until we found a compromise where it is no longer bogging down, but also not getting more than slightly warm. Idles at 2.1A now.

As a result, I have about 600w usable power at 5A draw, no bogging down, and it's "fine" for now, until I can wrangle a high speed drive.
  • ihavenofish
  • ihavenofish
29 Jun 2024 06:52 - 29 Jun 2024 08:11
Replied by ihavenofish on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

just subscribing to this thread...

Anyone tune these up yet and move a machine? Very curious to see how they perform. When you factor cables and psus, these come out even cheaper than JMC integrated servos, and less than half of delta b3s, so id lover to see how they actually perform.
Displaying 24811 - 24825 out of 26040 results.
Time to create page: 0.520 seconds
Powered by Kunena Forum