User`s guide
Function Library • 105
Bit Interrupt Factor
0 Stop with the EL signal
1 Stop with the SD signal
2 Stop with the ALM signal
3 Stop with the STP signal
4 Should be set to 0
5 Completion of home return
6 Completion of preset movement
7
Completion of interpolating motion for tw
o axes:
(X & Y) or (Z & U)
8~12 X (should be set to 0)
13 when v_stop() function stop the axis
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: