Mmc_Controller::calccamcommandpositionpercycle - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::CalcCamCommandPositionPerCycle

Calculates cam axis current value per cycle.
unsigned long CalcCamCommandPositionPerCycle(
const MMST_CamPositionData &camPositionData,
long *result
);
Detailed description
■Parameter
Argument
camPositionData [in]
result [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 position calculation function" of the Simple Motion board.
• This method waits inside the method until "[Cd.612] Cam position calculation request" changes to "0".
■Supported version
API version
1.00
■Reference
CalcCamCommandPosition (Page 129 MMC_Controller::CalcCamCommandPosition)
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
130
4.1 MMC_Controller Class
Description
Cam position calculation data structure
Pointer to the variable that stores cam position calculation 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 (1 second) has elapsed.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents