7/27/2015 10:18 PM | |
Posts: 125 Rating: (11) |
Instead of using the more raw _addSegmentToCam, I like to use SIMOTION library LCamHdl . You build up a structure for each line segment, as defined by start position, velocity, accel, and jerk, and end position, velocity, accel, and jerk. You pick a segment type like "POLY_5" and at the end when you call instFBCreateCam(execute := TRUE, ...) the library generates the coefficients and does the interpolation. pdf here: You can get the library itself off the Utilities and Applications DVD of the Simotion installation. The easiest way is to put it in with Project Generator SIMOTION easyProject. |
Last edited by: Joeman at: 7/27/2015 10:19:14 PMLast edited by: Joeman at: 7/27/2015 10:19:54 PM |
|
Follow us on