Advanced Search

Search Results (Searched for: )

  • JuFu
  • JuFu
18 Feb 2025 19:19

gmoccapy - tool change and edge finder do not work

Category: Gmoccapy

Hallo, I installed LinuxCNC 2.9.4 with gmoccapy 3.4.8 on my 3 axis mill (router).
While I can operate (home all 3 axis and move manually and by NC program) the tool change (and measurement) does not function.
When I click on the edge finder button at the bottom of gmoccapy screen, nothing happens.

I would like to debug and find out what's wrong on my setup.
How can I trace what gmoccapy is doing? What should it do when I click the edge finder icon?
Does gmoccapy call a macro? or another program to execute?
Hope for help
Juergen
  • COFHAL
  • COFHAL
18 Feb 2025 19:16
Replied by COFHAL on topic AX58100

AX58100

Category: EtherCAT

In the firmware the stepgen scale JOINT_1_SCALE is defined at 100. I put that value in STEP_SCALE in the ini file and the speed is no longer limited nor does it give me a following error. I don't know if I'm wrong but the value of STEP_SCALE in the ini file is determined by the value programmed in StepGen3.h. Or I don't understand what the value JOINT_X_SCALE refers to.
  • webbyguy
  • webbyguy
18 Feb 2025 19:15
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

Thank you for the reply. I had done 7.2.3 and 7.2.4.

I'll start over and try again., but let me see if I have the correct steps, because I think I'm either doing something extra, or leaving something out.

linuxcnc.org/docs/html/getting-started/g..._installing_linuxcnc

I do the following:
*All of step 1 (Download the image)
*All of step 2 (Write the image to a bootable device)
*All of step 4 (Installing LinuxCNC)
(This all worked to here, as I can boot from my hard drive.)
* Do I do 7.1.3? (There are 2 7.1.3, so this is the first one with apt update and dist-upgrade)
*I assume I skip 7.1.1, as I don't want the rt kernel anyway. (sudo apt-get install linux-image-rt-amd64) Correct?
*uname -v shows the preempt-rt at this point.
*Do 7.1.3. Remove the original non-rt linux-image. (Or should this come after installing linuxcnc from 7.2.3 and 7.2.4?)
*Do 7.1.4 (Linux Archive Signing Key) - This seems to create problems with apt later on for me.
*I assume I go to 7.2.2 next, but I'm not sure what it is telling me to do. I think I haven't installed the RTAI kernel yet, but here it says if RTAI is detected it will stop before installing any packages. Thus, I'm not sure what I'm doing with this step.
*Do 7.2.3. (apt-get update)
*Do 7.2.4 (install linuxcnc) This is where i was getting "conflicting values" if I had run the linuxcnc-install.sh script and not removed its changes from the sources list.
  • fziepiela
  • fziepiela
18 Feb 2025 19:13
Replied by fziepiela on topic SOLVED Cant run created stepwizard file

SOLVED Cant run created stepwizard file

Category: General LinuxCNC Questions

Pi 5 running version Linuxcnc 2.9.4 using Byte to Bot Parallel Hat, isn't supporting hal_gpio. Switched to older version 2.9.1 everything works fine.
Once i configured my hal file I would get an error: GPIO pin 26 could not be found.
here is the older version the works for me.
rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img
  • denhen89
  • denhen89's Avatar
18 Feb 2025 19:09

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Thanks for your reply Tommylight.
On tomorrow or in 2 days i will tell you the exact version, but i remember it was Kernel 6.3. rt something..
Hypethreading option is not available in Bios. 
This PC was working perfectly fine with Wheezy and Linuxcnc 2.8.x . I also remember that i reinstalled wheezy and tested the machine after first latency problems on Debian12 and there were not problems. So, problems started 100% since Debian12.

I can not justify breaking a perfectly working machine for OneDrive even with a gun pressed to my head

100% right, but i was forced to do so, because my SSD card broke. I remember that Linux didnt started anymore, from one day to another. 

