Table 4-1: motion interrupt source bit settings – ADLINK PCI-8158 User Manual

Page 91

Advertising
background image

Operation Theory

81

Motion Interrupt Source Bit Settings

The error interrupt sources are non-maskable but the error num-
ber of situation could be get from _8158_wait_error_interrupt()’s
return code if it is not timeout.

Bit

Description

0

Normally Stop

1

Next command in buffer starts

2

Command pre-register 2 is empty and allow new command to write

3

0

4

Acceleration Start

5

Acceleration End

6

Deceleration Start

7

Deceleration End

8

+Soft limit or comparator 1 is ON

9

-Soft limit or comparator 2 is ON

10

Error comparator or comparator 3 is ON

11

General comparator or comparator 4 is ON

12

Trigger comparator or comparator 5 is ON

13

Counter is reset by CLR input

14

Counter is latched by LTC input

15

Counter is latched by ORG Input

16

SD input turns on

17

0

18

0

19

CSTA input or _8158_start_move_all() turns on

20-31

0

Table 4-1: Motion Interrupt Source Bit Settings

Advertising