Advanced Search

Search Results (Searched for: )

  • meister
  • meister
27 Dec 2024 21:11

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

Category: Computers and Hardware

Do you see, that there's an issue with RealtimeIO and EtherCAT in parallel? (For EtherCAT I'll use the NIC of the PC chipset. For RIO I wanted to use the W5500 Ethernet module with an USB-Ethernet adapter to the PC.

Thanks for your support!
 

never tested, sorry
 
  • cmorley
  • cmorley
27 Dec 2024 21:10
Replied by cmorley on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

Why do you think that spindle speed is uncoupled from spindle sync position?
look in tp.c at tpSyncPositionMode()

Now I don't understand the code completely but I think the general idea is to:
-accelerate (at max) the axis to match the calculated spindle speed for the requested units per revolution.
-when it is synced speed then maintain the sync.

With a fixed acceleration rate, a faster spindle will take longer to sync speed.

To have threads always match you would need to also sync position and probably with a longer section of out of spec threads. I see no indication of position tracking

So I think it's a feature not a bug.
  • PCW
  • PCW's Avatar
27 Dec 2024 20:59
Replied by PCW on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

You mentioned that the 200 RPM plot is broken. Are you referring to the change of slope in the velocity before it starts oscillating?

No, I am referring to the fact that it never reaches a constant velocity but seems to only exponentially approach a constant velocity, I am ignoring the sawtooth velocity waveform,. You should be able to get rid of most of the sawtooth by using the interpolated encoder position (so the position is updated every ms rather than every encoder slot)
  • 10K
  • 10K's Avatar
27 Dec 2024 19:58
Replied by 10K on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

Here's the values for Z:
MAX_VELOCITY = 1.8
MAX_ACCELERATION = 2.0
These were set after a lot of experimentation. Higher values stall the stepper motor. I could try increasing the acceleration somewhat, but probably in the 10-20% range. Not sure this would make much difference. Let me know if you think I should try it anyway.

You mentioned that the 200 RPM plot is broken. Are you referring to the change of slope in the velocity before it starts oscillating?

Is it likely that the 10 pulse/revolution pulses are causing the problem? I could redo that part of the lathe. Getting greater acceleration will require a new stepper or servo motor and a lot of work.

I have two choices for the encoder-

1) I have some encoders in my junk drawer. They're both quadrature. One is a US Digital 1000 pulses/rev with a separate index signal, and the other is a more robust looking Accu-coder 2500 pulses/rev. Both are designed for small shafts, so I'd need a belt or gearing to connect them.

2) I could machine a gear to bolt on the spindle pulley. It'd be about 7 1/4" or so in diameter, so how ever many teeth I could fit on it. Maybe about 90 1/8" teeth? Or 180 1/16" teeth? I don't have any feel for how many pulses/revolution is appropriate, so maybe this would not work.

Here's a photo of the two pulse generators. The 1 pulse/rev is magnetic and the other one is proximity. The teeth are for locking the spindle.
 
  • IronManDylan
  • IronManDylan
27 Dec 2024 19:39 - 27 Dec 2024 19:40
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

PCW,

