Advanced Search

Search Results (Searched for: )

  • mBender
  • mBender
10 Nov 2024 03:13 - 10 Nov 2024 13:59

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

And another interesting thing. The Tang is performing way better as my parallel port! I can go high speed with much more microstepping. The motors sound better, but somehow I hit a wall when I wanted to go higher speeds. I am not sure what the reason for this is. If I run with the Tang, I can go up to 2000mm/min (400rpm on my motors) with my Y axis. No matter if I have 10 or 16 microsteps. If I go over the that speed the motor go for like 50mm than they start sounding weird until one of the 2 motors stalls. I first thought that was a mechanical issue and detached the gantry, but still same behavior. I checked with my osciloscope the output of the Tang, the level shifter, the BOB and finally I measured directly at the drives. All seems good. My drives need 2ns low period before the detect the next raising edge. All I measured was within the tolerance of the drives...

I almost gave up since it seems like independent from the microsteps. Then I tried my parallel port set up again and pushed as much as I could. I had to go down to 10 microsteps again and was able to achieve without the stalling around 2700mm/min. Could not go higher due to cycle time limitations, then I got a joint following error in linuxcnc.

I measured again at the drives and saw that the duty cycle high and low of the parallel port signal are almost equal at 50%. The tang produces 80% 20%. I believe this could be a reason why I can't go higher. Is it possible? and if so, change be changed?

In the picture of the parallel port you can see the jitter. Where the Tang performance is much better!

 
  • Rkatts
  • Rkatts
10 Nov 2024 02:55 - 10 Nov 2024 03:01
Replied by Rkatts on topic Installing ethercat repositories

Installing ethercat repositories

Category: EtherCAT

I tried running the script on a fresh LCNC 2.9.3 install from ISO and encountered a few problems.

2. When running the "sudo apt update" I get this error
E: Conflicting values set for option Signed-By regarding source http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /etc/apt/trusted.gpg.d/science_EtherLab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg E: The list of sources could not be read.
I fixed it by editing the [b]/etc/apt/sources.list.d/science_EtherLab.list, changing "[i]science_EtherLab.gpg.key.binary.gpg" to "[i]science_EtherLab.gpg"[/i][/i][/b]



 


I'm getting this same error.  But when I try to edit the file, it says I don't have permission.
I tried going to that directory and using chmod +x ./science_EtherLab.list, but that didn't work.
How do you edit the file?
nc:/etc/apt/sources.list.d$ chmod +x ./science_EtherLab.list
chmod: changing permissions of './science_EtherLab.list': Operation not permitted
  • mBender
  • mBender
10 Nov 2024 02:30

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I got a step ahead. If start Linuxcnc with the error, open the classicladder editor and load the program again, then close linuxcnc and start it again, classicladder starts with no error for one time! If I close linuxcnc and start it again, it doesn't work and I have to do the same procedure again.

Either way Classic ladder starting or not, the Modbus is still not working, it seems like for whatever reason it does not read the USB to RS485 adapter.

I confirmed, that when I start the old configuration, it starts and starts reading the modbus. Hal Configurations for modbus are in both cases identical.
  • dbtayl
  • dbtayl
10 Nov 2024 02:25

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

Not sure it's a LinuxCNC issue, but I figure the folks here are likely also 'up' on likely hardware/software causes that might be related.

I was machining a pocket this afternoon, and ran into some really weird behavior where everything came out great, EXCEPT the walls on the -Y side of the pocket are over-cut in various ways. The attached image is hopefully clearer than my words (green line shows expected cuts, red line shows actual), but:
  • The wall seems to get progressively more over-cut the further down the wall it goes- stairstep effect shown, with "reverse taper". Hard to measure the depths of the steps but they're big- maybe 0.02"? The very top of the wall is fairly close to on-size.
  • The "notch" out of the otherwise-rectangular pocket is grossly overcut, except at the very end where it joins the larger area, where it's more or less correct. Notably, that should be a straight line, but isn't. The wall is all scalloped from the adaptive roughing- the finish pass didn't even touch it.
  • All the other walls/dimensions look good. The +y wall has about 2 tenths of taper down the ~1" wall, nice surface finish, and the wall thickness is correct. The +X wall similarly measures correctly.
  • The pocket is ~1x5"

