buaame414 Posted August 9, 2017 Share Posted August 9, 2017 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 Link to comment Share on other sites More sharing options...
Gregs Posted August 9, 2017 Share Posted August 9, 2017 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. Link to comment Share on other sites More sharing options...
buaame414 Posted August 10, 2017 Author Share Posted August 10, 2017 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? Link to comment Share on other sites More sharing options...
mbalentine Posted August 14, 2017 Share Posted August 14, 2017 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? Link to comment Share on other sites More sharing options...
Gregs Posted August 14, 2017 Share Posted August 14, 2017 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. Link to comment Share on other sites More sharing options...
buaame414 Posted August 15, 2017 Author Share Posted August 15, 2017 thank you, I have solve it already. Link to comment Share on other sites More sharing options...
Recommended Posts