Esp_Set_Softlimit_Config(Long Axis, Long Config); Esp_Get_Softlimit_Config(Long Axis, Long *Config) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_set_softlimit_config
esp_get_softlimit_config
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
Set Software Limit Configuration Register
Report Software Limit Configuration Register
#include "esp6000.h"
int esp_set_softlimit_config(long axis, long config)
int esp_get_softlimit_config(long axis, long *config)
long axis
axis number from 1 to 6
long config
configuration register
\esp6000.dll
esp_set_softlimit_config() is used to configure the software travel limit checking and
event handling for the specified axis.
esp_get_softlimit_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:
#include "esp6000.h"
main()
{
if (!esp_init_system())
{
printf("ESP6000 Not Initialized! \r\n");
exit(-1);
}
/* Abort Motion & Flag Error On Software Limit */
esp_set_softlimit_config(1,0x0d);
}
DEFINITION
disable software travel limit error checking
enable software travel limit error checking
do not disable motor on software travel limit event
disable motor on software travel limit event
do not abort motion on software travel limit event
abort motion on software travel limit event
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
5-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents