Newport ESP6000 User Manual page 113

Motion controller/driver
Table of Contents

Advertisement

esp_set_max_speed Set Axis Maximum Speed
esp_get_max_speed Get Axis Maximum Speed Setting
Synopsis:
Arguments:
Library Location:
Description:
Returns:
Usage Example:
See Also:
Section 5 — Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
#include "esp6000.h"
int esp_set_max_speed(long axis, float speed)
int esp_get_max_speed(long axis, float *speed)
long axis
axis number from 1-6
long speed
maximum speed in user units/second
\esp6000.dll
esp_set_max_speed() sets the maximum permissible speed for the specified axis.
The controller will not accept speed parameters set by other functions (e.g.,
esp_set_speed() ) which exceed maximum permissible speed.
esp_get_max_speed() reports the maximum permissible speed for the specified axis.
ESPOK, ESPERROR
Hint:
#include "esp6000.h"
main()
{
long error, servotick;
if (!esp_init_system())
{
printf("ESP6000 Not Initialized! \r\n");
exit(-1);
}
/* set axis 1 trajectory parameters */
esp_set_max_speed(1, 100.0);
esp_set_max_accel(1, 500.0);
esp_set_max_jerk(1,100.0);
/* check error status */
esp_get_error_num(&error,&ServoTick) ;
if (error) printf("Error %d Reported!\r\n", error);
}
esp_set_speed(), esp_set_home_speed(), esp_set_jog_speed()
5-47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents