Mmc_Controller::makeeasystrokeratiocam - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::MakeEasyStrokeRatioCam

Auto-generates the easy stroke ratio cam.
unsigned long MakeEasyStrokeRatioCam(
unsigned short camNo,
const MMST_EasyStrokeRatioCamData &easyStrokeRatioCamData,
const MMST_EasyStrokeRatioCamSectionData easyStrokeRatioCamSectionData[]
);
Detailed description
■Parameter
Argument
camNo [in]
easyStrokeRatioCamData [in]
easyStrokeRatioCamSectionData [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.
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
132
4.1 MMC_Controller Class
Description
Cam auto-generation cam No. (1 to 1024)
Data structure for easy stroke ratio cam
Pointer to section data structure array for easy 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

Advertisement

Table of Contents
loading

Table of Contents