Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
26 Mar 2025 17:20

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

So is there an actual working image for linuxcnc on raspberry pi5 ? I am some what new to this but have been reading all the documents and post on here. Trying all the downloads and installing this and that to my files to have it not work quite right in the end results. Mainly issues with missing files like no network, no network manager even most the images just doing an suno update comes back missing items ? My latest was the 2.9.4 so does anyone have something at least close to boot up ready that I can connect to a mesa 7i96s ?

Any help would be appreciated, just about done with this raspberry pi idea




 

Quoted this so it does not disappear.
  • tommylight
  • tommylight's Avatar
26 Mar 2025 17:19

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Why was " doobiedo " account disabled???
Not the first time....
  • 's Avatar
26 Mar 2025 16:52

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

So is there an actual working image for linuxcnc on raspberry pi5 ? I am some what new to this but have been reading all the documents and post on here. Trying all the downloads and installing this and that to my files to have it not work quite right in the end results. Mainly issues with missing files like no network, no network manager even most the images just doing an suno update comes back missing items ? My latest was the 2.9.4 so does anyone have something at least close to boot up ready that I can connect to a mesa 7i96s ?

Any help would be appreciated, just about done with this raspberry pi idea



 
  • tommylight
  • tommylight's Avatar
26 Mar 2025 16:16
Replied by tommylight on topic 7i95 board for 5ABoB(not T or S) firmware missing

7i95 board for 5ABoB(not T or S) firmware missing

Category: Driver Boards

Yes it can, although those will be software steppgens, meaning limited step rate that hugely depends on what latency the PC can maintain, usually you can get 10000 to 50000 steps per second.
If that is enough for what you need, then you can get 6 stepgens from a single parallel port, and 5 inputs.
  • Nathan40
  • Nathan40
26 Mar 2025 16:08 - 26 Mar 2025 16:10

7i95 board for 5ABoB(not T or S) firmware missing

Category: Driver Boards

I am ready to give up encoders. However, i am curious if parallel port can also be used for extra step gens?
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 16:01
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

thank you very much for the answer, but I really don't understand how to check it, I only know in the case when drivers , old amps` are appeared with an analog input +-10v. Yes ,that this is probably a signal ribbon cable from controller board to driver.
  • Masiwood123
  • Masiwood123's Avatar
  • Aciera
  • Aciera's Avatar
26 Mar 2025 15:51
Replied by Aciera on topic 5 axis configuration.

5 axis configuration.

Category: General LinuxCNC Questions

Please share the error report.
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 15:50
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

that's right, on my market you can find a cheap servo set from 1 kw motor + driver for 200 euros., I have to check first if it has backlash , I mean ballscrews
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 15:36
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

that I know that the drivers are not expensive, or in that case I would have to install other motors, because there is no driver for such motors with an unknown type and with 8 wires.
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 15:34
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

Yes that's really confusing, the cable from the motor has 8 wires, I suspected that it might be a stepper,but isn't it. Yes, that's the only way I can move the axes, in ``jog'' mode.
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 15:21
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions



the link i found
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 15:18
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

additional driver images
  • Kieran
  • Kieran
26 Mar 2025 15:14
Replied by Kieran on topic I want to run ethercat and a mesa

I want to run ethercat and a mesa

Category: EtherCAT

Cool. Thinking about it more, I'm wondering if I should just get a basic generic parallel port card, since I probably don't need fancy FPGA stuff for an MPG and some override switches. I guess I'm just remembering how much better my little cnc conversion runs on the mesa vs the parport. It seems with ethercat, most of that becomes irrelevant.
  • Keincncnewbie
  • Keincncnewbie
26 Mar 2025 15:09
Replied by Keincncnewbie on topic 5 axis configuration.

5 axis configuration.

Category: General LinuxCNC Questions

doing some test I got this question. what is wrong with this script ?

# =============================================
# Configuración básica de hardware y componentes
# =============================================
loadrt hostmot2
loadrt hm2_rpspi config="num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxxxx"
setp hm2_7c80.0.watchdog.timeout_ns 5000000
loadusr -W hal_input -KRAL GreenAsia

# =============================================
# Componentes para control y filtrado
# =============================================
loadrt pid names=pid.x,pid.y,pid.z,pid.a,pid.b,pid.s
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
loadrt mux16 names=jogspeed,mvoincr

# Componentes para cálculo de velocidad/aceleración
loadrt ddt names=ddt_x,ddt_xv,ddt_y,ddt_yv,ddt_z,ddt_zv
loadrt hypot names=vel_xy,vel_xyz

