Mmc_Axis::startsync - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::StartSync

Starts synchronous control.
unsigned long StartSync(
void
);
Detailed description
■Parameter
None.
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_TIMEOUT_01
MMERR_AXIS_ERROR
MMERR_CONDITION_READY_SIGNAL_OFF
MMERR_CONDITION_SYNC_START_ON
MMERR_CONDITION_AXIS_ERROR_DETECTION
MMERR_CONDITION_BUSY_ON
■Point
• After turning OFF→ON the applicable axis bit of "[Cd.380] Synchronous control start", this method waits inside the method
until "[Md.26] Axis operation status" changes to "15: Synchronous control".
• It takes about 1 to 26 [ms] to start synchronous control because of the time it takes to confirm the response of the Simple
Motion board.
• This method cannot be used in conjunction with the synchronous control analysis mode. When using the synchronous
control analysis mode, use a label when setting.
■Supported version
API version
1.00
■Reference
StopSync (Page 136 MMC_Axis::StopSync)
Description
Function succeeded
The Open method of the device driver class has not been called.
The timeout time (10 seconds) has elapsed.
An axis error occurred. Check "[Md.23] Axis error No.".
The READY signal [X0] is OFF.
"[Cd.380] Synchronous control start" is ON.
Error detection ("[Md.31] Status": b13) is ON.
BUSY signal [X10 to X1F] are ON.
Software version
01
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
135
4.2 MMC_Axis Class
4

Advertisement

Table of Contents
loading

Table of Contents