Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
22 Aug 2024 15:29
Replied by PCW on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

Is there a tachometer from the motor connected to the drive?
 
  • greg23_78
  • greg23_78
22 Aug 2024 15:09 - 22 Aug 2024 15:10
Replied by greg23_78 on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

it's not news, but I prefer to control it.
if i understand correctly, i have just mechanically disconnected my motor from my Z axis.
i put 10V on the drive and control the speed with a tachometer ?

but how adjusting the drives velocity loop  gain as high as possible while remaining stable ?

which button should I modify ?
-Zero offset
-Speed stability
-current limit
-Reference input
  • schuetzbuilds
  • schuetzbuilds
22 Aug 2024 15:04 - 22 Aug 2024 15:06
Replied by schuetzbuilds on topic Retrofitting a MAHO MH600T

Retrofitting a MAHO MH600T

Category: Milling Machines

So after the crucial tip from pcw I got the outputs working and configured the lube system. As for the hydraulic draw bar I repurposed the former cycle start button from our very simple hand held. After looking at the code for the central lubrication, I modified it a bit to fit the drawbar application and loaded it as drawbar component, which will only release the drawbar, if the spindle is not running.
It connects via Hal similar to the central lubrication component (wiki.linuxcnc.org/cgi-bin/wiki.pl?CentralizedLubricator).
# drawbar
loadusr -W /home/maho/linuxcnc/configs/maho_mh600t/drawbar.py
net drawbar-open drawbar.open => hm2_5i25.0.7i84.0.2.output-03
net machine-is-enabled drawbar.machine_status <= motion.motion-enabled
net spindle-enable drawbar.spindle_status
net drawbar-sw drawbar.open_sw <= hm2_5i25.0.7i77.0.0.input-00
  • PCW
  • PCW's Avatar
22 Aug 2024 14:50
Replied by PCW on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

1. If you have new drives, the drives themselves likely need
to be tuned first. This includes scaling the tachometer feedback
so you get full speed at 10V. It also means adjusting the drives
velocity loop  gain as high as possible while remaining stable.

2. Since these are velocity drives, you should use a velocity mode
tuning guide. Note that for properly tuned velocity mode drives,
the most important LinuxCNC PID term is FF1.

3. As far as output scaling goes, setting the output scale to the machine
units per second of axis velocity at 10V, means that now all PID terms
are normalized to engineering units, and FF1 == 1.0. This also makes
it easier to compare setups.
  • Todd Zuercher
  • Todd Zuercher's Avatar
22 Aug 2024 14:49
Replied by Todd Zuercher on topic Re-enable drives after a fault

Re-enable drives after a fault

Category: General LinuxCNC Questions

As to your question about the position continuing to increase with the effector against a stop, could be explained by multiple reasons. It could be a physical issue such as flex in the machine or a coupling slipping, It could be an electrical issue such as noise causing miss reading of your encoder. It could be a Linuxcnc setting, such as the display set to show commanded position instead of actual. It could even be something is wrong with your kinematics model.
  • zmrdko
  • zmrdko's Avatar
22 Aug 2024 14:29 - 22 Aug 2024 14:29
Replied by zmrdko on topic is there some basic list to build the net ?

is there some basic list to build the net ?

Category: EtherCAT

also you can get some inspiration in my config: github.com/zmrdko/3dworks_ethercat_lcec

not finished, but basics work.
  • Todd Zuercher
  • Todd Zuercher's Avatar
22 Aug 2024 14:26 - 22 Aug 2024 14:36
Replied by Todd Zuercher on topic Re-enable drives after a fault

Re-enable drives after a fault

Category: General LinuxCNC Questions

What do you have set for your MIN_FERROR and FERROR settings in your ini file? Perhaps you need to loosen those tolerances so that you only set a following error alarm when there truly is a significant problem?

Also those two settings work together and should not necessarily be the same. The MIN_FERROR setting sets the following error limit when the joint is stopped or moving extremely slowly, and can be set to a relatively small amount (maybe the machine unit equivalent to 50-100 encoder counts). The other setting FERROR sets the following error limit for that joint at it's fastest possible movement (programed max velocity limit). Generally this should be set to something significantly larger than the MIN_FERROR. What that should be will depend on the nature of the machine. For a fast linear joint that might need to be something like 10-20mm or several degrees for a rotary one.

Edit add
Linuxcnc calculates the actual following error limit linearly between the two MIN_FERROR and FERROR settings dependent on the speed of the joint.
  • greg23_78
  • greg23_78
22 Aug 2024 13:59
Replied by greg23_78 on topic Driver NUM GEC MK2S

Driver NUM GEC MK2S

Category: Driver Boards

I changed the output-scale sign and now it works.

I've tried tuning my motor but I can't get it to work properly.


I find it strange that my motor remains stable when I activate my drivers with a P of 0.1. Above that, when I activate the motor, it races and oscillates.

After several searches, I find the same behavior as H bridge drives running PM DC motors.
I actually have a PM DC motor

I came across your procedure
Blatantly copied and pasted from a post made by PCW regarding H bridge drives:
Bare H-bridge drives running PM DC motors behave somewhat like velocity mode servos
(with quite low velocity feedback gain) So they end up being somewhere between velocity
and torque mode.
That is, you are setting the average motor drive voltage with the PWM value. This sets the
approximate motor velocity because the motor will accelerate to a velocity where the generated
back EMF is close to the supplied voltage. If the motor impedance was zero, you would have close
to a perfect velocity mode servo, but the impedance is substantial which leads to the low
inherent feedback gain.

