![ADLINK Technology PCI-8132 User Manual Download Page 112](http://html.mh-extra.com/html/adlink-technology/pci-8132/pci-8132_user-manual_2852782112.webp)
104
•
Function Library
14
EA/EB, PA/PB encoder input error
15
start with STA signal
16
Completion of acceleration
17
Start of deceleration
18~22
Should be Set to 0
23
RDY active (AP3 of PCL5023 change from 1 to 0)
24~31
Should be set to 0
Note: Bit 14: The interrupt is generated when pins EA and EB, or PA
and PB change simultaneously. It means there has an encoder input
error.
get_int_axis:
This function allows user to identify which axis generates the INT
signal to host PC. (
This function is for DOS only
)
get_int_status:
This function allows user to identify what kinds of interrupt is
generated.
After user gets this value, the status register will be cleared to 0. The
return value is a 32 bits unsigned integer and the definition for each
bit is as following:
Bit
Interrupt Type
0
Stop with the +EL signal
1
Stop with the –EL signal
2
Stop with the +SD signal
3
Stop with the –SD signal
4
Stop with the ALM signal
5
Stop with the STP signal
6
Comparator Active
7
Always 0
8
Stop with v_stop() command
9
Stop with home return completed
10
Always 0
11
Stop with preset movement completed
12
Stop with EA/EB input error
13
Always 0
14
Stop with PA/PB input error
15
Start with STA signal
16
Acceleration Completed
17
Deceleration Started
18~22
Always 0
23
RDY active(AP3 of PCL5023 change from 1 to 0)
24~31
Always 0