5-74
esp_set_gear_constant Set UniDrive Axis Motor Gear Constant
esp_get_gear_constant Report UniDrive Axis Motor Gear Constant
Synopsis:
#include “esp6000.h”
int esp_set_gear_constant(long axis, float gear)
int esp_get_gear_constant(long axis, float gear)
Arguments:
long axis
axis number from 1-6
float tach
motor/stage gear constant (in revolution / unit of measure)
Library Location:
\esp6000.dll
Description:
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.
CAUTION
Poor servo performance can occur if gear constant is inappropriately set.
Please refer to stage specifications before setting value.
Returns:
ESPOK, ESPERROR
Hint:
Usage Example:
#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();
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание ESP6000
Страница 24: ...1 1 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 44: ...2 2 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 96: ...5 30 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 122: ...5 56 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 142: ...5 76 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 164: ...5 98 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 170: ...5 104 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 178: ...5 112 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 216: ...7 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 226: ...8 1 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 232: ...9 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 238: ...A 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 246: ...B 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 278: ...D 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 286: ...F 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 288: ...G 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 290: ...G 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...