Advanced Search

Search Results (Searched for: )

  • timo
  • timo
20 Nov 2024 12:06 - 20 Nov 2024 12:07

Help: How to run X and A axis with different feed rates simultaneously?

Category: G&M Codes

Seems to be very similar to a lathe.
When the a axis gets an encoder and the x axis is "slaved" to this.
Pitch should be adjustable.

Leaves the back and forth movement to be taken care of.

Is it a dedicated winding machine? Or you need to solve it just with G-code for a standard x-y-z a Machine?
Greetings Timo
  • sk_linuxcnc
  • sk_linuxcnc
20 Nov 2024 11:04

Help: How to run X and A axis with different feed rates simultaneously?

Category: G&M Codes

Hello All, I am at a beginner level in linuxcnc and cnc programming.

I have to build a simple winding machine, as depicted in the attached image. (I wish to perform side by side winding of the mateial without any gaps or overlaps)

the X axis is supposed to control the layup slide back and forth.
the A axis is supposed to rotate at a constant speed in the same direction until multiple layers are wound.

here is a simple working example of the gcode i prepared.
g91
o100 repeat [5]
g1 x80 a3600 f360
g1 a720 f10000
g1 x-80 a3600 f360
g1 a720 f10000
o100 endrepeat
m2

*please note that this is just a representative code, which performs the desired motion for me.*
however, since the feedrate is calucated in a compound manner, giving priority to the x-axis, adjusting the rotational speed so as to have a side-by-side layup of material is difficult.

secondly, since the A axis isnt rotating conitnously, it generates a momentary pause (due to deaccelartion and re-accelartion when a line of code ends)

Q: I am looking to eliminate both of these problems, but i dont know how to make it possible in the gcode.
I wish that A axis would keep rotating indefinietly without any pause at a given certain feed rate. and the X axis to keep moving back and forth independently at a different given feedrate.


i can use a spindle setting instead of A axis, the example gcode for it looks something like this:
s100 m3
o100 repeat [5]
g91 g0 x80 f360
g91 g0 x-80 f360
o100 endrepeat
m2

However, i wish to know if this is possible to with X and A axis, what would the gcode look like.

Any help is much appreciated. :)
  • Hossein74Majidi
  • Hossein74Majidi
20 Nov 2024 10:52
Replied by Hossein74Majidi on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

At least for the rk3588 the dtb version must match with the kernel version so I assume it's the same with yours. In this case it might be easier to create an image with the Armbian build system, just put the rt patch in the right folder, for example patch/kernel/archive/rockchip64-6.9 and start with ./compile and choose that you want to see the kernel config before you'll compile it.

