Advanced Search

Search Results (Searched for: )

  • sameedansar
  • sameedansar
13 Mar 2025 07:54 - 13 Mar 2025 07:54

Steppers motor start moving without any commads being given

Category: General LinuxCNC Questions

We have built a CNC machine using open-loop stepper motors. The motor drivers are connected to a computer via a breakout board, which is linked using a DB25 cable. Most of the wiring is done using jumper wires, and we have a common ground for all electronic components. The Y-axis is driven by two stepper motors, one for each arm.To improve signal stability, we have added pull-down resistors to each Step- pin of the motor drivers. However, we have observed that the potential difference between the 5V pin and ground pin of the breakout board (powered by an 18V power supply) is only 1.6V. Additionally, when the Y-axis motor stops working, the potential difference between the 5V pin and the Y-axis direction pin drops to 0.06V.Thus, we suspect that the breakout board is damaged. The 5V pin on the breakout board should provide a stable 5V, but since it only outputs 1.6V, the board’s voltage regulator or power circuit may be faulty. The fact that the Y-axis direction pin drops to 0.06V when the motor stops further suggests a power issue or weak signal.Additionally, we suspect that electrical noise is affecting system stability, leading to random motor movements. Interestingly, noise issues only appear when the PC is connected to the breakout board. What could be the reason for the issue? Should we also connect breakout board with a usb cable to the PC for extra power. YOU can view our breakout board specifications in the file attached below. 
  • hitchhiker
  • hitchhiker
13 Mar 2025 07:28

Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

Category: Installing LinuxCNC

Hi Royka in the past you give me a link to a kernel.. the link no more work.. :( is there a new version of a kernel for the latest linuxcnc? i am on mesa.. rtpreempt 6.1.0-31.


the kernel you link me was :

royka post=299706 userid=31446
Which kernel do you run at Debian 10? "uname -a"
What is the result of "cat /proc/cmdline" on Debian 10 and 12?
What is the result of "cat /proc/interrupts" ?

This kernel I've compiled last week by the way (6.9.0-rc5):
drive.google.com/drive/folders/1L28lG0zD...2XQJx?usp=drive_link




can you please help me.. i make fresh install on the same machine and done everything but the kernel is needed to get it work perfect.... i see that the kernel which came with the latest linuxcnc iso doesnt work like my machine before...


thanks
  • royka
  • royka
13 Mar 2025 07:06
Replied by royka on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

I've never used rtai, but run latency-history and htop, sort by priority (F6?) and you'll see. I think you could use the same script.
Bad RAM memory could be a cause, usually using 2 ram modules (of the same) is better so it can use DDR. But if one of the two is bad removing one or the other might give a better result.
HDD can also be a cause, if you still use that buy a cheap SSD.
Disconnect any CD/DVD drives, SD-reader units.
  • Aciera
  • Aciera's Avatar
13 Mar 2025 06:54

Incorporating HAL script recommendation (2.7.14 to 2.9.4 conversion of XZC

Category: General LinuxCNC Questions

./Lxzc3-12-25rev4.hal:201: Ini variable '[SPINDLE_9]P' not found.

1. Your ini is missing the spindle section while your hal references 'SPINDLE_9' ini entries. Looking at your hal file makes me think that you are not actually using a spindle setup. If that is the case then you might want to completely remove this section from your hal:
#*******************
#  SPINDLE S
#*******************

setp   pid.s.Pgain     [SPINDLE_9]P
setp   pid.s.Igain     [SPINDLE_9]I
setp   pid.s.Dgain     [SPINDLE_9]D
setp   pid.s.bias      [SPINDLE_9]BIAS
setp   pid.s.FF0       [SPINDLE_9]FF0
setp   pid.s.FF1       [SPINDLE_9]FF1
setp   pid.s.FF2       [SPINDLE_9]FF2
setp   pid.s.deadband  [SPINDLE_9]DEADBAND
setp   pid.s.maxoutput [SPINDLE_9]MAX_OUTPUT
setp   pid.s.error-previous-target true

net spindle-index-enable  <=> pid.s.index-enable
net spindle-enable         => pid.s.enable
net spindle-vel-cmd-rpm    => pid.s.command
net spindle-vel-fb-rpm     => pid.s.feedback
net spindle-output        <=  pid.s.output

# ---setup spindle control signals---

net spindle-vel-cmd-rps       <=   spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs   <=   spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm       <=   spindle.0.speed-out
net spindle-vel-cmd-rpm-abs   <=   spindle.0.speed-out-abs
net spindle-enable            <=   spindle.0.on
net spindle-cw                <=   spindle.0.forward
net spindle-ccw               <=   spindle.0.reverse
net spindle-brake             <=   spindle.0.brake
net spindle-revs               =>  spindle.0.revs
net spindle-at-speed           =>  spindle.0.at-speed
net spindle-vel-fb-rps         =>  spindle.0.speed-in
net spindle-index-enable      <=>  spindle.0.index-enable

# ---Setup spindle at speed signals---

sets spindle-at-speed true
Displaying 18256 - 18259 out of 18259 results.
Time to create page: 0.905 seconds
Powered by Kunena Forum