Advanced Search

Search Results (Searched for: )

  • meister
  • meister
05 Nov 2024 20:52

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

Category: Computers and Hardware

...
I think something like a 74ACT245 where you can external control the direction might be better for this application.

if you are using the china 5axis BOB's, than you can connect it directly to the tangnano9k,
i used this configuration before i draw my first board (Tangoboard).
 
  • meister
  • meister
05 Nov 2024 20:47

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

Category: Computers and Hardware

.....
Thinking about it more with your comment, I think maybe the machine is moving the correct amount, but the position reported back to LinuxCNC isn't correct or isn't stable, for some reason. How can I look into this further? If it were just floating point rounding error, once the iceshield had arrived at the correct position, shouldn't the reported position then be stable at the rounded value, instead of flicker? My X axis is very coarse, so I am comfortable with it not having high precision, but the flickering reported value (shown in the DRO) is very odd given that it's a stepper.

Do I need to re-flash with each change of scale, or is modifying it in the .ini sufficient?

For reference, 
config: github.com/digiexchris/6x11-sg-grinder-l...reconfig/config.json
generated ini: github.com/digiexchris/6x11-sg-grinder-l...eld/LinuxCNC/rio.ini

but I have changed the scale to 11.64 (yes, very coarse) for the X axis but that's what was required to get 10mm of movement from G1 X10 with a surface grinder table driven off of the normal handwheel (it's quite a large movement per handwheel turn)


I think I'll change the microstepping up to 32k so I can get the scale number higher and see what effect that has on the stability of the reported position.

if i set the deadband to :
DEADBAND           = 0.0001

my DRO shows the exact position like 10.000 or 0.000
 
  • Finngineering
  • Finngineering
05 Nov 2024 20:45
Replied by Finngineering on topic Strange stepgen behaviour with 7i95t_1pktv2d firmware

Strange stepgen behaviour with 7i95t_1pktv2d firmware

Category: Driver Boards

Yes, that may very well be the case. The following lines are from the code (but not directly following each other like shown):
static long timer = 0;
...
if (inst->hal->rate > 0 && (timer -= period) > 0) break;
...
timer = 1e9 / inst->hal->rate;
When update-hz is 0, then there is also a division by zero in the last line. Maybe what effects this have depends on the system. The result of the division may be +infinity (which is a valid float). When that is the casted to a 64 bit(?) long, that may give a very big number, which during the next iteration causes the if statement to take the "break" branch for practically all time in the future. There are lots of "ifs" here, and I think that at least some things are implementation dependent.
  • daveyr
  • daveyr
05 Nov 2024 20:41 - 05 Nov 2024 22:10

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

Ok so used the image given by joco and that installed fine but it installed the develop version of probe basic.  On trying to switch back following the instructions on the probebasic install site when i update the source list to use stable and then do the apt-get update i get the error again.

Switch back to develop branch and able to install correctly.  
  • PCW
  • PCW's Avatar
05 Nov 2024 20:32
Replied by PCW on topic Pi-5, NVMe and Mesa

Pi-5, NVMe and Mesa

Category: Installing LinuxCNC

It's like me when I've edited a firmware file 20 times and can't get things
to work, only to discover later that the file I was editing was not in the build
path...
  • RDA
  • RDA
05 Nov 2024 19:53
Replied by RDA on topic Compensating For Angled Cut

Compensating For Angled Cut

Category: Plasma & Laser

Is this just to cut ”strips” from the edge of the plate or is this to do actual bevel contours?

Do note that you can adjust the cut height during cutting in the Z direction, the torch needs to adjust perpendicular to the torch. So you would tilt the whole lifter instead of just the torch if you want to have example arc voltage control during cutting.

Bevel cutting is always, excluding edge start, pierced straight and after you are through the material, you tilt the torch. This is because the plate will deflect the arc and make it much harder to pierce. The bigger the angle, the harder it will be to pierce.
The torches and consumables are not different from the normal ones from a pierce point of view. They are “pointier” so that you get the proper cut height when the torch is tilted.
Powermax will not have any bevel consumables or charts to bevel. I think maxpro nowadays has bevel consumables and the all the rest is highdef stuff.

If you just cut strips and you can start from the edge just go for it. Then either tilt the whole lifter or cut without arc voltage control and level the plate “manually”.
  • Aldenflorio
  • Aldenflorio's Avatar
05 Nov 2024 19:35
Replied by Aldenflorio on topic Compensating For Angled Cut

Compensating For Angled Cut

Category: Plasma & Laser

Hey Tommy!

Thank you!

I will be using a Hypertherm 85xp so the cut width capacity is around 3/4”… sort of. The angled cut thickness will have to be tested and tried. I’ll see if there are alternative tips for angled cutting and pressure recommendations. Good point!

any thoughts on programming the machine to know the offset? Say I angle it 45 degrees, when it plunged down it will have to plunge further than it normally expected to detect the material. Then once it is ready to start cutting the torch top will be whatever distance offset from the machines predicted cutting point, since it’s set to one side at an angle. Can I set specific offsets for the machine, then assign those offsets names like “15 degrees angle”? 
  • Joco
  • Joco's Avatar
