Section 5 — Programming
5-13
esp_get_sys_config Report ESP System Configuration
Synopsis:
#include “esp6000.h”
int esp_get_sys_config(long *config)
Arguments:
long config
configuration register
Library Location:
\esp6000.dll
Description:
esp_get_sys_config() reports the present ESP system stage/driver configuration. After
each system reset or initialization the ESP6000 detects the presence of UniDrive6000
driver channels and ESP-compatible stages connected.
BIT#
VALUE
DEFINITION
0
0
axis-1 UniDrive6000 not detected
0
1
axis-1 UniDrive6000 detected
1
0
axis-2 UniDrive6000 not detected
1
1
axis-2 UniDrive6000 detected
2
0
axis-3 UniDrive6000 not detected
2
1
axis-3 UniDrive6000 detected
3
0
axis-4 UniDrive6000 not detected
3
1
axis-4 UniDrive6000 detected
4
0
axis-5 UniDrive6000 not detected
4
1
axis-5 UniDrive6000 detected
5
0
axis-6 UniDrive6000 not detected
5
1
axis-6 UniDrive6000 detected
6
0
reserved
6
1
reserved
7
0
reserved
7
1
reserved
8
0
axis-1 ESP-compatible motorized positioner not detected
8
1
axis-1 ESP-compatible motorized positioner detected
9
0
axis-2 ESP-compatible motorized positioner not detected
9
1
axis-2 ESP-compatible motorized positioner detected
10
0
axis-3 ESP-compatible motorized positioner not detected
10
1
axis-3 ESP-compatible motorized positioner detected
11
0
axis-4 ESP-compatible motorized positioner not detected
11
1
axis-4 ESP-compatible motorized positioner detected
12
0
axis-5 ESP-compatible motorized positioner not detected
12
1
axis-5 ESP-compatible motorized positioner detected
13
0
axis-6 ESP-compatible motorized positioner not detected
13
1
axis-6 ESP-compatible motorized positioner detected
14
0
reserved
14
1
reserved
15
0
reserved
15
1
reserved
•
•
•
31
0
reserved
31
1
reserved
Returns:
ESPOK, ESPERROR
Hint:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com