Short history:
At the beginning of my cnc experience i used a USB stick to tranfer files, but someday i got the ethernet working (it was maybe 2018 or so). Since then i used Email or if i had a lot of files then i used USB stick because i remember that the Browser was very slow, which was very annoying for multiple files.
I did it that way for couple of years (its a hobby machine, not using it every day)until i thought that it would be a lot more comfortable and quicker to have them on a server or share the files on the windows pc. I dont know if i used Samba to setup file sharing, but i believe so. This has worked mabye for 1-2 month. Suddenly it did not work anymore and i could not fix it. Then i thought about OneDrive, because i have used it already for other things. I managed to get it working and i had a OneDrive folder on the Desktop, so i somehow installed it on Linux. This worked super well, but also just for couple of month. From one day to another it stopped working. Browser did also not anymore work. It was not supported anymore or so. Of course i have tried to fix it by installing a different browser, but nothing worked and shortly after my SSD broke. No joke.
So, i think you can imagine how pissed off i was. The amount of time i have already spent with fixing linux problems is unimagineable , so i am already a bit allergic to it. 
It is like this:
1. You try installing a different browser for Linux, so you google it with the correct Linux version/kernel version.
3. You find a tutorial and first step says: Open Terminal and copy past this "xadsasddadqd" command.   
4. FAIL, because xxxx1 is missing.
4. You look for a tutorial to install xxxx1
5. For this you unfortunately need also "xxxx2"
6. .... and so on
This is how it was with the wheezy version. Problems after problems and i just wanted to use Linuxcnc, have one app like mousepad and ethernet browser or some kind of file sharing setup. But just for those things i had to make a lot of fixing work. 
I believe with Debian12 there are not this kind of problems anymore, but now my LATENCY is fuxxed up.. 
The funny thing is, i always loved to do some computer fixing stuff, solving problems, tweaking etc. but Linux managed to make me hate such things. 

***FOR ALL BEGINNERS WHO ARE READING THIS:  Its not about LinuxCNC! LinuxCNC is working perfectly and always was working perfectly, also i have LinuxCNC on my Lathe with Mesa 7i76e and its working perfectly!   If i would start my Linuxcnc experience from Debian 12, i would now only need to get the Latency fixed, nothing else. The previous versions i had (wheezy) were for sure versions specific for Linuxcnc, with only those things installed that are needed to start LinuxCNC, thats why i had so many problems and bad experience.

Okay, enough for today. I wait for the Radeon VGA and try then if it works. If not, i think i just buy the Mesa card, because going back to wheezy is, i believe, no option for me. Maybe its possible to get file sharing to work on wheezy, but i dont want to even anymore tried it, because if i do, i will again sit 12 hours in the workshop trying to install Samba, and the 127 other things that are needed  while my hands are freezing. (someone i always have Linux problems in wintertime)
  • Tniejadek
  • Tniejadek
18 Feb 2025 19:06
Replied by Tniejadek on topic hot wire cutting

hot wire cutting

Category: General LinuxCNC Questions

I converted the controller of an old plotter that was burned out. By trial and error method we managed to get it working.
 I use 0.3mm kanthal wire.The length of the wire is 1.5 meters.
 It does not break very often but it is almost always the least appropriate moment when cutting large files.  And my works can be cut even 1,5 h. I use styrofoam for initial molds for plaster decorations.  (Maybe a little from exaggerated economy I use it too long).
I don't know the tension force of the wire and it will be difficult for me to measure it.
I don't know the temperature of the wire either, but I know that with the hardest materials in the dark it doesn't glow. At least that's the setting I use.
The wire is powered by 90V.
I have the PWM set to 100Hz.
Whether the control is needed I don't know now I work without it, but in the old machine it was and sometimes I saved a large piece of material.
I am also attaching two photos from the manufacturer's website of my own now I don't have until the weekend I will be in the workshop.   

Translated with DeepL.com (free version)
  • tommylight
  • tommylight's Avatar
18 Feb 2025 18:46
Replied by tommylight on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

See section 7.2 on the link you provided, did you try step 3 and 4?
  • webbyguy
  • webbyguy
18 Feb 2025 18:32
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

Thanks tommylight,

I'm trying to install the RTAI version of the kernel, but I'm having no luck.  I'm not sure where I'm going wrong.

I installed from the linuxcnc_2.9.4-amd64.hybrid.iso .

So I think I covered Step 1 of 7.2 in the instructions at linuxcnc.org/docs/html/getting-started/g..._installing_linuxcnc

From there I did step 4 of 7.1, but that causes an issue with "Conflicting values".

I tried (forum.linuxcnc.org/9-installing-linuxcnc...-kernel-on-debian-12), but with 2.9.4:

Try just installing the Linuxcnc package, after removing the docs package

wget linuxcnc.org/dists/bookworm/2.9-rt/binar...xcnc_2.9.2_amd64.deb

sudo apt install ./linuxcnc_2.9.2_amd64.deb

The issue is with the docs package, which isn't really required for a basic install.

But, it appears there is no 2.9.4 version.  So I tried 2.9.3, but that is giving me all kinds of errors.

First is there a 2.9.4 version of the RTAI kernel?
If not, should I have tried to install from the 2.9.3 iso instead?
 
  • royka
  • royka
18 Feb 2025 18:14 - 18 Feb 2025 22:21
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

For the rockpro 64 the first 2 cores (0,1) are the faster ones. To move the RT processes to cpu1, you can run this script as root (rename to prio.sh)
 

