Section 5 — Programming
5-15
esp_set_sys_fault_config
Set System Configuration Register
esp_get_sys_fault_config
Report System Configuration Register
Synopsis:
#include “esp6000.h”
int esp_set_sys_fault_config(long config)
int esp_get_sys_fault_config(long *config)
Arguments:
long config
configuration register
Library Location:
\esp6000.dll
Description:
esp_set_sys_fault_config() is used to configure system fault checking,
event handling, and general setup for all axes.
esp_get_sys_fault_config() reports present setting.
BIT#
VALUE
DEFINITION
0
0
disable 100-pin interlock error checking
0
1
enable 100-pin interlock error checking
1
0
do not disable all axes on interlock event
1
1
disable all axes on interlock event
2
0
reserved
2
1
reserved
3
0
reserved
3
1
reserved
4
0
configure interlock fault as active low
4
1
configure interlock fault as active high
5
0
reserved
5
1
reserved
6
0
reserved
6
1
reserved
7
0
route auxiliary I/O encoder signals to counter channel 7 & 8
7
1
route axis 1 & 2 encoder feedback to counter channel 7 & 8
8
0
unprotect ESP system-critical settings
8
1
protect ESP system-critical settings
9
0
reserved
9
1
reserved
10
0
reserved
10
1
reserved
11
0
reserved
11
1
reserved
12
0
reserved
12
1
reserved
13
0
reserved
13
1
reserved
14
0
reserved
14
1
reserved
15
0
reserved
15
1
reserved
•
•
•
31
0
reserved
31
1
reserved
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com