Mmc_Axis::startpositioning - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::StartPositioning

Starts positioning control.
unsigned long StartPositioning(
unsigned short startNo
);
Detailed description
■Parameter
Argument
startNo [in]
*1 Specify the following values for the positioning start No.
Value
1 to 600
MMC_STNO_HOMING
MMC_STNO_FAST_HOMING
MMC_STNO_CHANGE_VALUE
MMC_STNO_MULTIPLE_AXES
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_TIMEOUT_01
MMERR_CONDITION_READY_SIGNAL_OFF
MMERR_CONDITION_BUSY_ON
MMERR_CONDITION_AXIS_ERROR_DETECTION
■Point
• After writing ON to positioning start signal [Y10 to Y1F], this method returns control immediately.
• When the positioning start signal [Y10 to Y1F] is already ON, this method writes OFF to positioning start signal [Y10 to Y1F]
and waits until start complete ("[Md.31] Status": b14) turns OFF before writing ON to positioning start signal [Y10 to Y1F].
• When using machine home position return, high speed home position return, change current value, and start multiple axes
simultaneously for the positioning start No., the Simple Motion board function of the same name is used for starting
positioning control. Refer to the following for details.
Simple Motion Board User's Manual (Application)
• This method cannot be used in conjunction with the pre-read start function. When using the pre-read start function, use a
label when setting.
■Supported version
API version
1.00
■Reference
StartBlockPositioning (Page 66 MMC_Axis::StartBlockPositioning)
RestartPositioning (Page 68 MMC_Axis::RestartPositioning)
WaitPositioningDone (Page 69 MMC_Axis::WaitPositioningDone)
Description
*1
Positioning start No.
Description
Positioning data No.
Machine home position return
High speed home position return
Change current value
Start multiple axes simultaneously
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.
The READY signal [X0] is OFF.
BUSY signal [X10 to X1F] are ON.
Error detection ("[Md.31] Status": b13) is ON.
Software version
01
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
65
3.3 MMC_Axis Class
3

Advertisement

Table of Contents
loading

Table of Contents