Advanced Search

Search Results (Searched for: )

  • cakeslob
  • cakeslob
05 Apr 2025 15:16

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

There needs to be motor power on for the TMC drives to configure. the CS pins are the Rx pins, but leave them in uart mode. the TMC spi is on the same channel as the comms SPI so idk what will happen if they interfere or something.
but first step is working out comms
does it connect to linuxcnc yet with the drivers in uart?
  • cakeslob
  • cakeslob
05 Apr 2025 15:12

Remora on NVEM board - unable to upload new configs

Category: General LinuxCNC Questions

forum.linuxcnc.org/18-computer/44828-rem...cnc-board?start=2080

take it to here,

but if flashing the config worked before and now it wont work, you will probably need to do a full chip erase to overwrite the sector, then reload the firmware and config.
  • pgf
  • pgf
05 Apr 2025 14:57
Replied by pgf on topic using HAL to correct axis errors

using HAL to correct axis errors

Category: Advanced Configuration

I wanted to bring this thread up to date, in case anyone finds it and finds it useful.  I recently upgraded my mill from 2.7.4 to 2.9.4, which of course brought in the joints axes changes.

Those required some rework of my skew corrector.  The component module itself was unchanged.  It's in a post above .

But the linkage into HAL did change, due to joints axes, and the introduction of pid.

First, 2.7:      the original HAL had a fairly simple connection between motor and stepgen:
  ypos-cmd
      axis.1.motor-pos-cmd ==> stepgen.1.position-cmd
  ypos-fb
      stepgen.1.position-fb ==> axis.1.motor-pos-fb

  xpos-cmd
      axis.0.motor-pos-cmd ==> stepgen.0.position-cmd
  xpos-fb
      stepgen.0.position-fb ==> axis.0.motor-pos-fb

I was able to simply insert the nonsquare function block into the middle of each Y axis signal path, and tap into the X signal path.
 ypos-cmd
      axis.1.motor-pos-cmd ==> nonsquare-table.y-in
  ypos-cmd-adjusted
      nonsquare-table.y-out ==> stepgen.1.position-cmd
  ypos-fb-adjusted
      stepgen.1.position-fb ==> nonsquare-table.y-fb-in
  ypos-fb
      nonsquare-table.y-fb-out ==> axis.1.motor-pos-fb

  xpos-cmd
      axis.0.motor-pos-cmd ==> stepgen.0.position-cmd
                           ==> nonsquare-table.x-in
  xpos-fb
      stepgen.0.position-fb ==> axis.0.motor-pos-fb
                            ==> nonsquare-table.x-fb-in

The newer LinuxCNC path in 2.8/2.9 is a little more complicated, with the introduction of the PID mechanism.
  y-pos-cmd
      joint.1.motor-pos-cmd ==> pid.y.command
  y-output
      pid.y.output ==> hm2_7i96.0.stepgen.01.velocity-cmd
  y-pos-fb
      hm2_7i96.0.stepgen.01.position-fb ==> joint.1.motor-pos-fb
                                        ==> pid.y.feedback

  x-pos-cmd
      joint.0.motor-pos-cmd ==> pid.x.command
  x-output
      pid.x.output ==> hm2_7i96.0.stepgen.00.velocity-cmd
  x-pos-fb
      hm2_7i96.0.stepgen.00.position-fb ==> joint.0.motor-pos-fb
                                        ==> pid.x.feedback

Integrating the nonsquare function in the new HAL is similar, butasymmetric.  TreIn the output direction, the nonsquare function is inserted between the joint and pid (which then feeds stepgen), but in the feedback direction, we insert between stepgen and the joint.

Regardless, the new function is inserted just after (cmd) and before (fb) the joint command.  The X control for the new function is similarly attached directly to the joint function.
  y-pos-cmd
      joint.1.motor-pos-cmd ==> nonsquare-table.y-in
  new-y-pos-cmd
      nonsquare-table.y-out ==> pid.y.command
  y-output
      pid.y.output ==> hm2_7i96.0.stepgen.01.velocity-cmd
  y-pos-fb
      hm2_7i96.0.stepgen.01.position-fb ==> nonsquare-table.y-fb-in
                                        ==> pid.y.feedback
  new-y-pos-cmd-fb
      nonsquare-table.y-fb-out ==> joint.1.motor-pos-fb

  x-pos-cmd
      joint.0.motor-pos-cmd ==> pid.x.command
                            ==> nonsquare-table.x-in
  x-output
      pid.x.output ==> hm2_7i96.0.stepgen.00.velocity-cmd
  x-pos-fb
      hm2_7i96.0.stepgen.00.position-fb ==> joint.0.motor-pos-fb
                                        ==> pid.x.feedback
                                        ==> nonsquare-table.x-fb-in

 
  • tommylight
  • tommylight's Avatar
05 Apr 2025 14:53
20000 posts! was created by tommylight

20000 posts!

Category: Forum Questions

This is my 20000'th post, for what started as a way to force myself writing as i really hated it! :)
I like to read, a lot.
Thanks to all, especially Andy, JT, Todd, Chris M, PCW, etc for putting up with me, and the never ending support and wisdom they selflessly dispense on this forum.
  • tommylight
  • tommylight's Avatar
05 Apr 2025 14:39
Replied by tommylight on topic Rf45 clone glow up.

Rf45 clone glow up.

Category: Milling Machines

You can upload pictures here on the forum by clicking on "attachments" below the editor.
Thank you.
  • tommylight
  • tommylight's Avatar
05 Apr 2025 14:35
Replied by tommylight on topic Problema de latencia y 7i96S

Problema de latencia y 7i96S

Category: Español

Do you get latency warnings when running LinuxCNC?
Does the connection to Mesa board get dropped?
Latency does not look good, see if it can be improved by using isolcpus, but first enter the BIOS and disable anything with power saving and hyperthreading and TPM.
More info:
forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity
  • tommylight
  • tommylight's Avatar
05 Apr 2025 14:31
Replied by tommylight on topic The dumification of humanity through internet

The dumification of humanity through internet

Category: Off Topic and Test Posts

Yeah, attention span has gone to hell in a hand basket with the advent of Instagrams and TikToks and the likes.
And youtube just had to jump into that bandwagon ! Now i am "forced" to post shorts that i really hate...
  • pgf
  • pgf
05 Apr 2025 14:28

Can MDI_COMMAND entries be explicitly numbered?

Category: General LinuxCNC Questions

I seem to have forgotten to subscribe to this topic, so I've missed the replies until today. Sorry about that.

@Aciera -- not sure I understand the bit about "...not sure if it's really worth the effort as there are other keys that can occur multiple times (eg 'REMAP' or 'HALFILE')". How does that effect whether MDI_COMMANDS can be referenced explicitly?

@cmorley -- I'm surprised that this can be done on a UI-by-UI basis. But there's an awful lot I don't understand about the underpinnings of LinuxCNC.
  • tommylight
  • tommylight's Avatar
05 Apr 2025 14:28

4-Gang 1-Way Switch To Control 3 Power Supplies and a Router Independently

Category: Computers and Hardware

Rod, drives should be mounted vertically, as noted in their manuals.
Displaying 17416 - 17424 out of 17424 results.
Time to create page: 1.074 seconds
Powered by Kunena Forum