Mitsubishi MR-EM340GF User Manual page 31

Simple motion board
Table of Contents

Advertisement

■Procedure for starting positioning control, and waiting for positioning completion interrupt
Set parameters
Start interrupt driver
Preparation
Turn ON user program READY signal [Y0]
Enable interrupt output
Set positioning data
Set the positioning completion interrupt
Start
event to a nonsignaled state
Start positioning control
Wait
Wait until positioning control completion
Disable interrupt output
Ending
Turn OFF user program READY signal [Y0]
End interrupt driver
START
MMC_DeviceDriver::StartInterrupt
MMC_Controller::SetUserProgramReady
MMC_Controller::EnableInterrupt
MMC_Axis::SetPositioningData
MMC_Axis::ResetPositioningDoneIntEvent
MMC_Axis::StartPositioning
MMC_Axis::WaitPositioningDoneIntEvent
MMC_Controller::DisableInterrupt
MMC_Controller::SetUserProgramReady
MMC_DeviceDriver::EndInterrupt
END
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
3
29

Advertisement

Table of Contents
loading

Table of Contents