204
Motion Control Theory
You may use interrupt function in Windows environment as
described below:
1. Set up interrupt events
2. Enable main interrupt switch
3. Waiting for interrupt trigger
4. Reset interrupt to non-signaled state
5. Close interrupt event and main interrupt switch
See table below for relevant APS APIs:
I32 APS_int_enable (I32 Board_ID, I32 Enable);
I32 APS_set_int_factor (I32 Board_ID, I32 Item_No, I32
Factor_No, Enable);
I32 APS_get_int_factor (I32 Board_ID, I32 Item_No, I32
Factor_No, *Enable);
HANDLE APS_int_no_to_handle (I32 Int_No);
I32 APS_wait_single_int (I32 Int_No, I32 Time_Out);
I32 APS_wait_multiple_int (I32 Int_Count, I32 *Int_No_Array,
I32 Wait_All, I32 Time_Out);
I32 APS_reset_int (I32 Int_No);
I32 APS_set_int (I32 Int_No);
CAUTION
Digital input signal (DI) status changes are detected by
controller in every motion cycle. Interrupt can be generated
only when the period of external input signal change cycle is
greater than that of motion cycle.
Содержание PCI-8254
Страница 2: ...ii Revision History Revision Date Description 2 00 2014 08 13 First release ...
Страница 8: ...viii Table of Contents Important Safety Instructions 209 Getting Service 211 ...
Страница 12: ...xii List of Figures ...
Страница 14: ...xiv List of Tables ...
Страница 24: ...10 Introduction ...
Страница 54: ...40 Getting Start with The Installation ...
Страница 78: ...64 Signal Connection ...
Страница 111: ...Motion Control Theory 97 PCI 8254 PCI 8258 MCP2 Bode plot page ...
Страница 165: ...Motion Control Theory 151 PCI 8254 PCI 8258 Example Figure 4 55 Continuous interpolation examples ...
Страница 222: ...208 Motion Control Theory ...