Mcv_Home Class - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MCv_Home class

Executes home position return for the specified axis.
class MCv_Home : public MC_FunctionBlock
Member
■Input
Name
Variable name
Axis information
Axis
Execute command
Execute
■Output
Name
Variable name
Execution complete
Done
Executing
Busy
Error
Error
Error code
ErrorID
Timing chart
■Normal completion
Execute
Busy
Done
Error
ErrorID
■Abnormal completion
Execute
Busy
Done
Error
ErrorID
Error code
Value
MMERR_FB_AXIS_ERROR
MMERR_FB_START_NOT_POSSIBLE
MMERR_FB_AXIS_STOPPED
MMERR_FB_AXIS_NUMBER
MMERR_FB_LINK_DEVICE_INACCESSIBLE
MMERR_FB_WARNING
Data type
Fetch
Valid range Description
AXIS_REF*
bool
Startup only
ON/OFF
Data type
Initial value
bool
OFF
bool
OFF
bool
OFF
unsigned short
0
0
Error code
Description
An error occurred.
Positioning can not be started.
The axis is in a Stopping state, or the stop command for the axis is ON.
A value outside the range is set to the axis No.
Access to the link devices is disabled.
A warning occurred.
Specifies the pointer to the axis information class object.
Executes the function block when ON.
Description
Indicates the completion of home position return.
Indicates home position return is in operation.
When ON, this indicates an error occurrence in the function
block.
Returns the error code of the error that occurred in the function
block.
5 API LIBRARY DETAILS (FUNCTION BLOCK)
5.1 MC_FunctionBlock Class
5
155

Advertisement

Table of Contents
loading

Table of Contents