Motion Control Theory
173
AMP-204C / AMP-208C
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 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 ...