Advanced Search

Search Results (Searched for: )

  • hectormhr
  • hectormhr
05 Aug 2024 15:15
Replied by hectormhr on topic Experience with Moons Industries Ethercat Servo

Experience with Moons Industries Ethercat Servo

Category: EtherCAT

Hi rodw,
Thanks for your reply. I dug into CiA 402 to familiarise myself with it. I also contacted a Moons' representative who pointed me in the direction of the ESI .XML file for this drive. I then looked into the process suggested here: github.com/linuxcnc-ethercat/linuxcnc-ethercat for using these files to enable LinuxCNC using the generic driver to control an arbitrary driver.
Quoting: "The second way to use EtherCAT hardware is with the "generic" driver. You can tell LinuxCNC-Ethercat about your hardware entirely in XML..."
If I understand your suggestion of using the "CiA 402 driver" would be different to the above. 
Would you know what I could expect from choosing one path over the other in terms of complexity/chance of success?

In addition, am I right in thinking that compatibility with CiA 402 doesn't necessarily mean that every function / parameter described by the standard is supported by this particular implementation?. In other words, it would take some time effort to go over the documentation (assuming it's good and available) to find out how well they adhere to the standard... 

Many thanks, regards.
 
  • scottlaird
  • scottlaird's Avatar
05 Aug 2024 15:11
Replied by scottlaird on topic New LinuxCNC-Ethercat git tree

New LinuxCNC-Ethercat git tree

Category: EtherCAT

I've done the same thing more than once :-)
  • Bennett
  • Bennett's Avatar
05 Aug 2024 14:45

Can a 'servo drive' be used to power a 3 phase AC spindle motor with encoder?

Category: Driver Boards

centroidcncforum.com/viewtopic.php?f=57&...1&hilit=fanuc#p88931

Wow, this is a neat implementation! Fairly simple and seems to work well. Gets me thinking about my solution. Going to take some cramming to fit it all in the space I have around the spindle but it just might work. 

Some photos of the Hardinge Conquest spindle for those interested. This machine has an epoxy/granite base that you can see a little chunk broken off of in one of the photos. There is a gear-looking ring on the spindle that two separate pins can engage with (odd/even labels in documentation, maybe that stands for odd/even degrees based on their offset). Makes me think that a retractable worm drive could be fitted there in place of this system but that definitely seems more mechanically involved as it would have to be all custom. I wonder how Hardinge did their Conquests with full C axis..

 

 

 

It's hard to find anything clear on Fanuc stuff, but I think the spindle amp uses serial communication to/from the Fanuc control.  So while it may be possible...

Yes, very tricky to track down the Fanuc docs, mainly seems to be that they put a huge number of products in a single doc. I managed to track down the spindle amp documentation if anyone wants to see that. 400 pages or so, the forum wouldn't upload it so get in touch if you want me to send it over. 
 
  • PCW
  • PCW's Avatar
05 Aug 2024 14:35 - 05 Aug 2024 14:36

Scaling power based on % of imposed velocity

Category: General LinuxCNC Questions

It's a bit hard to tell because you don't have the line(s)
that caused the error in your hal file example.
  • PCW
  • PCW's Avatar
05 Aug 2024 14:28

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

Category: Computers and Hardware

We use 26LS32's a lot for a couple of reasons:

1. Their inputs are protected from up to +-25V
(the more expensive CMOS parts are typically protected to only +-14V or so)

2. Because they are TTL parts the outputs don't swing to 5V and if you add a 1K
pulldown, the outputs are OK for interfacing with most 3.3V chips.

3. They are much cheaper than  the CMOS equivalents.

The main disadvantage is higher power consumption
  • Muftijaja
  • Muftijaja
05 Aug 2024 14:20
Replied by Muftijaja on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

so, I tried both adresses, with both settings in etc/network/interfaces I have no networks afterwards.

Hiernach geht die Verbindung gar nicht mehr:
    auto eno1
    iface eno1 inet static
    address 10.10.10.2  (same with 10.10.10.1)
    hardware-irq-coalesce-rx-usecs 0
  • sin-do-re
  • sin-do-re
05 Aug 2024 14:17 - 05 Aug 2024 14:21
Replied by sin-do-re on topic Scaling power based on % of imposed velocity

Scaling power based on % of imposed velocity

Category: General LinuxCNC Questions

Hey. I've been trying this but no success entering the current velocity parameter into lincurve. i always get the same 2 types of errors, no matter how much i try to "juggle" the variable around. what can i do? ive been trying with motion.current-vel and qtplasmac.current-velocity  at first i tried directly, now im trying to pass it through a scale.2 first, but it gives me the same 2 errors.the errors are either that signal name motion.current-vel can’t be the same as a pin, and if I put a pin it says that motion.current-vel is already linked to such pin. Here is the Hal code: 

################### added

# Load the necessary HAL components
loadrt scale count=3
loadrt lincurve count=1 personality=6
addf scale.0 servo-thread
addf scale.1 servo-thread
addf scale.2 servo-thread
addf lincurve.0 servo-thread

# Capture the spindle speed output from the G-code command
net spindle-speed => scale.1.in

# Scale the velocity before feeding it to lincurve
net qtplasmac.current-velocity => scale.2.in 
setp scale.2.gain 1.0  # Adjust gain as needed
net scaled-velocity scale.2.out => lincurve.0.in

# Configure lincurve points for velocity to power scaling
setp lincurve.0.x-val-00 0.0  # Velocity percentage at 0%
setp lincurve.0.x-val-01 0.2  # Velocity percentage at 20%
setp lincurve.0.x-val-02 0.4  # Velocity percentage at 40%
setp lincurve.0.x-val-03 0.6  # Velocity percentage at 60%
setp lincurve.0.x-val-04 0.8  # Velocity percentage at 80%
setp lincurve.0.x-val-05 1.0  # Velocity percentage at 100%

