Read The Interrupt Occurrence - ICP DAS USA I-8092F User Manual

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

Advertisement

Return:
None
Example:
Please refer to 6.4.1

6.4.3 Read the Interrupt Occurrence

WORD i8092MF_GET_RR3(BYTE
Description:
Read the RR3 register that reflects the occurrence of Interrupt.
Parameters:
cardNo:
axis:
Return:
The content of RR3 register.
RR3 Value
0x002
0x004
0x008
0x010
0x020
0x040
0x080
Example:
i8092MF_GET_RR3
//read the Interrupt status of AXIS_X
ICPDAS
cardNo,
Module number
Axis or axes (Please refer to Table 2-1)
Once the value o flogic / real position counter
P>=C-
is larger than that of COMP- register
Once the value o flogic / real position counter
P<C-
is smaller than that of COMP- register
Once the value o flogic / real position counter
P<C+
is smaller than that of COMP+ register
Once the value o flogic / real position counter
P>=C+
is larger than that of COMP+ register
Interrupt occurs at the end of the constant
C-END
speed drive or completion of Acceleration
Offset Pulse output.
Interrupt occurs at the start of the constant
C-STA
speed drive or begin of Acceleration Offset
Pulse output.
D-END
Interrupt occurs when the driving is finished
(cardNo, AXIS_X);
WORD
axis)
說明
77
I-8092F Software User Manual

Advertisement

Table of Contents
loading

Table of Contents