Although they only support Linux 6.6, 6.9 and 6.12 (which don't need a rt patch). But if for some reason you need an older kernel you could just find an image with the same version kernel you've compiled and copy that dtb.

I'm using those kernels just because the official links of orangepi provided them, If any rt-kernel can be installed, that would be great.
when I was using orange pi 5 plus, I used armbian 5.10.160. but I experienced a tough time with its SPI driver. after spending some time on that I thought it may be the armbian which its spi is not real-time and reliable.
That's why this time I was avoiding to installing armbian.
if you think armbian is reliable in SPI, then this time i will try this way.
  • Axolito
  • Axolito's Avatar
20 Nov 2024 09:00
Replied by Axolito on topic Mecanumeric / Charlyrobot retrofit

Mecanumeric / Charlyrobot retrofit

Category: Show Your Stuff

Here are some more detailed photos.I've also just shared the 3D files of some elements on Thingiverse .

Photos :
  • royka
  • royka
20 Nov 2024 08:53
Replied by royka on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

Is there a reason that you need specific that kernel version?
  • royka
  • royka
20 Nov 2024 08:51
Replied by royka on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

At least for the rk3588 the dtb version must match with the kernel version so I assume it's the same with yours. In this case it might be easier to create an image with the Armbian build system, just put the rt patch in the right folder, for example patch/kernel/archive/rockchip64-6.9 and start with ./compile and choose that you want to see the kernel config before you'll compile it.

Although they only support Linux 6.6, 6.9 and 6.12 (which don't need a rt patch). But if for some reason you need an older kernel you could just find an image with the same version kernel you've compiled and copy that dtb.
  • Hossein74Majidi
  • Hossein74Majidi
20 Nov 2024 08:47
Replied by Hossein74Majidi on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

Check with "ls -l /boot" if all links are correct. With Armbian for example the Image file is a link to the used kernel. To relink you can use "sudo ln -sf your-rt-kernel Image" and also check for the uinitrd link and to use the right dtb for that kernel version.

I saw that it's a rk3399 indeed, but here it also worked great for a s912 sbc so it might be a good base for yours too.

 

while a go you've provided a rt kernel for my orange pi 5 plus. can u do the same for this one (orange pi 4 lts) ? i mean a real-time 5.10.43 kernel for rk3399?
  • Murphy
  • Murphy
20 Nov 2024 08:30 - 20 Nov 2024 10:41

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thanks Scott, it's a spindle encoder I'm trying to get working. Its just the first step to get the PV1 counting in Halshow so I know at least the hardware is working. I'll look at my wiring again. Config setup for the encoders. No not using the MPG , just needed to rule out I didn't need that .so installed for the encoders to work. I have everything else working the lathe with this controller, axis ,spindle and tool changer 
  • Hossein74Majidi
  • Hossein74Majidi
20 Nov 2024 05:52
Replied by Hossein74Majidi on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

royka post=314868 userid=31446Check with "ls -l /boot" if all links are correct. With Armbian for example the Image file is a link to the used kernel. To relink you can use "sudo ln -sf your-rt-kernel Image" and also check for the uinitrd link and to use the right dtb for that kernel version.

I saw that it's a rk3399 indeed, but here it also worked great for a s912 sbc so it might be a good base for yours too.

 

Thanks, I've tried to relink the files in boot directory to my new kernel files, still same problem.
In the source that I compiled from, I noticed that there is no dts and dtsi files and other related files for rk3399 in that source. can it be the problem for not booting after compilation?
if it can be, how can I solve this problem?
is there any other source besides kernel.org?

I tried another thing too, I used another sources like rockchip and orangepi-build. but whenever I wanna patch the real-time patch (got from kernel.org), it fails and says there are conflicts and incompatibility/
  • 7strideR
  • 7strideR's Avatar
20 Nov 2024 05:30
Replied by 7strideR on topic Beckhoff Compatibility

Beckhoff Compatibility

Category: EtherCAT

Exactly what I was looking for.

Thank you
  • mBender
  • mBender
20 Nov 2024 00:03 - 20 Nov 2024 00:06

Classic Ladder not working with LinuxCNC Rio

Category: ClassicLadder

Hi Forum,

I am trying to get Classic Ladder working with ]LinuxCNC RIO.

I try to get my VFD working with Classic Ladder. This is what works on the same machine with soft stepping.

loadrt classicladder_rt numS32out=100
addf classicladder.0.refresh servo-thread
loadusr classicladder --modmaster vfd.clp

When I start LinuxCNC with the FPGA connected I get the following error:Shared memory conflict or RT component not loaded!

ERROR CLASSICLADDER-   Ladder memory allocation error

I tried to remove the numS32out=100, but no success. I can load the program manually with the ladder editor, but it is still not in modmaster mode and won't work.

Someone an idea what the cause would be and how to fix it?
  • okielaxplyr
  • okielaxplyr
19 Nov 2024 23:30
Replied by okielaxplyr on topic Latency on a Lenovo M715q

Latency on a Lenovo M715q

Category: General LinuxCNC Questions

Hello Tommy 
I am using the following hardware.
qty 1   7I92M ethernet Anything I/O
qty 1    7I77D daughter card
qty 1    Lenovo think center M715q
I am re using the MSI servo drives, SEM servo motors and Heidenhain encoders, I plan on adding a A axis later.

Regards
John
  • zieluch
  • zieluch
19 Nov 2024 23:21
Replied by zieluch on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Not sure If I bring anything but :
once you start machine and load tool z offset is present ?
I have problem with G43 on the first time after starting machine. Even my macro for tool change issue G43 after program is executed z offset disappears. Once I manually issue G43 everything is working than fine.

I have no idea how I can track what is causing this problem
my workflow :

Start machine
home all XYZ
load Probe (M6 T99) , during subprog execution z offset is visible for split of the second and than disappears)
G43 manually from MDI - offset now visible 
Probing part and zero G54
M6 T1 -all offsets are correct, if I don't issue manually G43 all the offsets with all the tools are messed up later on.


 
  • PCW
  • PCW's Avatar
19 Nov 2024 23:07
Replied by PCW on topic 7i97t Spindle has 0v or 10v

7i97t Spindle has 0v or 10v

Category: General LinuxCNC Questions

You could verify that the 7I97 analog output voltage makes sense
(it should be 10V*pwm_value/pwm_scale)

Maybe the drive needs some calibration

Also you might try adding a bit of series resistance in the analog output
for stability (say 47 ohms) in case the spindle drive input has a large capacitance
  • dbtayl
  • dbtayl
19 Nov 2024 22:57
Replied by dbtayl on topic Metal way covers

Metal way covers

Category: Show Your Stuff

Take your pick- Amazon, eBay, Ali Express- just search for "accordion way cover", "accordion bellow", etc. and you'll find it. Random examples I'm not specifically suggesting:

www.amazon.com/uxcell-Machine-Rubber-Acc...Pleats/dp/B0087ZCY86
www.ebay.com/itm/315803295816
Displaying 17506 - 17520 out of 24300 results.
Time to create page: 0.458 seconds
Powered by Kunena Forum