Mmc_Axis::resetintevent - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::ResetIntEvent

Sets the interrupt event to a nonsignaled state. This function is used if interrupt events occurring prior to calling the
WaitIntEvent method are to be disabled.
unsigned long ResetIntEvent(
unsigned long intNumber
);
Detailed description
■Parameter
Argument
intNumber [in]
*1 Specify the following values for interrupt factor No.
Value
MMC_INTFACTOR_ERROR
MMC_INTFACTOR_WARNING
9 to 64
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_INT_NOT_START_DRIVER
MMERR_WIN_RESET_EVENT
■Point
• The interrupt factor No. (1 to 8) is used inside the API library therefore it cannot be used by the user program.
• When using interrupt factor No. (9 to 64), the interrupt parameter must be set by the SetInterruptParameter method
beforehand.
• The operation of the controller class ResetIntEvent method is the same as the operation of this method.
■Supported version
API version
1.00
■Reference
SetIntEvent (Page 85 MMC_Axis::SetIntEvent)
WaitIntEvent (Page 86 MMC_Axis::WaitIntEvent)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
84
3.3 MMC_Axis Class
Value
*1
Interrupt factor No.
Description
Axis error occurrence
Axis warning occurrence
Interrupt factor
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
The interrupt driver is stopped. Call the StartInterrupt method.
An error occurred in the ResetEvent function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents