Function Library
153
_8168_set_int_factor
:
The interrupt status of cPCI-8168 is separated by two independent
parts: error type interrupt and event type interrupt. This function
allows users to select event type interrupt factors of each axis. But
the error type interrupt factors of each axis can’t be selected
because it is non-maskable when the interrupt service is turned on
by
_8168_int_control
(). The event interrupt status recodes
the motion and comparator event under normal operation. This
kind of interrupt status can be masked by
_8168_set_int_factor
(). The error interrupt status is for
abnormal stop of axis. For example: End-limit, ALM …etc. This
kind of interrupt cannot be masked. The following talbe contains
the definitions of event type interrupt factors. By setting the rela-
tive bit as 1, cPCI-8168 can generate interrupt signal to host PC
when the condition of bit is met.
Bit
Description
0
Normal Stop
1
Next command in buffer starts
2
Continuous pre-register 2 is empty and allow new command
to write
3
Always set to 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
(Reserved)
14
Counter is latched by LTC pin
15
Counter is latched by ORG pin
16
SD pin is turned on
17
Always set to 0
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...