ICPDAS
I-8092F Software User Manual
74
6.4 Set the Interrupt Factors
6.4.1 Set the Interrupt Factors
void
i8092MF_INTFACTOR_ENABLE(
BYTE
cardNo
,
WORD
axis,
WORD
nINT
)
Description:
This function sets the interrupt factors
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
nINT Interrupt
factors
Value Symbol
Statement
1 P>=C-
Interrupt occurs when the value of logical / real
position counter is larger than or equal to that of
COMP- register. The COMP- must be
pre-configired with i8092MF_SET_COMPARE( )
(please refer to Section 6.5.7)
2 P<C-
Interrupt occurs when the value of logical / real
position counter is smaller than that of COMP-
register. The COMP- must be pre-configired with
i8092MF_SET_COMPARE( ) (please refer to
Section 6.5.7)
3 P>=C+
Interrupt occurs when the value of logical / real
position counter is smaller than that of COMP+
register. The COMP+ must be pre-configired with
i8092MF_SET_COMPARE( ) (please refer to
Section 6.5.7)
4 P<C+
Interrupt occurs when the value of logical / real
position counter is larger
than or equal to that
of COMP+ register. The COMP+ must be
pre-configired with i8092MF_SET_COMPARE( )
(please refer to Section 6.5.7)
5 C-END
Interrupt occurs at the end of the constant speed
drive or completion of Acceleration Offset Pulse
output.
6 C-STA
Interrupt occurs at the start of the constant speed
drive or begin of Acceleration Offset Pulse output.
7 D-END
Interrupt occurs when the driving is finished
Return:
None