File Attachment:

File Name: prio.txt
File Size:1 KB


This was the rt kernel I made for the rk3399 back then:
drive.google.com/drive/folders/12VfNmKC3...zaNAk2EN5sHDfeCnnzYX
Maybe you've more luck with using the script (don't forget to hit the reset button in latency-histogram after running the script.)

With the Orange Pi 5 plus, when I split the processes to core 5 and 7 with the script above the latency with base thread is better with Linux 6.13
 
  • beauxnez
  • beauxnez
18 Feb 2025 17:57

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hi no you use a stlink (the green one on the video) to flash a second stlink adapter (the blue one on the video), 
then you take the key that you flashed (the blue one) you connect it to a pc and you use PYOCD with the command pyocd flash .\remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi as in the photo


youtube.com/shorts/kLOyWslSZU0?si=C3GMQaH--oAvvTZk

 
  • JT
  • JT's Avatar
18 Feb 2025 17:48

Replacing Anilam 5000M - Recomendations?

Category: General LinuxCNC Questions

I leave the spindle in high gear and usually just run the spindle at 1800 and use the dial to tweak the speed. I put an encoder on the spindle so I "can" but haven't used that to get spindle speed but I do use it for rigid tapping.

There's some photos of it here gnipsel.com/images/bp-knee-mill/

JT
  • tommylight
  • tommylight's Avatar
18 Feb 2025 16:34

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Did you install the RTAI kernel and the corresponding RTAI version of LinuxCNC as explained on the Downloads page?
Did you disable hyperthreading in the BIOS?
-
You can run the machine even if you get latency warnings, but do not do production parts, decorative stuff will mostly be OK, but that is very dependent on how bad the latency excursions are.
-
A friendly advice:
I can not justify breaking a perfectly working machine for OneDrive even with a gun pressed to my head, hell i can not justify using OneDrive even if they payed me, but that is me.
Given the huge amount of options for transferring files:
- from setting up your own servers (not easy and please for goods sake do not use Docker and such stuff for it)
- use whatever you use on your phone, like WhatsApp or Signal or Telegram, not Viber or WeChat or Tango or .....
- use a normal e-mail , should have put this first, make e-mails for each machine and leave them logged in
- If you already have google e-mail, use google for everything
-
Telegram can be made to control the machine remotely, total control, just have a look at telegram boot for 3D printers.
All that without opening ports and security risks and ...
  • chowderhead
  • chowderhead
18 Feb 2025 15:54
Replied by chowderhead on topic Replacing Anilam 5000M - Recomendations?

Replacing Anilam 5000M - Recomendations?

Category: General LinuxCNC Questions

Thanks, JT, especially for turning me onto the GS2, which I guess is now the GS20 series. Do you leave the manual spindle speed control set at high speed/maximum rpm? I'm guessing the analog or frequency output from the VFD can be wired to the Mesa board to display spindle speed on LCNC?
  • denhen89
  • denhen89's Avatar
18 Feb 2025 14:56

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Thank you very much for the informative reply.
Update:
I cannot get the latency below 40.000 (3 x glxgears, 3 x youtube video running), so if i set base_period 35000 in the ini file, then i get a unexpected delay on start up, but the machine works well now and does not loose steps.

I have again played arround with the Bios settings for at least 4-5 hours, but something came to mind: The VGA, which is a old Nvidia card. I tested with a other card, a old Geforce card, but about the same result. Unfortunately i dont have a Radeon card to test, but i just ordered a AMD Radeon HD 7450 1GB DDR3 card for about 10€. In 2 days i will be able to test it. If nothing changes to better, then i think i will buy the 7i92T. (thanks for the suggestions)

I will update in 2 days.
Thanks and best regards.
  • Meichinger
  • Meichinger
18 Feb 2025 14:50 - 18 Feb 2025 15:03
Replied by Meichinger on topic systematic drift on arcs

systematic drift on arcs

Category: General LinuxCNC Questions

Hi,
thanks to all for the suggestions!
did several checks today
  1. start vs end positon -> 1.3 mm positive error on both axis -> accumulated error on both axis
  2. checked step pulse width = base period 
  3. mechanical test -> turned motors by hand while keep high resistance on the Z-axis plate -> everything feels rock solid with no observable backlash
  4. tuning servos -> I use the T3D servodrive von HLTNC, did  several tests with different filter and timing values -> unchanged
  5. something very strange did happen also today... by accident I run a testprogramm with 12.000 mm/min -> the circle was perfectly straight :O
still to do -> check electrical connections as Peter mentioned.
 
Displaying 18796 - 18810 out of 19194 results.
Time to create page: 0.459 seconds
Powered by Kunena Forum