Hello Guest it is March 29, 2024, 05:38:57 AM

Author Topic: biggish servo spindle  (Read 12031 times)

0 Members and 1 Guest are viewing this topic.

Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #20 on: November 19, 2016, 09:43:10 PM »
I have those settings correct. Not sure on the gearing yet, it needs to work a little better and more stable before i'll worry about that. The ground on pin 2 could be the issue. I'll give that a shot tomorrow. Right now its time for a pint.

Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #21 on: November 20, 2016, 12:04:31 PM »
Grounded pin 2 with no change. Even tried step and direction single ended because it is a different set of pins on the B.O.B.  Motor will still only rotate in one direction and errors out very easily. Has to be something with the breakout board or mach3. From Ultraware, it will run any rpm just fine.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: biggish servo spindle
« Reply #22 on: November 20, 2016, 01:30:38 PM »
Ok I presume you have done a tune in the Ultraware and it is looking good?
What motor do you have?
What steps per unit and Velocity do you have set?
Is it always E21 that is the error?
What breakout board are you using?

Hood

Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #23 on: November 20, 2016, 01:57:45 PM »
I've done only minimal tuning. I haven't gotten the oscilloscope function to work in Ultraware. I'm using MPL-A4530K-HK22AA for the motor. It has a 2000line encoder. The steps are about 22.4 (should be 22.2222).  For now it is close enough on the steps and getting 360* revolution. Any velocity over 4000deg/min gets more and more unstable. It's always an e21 error unless the proportion gain is too high and it starts to oscillate  and will get an e23 alarm. I'm using a machmotion apollo I breakout board. (its in all my machines). I'm wondering if i need to combine the 5v from the drive with the 5v on the board?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: biggish servo spindle
« Reply #24 on: November 20, 2016, 02:28:58 PM »
No, don't connect the 5v unless your breakout requires 5v power.
Can you export the drive  setup and attach the uxf so I can have a look?
You will probably have to zip it so that the forum will accept.


Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #25 on: November 21, 2016, 08:35:34 AM »
here is my turn xml and the exported file from the allen bradley

Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #26 on: November 21, 2016, 08:37:40 AM »
sorry, here is the mach xml file

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: biggish servo spindle
« Reply #27 on: November 21, 2016, 11:34:18 AM »
I don't see anything obviously wrong in either of the files.
I got the E21 error on my Beaver Mill one time when I used a certain plugin for the SmoothStepper, Greg had altered something for me but he must have also done something to the Step/Dir pulses as it would constantly give me problems, he redid the plugin and all was fine again so there was an issue somewhere with the timing.

It sounds like you may also be getting the same issue but whether it is the board outputting erroneous pulse signals or wiring I am not sure. With you only getting one direction that could be the way you have the axis set up, rotary axes can be set like that if I recall and if you wish them to go the opposite way then you need to command a negative move.

Offline fast89

*
  •  154 154
    • View Profile
Re: biggish servo spindle
« Reply #28 on: November 21, 2016, 03:37:28 PM »
I was really hoping you would find something simple. I have messed with this thing for days. My Teco ac servos are working fine on this machine. I don't have a smooth stepper. I don't think i even have any plugins enables that could affect this. Grrrr. Might be time for a plan b.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: biggish servo spindle
« Reply #29 on: November 22, 2016, 03:22:04 AM »
Have you tried setting it up as a spindle or as a linear C axis?