11 host interrupt, Figure 4-58, Interruption flow chart – ADLINK AMP-208C User Manual

Page 182

Advertising
background image

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

Advertising
This manual is related to the following products: