Mmc_Controller::calccamcommandposition - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::CalcCamCommandPosition

Calculates cam axis feed current value.
unsigned long CalcCamCommandPosition(
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".
• For this method, the "[Cd.618] Cam position calculation: Cam axis feed current value" member variable of the structure is
not used. (Setting it is not required.)
■Supported version
API version
1.00
■Reference
CalcCamCommandPositionPerCycle (Page 130 MMC_Controller::CalcCamCommandPositionPerCycle)
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
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
129
4.1 MMC_Controller Class
4

Advertisement

Table of Contents
loading

Table of Contents