Mmc_Syncencoder::disablesyncencoder - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_SyncEncoder::DisableSyncEncoder

Disables input from the synchronous encoder axis.
unsigned long DisableSyncEncoder(
unsigned short startType
);
Detailed description
■Parameter
Argument
startType [in]
*1 Specify the following values for start method.
Value
MMC_SYNC_ENC_START
MMC_SYNC_ENC_LINKDEV_START
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_CONDITION_SYNC_ENCODER_INVALID
MMERR_TIMEOUT_01
■Point
• The operation for this method differs depending on the value set for synchronous encoder axis control start.
Value
MMC_SYNC_ENC_START
MMC_SYNC_ENC_LINKDEV_START
• Smoothing, phase compensation, and rotation direction restriction processes continue. Therefore, when these processes
are enabled, the input axis speed may not stop immediately.
■Supported version
API version
1.00
■Reference
EnableSyncEncoder (Page 143 MMC_SyncEncoder::EnableSyncEncoder)
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
142
4.3 MMC_SyncEncoder Class
Description
Start method
Description
Starts synchronous encoder axis control.
Wait to receive start request from link device.
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
The settings valid flag ("[Md.325] Synchronous encoder axis status": b0) is OFF.
The timeout time (1 second) has elapsed.
Description
For synchronous encoder axis control start, the synchronous encoder axis is counter disabled by calling the function.
During this time, this method waits inside the method until input from the synchronous encoder axis is disabled.
For synchronous encoder axis start request (link device), after calling the function, synchronous encoder axis is
counter disabled by link device input. During this time, this method returns control once in a state of waiting to receive
input.
Software version
01
*1

Advertisement

Table of Contents
loading

Table of Contents