05 Nov 2024 19:16

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I would recommend using either one of these prebuild images for pi5:

[1] Without network manager UI
drive.google.com/file/d/14rVniZWJ7DqbIxQ.../view?usp=drive_link

or

[2] With network manger UI
drive.google.com/file/d/11XX6SdbaO0tL1Zg.../view?usp=drive_link

 
  • nigelh
  • nigelh's Avatar
05 Nov 2024 19:09
Replied by nigelh on topic Pi-5, NVMe and Mesa

Pi-5, NVMe and Mesa

Category: Installing LinuxCNC

Bangs head against the wall.
So simple. 10.10.10.10 is not the default but the EEPROM default. Select the EEPROM.
So now I just need to figure out how to set up the eth0 port on boot and I can start to load Linux CNC.

Thanks for putting up with a dumb ol' 74 year old.
If I get any more stupid I'll have to become a politician.
  • mBender
  • mBender
05 Nov 2024 19:04

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

Category: Computers and Hardware

On the Tangbob board I use the TXS0108EPW with pull up/down resistors on the input side.

However, to switch optocouplers in the output stages, for example, you still need a driver like the ones installed on the BOB boards (uln2308), the level shifters are not designed for this

Yes, the output of the TX0108E is not directly driving the optocoupler.  There is a simple parallel port Break out board in between. This allows me to switch back to my current linuxCNC parallel port PC and I was able to confirm that the problem is not anywhere behind.

I tried the pullup/pulldown resistor also on the input side, no difference. Forgot to mention that. Anyway, if I don't have the new level shifter by the end of the week, I will see if I can invest some more time in the TX0108 otherwise I just move on to the new level shifter. They were a $1.50 each, not worth spending hours to get them working.
  • Grotius
  • Grotius's Avatar
05 Nov 2024 18:58
Replied by Grotius on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

@Akb1212,

No worries. For wire edm you could set unlimited program history.
  • PCW
  • PCW's Avatar
05 Nov 2024 18:58

Strange stepgen behaviour with 7i95t_1pktv2d firmware

Category: Driver Boards

Maybe related to the bug I mentioned with update rate:

   If you ever set the update rate to 0 (maximum), changing to a
    non-zero rate will not work (communication stops)

 
  • Grotius
  • Grotius's Avatar
05 Nov 2024 18:50 - 05 Nov 2024 18:51
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Robh,

superimposed control.

Rob, you inspired me. It's really fun to get this running.
Now i let it run for a few hours. Everything goes well. Mutexes are set correclty.

Here it runs a example of 3 interpreters :
- Master interpreter xyz
- Sub interpreter abc
- Sub interpreter uvw

The master interpreter is sending programs to the sub's.
There can be set a flag that master should wait for sub to complete.
Without the flag set in the gcode, the sub will just run without callback.

 

Altough i have still a question.
At wich point path optimisation is the best to do?
Is this outside the while loops? Outside every command like WHILE, GOTO, IF, etc.
What do you think about it?

Specs super imposed interpreter library :
Load multiple (sub)interpreter in a pool.
Every interpreter run's in it's own thread pool. (multi threading)
Variables, conditions, expressions are solved by the mu::parser library.
Support for nested while loops, if goto, and a few others. Not complete yet.
Adjustable buffer, cq queue size.
Machine callback function. Machine sends ok to recieve next gcode line.



source codeberg
 
  • papagno-source
  • papagno-source
05 Nov 2024 18:50
Replied by papagno-source on topic 5 axis kinematics implementation

5 axis kinematics implementation

Category: Advanced Configuration

Hi please can send pics for understand geometry de machine ?
  • daveyr
  • daveyr
05 Nov 2024 18:35 - 05 Nov 2024 18:36

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I am not getting to the stage of installing. Once i have done the add the url and pgp keys then the next step of doing sudo apt-get update is when the error happens.

It gives the list of the known sources with the error at the end and the source for probebasic is listed but errors out.
cnc@pi5linuxcnc:/etc/apt/sources.list.d$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:3 https://packages.microsoft.com/repos/code stable InRelease                           
Get:4 http://deb.debian.org/debian bookworm-proposed-updates InRelease [64.0 kB]           
Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease                    
Get:6 http://deb.debian.org/debian bookworm-backports InRelease [59.0 kB]                  
Hit:7 https://www.linuxcnc.org bookworm InRelease                                          
Get:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Hit:9 https://repository.qtpyvcp.com/apt stable InRelease  
Get:10 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ Packages [37.3 kB]
Fetched 217 kB in 1s (201 kB/s)      
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
79 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repository.qtpyvcp.com/apt stable InRelease' doesn't support architecture 'arm64'
cnc@pi5linuxcnc:/etc/apt/sources.list.d$

The content of the kcjengr.list file
[code]cnc@pi5linuxcnc:/etc/apt/sources.list.d$ tail kcjengr.list
deb [arch=arm64] https://repository.qtpyvcp.com/apt stable main
[/code]
Displaying 18661 - 18675 out of 24123 results.
Time to create page: 0.753 seconds
Powered by Kunena Forum