Hello Guest it is September 22, 2019, 07:08:45 AM

Author Topic: Servo for lathe spindle ?  (Read 18205 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Servo for lathe spindle ?
« Reply #20 on: September 29, 2014, 05:12:21 AM »
If you attach your xml I will be able to see how you have things set up and it will save me from asking a lot of questions.

Also if you could maybe take a couple of photos of the connections on CSMIO and also on drive, then that would help.
Hood
Re: Servo for lathe spindle ?
« Reply #21 on: September 29, 2014, 12:18:29 PM »
Hi ...
i have disconected everything but the encoders
here are some pictures..
Re: Servo for lathe spindle ?
« Reply #22 on: September 29, 2014, 12:21:36 PM »
more...
Re: Servo for lathe spindle ?
« Reply #23 on: September 29, 2014, 12:22:12 PM »
even more...
Re: Servo for lathe spindle ?
« Reply #24 on: September 29, 2014, 12:24:08 PM »
sorry here...
Re: Servo for lathe spindle ?
« Reply #25 on: September 29, 2014, 12:37:20 PM »
... the xml...
Re: Servo for lathe spindle ?
« Reply #26 on: September 29, 2014, 01:21:46 PM »
...i forgot there was a sticker on the drive ...
i attach it here...i have tried connecting like that but...

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Servo for lathe spindle ?
« Reply #27 on: September 29, 2014, 01:35:31 PM »
The wiring seems to be correct in as much as I can see. That is assuming of course that they are corrected to the correct pins on the servo drives.

The pic you have just attached does not matter as that is for Step/Dir input and you are set up for +/-10v so are not using step/dir.

In Mach I see you have 2500 steps per unit set, that is possibly incorrect as I think your encoder will be 2500 line or 10,000 pulse per rev. You will then need to work out how far the axis travels per motor rev to get the steps per unit.
For example if you have the motors coupled 1:1 to the ballscrew and the ballscrew pitch is 5mm then your steps per unit will be 10,000/5 = 2,000

Hood

Re: Servo for lathe spindle ?
« Reply #28 on: September 29, 2014, 01:59:55 PM »
ok thanks for looking at the pictures-xml.
now the 2500 works in z axis motor-drive and i can see the mach encoder moving but not on the x axis.I have possibly scr..d up something in the drive's parameters in x axis and i don't know how to reset to defaull values and restart from there...
also if i give 1.5volt from a battery to the vref cable the motor(X) still doesn't move...
(or i have burned something in the encoder output of x axis.in that case though i should get a fault alarm condition which i don't...?)
what if i try connecting to another encoder input (nr 3 4 or 5) of csmio?
basically there are two problems:
1.the encoder (x) does not communicate correctly to the mach and
2.the csmio doesnot move the motor-drive (x)
.....

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Servo for lathe spindle ?
« Reply #29 on: September 29, 2014, 02:07:35 PM »
is it possible just to swap the plug on the drives? That way you should be able to see if you get the other drive working.
Failing that you could rewire to another encoder input on the CSMIO and you will just need to tell the plugin which enc input you are using for that axis.
Hood