Mmc_Controller::makerotarycuttercam - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::MakeRotaryCutterCam

Auto-generates the cam (central reference) for rotary cutter.
unsigned long MakeRotaryCutterCam(
unsigned short camNo,
const MMST_RotaryCutterCamData &rotaryCutterCamData,
unsigned short *asynchronousSpeedResult
);
Detailed description
■Parameter
Argument
camNo [in]
rotaryCutterCamData [in]
asynchronousSpeedResult [out]
■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".
■Supported version
API version
1.00
■Reference
None.
Description
Cam auto-generation cam No. (1 to 1024)
Data structure for auto-generation (rotary cutter cam (central reference))
Pointer to the asynchronous speed result
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)
131
4.1 MMC_Controller Class
4

Advertisement

Table of Contents
loading

Table of Contents