Mmc_Axis::startblockpositioning - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::StartBlockPositioning

Starts advanced positioning control.
unsigned long StartBlockPositioning(
unsigned short startBlock,
unsigned short startPointNo
);
Detailed description
■Parameter
Argument
startBlock [in]
startPointNo [in]
■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].
• 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
StartPositioning (Page 65 MMC_Axis::StartPositioning)
RestartPositioning (Page 68 MMC_Axis::RestartPositioning)
WaitPositioningDone (Page 69 MMC_Axis::WaitPositioningDone)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
66
3.3 MMC_Axis Class
Description
Start block (0 to 4)
Positioning start point No. (1 to 50)
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

Advertisement

Table of Contents
loading

Table of Contents