The machine is using a Mesa 7i76E card, with 5mm lead ballscrews direct-driven by Clearpath servos. The servos are controlled in quadrature mode. Feedback pins are connected, though I'd have to recheck the math for how far from commanded position they'd have to get before tripping an error. Either way this doesn't obviously scream following error. All axes use linear bearings.

Tool was a YG1 uncoated carbide 3/8" end mill with 1/2" LOC, extended reach with reduced shank and ~2.125 LBS. The cuts weren't super heavy- adaptive roughing with ~2mm stepover, ~8mm stepdown, 7000 RPM, 0.0014 IPT/~29 IPM, leaving 0.1mm for a finish pass. I used air blast + MQL, no signs of chip welding or anything like that.

LinuxCNC is 2.10 from Git, grabbed... 6 months or so ago- probably should have used the 2.9 release, but for whatever reason I didn't. Compiled from source on Arch Linux. Machine is offline, so no updates to have changed anything/messed things up.

I reviewed the gcode coordinates manually and also viewed it in multiple different viewers. It looks entirely correct.

Any thoughts? Has there been a known trajectory bug in LinuxCNC I haven't found reference to? Does this sound like some kind of Ethernet/Mesa comms/latency/disconnect issue? Hardware problem? Nothing I've come up with seems to fit the data. I'm perfectly happy to try running updates/move to LinuxCNC 2.9.x (and probably will), but I like to have assignable causes to problems.

Let me know if there's any more detail I can supply, and THANK YOU!
  • Rkatts
  • Rkatts
10 Nov 2024 01:59

Ethercat installation from repositories - how to step by step

Category: EtherCAT

This seems to have fixed the permissions.
nc:~/Downloads$ chmod +x ecat.sh

Then ran:
nc:~/Downloads$ sudo ./ecat.sh
[sudo] password for aa:
requires sudo to run eg: sudo ./ecat.sh
Install ethercat repository
--2024-11-09 19:52:41--  https://build.opensuse.org/projects/science:EtherLab/signing_keys/download?kind=gpg
Resolving build.opensuse.org (build.opensuse.org)... 195.135.223.221, 2a07:de40:b250:131:10:151:131:20
Connecting to build.opensuse.org (build.opensuse.org)|195.135.223.221|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘STDOUT’

-                                [ <=>                                        ]   1.08K  --.-KB/s    in 0s      

2024-11-09 19:52:42 (28.1 MB/s) - written to stdout [1109]

1+1 records in
1+1 records out
733 bytes copied, 0.608919 s, 1.2 kB/s

Tried again from the start.
nc:~$ sudo apt update
E: Conflicting values set for option Signed-By regarding source http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /etc/apt/trusted.gpg.d/science_EtherLab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg
E: The list of sources could not be read.

Any ideas?
 
  • spumco
  • spumco
10 Nov 2024 01:17

[SOLVED] Rigid tapping problem - tristate_bit and index-enable?

Category: General LinuxCNC Questions

I recall you (i think it was you) having issues with carousel component and/or orient, not sure exactly, so if this is the same thing here it would be nice to also update that topic, if not = i will retreat in my comfy chair and continue reading/watching.
 

What I'll do is go back and update all the 500 or so threads I started and point to a single 'Show Your Stuff' post with updated config and pics.

Soon as everything is working, of course.
  • Rkatts
  • Rkatts
10 Nov 2024 01:10

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Pleas follow this sticky
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories
 

I created a file in my Downloads folder named ecat.sh.  I entered the following content (copied directly from our attachment) and saved it.
#!/bin/bash
echo "requires sudo to run eg: sudo ./ecat.sh"
# Removing old repo if it exists
if [ -e /etc/apt/sources.list.d/ighvh.sources ]
then
    echo "removing ethercat repository file\n"
    rm /etc/apt/sources.list.d/ighvh.sources
