Mmc_Axis::setintevent - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::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]
*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_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 controller class SetIntEvent method is the same as the operation of this method.
■Supported version
API version
1.00
■Reference
ResetIntEvent (Page 84 MMC_Axis::ResetIntEvent)
WaitIntEvent (Page 86 MMC_Axis::WaitIntEvent)
Description
*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 SetEvent function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
Software version
01
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
85
3.3 MMC_Axis Class
3

Advertisement

Table of Contents
loading

Table of Contents