Hi , I have some questions about connecting AC Servo Driver and controll with arduino, I am familiar with stepper motors and small servos, but I decide to try with big Servo because in future I will need them for my project. I will attach picture of my driver, so if someone can help me with this I will appreciate.
Wich code should I use, Is there anywhere some library for big ac servo. or how to move my motor, like some functions (etc. run to new position, move,move to, servo.write ..)
Looks like that drive has all the motion control built in, you would probably only need to communicate with it using a serial protocol like RS232 or RS422, can you post a link to the owner's manual?
edgemoron:
Looks like that drive has all the motion control built in, you would probably only need to communicate with it using a serial protocol like RS232 or RS422, can you post a link to the owner's manual?
It seems to talk MODBUS over RS485. That suggests an RS485 shield and MODBUS library?
Ok, but can I simply use direction pin and pulse pin on CN2 control interface.
I try to use Position pulse command interface. I have connected
external dc power 24V on pin 2,
PP- pin 14 and PP- pin 5 to the ground
PP+ pin 3 and PD+ pin4 connected to arduino
It seems to me logical, but nothing happens when I send signal from arduino.
I read that is possible to use pulse/direction pin with arduino and controll similar like stepper motor, but nobody can say how
I hope you understand me, and thank you for your help.
You are close.I have same driver so hire is how to wire for Pulls and Direction
You have to take 12-24 volt power supply and wire + in to pin 9 on driver
then ground in to pin 6 to turn on motor.
You can put extra 1 switch or industrial push button on off.For turning on off servo motor if you wish
Then you need connect ground wire from arduino in to pin 14 and pin 5 of driver
Now connect Pulls pin from arduino in to pin 3 of driver
then connect Direction pin from arduino in to pin 4 of driver.
This is way how it works.
My only problem is i cannot get max speed of this servo with arduino.I don't know why.
When i control manual from driver with jog option it is so fast up to 3000 rpm.
with arduino accelstepper code working but very slow.
with code delayMicrosecond faster but not at all fast 1500 rpm or 3000 rpm
Maybe i need some better code or i dont know.
so if somebody know please help.How to get max with arduino
I don't think that I understand you perfectly MarkT. I've read manual, did you mean on this "● In the open collector input mode, the maximum input pulse frequency 200 KHZ (KPPS)" so I dont have idea how big is that, but I think thats enough 200000 Pulse Per Second to run motor faster.
can you please more detail on how to solve this, I'm having the same issue using a Festo servo Motor controller. trying to communication with it through RS485.
Generally every servodrive have a parameter called “electric gear”. This it’s usefully when you can’t reach the frequency for max speed . If you can reach 300 rpm now, just modify electric gear by 10 and you’ll reach 3000rpm. If you can’t find parameter just share user manual To help you
I have this same AC servo and driver. Could someone share some basic code to get it spinning?
If I'm understanding this correctly I should be using stepper code lib and not servo lib since it uses Pulls and Direction and not a signal?