pennells Posted January 24, 2012 Posted January 24, 2012 I can't figure out how to call a motion program from a c program. I'm trying to cyclically run a motion program and then rest for a period. Is there an easy way to do this.
curtwilson Posted January 25, 2012 Posted January 25, 2012 The easiest way is to use the "Command" function in the gplib.h library. You can do it with a literal -- e.g. Command("&1b1r"); or assemble a string variable.
pennells Posted January 25, 2012 Author Posted January 25, 2012 Thanks, I did find that. The "Command" function is hard to find in any documentation. I found it in a document on Manually Scheduling Threads in Power PMAC.
Recommended Posts