Normally for Hbridges, I would start with a low P value and tune the D term as high as
possible without excessive buzzyness, then set FF1 so that the actual position does
not lead or lag the commanded position at full speed, then I would tune FF2 so that
the actual position does not lead or lag the commanded position during acceleration
Then I would tune P as high as possible without oscillation, overshoot and then when
everything else is close, add as much I term as possible without instability.
Thank you, PCW.
Please feel free to voice your advice, critique, additional info etc.

and that of IRAK

forum.linuxcnc.org/10-advanced-configura...ge-tuning-servo-loop

What procedure should I follow for my driver and motor?


In the IRAK procedure, it says “Set P to low value - about 1/4 any possible oscillation.” oscillation when enable the drive or i jog? because when I set P to 0.9 sometimes the axis oscillates and sometimes it remains stable (I'm not talking about jog because in all cases it oscillates even before P=0.2).

then as I understand it I need to “Set OUTPUT_SCALE to encoder.N.velocity” to know maximum speed the table (I presume I need to look at the speed through the encoder).

How do you do “Set OUTPUT_SCALE to encoder.N.velocity”?
 
  • Aciera
  • Aciera's Avatar
22 Aug 2024 13:41
Replied by Aciera on topic Re-enable drives after a fault

Re-enable drives after a fault

Category: General LinuxCNC Questions

The end effector position reported by linuxcnc kept increasing but the arm wasn't moving.

Sounds like something is wrong with your setup.
Could you post your hal and ini files?
  • vick.trinity
  • vick.trinity's Avatar
22 Aug 2024 13:23
Replied by vick.trinity on topic Re-enable drives after a fault

Re-enable drives after a fault

Category: General LinuxCNC Questions

Todd, thanks for your response.  You are correct, the right way to do this would be to add some sort of brake to the motor shaft.  However, due to the nature and budget of this project, that is not an option. 

One of the responses that I got from the linuxcnc facebook group for this same question might be an option: Is it possible to:

"Create a component that is called by the Ferror pin which sets the joints to zero speed and re-enables the drives sounds like the right way to do it. "?
I am also curious about your statement: "The precise position was already lost due to the following error".  I think I noticed this after I increased the Ferror settings in the INI file and then drove the arm against an object.  The end effector position reported by linuxcnc kept increasing but the arm wasn't moving.  I didn't know linuxcnc worked like this - I thought It only reported the actual position from the encoders and the "desired" position was some other value.  I haven't had to worry about this on my mill because the desired and actual position are essentially the same.
  • zmrdko
  • zmrdko's Avatar
22 Aug 2024 13:14
Replied by zmrdko on topic New LinuxCNC-Ethercat git tree

New LinuxCNC-Ethercat git tree

Category: EtherCAT

I have just learned, why the lcec_dems300 is so simple. There are just very few PDOs defined. (as part of CIA402 standard I guess?).
  • AndyDM01
  • AndyDM01
22 Aug 2024 13:08 - 22 Aug 2024 13:12
Replied by AndyDM01 on topic CiA 402 in 1.15.0

CiA 402 in 1.15.0

Category: EtherCAT

maybe I made the noob mistake and didn't use the same name??
I finally got some time to check stuff (read = my boss not looking for a reason to get my ass away from the PC!) because I got the office to myself
I think that would be a place to start. check labels
does the [name] take priority over [idx] ?
looking at your examples ... I think it does.
 
  • Mecanix
  • Mecanix
22 Aug 2024 12:53 - 22 Aug 2024 13:00
Replied by Mecanix on topic ESP32-P4 - LinuxCNC 5ax Motion Control Board

ESP32-P4 - LinuxCNC 5ax Motion Control Board

Category: Driver Boards

No FW preference at this early stage. I literally just got the hardware to work, after two iterations. So far only tried the built-in hardware counter with a ABZ encoder spun at 5kRPM (dremel chuck hooked on the encoder's shaft lol). Didn't miss a heart beat, does Hello World stuff, blink leds and 50meg SPI with zero drama.

Thread's really is "For Ideas & Suggestions" on hardware add-ons. I know with certainty the Lcnc mcu residents will have a blast with that fast silicon and free flow of GPIOs. Happy to put some cool and quiet HW together for them - all done for our RIO 5ax board already, and so... why not - easy migration!!
  • AndyDM01
  • AndyDM01
22 Aug 2024 12:36
Replied by AndyDM01 on topic CiA 402 in 1.15.0

CiA 402 in 1.15.0

Category: EtherCAT

 

File Attachment:

File Name: mpcnc_plas...8-22.hal
File Size:4 KB


 

File Attachment:

File Name: mpcnc_plas...conf.xml
File Size:7 KB



for some reason it didn't make the click in my head yet
  • meister
  • meister
22 Aug 2024 12:35 - 22 Aug 2024 12:37
Replied by meister on topic ESP32-P4 - LinuxCNC 5ax Motion Control Board

ESP32-P4 - LinuxCNC 5ax Motion Control Board

Category: Driver Boards

do you already know which firmware you want to use?

Remora ?

or maybe the one from @wez who raved about the P4:

forum.linuxcnc.org/18-computer/51816-esp...en-usb-plug-and-play

or something new ?
Displaying 22201 - 22215 out of 25344 results.
Time to create page: 0.412 seconds
Powered by Kunena Forum