Breadcrumbs

CDRFLEx.move_home

Features

This is a function for aligning each axis of the robot when the robot’s axes have been twisted due to internal/external errors in the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

eMode

MOVE_HOME

MOVE_HOME_MECHANIC

Refer to the Definition of Constant and Enumeration Type

bRun

unsigned char

1

0: Stop

1: Motion

Return

Value

Description

0

Error

1

Success

Example

C++
// Executes Homing motion
drfl.move_home()
// Stops Homing motion
drfl.move_home(MOVE_HOME_MECHANIC, (unsigned char)0);

When using the Move command after homing is complete, it is recommended to use the wait command after homing.