Thank you for the response.  Good to know that the gtag is not a concern.  I have attached a file of the output of 'halcmd show all hm2' (there is some funky text in it for some reason so there's actually two files where I copied and pasted the output into the second one). 'halcmd show all | grep periodm' did not output anything for some reason.. 

I am looking though these pins and still nothing stands out to me as obviously the pin 29 I am looking for.. Do you mind taking a look and telling me what you see? Am I missing something how to tell which pins are physical pins? 

Best,
-Dylan

File Attachment:

File Name: all-mesa.txt
File Size:34 KB

File Attachment:

File Name: mesa.txt
File Size:34 KB
  • macrimarco001
  • macrimarco001
27 Dec 2024 19:26

Newbie looking for a hardware configuration based on Raspberry Pi

Category: Computers and Hardware

Thanks again, professor. have you had the opportunity to look for the digital copy of the thesis?
If I'll need some help I'll reach out to them. If we wont hear any time soon i wish you a happy new year.
  • MaHa
  • MaHa
27 Dec 2024 19:20 - 27 Dec 2024 20:18
Replied by MaHa on topic Tool setter setup

Tool setter setup

Category: Basic Configuration

there must be a postgui.hal file, where the digital outputs M64 M65 and analog output M68 are connected, eg. motion.analog-out-00
Maybe from the source of your file, there are more infos.

In the ini file there is an entry for glade tab. Normally this tab should be loaded, when axis starts.  Maybe the tab gladevcp has some display or setting for toolchange
  • tlightus
  • tlightus
27 Dec 2024 19:20
Replied by tlightus on topic Screen shots of gui designs

Screen shots of gui designs

Category: Other User Interfaces

These are a couple screen shots of a GUI I came up with while testing FlexGUI. If anyone else is using FlexGUI I'd like to hear comments about it. Thousands of hours went into the project and we'd love to hear what you think.

   
 
  • ihavenofish
  • ihavenofish
27 Dec 2024 19:10 - 27 Dec 2024 19:56
Replied by ihavenofish on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

Nope, wrong one, that's basically the same one as the regular linuxcnc one. new one is not available yet I don't think.
  • stirra
  • stirra
27 Dec 2024 18:48
Replied by stirra on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Does anybody have a working set of configuration files for a Lichuan LC10E system with homing in the drive? I have been trying unsuccessfully for several days to get either RodW's or Marco's homing configs to run. I *know* that neither of these can successfully do in-drive homing without modification because neither ever sets the 0x6098 homing mode register, or the homing velocity and acceleration registers. They also never put the drive into operating mode 6 (homing). I added the extra registers in the xml file and eventually got the drive to go into mode 6, but the motor would not turn. Also, I found that jogging with these modified config files would result in a runaway motor after a small motion. I haven't figured out what in the comp file is causing that.

So if some one out there has blazed this trail before me, I would love to see your xml, comp, hal, and ini files. I've attached my current snapshot, which still does not do homing, and has this mysterious runaway jogging problem.

Thanks,
-- Ralph
  • PCW
  • PCW's Avatar
27 Dec 2024 18:33
Replied by PCW on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

The "unknown gtag" error means that your mesaflash is not up to date enough
to know about the periodm. This has no real significance.

To list all mesa hardware pins/parameters, with LinuxCNC running, in a terminal, type:

halcmd show all hm2

you can re-direct this to a file with:

halcmd show all hm2 > all-mesa.txt

if you just want periodm pins:

halcmd show all | grep periodm
  • Grotius
  • Grotius's Avatar
27 Dec 2024 18:19
Replied by Grotius on topic halviewer, go or no go?

halviewer, go or no go?

Category: General LinuxCNC Questions

Hi Ikavan,

looking into the .tlc files is certainly not the way to go.
You can look at the halcmd source. Halcmd is a program that can make a list of components, pins, params etc.

To build halcmd you can look at repositories on github.  github.com/grotius-cnc/linuxcnc/tree/master/cmake
Then from there you can create a qt app.
 
  • infou
  • infou
27 Dec 2024 18:19

Compiling scarakins.c under version 2.9.3 does not work.

Category: Advanced Configuration

Many thanks for the quick support.now it works.
I found time today to compile and install Linuxcnc 2.9.3.
After the git clone ... I searched the linxcnc-dev directory for scara and edited all files where
d1-d6 were defined with my values.
In some places the build and installation was a bit stuck, then I asked Windows-copilot and it went on.
For those who have similar plans, I have entered my terms:

For build:
git clone --branch v2.9.3 github.com/LinuxCNC/linuxcnc.git linuxcnc-dev

cd linuxcnc-dev
sudo apt-get build-dep linuxcnc
sudo apt-get install build-essential

root@cnc:/home/cnc/linuxcnc-dev/debian#
root@cnc:/home/cnc/linuxcnc-dev/debian# ./configure
successfully configured for 'uspace-Debian-12'..

sudo apt-get install libgpiod-dev xvfb

dpkg-buildpackage -b -uc

For install:

sudo apt-get install iptables mesa-utils python3-numpy python3-opengl python3-configobj libgtksourceview-3.0-dev tclreadline python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-opencv python3-espeak python3-dbus.mainloop.pyqt5 python3-pyqt5.qtwebengine python3-pyqt5.qtwebkit espeak-ng pyqt5-dev-tools gstreamer1.0-tools espeak python3-poppler-qt5 python3-serial
sudo apt --fix-broken install
sudo dpkg -i *.deb
  • IronManDylan
  • IronManDylan
27 Dec 2024 18:16
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

Hi, 

I have made some progress and have successfully connected a python script to my machine.  This script right now is just turning a LED on and off but I will use it in the future to run my PID loop on my feedrate.  

I have run into a problem though.  I am trying to get the PWM signal into my software using hal, but when I used mesaflash --read I am getting the name on pin 29 (this is the pin that is supposed to read the PWM signal according to Peter) of (unknown-gtag-200).  

It seems like this error means that the name is not set correctly, but that it might still be possible to read the pin.  However, I do not know how to find the hal name of this pin.  I was only able to find the hal name of the ssr pin because of you PCW.  I feel like there should be a list somewhere that gives the hal names and associated physical pin numbers...

I would greatly appreciate any guidance. Thank you.

Best,
-Dylan
  • Alarris
  • Alarris
27 Dec 2024 18:13
Replied by Alarris on topic User removed?

User removed?

Category: Forum Questions

No problem at all! Just wanted to make sure. Thank you!
Displaying 21061 - 21075 out of 21851 results.
Time to create page: 0.848 seconds
Powered by Kunena Forum