Esp_Set_Tach_Constant(Long Axis, Float Tach); Esp_Set_Gear_Constant(Long Axis, Float Gear); Esp_Get_Gear_Constant(Long Axis, Float *Gear) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_set_gear_constant Set UniDrive Axis Motor Gear Constant
esp_get_gear_constant Report UniDrive Axis Motor Gear Constant
Synopsis:
Arguments:
Library Location:
Description:
Returns:
Usage Example:
5-74
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
#include "esp6000.h"
int esp_set_gear_constant(long axis, float gear)
int esp_get_gear_constant(long axis, float gear)
long axis
axis number from 1-6
float tach
motor/stage gear constant (in revolution / unit of measure)
\esp6000.dll
esp_set_gear_constant() API call is used to set the UniDrive6000 motor amplifier
gear constant for the specified servo axis and should be used in conjunction with
esp_set_tach_constant(). The gear constant is defined as the number of revolutions the
motor has to make for the motion device to move one displacement unit. To take immedi-
ate effect this command should be followed with the esp_update_unidrive() command.
Poor servo performance can occur if gear constant is inappropriately set.
Please refer to stage specifications before setting value.
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 Motor Current */
esp_set_motor_current(1, 1.9);
/* Set Axis-1 Stage Gear Constant */
esp_set_gear_constant(1, 0.3);
/* Set Axis-1 Tachometer Constant */
esp_set_tach_constant(1, 3.1);
/* Update Unidrive6000 Axis-1 */
esp_update_unidrive(1);
/* Save new settings to non-volatile memory */
esp_save_parameters();
CAUTION

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents