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.
Summary of Contents for PCI-8254
Page 2: ...ii Revision History Revision Date Description 2 00 2014 08 13 First release ...
Page 8: ...viii Table of Contents Important Safety Instructions 209 Getting Service 211 ...
Page 12: ...xii List of Figures ...
Page 14: ...xiv List of Tables ...
Page 24: ...10 Introduction ...
Page 54: ...40 Getting Start with The Installation ...
Page 78: ...64 Signal Connection ...
Page 111: ...Motion Control Theory 97 PCI 8254 PCI 8258 MCP2 Bode plot page ...
Page 222: ...208 Motion Control Theory ...