Esp_Update_Unidrive(Long Axis) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_update_unidrive Update UniDrive Settings
Synopsis:
Arguments:
Library Location:
Description:
Returns:
Usage Example:
See Also:
5-10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
#include "esp6000.h"
int esp_update_unidrive(long axis)
long axis
axis number from 1-6
\esp6000.dll
esp_update_unidrive() API function call resends all UniDrive6000 settings using the
most recent motor configuration 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);
}
/* Change Axis-1 Motor Current */
esp_motor_current(1, 1.9);
/* Update Unidrive6000 Axis-1 */
esp_update_unidrive(1);
/* Save new settings to non-volatile memory */
esp_save_parameters();
/* check error status */
esp_get_error_num(&error,&ServoTick) ;
if (error) printf("Error %d Reported!\r\n", error);
}
esp_motor_current(), esp_save_parameters()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents