
Operation Theory
81
4.8
Interrupt Control
The motion controller can generate an interrupt signal to the host
PC. It is much useful for event-driven software application. Users
can use this function _8102_int_control() to enable ir disable the
interrupt service.
There are three kinds of interrupt sources on PCI-8102. One is
motion interrupt source and the other is error interrupt source and
another is GPIO interrupt sources. Motion and GPIO interrupt
sources can be maskable but error interrupt sources can’t. Motion
interrupt sources can be maskable by
_8102_set_motion_int_factor(). Its mask bits are shown as follow-
ing table:
Motion Interrupt Source Bit Settings
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 _8102_start_move_all() turns on
Summary of Contents for PCI-8102
Page 10: ...vi List of Figures ...
Page 13: ...Introduction 3 Figure 1 2 Flow Chart for Building an Application ...
Page 18: ...8 Introduction ...
Page 28: ...18 Installation ...
Page 102: ...92 MotionCreatorPro In this menu users can configure LTC SD PCS and Select_Input ...
Page 124: ...114 MotionCreatorPro ...
Page 205: ...Connection Example 195 5 DIN DI_COM 6 DOUT DO_COM 7 DIR OUT DIR OUT ...
Page 206: ...196 Connection Example 8 HSIN 9 HSOUT HO_COM ...
Page 207: ...Connection Example 197 Mechanical Dimensions ...
Page 208: ...198 Connection Example ...
Page 209: ...Appendix 199 Appendix 8 1 Color code of Mitsubishi servo J3A cable MRJ3CN1 xM OPEN ...
Page 210: ...200 Appendix ...