5-42
esp_stop_all Stop All Axes
Synopsis:
#include “esp6000.h”
int esp_stop_all(void)
Arguments:
none
Library Location:
\esp6000.dll
Description:
esp_ stop() causes all axes in motion to immediately decelerate using deceleration rate
previously set by esp_set_decel() function call.
Returns:
ESPOK, ESPERROR
Hint:
Usage Example:
#include “esp6000.h”
main()
{
long error, servotick;
if (!esp_init_system()) exit(-1);
esp_enable_motor(1);
/* set axis 1-3 to jog trajectory mode */
esp_set_traj_mode(1,JOG);
esp_set_traj_mode(2,JOG);
esp_set_traj_mode(3,JOG);
/* set axis 1 speed and direction */
esp_set_jog_speed(1, -20.0);
esp_set_jog_speed(1, +30.0);
esp_set_jog_speed(1, -25.0);
•
•
•
/* stop all axes motion */
esp_stop_all();
}
See Also:
esp_stop()
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com