Esp_Set_Hardlimit_Config(Long Axis, Long Config); Esp_Get_Hardlimit_Config(Long Axis, Long *Config) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_set_hardlimit_config
esp_get_hardlimit_config
Synopsis:
Arguments:
Library Location:
Description:
Returns:
Usage Example:
See Also:
5-18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Set Hardware Limit Configuration Register
Report Hardware Limit Configuration Register
#include "esp6000.h"
int esp_set_hardlimit_config(long axis, long config)
int esp_get_hardlimit_config(long axis, long *config)
long axis
axis number from 1 to 6
long config
configuration register
\esp6000.dll
esp_set_hardlimit_config() is used to configure the hardware travel limit checking and
event handling for the specified axis.
esp_get_hardlimit_config() reports present register setting.
BIT#
VALUE
0
0
0
1
1
0
1
1
2
0
2
1
3
0
3
1
4
0
4
1
5
0
5
1
6
0
6
1
7
0
7
1
31
0
31
1
ESPOK, ESPERROR
Hint:
Newport stages use "active high" travel limit input setting.
#include "esp6000.h"
main()
{
if (!esp_init_system())
{
printf("ESP6000 Not Initialized! \r\n");
exit(-1);
}
/* Abort Motion & Flag Error On Hardware Limit */
esp_set_hardlimit_config(1,0x0d);
}
DEFINITION
disable hardware travel limit error checking
enable hardware travel limit error checking
do not disable motor on hardware travel limit event
disable motor on hardware travel limit event
do not abort motion on hardware travel limit event
abort motion on hardware travel limit event
reserved
reserved
reserved
reserved
hardware travel limit input active low
hardware travel limit input active high
reserved
reserved
reserved
reserved
reserved
reserved

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents