Advanced Search

Search Results (Searched for: )

  • Ehsan_R
  • Ehsan_R
30 Dec 2024 20:45

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

Category: Computers and Hardware

Has anyone worked with Rio and Colorlight 5A-75E?
Can I work with this board?
  • 10K
  • 10K's Avatar
30 Dec 2024 20:19 - 30 Dec 2024 20:24
Replied by 10K on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

First, I looked at the interpolated and raw signals in HalScope. As expected, one had jaggies and one didn't. In my INI file, I changed:
net spindle-position encoder.0.position => spindle.0.revs
To:
net spindle-position encoder.0.position-interpolated => spindle.0.revs

I ran the threading program at 200 RPM:
 

Jaggies gone, plus initial slope change before threading now a straight line. However, there's a break in the velocity midway on the line that was not there before. Still have the odd saw-tooth velocity while threading. (Note: I was running the program without a tool, so no actual threading took place)

I thought this might have fixed the problem. So I made another 8TPI thread at 100 and 200 RPM. Alas, they did not overlay. Same problem. In case you're wondering, I could not find another piece of 1" stock, so I used a 1/2" rod.
 

PS. Looks like I need to resharpen the cutter! Easy to see in the closeup.

 
  • __Tom
  • __Tom
30 Dec 2024 20:17 - 30 Dec 2024 20:56
THC was created by __Tom

THC

Category: Plasma & Laser

HelloI have a plasma cutter runing on mesa 7i76e / thcad10 / linuxcnc 2.8.My Problem:As you can see on the attached picture (left cut) it starts really good but after about 100mm the THC starts to move up and down the Z Axis. The move distance of the Z Axis gets more and more up to 10mm at the end. Is there an another setting as in the Config Penel Arc - Height Per Volt? (currently set to 0.05mm)So I really don't know how to fix this and which settings could be responsible for this behaveHope that you know the reason for that and I would really appreciate a hint how to fix that.Thanks in advance for you replay.The settings:Config Panel THCDelay:1Threshold(V):1PID P GAIN(Speed):10VAD Threshold(%):90Void Sense Override(%):100PID I Gain: 0PID D Gain:0Run Panel THCAutoUse Auto Volts: (ticked)Velovity Anti Sive Enable (VAD): (ticked)Void Sense Enable: (ticked) 
  • IronManDylan
  • IronManDylan
30 Dec 2024 19:58
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

The freq pin is 0 and the valid pin is false.  So it appears that there is an issue with the PWM measuring. 
  • IronManDylan
  • IronManDylan
30 Dec 2024 19:37
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

PCW,

Okay, lets hope nothing is fried.  I will go try the outputs of PWM freq and valid now and report back.

I got a chance to spend some time with the oscilloscope today am getting interesting behavior out of the EDM supply.  What I am seeing is a sine wave that has an amplitude of about .5v. This entire sine wave moves up and down depending on the intensity of the EDM cut.  At no cut it is at 0 volts and at short it is at 3.3v.  In other words it seems to be behaving like an analog signal. It seems to me that will not work with the periodm func in mesa.  I have contacted the creator of the Powercore EDM to see if this is the correct behavior or if something was damaged. 

My alternative plan is to use an arduino that I have here to take the analog input and send it to the computer via USB to monitor cut duty cycle. Hopefully the python script that I am writing can accommodate communication with the arduino. 

 
  • PCW
  • PCW's Avatar
30 Dec 2024 18:17 - 30 Dec 2024 18:21
Replied by PCW on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

EDM is very noisy and may have voltage spikes on the "ground" 
that exceed the +-25V peak limitations of the 7I96S encoder
inputs.

Since it appears the you did not connect the grounds together there is
opportunity for these spikes to damage the 7I96 inputs. It may well be OK
but the way is was connected could not work.

I think you misunderstood the PWM output. It does no appear to be
a differential signal, so must connect to PWM --> IDX+ and GND --> GND

The frequency pin should show the current PWM frequency
The valid pin is true when the PWM frequency is above the
minimum frequency (basically a fault indication)
 
  • IronManDylan
  • IronManDylan
30 Dec 2024 17:20
Replied by IronManDylan on topic Fast Hole EDM from Hacked Parts

Fast Hole EDM from Hacked Parts

Category: General LinuxCNC Questions

PCW,

I did that, why would it damage anything? Could a high voltage be carried through the ground wire to pin 14? This is the only thing that would make sense to me since the + wire is supposed to only be 3.3v..

Can you please explain what you mean by "Is the frequency reasonable and the valid bit set?"

Best,
-Dylan
  • PCW
  • PCW's Avatar
30 Dec 2024 17:05 - 30 Dec 2024 17:09
Replied by PCW on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

Can you post a plot that contains the encoder velocity to determine
if LinuxCNC or the hardware is to blame?

The odd thing is that the 100 RPM plot looks to be as expected
but the 200 RPM plot is obviously broken. (the Z velocity never
reaches a steady state even though it's  obviously possible with
the acceleration constraints)

Also please use the interpolated position, the non-interpolated
position combined with the low resolution encoder makes
everything worse with it's large position steps. This is the intended
use case for interpolated position.
 
  • 10K
  • 10K's Avatar
30 Dec 2024 15:58
Replied by 10K on topic Threading Index Varies With Speed

Threading Index Varies With Speed

Category: General LinuxCNC Questions

