7.3.6.
fhsample_move
Function
Move the robot
Syntax
fhsample_move pos_x, pos_y, pos_z, pos_w, pos_p, pos_r, err_no
Parameter
Argument
pos_x
pos_y
pos_z
pos_w
pos_p
pos_r
err_no
Remarks
Moves the robot to the position specified by the parameter.
Returns an error if the target robot position is out of the movement range.
Return Value
Err. No.
Error Message
0
-
-1503
ERROR:fhsample_move():The Robot Position is Out
of Range:-1503
-1505
ERROR:fhreflectcoord() : LOCAL_COORD_NO :-1505
ERROR:fhreflectcoord() : TOOL_COORD_NO : -1505
Precautions
None
Input/Output Data type
Input
num
Input
num
Input
num
Input
num
Input
num
Input
num
Output
num
Description
Moving target robot coordinates X
Moving target robot coordinates Y
Moving target robot coordinates Z
Moving target robot coordinates W
Moving target robot coordinates P
Moving target robot coordinates R
error number
Store the result of the execution of
this function.
48
Description
normal
termination
out of range error
Out of the range of
Local Coordinate
Out of the range of
Tool Coordinate