ADLINK PCI-8134A User Manual

Page 111

Advertising
background image

Function Library

101

6

Completion of preset movement

7

Completion of interpolating motion for two 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. (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

Always 0

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

Advertising