Mmc_Controller::makeadvancedstrokeratiocam - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::MakeAdvancedStrokeRatioCam

Auto-generates the advanced stroke ratio cam.
unsigned long MakeAdvancedStrokeRatioCam(
unsigned short camNo,
const MMST_AdvancedStrokeRatioCamData &advancedStrokeRatioCamData,
const MMST_AdvancedStrokeRatioCamSectionData advancedStrokeRatioCamSectionData[]
);
Detailed description
■Parameter
Argument
camNo [in]
advancedStrokeRatioCamData [in]
advancedStrokeRatioCamSectionData [in]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_TIMEOUT_01
■Point
• This method uses the "Cam auto-generation function" of the Simple Motion board. Set the structure data specified by the
argument as the parameters and execute cam auto-generation function.
• This method waits inside the method until "[Cd.608] Cam auto-generation request" changes to "0".
• When a value outside the set range is set to the member variable of a structure, the No. of the member variable (1 or more)
is stored to the details error code.
■Supported version
API version
1.00
■Reference
None.
Description
Cam auto-generation cam No. (1 to 1024)
Data structure for advanced stroke ratio cam
Pointer to section data structure array for advanced stroke ratio cam
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
The timeout time (5 seconds) has elapsed.
Software version
01
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
133
4.1 MMC_Controller Class
4

Advertisement

Table of Contents
loading

Table of Contents