3.2
MMC_Controller Class
This class controls the controller.
class MMC_Controller: public MMC_Master
Member
■Public method
Category
Get object method
System method
Backup method
Interrupt method
DMA transmission
method
SLMP communication
method
■Public data member
Variable name
LastErrorNumber
LastDetailErrorNumber
■Label
Refer to label list for labels. (Page 203 LABEL LIST)
Point
Generate controller class objects with object generation function.
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
32
3.2 MMC_Controller Class
Name
Description
GetAxis
Gets the object of the axis class.
GetSlaveIo
Gets the object of the I/O class.
ResetController
Executes remote RESET.
SetUserProgramReady
Sets the user program READY signal [Y0].
InitializeParameter
Returns parameters to their initial factory values.
BackupParameter
Performs backup of execution data (parameters
etc.)
SetInterruptParameter
Sets the interrupt parameter.
EnableInterrupt
Enables the interrupt output.
DisableInterrupt
Disables the interrupt output.
RegisterIntCallback
Registers the interrupt callback function.
UnregisterIntCallback
Unregisters the interrupt callback function.
ResetIntEvent
Sets the interrupt event to a nonsignaled state.
SetIntEvent
Sets the interrupt event to a signaled state.
WaitIntEvent
Waits until the interrupt event is in a signaled state.
EnableDMA
Enables DMA transmission.
DisableDMA
Disables DMA transmission.
ReadRemoteBufferMemory
Reads data from the buffer memory in the remote
device station.
WriteRemoteBufferMemory
Writes data to the buffer memory in the remote
device station.
Data type
Initial value
unsigned long
MMERR_NONE
unsigned long
MMERR_NONE
Reference
Page 34 MMC_Controller::GetAxis
(C++)
Page 35 MMC_Controller::GetAxis (C#)
Page 36 MMC_Controller::GetSlaveIo
(C++)
Page 37 MMC_Controller::GetSlaveIo
(C#)
Page 38
MMC_Controller::ResetController
Page 39
MMC_Controller::SetUserProgramReady
Page 40
MMC_Controller::InitializeParameter
Page 41
MMC_Controller::BackupParameter
Page 42
MMC_Controller::SetInterruptParameter
Page 44
MMC_Controller::EnableInterrupt
Page 45
MMC_Controller::DisableInterrupt
Page 46
MMC_Controller::RegisterIntCallback (C++)
Page 47
MMC_Controller::RegisterIntCallback (C#)
Page 49
MMC_Controller::UnregisterIntCallback
Page 50
MMC_Controller::ResetIntEvent
Page 51 MMC_Controller::SetIntEvent
Page 52 MMC_Controller::WaitIntEvent
Page 53 MMC_Controller::EnableDMA
Page 54 MMC_Controller::DisableDMA
Page 55
MMC_Controller::ReadRemoteBufferMemor
y
Page 56
MMC_Controller::WriteRemoteBufferMemory
Description
Latest error code
Latest detail error code