# =============================================
# Hilos de ejecución en tiempo real
# =============================================
addf hm2_7c80.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread

# Hilos para PID
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.a.do-pid-calcs servo-thread
addf pid.b.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread

# Hilos para utilidades
addf jogspeed servo-thread
addf mvoincr servo-thread
addf abs.spindle servo-thread
addf lowpass.spindle servo-thread

# Hilos para cálculo de velocidad
addf ddt_x servo-thread
addf ddt_xv servo-thread
addf ddt_y servo-thread
addf ddt_yv servo-thread
addf ddt_z servo-thread
addf ddt_zv servo-thread
addf vel_xy servo-thread
addf vel_xyz servo-thread

addf hm2_7c80.0.write servo-thread

# =============================================
# Configuración de hardware Mesa 7i80
# =============================================
setp hm2_7c80.0.dpll.01.timer-us -50
setp hm2_7c80.0.stepgen.timer-number 1

# =============================================
# Configuración del eje X (ejemplo para servomotor)
# =============================================
# Parámetros PID
setp pid.x.Pgain [JOINT_0]P
setp pid.x.Igain [JOINT_0]I
setp pid.x.Dgain [JOINT_0]D
setp pid.x.bias [JOINT_0]BIAS
setp pid.x.FF0 [JOINT_0]FF0
setp pid.x.FF1 [JOINT_0]FF1
setp pid.x.FF2 [JOINT_0]FF2
setp pid.x.deadband [JOINT_0]DEADBAND
setp pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp pid.x.error-previous-target true
setp pid.x.maxerror 0.000500

# Conexiones PID
net x-index-enable => pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-pos-fb => pid.x.feedback
net x-output <= pid.x.output

# Configuración StepGen para servo (modo velocidad)
setp hm2_7c80.0.stepgen.00.dirsetup [JOINT_0]DIRSETUP
setp hm2_7c80.0.stepgen.00.dirhold [JOINT_0]DIRHOLD
setp hm2_7c80.0.stepgen.00.steplen [JOINT_0]STEPLEN
setp hm2_7c80.0.stepgen.00.stepspace [JOINT_0]STEPSPACE
setp hm2_7c80.0.stepgen.00.position-scale [JOINT_0]STEP_SCALE
setp hm2_7c80.0.stepgen.00.step_type 0
setp hm2_7c80.0.stepgen.00.control-type 1 # Modo velocidad
setp hm2_7c80.0.stepgen.00.maxaccel [JOINT_0]STEPGEN_MAXACCEL
setp hm2_7c80.0.stepgen.00.maxvel [JOINT_0]STEPGEN_MAXVEL

# Conexiones para control en lazo cerrado
net x-pos-cmd <= joint.0.motor-pos-cmd
net x-vel-cmd <= joint.0.vel-cmd
net x-output => hm2_7c80.0.stepgen.00.velocity-cmd
net x-pos-fb <= hm2_7c80.0.stepgen.00.position-fb
net x-pos-fb => joint.0.motor-pos-fb
net x-enable <= joint.0.amp-enable-out
net x-enable => hm2_7c80.0.stepgen.00.enable

# =============================================
# Cálculo de velocidad/aceleración con ddt
# =============================================
# Conexiones para eje X
net Xpos joint.0.motor-pos-cmd => joint.0.motor-pos-fb ddt_x.in
net Xvel ddt_x.out => ddt_xv.in vel_xy.in0
net Xacc <= ddt_xv.out

# Conexiones para ejes Y y Z (similar a X)
net Ypos joint.1.motor-pos-cmd => joint.1.motor-pos-fb ddt_y.in
net Yvel ddt_y.out => ddt_yv.in vel_xy.in1
net Yacc <= ddt_yv.out

net Zpos joint.2.motor-pos-cmd => joint.2.motor-pos-fb ddt_z.in
net Zvel ddt_z.out => ddt_zv.in vel_xyz.in0
net Zacc <= ddt_zv.out

# Ejes rotacionales (sin ddt)
net Apos joint.3.motor-pos-cmd => joint.3.motor-pos-fb
net Cpos joint.4.motor-pos-cmd => joint.4.motor-pos-fb

# Velocidades cartesianas combinadas
net XYvel vel_xy.out => vel_xyz.in1
net XYZvel <= vel_xyz.out

# =============================================
# Habilitar hardware
# =============================================
setp hm2_7c80.0.stepgen.00.enable 1


Do hit the right way to get the 5 axis cnc configure ?
can someone help me with it?

thanks!!
Displaying 16711 - 16725 out of 18572 results.
Time to create page: 1.309 seconds
Powered by Kunena Forum