Advanced Search

Search Results (Searched for: )

  • 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!!
  • Z3rni3
  • Z3rni3
26 Mar 2025 14:55
Replied by Z3rni3 on topic Installing Mesact

Installing Mesact

Category: General LinuxCNC Questions

For anybody with the same problem.
It seems that the Site for the Key is down.
I at least get a 404 when opening the site.

Got it working with
apt-get update --allow-insecure-repositories
  • pgf
  • pgf
26 Mar 2025 14:53

Can MDI_COMMAND entries be explicitly numbered?

Category: General LinuxCNC Questions

I suspect the answer to the Subject's question is "no", since I've found no reference anywhere (except on a very old sourceforge thread) to "MDI_COMMAND0", "MDI_COMMAND1", etc.

But is there any reason the HALUI section, and the code that reads it, couldn't be enhanced to allow that?  It would be nice not to have to worry about ordering.  It would also make the .ini file more "standards compliant" -- it's highly unusual to have multiple values with the same key in an ini file.  The crudini command, for example, will toss all but the last such entry.   
  • Masiwood123
  • Masiwood123's Avatar
26 Mar 2025 14:38
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

I can only do ``Jog``, nothing happens in MDI select, there are letter markings but I don't have instructions for programming certain steps, the machine has no home, only limit switches and measuring scales ttl, that's why I was interested if anyone knew what type of driver it is due to the possible retention of the existing motors if I do a retrofit.
  • integerspin
  • integerspin
26 Mar 2025 14:08

matsuura mc500v mill - VFD advice for spindle motor 80's yaskawa UAASE-5K)

Category: CNC Machines

Did you ever get the spindle working? I see it’s been a few years. I sort of gave up on mine, I probably spent a few weeks with a Moeller VFD and it’s 375 page manual and got no were. be very interested in hearing of a working Yaskawa spindle motor with modern vfd.
  • mclien
  • mclien
26 Mar 2025 14:08
Replied by mclien on topic How to build a CNC Router?

How to build a CNC Router?

Category: Milling Machines

Got a pic from the ebay guy about the steppers:
D42HSC1413B-24
A quick search didn't bring up something useful, other than me guessing it is a cheap china copy of a nema stepper.
  • atrex77
  • atrex77's Avatar
26 Mar 2025 13:10 - 26 Mar 2025 13:11

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

Update: I'm making progress toward my goal. Here's a new screenshot of the burst transfer rate. I've moved away from Arduino IDE and switched to using the Pico-SDK and VS Code for coding. Added serial terminal to the code to set the IP address later without coding, the Pico now uses DMA and Burst SPI data transfer instead of byte-by-byte transfer. I don’t think I can push the transfer rate any further. Unfortunately, neither the PCB nor the components have arrived yet, so I can’t proceed with the I/O. In the meantime, I’ve started experimenting with the step generator.
 
Displaying 13726 - 13740 out of 20778 results.
Time to create page: 0.356 seconds
Powered by Kunena Forum