Operation Theory 814.8 Interrupt ControlThe motion controller can generate an interrupt signal to the hostPC. It is much useful for event-driven software application. Userscan use this function _8102_int_control() to enable ir disable theinterrupt service.There are three kinds of interrupt sources on PCI-8102. One ismotion interrupt source and the other is error interrupt source andanother is GPIO interrupt sources. Motion and GPIO interruptsources can be maskable but error interrupt sources can’t. Motioninterrupt sources can be maskable by_8102_set_motion_int_factor(). Its mask bits are shown as follow-ing table:Motion Interrupt Source Bit SettingsBit Description0 Normally Stop1 Next command in buffer starts2 Command pre-register 2 is empty and allow new command to write3 04 Acceleration Start5 Acceleration End6 Deceleration Start7 Deceleration End8 +Soft limit or comparator 1 is ON9 -Soft limit or comparator 2 is ON10 Error comparator or comparator 3 is ON11 General comparator or comparator 4 is ON12 Trigger comparator or comparator 5 is ON13 Counter is reset by CLR input14 Counter is latched by LTC input15 Counter is latched by ORG Input16 SD input turns on17 018 019 CSTA input or _8102_start_move_all() turns on