Mmc_Controller::setintevent - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::SetIntEvent

Sets the interrupt event to a signaled state. This function is used to release the standby status with the WaitIntEvent method
at the timing of the user program, not the interrupt event of the Simple Motion board.
unsigned long SetIntEvent(
unsigned long intNumber
);
Detailed description
■Parameter
Argument
intNumber [in]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_INT_NOT_START_DRIVER
MMERR_WIN_SET_EVENT
■Point
• When the interrupt standby status is released by calling this method, an error occurs in the WaitIntEvent method.
• 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 axis class SetIntEvent method is the same as the operation of this method.
■Supported version
API version
1.00
■Reference
ResetIntEvent (Page 50 MMC_Controller::ResetIntEvent)
WaitIntEvent (Page 52 MMC_Controller::WaitIntEvent)
Description
Interrupt factor No. (9 to 64)
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 SetEvent function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
Software version
01
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
3.2 MMC_Controller Class
3
51

Advertisement

Table of Contents
loading

Table of Contents