53
7.4.7.
fhsample_move
Function
Move the robot
Syntax
fhsample_move(pos_x, pos_y, pos_z, pos_w, pos_p, pos_r)
Parameter
Argument
Input/Output Type
Data type
Description
pos_x
Input
parameter Single
Moving target robot
coordinates X
pos_y
Input
parameter Single
Moving target robot
coordinates Y
pos_z
Input
parameter Single
Moving target robot
coordinates Z
pos_w
Input
parameter Single
Moving target robot
coordinates W
pos_p
Input
parameter Single
Moving target robot
coordinates P
pos_r
Input
parameter Single
Moving target robot
coordinates R
fh_err_number Output
Variable
Integer
Error Number
(0:normal,Except
0:abnormal)
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
Description
0
-
normal termination
-1505
ERROR:fhsample_fhreflectcoord () :
LOCAL_COORDINATE_NO :-1505
Out of the range of
Local Coordinate
ERROR:fhsample_fhreflectcoord () :
TOOL_COORDINATE_NO : -1505
Out of the range of
Tool Coordinate