setp lincurve.0.y-val-00 0.2  # Power scale at 20% for 0% velocity
setp lincurve.0.y-val-01 0.3  # Power scale at 30% for 20% velocity
setp lincurve.0.y-val-02 0.4  # Power scale at 40% for 40% velocity
setp lincurve.0.y-val-03 0.6  # Power scale at 60% for 60% velocity
setp lincurve.0.y-val-04 0.8  # Power scale at 80% for 80% velocity
setp lincurve.0.y-val-05 1.0  # Power scale at 100% for 100% velocity

# Scale the spindle speed by the lincurve output
net power-scale lincurve.0.out => scale.0.in
net adjusted-power scale.0.out => scale.1.gain

# Use scale to adjust the analog output voltage
net final-power scale.1.out => hm2_7i96s.0.pwmgen.00.value
  • onceloved
  • onceloved's Avatar
05 Aug 2024 14:09 - 05 Aug 2024 14:13
Replied by onceloved on topic EtherCAT i/o board for spindle, estop and mpg

EtherCAT i/o board for spindle, estop and mpg

Category: EtherCAT

The encoder input of this card is in the form of a counter. There is no AB phase input. I have studied it before and gave up. Now I use the rv901 fpga card with six encoder inputs and more than a dozen input and output
 
  • Muftijaja
  • Muftijaja
05 Aug 2024 14:02
Replied by Muftijaja on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

Ok, what adress to use - 10.10.10.2 or 10.10.10.1?
  • tommylight
  • tommylight's Avatar
05 Aug 2024 13:57
Replied by tommylight on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

OK, add as PCW said for you Intel NIC, save and reboot, see if it works with Mesa, double check with ip a and ping.
  • Muftijaja
  • Muftijaja
05 Aug 2024 13:38
Replied by Muftijaja on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

/etc/network/interfaces has just

auto lo
iface lo inet loopback

everything else I did outcomment for the moment, but I need to have the better performance for the intel card
  • tommylight
  • tommylight's Avatar
05 Aug 2024 13:29
Replied by tommylight on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

What do you have now in etc/network/interfaces ?
  • tommylight
  • tommylight's Avatar
05 Aug 2024 13:27

Hardware needed to switch from mach 3 6 axis to linuxcnc 9 axis

Category: General LinuxCNC Questions

No more Mach3! :)
You have to stop thinking about mach3 and how it does things, this is a whole new world with LinuxCNC.
BOB is a break out board used for parallel port to machine interfacing, cheap at ~10-15$ and it offers a bit of protection for the GPIO on the controller.
Up to a certain point, the SmoothStepper is similar to Mesa 7i96S, in that they both take commands from the machine controller or in this case the PC and send steps to motor drives, but it ends there as how they do the same thing differs a lot, mainly Mesa has usually 1ms response time (can be even faster) while smoothie will take quite a while to actually stop when commanded to stop due to buffering and ....
To put it simply, you can control happily an 16 ton machine with LinuxCNC for years on end 24/7/365, you can not do that with mach3...well you can but it ends up in tears and smoke and loss of will to live! :)
  • Muftijaja
  • Muftijaja
05 Aug 2024 13:07 - 05 Aug 2024 13:10
Replied by Muftijaja on topic Latency Test OK, dennoch Fehlermeldung

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

So, my last actions today summarized:
I deleted all wired connections.
I triet to find out which connection goes to what hardware. Cable put out from the MESA card, eno1 is definitely the internal Intel card, ip a shows "no carrier" on eno1, so that is quite clear and how I want it. eno1 has had much better pings when I did the sudo ethtool -C eno1 rx-usecs 0.
Confusion about that resolved.

enp2s0 is the RLT8111 card. I want to get Internet over this connection.
this means, I have to do what?

Q: Further configuration only in the etc/network/interfaces? Not in the network manager? Seems to be quite more complex to do all settings just in the /interfaces file. (newbie in Linux)  I can't find the doc where either/or is defined.

Confusion exists further about this:
Mesa Card has 10.10.10.10, Intel 82579LM card has 10.10.10.2    What is 10.10.10.1?

Suggestion in this thread was:
"auto eno1
       iface eno1 inet static
           address 10.10.10.2
        
   hardware-irq-coalesce-rx-usecs 0"

Suggestion in the google doc from PCW is:
"sudo geany /etc/network/interfaces

to append the following at the end of the file:

     auto enp2s0iface

          enp2s0 inet staticaddress 10.10.10.1 
         hardware-irq-coalesce-rx-usecs 0 
       Note, the last line is only required for Intel network cards."

Q: Besides the other connection enp2s0, what is the right configuration - 10.10.10.2 or .1 ?

Q: Do I need to have the loop in /interfaces to 127.0.0.1?

Thanks for any answers!
 

 
  • TucsonSean
  • TucsonSean
05 Aug 2024 12:32
Replied by TucsonSean on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

Hello Gentlemen,

I have encountered an issue with my installation of EasyProbe. After installation, I have taken care of all errors and was able to start LinuxCNC and when I go to calibrate the probe, I get the following error: Named Parameter #<_ini[probe]vel_fast> not defined

I know that vel_fast was a variable copied directly from the installation instructions and placed into the ini file.  Any help pointing me in the right direction would be greatly appreciated.

-Sean
LinuxCNC ver: 2.8.4
Displaying 23281 - 23295 out of 25533 results.
Time to create page: 1.123 seconds
Powered by Kunena Forum