Another 7i76 Spindle Setup Question

More
8 years 6 months ago #108787 by Skippy1
Chaps,

I've used PnCConf to configure a 5i25/7i76 setup for a lathe on Version 2.5.5 of Linuxcnc. It's all gone well, so a big thanks to Mesa and those who develop/support Linuxcnc.

I have configured the spindle drive using the TB4 spindle output to control a ABB VFD, and the TB3 encoder input to read a spindle encoder. Reading a few other posts, I've managed to get spindle enable, direction, and speed sort of working, and would be thankful if someone could run a critical eye over the following settings, and let me know where I've messed it up. Note that the maximum rpm of the spindle motor is currently set at 1465rpm, and the encoder is quadrature 1024ppr.

Cheers, Steve.





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

More
8 years 6 months ago #108823 by andypugh
What is the problem that you are having?

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

More
8 years 6 months ago #108854 by Skippy1
Well, nothing desperately wrong, just little buggy things. When operating with the Manual Control (F3), I can get full spindle speed at 100%, but spindle speed drops to 0rpm when the Spindle Override slider is at 28%. (This could be a separate VFD issue.) When running the spindle in reverse in Manual Control, the + button slows the spindle down, and the - button speeds it up. And I did have the S Axis Test feature working, but now it has stopped.

So, I assume I've messed something up.

Cheers, Steve

PS. The spindle count now increments by a value of 1 every revolution of the spindle, I'm guessing that's what it is expected to do?

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

More
8 years 6 months ago #109540 by andypugh

Skippy1 wrote: but spindle speed drops to 0rpm when the Spindle Override slider is at 28%. (This could be a separate VFD issue.)

Can you measure the actual control voltage to work out if the problem is what LinuxCNC is doing, or with what the VFD does in response?


quote] When running the spindle in reverse in Manual Control, the + button slows the spindle down, and the - button speeds it up.[/quote]You probably need to link the motion.spindle-speed-out-abs variant of the HAL pin to the VFD. (If you haven't already)

PS. The spindle count now increments by a value of 1 every revolution of the spindle, I'm guessing that's what it is expected to do?

Yes, that is what you need for spindle-synched motion.

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

More
8 years 6 months ago #109696 by Skippy1
Had another fiddle today, and the spindle speed control problem is definitely the ABB VFD. The MESA card outputs a nice linear 0 to 10 VDC over the 0 to 100% range. The issue is a parameter in the VFD, which prevents the motor turning until the analogue control signal is 20% of the full 10 VDC range (2VDC). The manual notes that they do this as in some configurations, a loss of the analogue signal, or a 0 VDC signal, could cause the drive to go into reverse . (How this could happens when the Mesa card controls the spindle direction is beyond me - the manual must be referring to another configuration.) This parameter can be changed, so I will have another fiddle tomorrow.

I'm still not sure I've got the Output Info limit and scale values in the spindle motor configuration correct. I've tried a few combinations of: -10, 10, 1450, 0, 10, 1450, and eventually returned to -1450, 1450, 1450, as it seems to work best.

Cheers, Steve

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

More
8 years 6 months ago #109839 by Skippy1
OK, reducing the minimum analogue control signal parameter in the ABB VFD from 20% to 0% has rectified the spindle speed range problem. With manual, Midi, or a program control, the range from 0 to a maximum 1450 rpm is linear over the 0 to 10 volts output from the Mesa card.

However, I still have a weird problem when running the spindle in reverse. It's as if the 0 to 10 volts output from the Mesa card is linear, but reversed. You call for slow speed, and you get fast, you call for high, and you get slow. Checking the voltage output from TB4 SP OUT (wiper) while using Midi control gives the following result.

M3 (forward rotation) S500 - 3.4v and 480rpm, S1000 - 6.8v and 1020rpm. Speed control. All good here.
M4 (reverse rotation) S500 - 6.5v and 1000rpm, S1000 - 3.1v and 440rpm. Speed control, but reversed.

The above results were with the spindle motor configuration Output Info limit and scale values set at -1450, 1450, 1450. Trying a number of different values has not helped.

Any observations or suggestions on my problem would be gratefully received.

Cheers, Steve

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

Moderators: cmorley
Time to create page: 0.295 seconds
Powered by Kunena Forum