Operation Theory
103
Figure 4-37: Interrupt Control
Users can either set a call back routine that will be executed when
an interrupt occurs, or create a thread to wait for an event that will
be triggered when an interrupt occurs.
To enable or disable the interrupt generated from the SSCNET
board, use the int_control() function. It acts as an ON_OFF switch.
Once disabled, the SSCNET board will cease to generate any
interrupt signals to the host system.
In addition to int_control(), users need to define the conditions
under which an interrupt signal should occurs by using the
set_int_factor() function in order to successfully introduce an inter-
rupt signal to the host system. The SSCNET board has 3 possible
sources of interrupts; it includes the motion axes, general pur-
posed I/O, and the DSP (or system). The second parameter
‘Source’ of set_int_factor() is use to specify the source with
‘IntFactor’ specifying the interrupt conditions for this specified
source.
Refer to the tables below.
Содержание PCI-8366+
Страница 4: ......
Страница 14: ...x List of Figures ...
Страница 17: ...Introduction 3 Figure 1 3 Flowchart for Building an Application ...
Страница 26: ...12 Installation 2 2 PCI 8372 8366 Outline Drawing Figure 2 1 PCI 8372 8366 Mechanical Drawing ...
Страница 31: ...Installation 17 2 Press HPI boot ...
Страница 32: ...18 Installation 3 Press Flash DL button and select a kernel4 hex ...
Страница 34: ...20 Installation Figure 2 3 SSCNET Communication Test Utility ...
Страница 49: ...Signal Connections 35 Figure 3 9 Skin Type ...
Страница 144: ...130 Operation Theory ...
Страница 149: ...Motion Creator 135 Figure 5 6 Software Version Information ...
Страница 158: ...144 Motion Creator Figure 5 10 Tuning Window 5 5 1 Component Description Figure 5 11 Trigger Setting Frame ...
Страница 160: ...146 Motion Creator Figure 5 13 Channel Selection Frame Figure 5 14 Motion Frame ...