Set The Interrupt Factors - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

6.4 Set the Interrupt Factors

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

Advertisement

Table of Contents
loading

Table of Contents