Motion Control Theory
168
AMP-204C / AMP-208C
4.11 Host Interrupt
An interrupt is a process starting when specified event is
encountered, the device (this controller) issue hardware interrupt
signal to the operating system, the operating system enable the
driver to execute corresponding interrupt service routine. See
figure below for illustration to this flow.
Either interrupt or polling mechansim is employed to detect a
certain event. The polling mechanism consumes CPU time
repetitively and lead to CPU over utilization. The interrupt
mechanism alert the CPU of event after it is encountered. This
process consumes much less CPU time and so can reduce CPU
utilization rate. It also frees up the CPU to process other tasks for
multitasks and effective CPU resource utilization when waiting for
interrupt signal.
Figure 4-58: Interruption flow chart
Types of interrupt events provided by this controller are described
below:
1. Axis interrupt
2. System interrupt
3. Digital input interrupt
User space
Operation system
Controller
DLL & Driver
User’s application
Interrupt signal
Event
Summary of Contents for AMP-204C
Page 8: ...viii Contents ...
Page 12: ...xii List of Figures ...
Page 14: ...xiv List of Tables ...
Page 52: ...38 Getting Start with The Installation ...
Page 71: ...Signal Connection 57 AMP 204C AMP 208C Signal connection diagram ...
Page 72: ...58 Signal Connection Figure 3 13 General purpose digital I O signal connection example ...