Mmc_Axis::enablempg - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::EnableMPG

Enables manual pulse generator operation.
unsigned long EnableMPG(
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_MPG_FLAG_ON
MMERR_CONDITION_BUSY_ON
MMERR_CONDITION_AXIS_ERROR_DETECTION
■Point
This method sets "1" to "[Cd.21] Manual pulse generator enable flag", and waits inside the method until manual pulse
generator operation is enabled.
■Supported version
API version
1.00
■Reference
DisableMPG (Page 77 MMC_Axis::DisableMPG)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
76
3.3 MMC_Axis Class
Description
Function succeeded
The Open method of the device driver class has not been called.
The timeout time (1 second) has elapsed.
An axis error occurred. Check "[Md.23] Axis error No.".
The READY signal [X0] is OFF.
The "[Cd.21] Manual pulse generator enable flag" is ON.
BUSY signal [X10 to X1F] are ON.
Error detection ("[Md.31] Status": b13) is ON.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents