Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to write a servo program
#1
Hello, I write a servo program in Turbo PMAC , which can not automatically run after downloading , how to solve?

OPEN SERVO
CLEAR
p1=p1+1
CLOSE
Reply
#2
There needs to be a motor with with Ixx00=1, Ixx59=1 or 3, and Ixx60 > 0. Then, to enable the servo routine, enable motor xx. Remember that anything that disables that motor will disable the servo program. See the section "Executing the Open Servo Program" in the Turbo User manual.
Reply
#3
Thank you, but I don't know which motor to choose, can you give me an example of a servo program that can be executed?
Reply
#4
(08-09-2017, 07:53 PM)buaame414 Wrote: Thank you, but I don't know which motor to choose, can you give me an example of a servo program that can be executed?

For clarification:
Are you using the standard PMAC servo control algorithm, and just wanting to test run a simple motion program to confirm that the motion program is executing?
- or -
Are you replacing the standard Delta Tau servo algorithm with your own custom algorithm written in C and cross compiled for PMAC?
Reply
#5
Just choose any unused motor number. Also, it might be a good idea to set Ixx24 so that other motors are not disabled on a fault. And, by the way, Ixx60 does not have to be > 0, unless you want to slow the execution rate.
Reply
#6
thank you, I have solve it already.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)