Operation Theorem
•
95
Use Events to deal with Interrupt under Windows
In order to detect the interrupt signal from PPCI7443 under Windows. Users
must create events array first. Then use functions provided by PPCI7443 to
get the interrupt status. The sample program is as following:
Steps:
1. Define a Global Value to deal with interrupt events. Each event is
linked to one axis
HANDLE hEvent[4];
2. Enable interrupt event service and setup interrupt factors and enable
interrupt channel
_7443_int_enable(0,hEvent);
_7443_set_int_factor(0,0x01);
// Normal Stop interrupt
_7443_int_control(0,1);
error_int_status : can not be masked if interrupt service is activated.
Bit
Description
0
+Soft Limit on and stop
1
-Soft Limit on and stop
2
(Reserved)
3
General Comparator on and Stop
4
(Reserved)
5
+End Limit on and stop
6
-End Limit on and stop
7
ALM happen and stop
8
CSTP, Sync. Stop on and stop
9
CEMG, Emergency on and stop
10
SD on and slow down to stop
11
(Reserved)
12
Interpolation Error and stop
13
Other Axis stop on Interpolation
14
Pulser input buffer overflow and stop
15
Interpolation counter overflow
16
Encoder input signal error
17
Pulser input signal error
18~31 (Reserved)
Summary of Contents for PPCI7443
Page 1: ...PPCI7443 Advanced 4 Axes Servo Stepper Motion Control Card User s Guide Version 2 00...
Page 2: ......
Page 6: ......
Page 8: ......
Page 42: ...34 Single Connections...
Page 82: ...74 Operation Theorem _7443_set_home_config _7443_home_move Refer to section 6 9...
Page 108: ......
Page 118: ......