Device Related Errors; Interrupt Related Errors - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

Value
Constant definition
01010010H
MMERR_WIN_CREATE_EVENT
01010011H
MMERR_WIN_RESET_EVENT
01010012H
MMERR_WIN_SET_EVENT
01010020H
MMERR_WIN_CREATE_THREAD
01010021H
MMERR_WIN_SET_THREAD_PRIORITY
01010022H
MMERR_WIN_RESUME_THREAD
01010023H
MMERR_WIN_GET_EXIT_CODE_THREAD
7.2

Device Related Errors

Value
Constant definition
02000000H
MMERR_DEV_REOPEN
02000001H
MMERR_DEV_UNOPEN
02000010H
MMERR_DEV_NOT_FOUND_BOARD
02000011H
MMERR_DEV_UNSUPPORT_DEVICE_DRIVER
02000012H
MMERR_DEV_DEVICE_DRIVER
02000013H
MMERR_DEV_INACCESSIBLE
02000014H
MMERR_DEV_ALREADY_OTHER_PROCESS_OPEN
02000020H
MMERR_DEV_ADDRESS_RANGE_OVER
02010000H
MMERR_DEV_WIN_LOAD_LIBRARY
02010001H
MMERR_DEV_WIN_GET_PROC_ADDRESS
7.3

Interrupt Related Errors

Value
Constant definition
03000000H
MMERR_INT_ALREADY_START_DRIVER
03000001H
MMERR_INT_ALREADY_END_DRIVER
03000010H
MMERR_INT_NOT_START_DRIVER
03000011H
MMERR_INT_TERMINATE_DRIVER
03000012H
MMERR_INT_TERMINATE_NOTIFY_EVENT
03000013H
MMERR_INT_SET_HOST_APPLICATION_EVENT
03000020H
MMERR_INT_ALREADY_REREGISTER_CALLBACK
03000021H
MMERR_INT_ALREADY_UNREREGISTER_CALLBACK
7 ERROR CODE LIST
200
7.2 Device Related Errors
Occurrence cause/Remedy
An error occurred in the CreateEvent function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
An error occurred in the ResetEvent function (Win32API). Call the GetLastError
function of Win32API and confirm the error details.
An error occurred in the SetEvent function (Win32API). Call the GetLastError
function of Win32API and confirm the error details.
An error occurred in the CreateThread function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
An error occurred in the SetThreadPriority function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
An error occurred in the ResumeThread function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
An error occurred in the GetExitCodeThread function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
Occurrence cause/Remedy
The Open method is already called.
The Open method of the device driver class has not been called.
The Simple Motion board which has the designated board ID could not be
found. Confirm the board ID selection (dip switch) of the Simple Motion board.
The device driver is not a supported version. Use a API library that combines
with the device driver contained in the "EM Software Development Kit".
An error occurred with a call of the device driver. Confirm that the device driver
is installed.
There is a Simple Motion board which cannot access the buffer memory.
The device of the same board ID is already open by a different process.
The "offset" + "size" designated by the argument exceeds the size of the buffer
memory.
An error occurred in the LoadLibrary function (Win32API). Call the GetLastError
function of Win32API and confirm the error details.
An error occurred in the GetProcAddress function (Win32API). Call the
GetLastError function of Win32API and confirm the error details.
Occurrence cause/Remedy
The interrupt driver is already started.
The interrupt driver is already stopped.
The interrupt driver is stopped. Call the StartInterrupt method.
The EndInterrupt method was called while the interrupt for the designated event
factor was being confirmed.
An error occurred in the interrupt event notification thread while the interrupt for
the designated event factor was being confirmed.
While the interrupt for the designated event factor was being waited, a method
which releases the standby status was called from the user program.
The interrupt callback function has already been registered. To change the
interrupt callback function, call the UnregisterIntCallback method.
The interrupt callback function has already been unregistered.

Advertisement

Table of Contents
loading

Table of Contents