Advanced Search

Search Results (Searched for: )

  • scottlaird
  • scottlaird's Avatar
02 Aug 2024 14:01

EtherCAT config: one Slave supports 3 modules (motors)

Category: EtherCAT

I can share mine, but you won't find them to be particularly useful, and I ended up writing drivers for everything, so the configs are tiny:

github.com/linuxcnc-ethercat/linuxcnc-et...test1/cia402-all.xml

Other than the very first <master> line, the lcec_configgen output is probably fine. There's a high chance that it turns on too many features and your device will run out of usable PDO entries and reject it, but that's easy enough to fix by deleting unneeded "enable" lines. I should probably update the tool to make most of them optional rather than on by default if they're autodetected.

Give it a quick try and see what LinuxCNC says?
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
02 Aug 2024 14:01
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Nah mate it’s midnight where I am, was just making a bit of a joke in reference to some code I submitted last year.
  • PCW
  • PCW's Avatar
02 Aug 2024 13:56

Quadrature decoding to produce pulse + direction

Category: HAL

Typically the scaling would be done by setting the jog increments.
  • frogandspanner
  • frogandspanner
02 Aug 2024 13:27
Replied by frogandspanner on topic Quadrature decoding to produce pulse + direction

Quadrature decoding to produce pulse + direction

Category: HAL

But does that apply to the counts, or the counts since a certain condition/time/bit being set?

If it applies to *all* counts then it doesn't do what I want as if I am rotating my MPG, then set the bit that changes scale it would apply to the accumulated, but I want it to apply only after the bit has been set.
  • Mecanix
  • Mecanix
02 Aug 2024 13:27

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Maybe some sed magic might fix it ?

You've tried the new state machine driver and confirming it still doesn't perform as it should? I'm overflowing a 1Mb/s fifo uart module with it here, no pkts drama... what's the magical fix for?  
  • PCW
  • PCW's Avatar
02 Aug 2024 13:18

Quadrature decoding to produce pulse + direction

Category: HAL

You can scale the individual counts
take a look at

scaled_s32_sums.comp

(this may only be in master)
  • PCW
  • PCW's Avatar
02 Aug 2024 13:09 - 02 Aug 2024 13:14
Replied by PCW on topic 7i84 Software mode 3

7i84 Software mode 3

Category: Driver Boards

Yes, you would need a common ground between the MPG ground
and the field power ground for the MPG to work with the 7I84.

If you did not want to make that connection, you could
use the 7I96S MPG inputs. (inputs 0..7 support up to 4 MPGs)
  • frogandspanner
  • frogandspanner
02 Aug 2024 13:07
Replied by frogandspanner on topic Quadrature decoding to produce pulse + direction

Quadrature decoding to produce pulse + direction

Category: HAL

That's what I currently do, but I wish to extend this to apply different scales at different time to the combined streams of pulses to produce the count.

For example, I wish to have a switch that reduces the MPG count:pulse ratio, then revert to the original ratio. I also wish to combine that count with another count (which may have a similar scaling switch).
  • PCW
  • PCW's Avatar
02 Aug 2024 13:02

Quadrature decoding to produce pulse + direction

Category: HAL

In any case LinuxCNC uses a count for jogging

You could combine MPGs by adding counts in hal
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
02 Aug 2024 12:33
  • Mecanix
  • Mecanix
02 Aug 2024 12:02

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

if we get rid of the errors in the w5500, i would of course always prefer this interface to the esp, as it is faster, reduces the parts and you don't have to program the esp as well.
Of course, the (r)mii interface would be even better, but the w5500 will do for now :)

That's the whole idea to have something as low-cost, easy to implement, small footprint/real-estate. That wizzy 5500 part win on all championships... I can count the required passives on one hand almost. Winner stuff. 

You said it better, anything to prevent having to impose an utterly complex implementation let alone adding a MCU + extra firmwares. Messyland guaranteed. Less is more!

Anything you need me to test with please do shoutout. I'm not far. 
  • meister
  • meister
02 Aug 2024 11:47

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

to be clear, i have no idea about rtai/rt_preempt either, the hal component is also just a derivative of the remora project.
i'm not a good python programmer either, but when i set my mind to something i try until it somehow fits :)
  • Mecanix
  • Mecanix
02 Aug 2024 11:39 - 02 Aug 2024 11:49

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Should RTAI be used with Ethernet ?
I thought RT_PREEMPT was the go, at least with the hostmot2 Ethernet driver.
 

Don't think for a split second that was a typo, I hardly make any difference between both rtai and rt_preempt. No kidd... so much to catch up, not even to the ankle level of guys like meister or yourself when it comes to lcnc devs. My bad btw... I should have been specific /RT/RTAI/PREEMPT/USPACE/WHO/WHAT... ... ...
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
02 Aug 2024 11:33
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Should RTAI be used with Ethernet ?
I thought RT_PREEMPT was the go, at least with the hostmot2 Ethernet driver.
  • Aciera
  • Aciera's Avatar
02 Aug 2024 11:31 - 02 Aug 2024 14:51
Replied by Aciera on topic Homing with Absolute Encoders (Again)

Homing with Absolute Encoders (Again)

Category: Advanced Configuration

Maybe immediate homing works for you, see section 6.14:
linuxcnc.org/docs/html/config/ini-homing.html#_immediate_homing

[edit]
Actually I think the above will still zero your position so not what you are looking for. Your solution is likely a custom homing procedure.

linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html

[edit]
All nonsense see below.
Displaying 23476 - 23490 out of 25551 results.
Time to create page: 1.225 seconds
Powered by Kunena Forum