fi
# Install ethercat repositories.
echo "Install ethercat repository"
mkdir -p /usr/local/share/keyrings/
wget -O- https://build.opensuse.org/projects/science:EtherLab/signing_keys/download?kind=gpg | gpg --dearmor | dd of=/etc/apt/trusted.gpg.d/science_EtherLab.gpg
tee -a /etc/apt/sources.list.d/ighvh.sources > /dev/null <<EOT
Types: deb
Signed-By: /etc/apt/trusted.gpg.d/science_EtherLab.gpg
Suites: ./
URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/
EOT

Navigated to my Downloads folder and ran the script.
nc:~/Downloads$ sudo ./ecat.sh
sudo: ./ecat.sh: command not found

What am I missing?
  • Rkatts
  • Rkatts
10 Nov 2024 00:42

Ethercat installation from repositories - how to step by step

Category: EtherCAT

I am using kernel:
nc:~$ uname -r
6.1.0-23-rt-amd64

I'm assuming this came with the LinuxCNC 2.9.3 install.
  • Rkatts
  • Rkatts
10 Nov 2024 00:38

Ethercat installation from repositories - how to step by step

Category: EtherCAT

"If you have Secure Boot enabled (can be checked with mokutil --sb-state),..."
nc:~$ mokutil --sb-state
EFI variables are not supported on this system

 
  • PCW
  • PCW's Avatar
10 Nov 2024 00:37
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Could also be an almost dead short on the 3.3V rail.
If you have a lab supply you could set it to 3.3V,connect
it to the 3.3V rail and ramp up the current to see what
part(s) get(s)s hot.

Where are you located?
  • Rkatts
  • Rkatts
10 Nov 2024 00:29

Ethercat installation from repositories - how to step by step

Category: EtherCAT

So I ran the following and still failed.
nc:~$ sudo apt install ethercat-master libethercat-dev linuxcnc-ethercat
[sudo] password for aa:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed: autoconf autoconf-archive automake autotools-dev ethercat-dkms libethercat libltdl-dev libtool m4
Suggested packages: gnu-standards autoconf-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc
The following NEW packages will be installed: autoconf autoconf-archive automake autotools-dev ethercat-dkms ethercat-master libethercat libethercat-dev libltdl-dev libtool linuxcnc-ethercat m4
0 upgraded, 12 newly installed, 0 to remove and 126 not upgraded.
Need to get 2,444 kB/5,394 kB of archives.
After this operation, 86.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y
Err:1 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-dkms 1.6.0.g8330bca-1+3.1 404 Not Found [IP: 195.135.223.226 80]
Err:2 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.0.g8330bca-1+3.1 404 Not Found [IP: 195.135.223.226 80]
Err:3 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ libethercat 1.6.0.g8330bca-1+3.1 404 Not Found [IP: 195.135.223.226 80]
Err:4 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ libethercat-dev 1.6.0.g8330bca-1+3.1 404 Not Found [IP: 195.135.223.226 80]
Err:5 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.39.0.g4299f7a-0 404 Not Found [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/all/ethercat-dkms_1.6.0.g8330bca-1%2b3.1_all.deb 404 Not Found [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/amd64/ethercat-master_1.6.0.g8330bca-1%2b3.1_amd64.deb 404 Not Found [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/amd64/libethercat_1.6.0.g8330bca-1%2b3.1_amd64.deb 404 Not Found [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/amd64/libethercat-dev_1.6.0.g8330bca-1%2b3.1_amd64.deb 404 Not Found [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/amd64/linuxcnc-ethercat_1.39.0.g4299f7a-0_amd64.deb 404 Not Found [IP: 195.135.223.226 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 
  • mBender
  • mBender
10 Nov 2024 00:23

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I am trying to get Classicladder to work. When I start the machine, I get the following error. I can confirm that Classic Ladder on the same PC in my old LinuxCnc configuration (parallel port instead of FPGA) works. I even tried to copy all the classicladder lines from the parallel port .hal file, but still get the same error.

Shared memory conflict or RT component not loaded!
ERROR CLASSICLADDER- Ladder memory allocation error
  • juliankoenig87
  • juliankoenig87
10 Nov 2024 00:02
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Ok. To me it looks like that the voltage regulators are fried. Maybe an overvoltage damage.
  • Adam_C
  • Adam_C
09 Nov 2024 23:42
Displaying 18391 - 18405 out of 24130 results.
Time to create page: 0.425 seconds
Powered by Kunena Forum