This problem, and this forum thread, all started when I was getting gouging when making a 1"-8 thread. After analysis, I believe that the lathe was bogging down slightly when making later passes in the increasingly deep thread. I've confirmed that the position of the thread changes with speed. The slight decrease in speed made the cutter take a larger bite, which caused further bogging down and then an even larger bite. Eventually, the lathe reached stability and was able to speed up and quit gouging.

Today, I tried making the thread again. I kept thinking that the Monarch lathe motor is large (7HP), and should be able to power through the threading cuts. My lathe has a back gear (speed reduced, torque increased), which I have never used. I put the lathe in the back gear and tried the thread cut. The gouging stopped completely. So that problem is solved to my satisfaction.

The contributing problem, thread position varies with spindle speed, seems to be built in to the LinuxCNC code. Spindle speed should not be changed during the threading operation. I'm not convinced that replacing the Z stepper with a more powerful motor, which would allow me more acceleration, would change this behavior very much. I'm also not convinced that having more pulses per spindle revolution, either through making a new gear with more teeth or using software to synthesize more pulses, would make much difference.

Please let me know if my logic is flawed.



 
  • 10K
  • 10K's Avatar
30 Dec 2024 15:32 - 30 Dec 2024 15:36
Replied by 10K on topic Threading

Threading

Category: Lathe Library

Latest Version of program. I found that the entry and exit taper part of the code didn't work. I revised and tested it, so now it's working.

 

File Attachment:

File Name: threading_...2-30.ngc
File Size:4 KB

 
  • smc.collins
  • smc.collins
30 Dec 2024 14:04
Replied by smc.collins on topic Chasing Threads and Re-Threading

Chasing Threads and Re-Threading

Category: Off Topic and Test Posts

to my eyeballs that looks like either a 10mm x 1.25 pitch or a 12mm x 1.25 pitch bolt, both are very common on Toyota engines. Measure the major diameter of the threads. post that up and measure from peak to peak across 2 threads. Push come to shove most hardware stores that have a nice nut bolt isle should have a thread gauge, also Tractor Supply has thread gauges as well. Looking at the condition of the threads, I would get a thread chaser tap, they don't cut they just reform thread. If you can't get that to start, you have 2 options.

1. helicoil or timecert repair

2. tap and drill to the next size

if you end up doing a thread repair or oversize drilling, piece of advice, don't use a fine thread, use a course thread pitchs like 1.5 or 1.75, I have no freaking idea why the hell toyota, nissan and honda have to be so stupid about thread pitch in cast aluminum, but here we are 60 yrs later with the same stupid problems.
  • thomaseg
  • thomaseg
30 Dec 2024 12:54
Replied by thomaseg on topic EL5112: Change PDO assignments via LinuxCNC?

EL5112: Change PDO assignments via LinuxCNC?

Category: EtherCAT

No idea really, but you can always try the "lcec_configgen" command to see what lcec's guess of a config can look like.
EL5102 is available as a lcec device if you want to look at how it is done for that one. I is a similar encoder I think.

Oh, that was a neat tool! Thanks! That Scott-guy has been busy! The resulting config looks very similar to what i'm trying to do...apart from it defaulting to 1xABC aswell(0x1600/0x1A00) and then i got some of the types wrong(u32 vs. s32)...

However! I restart the module(power off/on) then the new config worked! I'm not quite sure why though, which annoys me quite a lot! I even managed to change the pdos to use 2xAB(with 0x1602/0x1A02) and it still works...and i'm getting proper data from my encoder... I ran a diff between the two configs and apart from the type-error and naming they are identical...

My current/best theory is that one of the configurations i've made yesterday somehow made the module go into an "error mode" of sorts and only a physical powercycle could get it out again. So i might have had it correct in one of my attempts, but since i never powercycled the modules i somehow kept getting "old errors" or something along those lines...jezz... anyways, it is working, so thanks!

/Thomas
  • Grew
  • Grew
30 Dec 2024 12:46

Python4Lazarus Undefined symbol: PyExc_ValueError

Category: Advanced Configuration

Don't think my first reply went through.

I apologise for long wait in reply. I am away with family on holiday.

I did get this resolved. It was a lazarus setup issue. The link is here for those interested

forum.lazarus.freepascal.org/index.php?a...71318;area=showposts

I did an install on VirtualBox as well so that I can experiment further in simulation mode. Had same issues but resolved.

However, now having the issue "Cannot Home While Shared Home Switch is Closed" but will raise a separate thread if I cannot resolve.
  • tommylight
  • tommylight's Avatar
30 Dec 2024 12:20
Replied by tommylight on topic MESA 7i96S STEP DIR I/O compatibility

MESA 7i96S STEP DIR I/O compatibility

Category: Driver Boards

OK the drive does all 3 types and so does LinuxCNC with Mesa.
Drive modes from your pictures are:
0 = up/down step pulses
1 = step/dir
2 = quadrature
-
LinuxCNC modes:
0 = step/dir
1 = up/down
2 = quadrature

linuxcnc.org/docs/html/man/man9/stepgen.9.html
  • Hakan
  • Hakan
30 Dec 2024 11:51

EL5112: Change PDO assignments via LinuxCNC?

Category: EtherCAT

No idea really, but you can always try the "lcec_configgen" command to see what lcec's guess of a config can look like.
EL5102 is available as a lcec device if you want to look at how it is done for that one. I is a similar encoder I think.
Displaying 20896 - 20910 out of 21848 results.
Time to create page: 0.556 seconds
Powered by Kunena Forum