Section 5 — Programming
5-17
esp_set_followerr_config
Set Following Error Configuration Register
esp_get_followerr_config
Report Following Error Configuration Register
Synopsis:
#include “esp6000.h”
int esp_set_followerr_config(long axis, long config)
int esp_get_followerr_config(long axis, long *config)
Arguments:
long axis
axis number from 1 to 6
long config
configuration register
Library Location:
\esp6000.dll
Description:
esp_set_followerr_config() is used to configure the motor following error
checking and event handling for the specified axis.
esp_get_followerr_config() reports the present configuration.
BIT#
VALUE
DEFINITION
0
0
disable motor following error checking
0
1
enable motor following error checking
1
0
do not disable motor power on following error event
1
1
disable motor power on following error event
2
0
do not abort motion on following error event
2
1
abort motion on following error event
3
0
reserved
3
1
reserved
4
0
reserved
4
1
reserved
5
0
reserved
5
1
reserved
6
0
reserved
6
1
reserved
7
0
reserved
7
1
reserved
•
•
•
31
0
reserved
31
1
reserved
Returns:
ESPOK, ESPERROR
Hint:
Usage Example:
#include “esp6000.h”
main()
{
if (!esp_init_system())
{
printf(“ESP6000 Not Initialized! \r\n”);
exit(-1);
}
/* Disable Motor Power On Following Error */
esp_set_followerr_config(1,0x03);
}
See Also:
esp_set_following_error()
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...