Can i manually run the servo motor?

More
16 Jul 2014 16:51 #48839 by skvallab
How to manually run servo motor alone, at desired RPM.
Hardware i use is
Pico universal stepper controller.
servo motor -1.5 KW panasonic servo rated speed is 2000 rpm.

Eg: Will i be able to run the motor alone at say 2000 rpm. If that is possible using linuxcnc, how do i do it?.

regards
vallab

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

More
17 Jul 2014 10:29 - 17 Jul 2014 10:31 #48857 by vre
You can run it alone without linuxcnc and pico.
First you must config servo drive to speed analog mode +-10V and after that you must apply to analog voltage pins of servo drive
voltage = (10/2000) * rpm_you_want Volts

Maybe you must enable some flags like servo enable in the drive
Last edit: 17 Jul 2014 10:31 by vre.
The following user(s) said Thank You: skvallab

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

More
17 Jul 2014 10:36 #48858 by skvallab
But I need to do it in Linux CNC.
I need to check whether the calculations are right.
If I command it to move 5 mm I need to know if it's moving 5 mm.


Regards
Vallab

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

More
17 Jul 2014 19:19 #48884 by andypugh

How to manually run servo motor alone, at desired RPM.
Hardware i use is
Pico universal stepper controller.
servo motor -1.5 KW panasonic servo rated speed is 2000 rpm.


What sort of drive? If it is a conventional +/-10V servo drive then the Pico USC won't be able to drive it.

If it is a step-dir drive then the ppmc driver docs say that the stepgens take a direct velocity input, so to run the drive at a constant speed you could, from the command line:
halrun
loadrt hal_ppmc port_addr=0x378
loadrt threads
addf ppmc.0.write thread1
start
start setp ppmc.0.stepgen.0.velocity 1000

Adding the last line to a LinuxCNC HAL file will have much the same effect
Using "net" to connect the velocity pin to a PyVCP or Glade panel would let you actually control the speed.

Some hint as to the application would help suggestions of the best solution.
The following user(s) said Thank You: skvallab

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

Time to create page: 0.059 seconds
Powered by Kunena Forum