Mmc_Controller::getsyncencoder - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Controller::GetSyncEncoder

Gets the object of the synchronous encoder axis class.
unsigned long GetSyncEncoder(
unsigned long axisNumber,
MMC_SyncEncoder **syncEncoder
);
Detailed description
■Parameter
Argument
axisNumber [in]
syncEncoder [out]
■Return value
Value
MMC_OK
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_CREATE_OBJECT
■Point
Because the objects gotten by this method are automatically deleted at the time of controller class object delete, calling the
Delete method of the synchronous encoder axis class is not necessary.
■Supported version
API version
1.00
■Reference
None.
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
128
4.1 MMC_Controller Class
Description
Synchronous encoder axis No. (1 to 16)
Pointer to the synchronous encoder axis class object pointer
Description
Function succeeded
The argument is outside the set range.
Failed to generate object.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents