Advanced Search

Search Results (Searched for: )

  • Paul66
  • Paul66
10 Nov 2024 09:23

Run LinuxCNC, but terminated with an error

Category: General LinuxCNC Questions

I got an error message when I ran LinuxCNC two weeks ago."LinuxCNC terminated with an error. When reporting problems, please create a report file and include in your message."Previous Sunday I try LinuxCNC again for my weekend project, ran successfully without any error message.Today Sunday I run LinuxCNC again, but the error message appears again. Thanks for any suggestions.
  • Aciera
  • Aciera's Avatar
10 Nov 2024 06:48
Replied by Aciera on topic Configure the vfdb_vfd driver for direction

Configure the vfdb_vfd driver for direction

Category: Basic Configuration

Sounds like you need to change the 'spindle.0.speed-out..-abs' pin in your hal file to the non absolute variant:

 
  • darrylb123
  • darrylb123
10 Nov 2024 06:44

Configure the vfdb_vfd driver for direction

Category: Basic Configuration

I am trying to get the vfdb_vfd MODBUS driver working for reversing (M4) . It is otherwise working. Linuxcnc expects some forward/reverse pins but (looking at the source code) vfdb_vfd expects a negative speed number to send a reverse command to the VFD.

    if (*(haldata->speed_command) >= 0) {
        cmd1_reg |= CMD_FORWARD;
    } else {
        cmd1_reg |= CMD_REVERSE;
    }


My current configuration always send positive numbers and asserts the fwd/rev pins instead.
I can find no reference to configuring linuxcnc to send negative speed numbers to the driver for reverse.
  • juliankoenig87
  • juliankoenig87
10 Nov 2024 06:39 - 10 Nov 2024 06:49
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

I live in germany. So it was past midnight :-)

Yes. I will try that. Hopefully it is a cap...
Is the voltage of 1,2x V correct?
  • Levi
  • Levi
10 Nov 2024 05:24
Qtvcp GUI and hal pins was created by Levi

Qtvcp GUI and hal pins

Category: Qtvcp

Im not quite understanding how hal pins are associated with a gui button. if i look a qtdragon is there a simple way to look at say the estop and see what pins are directly associated with it? Or in axis there is axisui.jog.increment pin and i can use this to make my mpg work by outputting the scale but i don't see anything like this in qtdragon. Would this pin have to be added in the qtdragon handler file like the other qtdagon specific pins? In 12.5.4 Build A Simple Clean-sheet Custom Screen stops short of giving examples of the pins. The widigits look to hove some pins as part of them, is the manual the only way to see, how does this end come together?

Can anyone give me some direction, Thanks.p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }
  • d3m0n54in7
  • d3m0n54in7
10 Nov 2024 03:24
Replied by d3m0n54in7 on topic Raspberry Pi4B and Mesa7C80 setup for a beginner

Raspberry Pi4B and Mesa7C80 setup for a beginner

Category: Driver Boards

Thank you very much for the response. It was indeed the hm2_eth that I needed to change to hm2_rpspi. I also needed to change the CARD0=hm2_7c80 to CARD0=hm2_7c80.0
The next hurdle to surmount is a simple syntax issue. Terminal blocks 1 and 2 are inmux which has gone over my head. After reading the HOSTMOT2 documentation (www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html
inmuxes have names like "hm2_<BoardType>.<BoardNum>.inmux.<Instance>". "Instance" is a two-digit number that corresponds to the HostMot2 inm or inmux instance number. There are "num_inms" or numx_inmuxs" instances, starting with 00. So if I want to use TB1 pin 7 for a "door closed" signal, following the manual, it's INPUT6. Would it be hm2_7c80.0.inmux06 ? What about activating TB2 pin 1 for INPUT COMMON 0?
  • 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.
Displaying 18136 - 18150 out of 24291 results.
Time to create page: 0.586 seconds
Powered by Kunena Forum