5x10 servo router rebuild - analog of step/dir with mesa card?

More
10 Aug 2024 15:30 #307420 by warreng
I've got a 5' x 10' CNC router with a failed Mach 3 control. It has Yaskawa Servos (SGMGH-09ACA61) and was set up for step/dir with an ethernet smooth stepper. It was "open loop" with that control. It has four motors for the 3 main axis and a 5th motor for a rotary axis. I might not use the 5th axis but I do have a crazy idea for an automated dust collection "axis" that would probably use stepper motors. 

I have a Mesa 7I76e that I bought several years ago for another machine that has yet to be completed and I think this would be my fastest/easiest control to drop in but would still leave me open loop to the control. Instead I've been thinking of running with analog servo signals and the encoder feedback into LinuxCNC using a 7I92TF with a 7I77 or a single 7I97T. It seems the 7I97T might be a bit light on general I/O since the machine has an ATC spindle and several other pneumatics that need to be controlled and sensed so I'm leaning towards the former combo. 

Any suggestions wrt to Mesa card availability and the advantage of using analog vs step/dir in this application? 

 

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 15:56 #307422 by PCW
I would think that leaving it step/dir would be the easiest path
and would require few wiring changes. It also would not require
changing the drive setup, tuning the drives or tuning LinuxCNC's
feedback loop.

The only real advantage to an analog setup is that you can disable
the drives without losing position.
The following user(s) said Thank You: warreng

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 17:03 #307425 by tommylight
Do the servo drives have encoder outputs? Al Yaskawa i have worked with do have them, so since you have 7i76E just add a 7i85 or 7i85S for encoder feedback and you get the best of both worlds, easy tuning and position control even when drives are disabled.
The following user(s) said Thank You: warreng

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 19:11 #307428 by warreng
Pardon my ignorance... Based on your comment I presume that the servo tuning is stored in the servo drives?

I have had the understanding that I DO want the LinuxCNC feedback loop in order to make a [more] closed loop system which is more better than having the control completely blind to the position (or loss of position) of the motors.

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 19:22 #307430 by warreng
Yes, the servos have relative encoders. The previous owner of this unit had always planned to upgrade the control so that the encoders would be useful. It makes sense to me as well.

Since the 7I76e variants are not in stock right now, and my other machine that I will eventually build is a stepper motor machine, would it make more sense for me to buy one of the analog boards that are in stock right now? I suspect that some more snooping around the Mesa store might be in order...

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 23:28 #307448 by tommylight
7i96S + 7i85 or 7i85S and add a 7i84 if you need more IO.
Later, when you do feel confident to dip your toes in analog territory you only need to get a 7i83.

Please Log in or Create an account to join the conversation.

More
10 Aug 2024 23:33 #307449 by tommylight

Pardon my ignorance... Based on your comment I presume that the servo tuning is stored in the servo drives?

I have had the understanding that I DO want the LinuxCNC feedback loop in order to make a [more] closed loop system which is more better than having the control completely blind to the position (or loss of position) of the motors.

Seen this after i already replied above.
Yes, in position mode the loop is closed in the drives, so the tuning is done on the drives.
Since LinuxCNC can do steppers with feedback and loop closed in LinuxCNC, it is much better to use the drives as is as they are already tuned there, and tuning steppers with feedback is much, much easier than analog servos.
Another good thing is there is no fear of motors running at full speed if any mistake is made during wiring and tuning in analog mode as the drives have no control over motor speed in that mode, they do whatever is required from the analog input.
The following user(s) said Thank You: warreng

Please Log in or Create an account to join the conversation.

More
28 Aug 2024 14:39 #308898 by warreng
I'm back with a couple more questions about this. 

A) I went down the rabbit hole recently wrt s curve trajectory planning and have been looking at other control systems besides LinuxCNC just to be sure another path might not be better. I'm astounded that practically all the other options I've found are windows only. I'm not thrilled with that on principle alone. But I'm sure that they are all reasonable when set up correctly. My first question is whether s curve is even desirable for a 5000 lb 5'x10' CNC wood router with helical rack and servo motors that can do about 1500 ipm on X&Y OR if the look ahead and buffering in LinuxCNC with the current trap planner is likely to be just fine for this machine. It seems that a lot of LinuxCNC users are running on metal cutting mills/lathes/plasma and/or small desktop routers so I'm looking for a reality check for this application.

B) It's been my assumption based on this thread and others that the feedback loop in LinuxCNC can close in two ways. Clearly, with servos and encoders, it can close the "servo loop" and LinuxCNC is in full charge of the drives/motors. This means tuning in LinuxCNC, if I understand correctly. But can someone clarify how it works and what LinuxCNC actually does with encoder data when the tight servo loop is closed in the drives instead? Is there a "looser" loop of some sort? 

C) Any general or specific comments about 1) Centroid vs 2) WinCNC vs 3) Auggie with a PoKeys vs 4) CSMIO vs 5) LinuxCNC for this wood router? I have the opportunity to steal a WinCNC control from another machine; would anyone recommend that over LinuxCNC for this application? 

Please Log in or Create an account to join the conversation.

More
29 Aug 2024 20:17 #308968 by Todd Zuercher
I've been using machine's at work with WinCNC and it's DOS based predecessor for more than 20 years, and Linuxcnc for a bit over half that time. Personally I would not choose it over Linuxcnc for a new machine build. It works ok, but its configurability is far more limited than Linuxcnc. I also don't fully trust the motion planner in WinCNC. I'm not sure that it really does proper acceleration or deceleration profiles, and it certainly doesn't do jerk limited motion. (If a machine set up with WinCNC is actually doing jerk limiting, it is being done in the servo drive, in spite of what ever WinCNC is commanding them, not because of it.)

Linuxcnc's dialect of G-code seems to be more "normal" and the canned cycles are more Fanuc like than WinCNC's g-code dialect. Also writing macros and subprograms seems easier in Linuxcnc. One think that is easier in Wincnc is setting up repeat arrays, but it uses a propriatary G-code that is unique to Wincnc.(L10).

Also if you ever have trouble with your Wincnc system, and need support, you will likely be stuck with having to pay $3000-5000 to upgrade to the latest supported version. (Has happened to us a couple of times.)

We've had 7 different routers that started out with their software. Only one is still running Wincnc. (The rest are now running Linuxcnc, were sold, or both.)
The following user(s) said Thank You: tommylight, warreng

Please Log in or Create an account to join the conversation.

More
29 Aug 2024 23:36 #308990 by warreng
My googling shows hints that WinCNC has some s-curve support. But I'm not educated enough to know how complete or useful it is. Thank you for the first hand comments about WinCNC. 

Your comment about jerk limiting in the servo highlights a hope I had wrt the Yaskawa drives I have. But, alas, Sigma II doesn't appear to have this feature. I'm also confused about how a machine can keep synchronicity while drives are doing acceleration modifications in isolation. 

If I've read correctly, you are running primarily wood cutting machines? 
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum