Status Data

Get Robot Mode

get_robot_mode()

Get Actual Joint Positions

get_actual_joint_positions()

This command is used to get the current actual joint positions of the robot, i.e., the actual feedback values (converted to absolute values) obtained from the joint encoders.

Due to certain time and space errors in robot control, the return value of this command will be inconsistent with Get Target Joint Positions, especially during acceleration or when operating with heavy loads.

  • Returns
    • Feedback positions of each joint. Unit: rad.
Return Example
{j5=0.971489,j4=3.09644,j6=-2.86212,j1=-2.18238,j2=-0.214086,j3=0.0813969}

Get Target Joint Positions

get_target_joint_positions()

This command is used to get the joint positions planned by the current robot control algorithm.

Due to certain time and space errors in robot control, the return value of this command will be inconsistent with Get Actual Joint Positions.

  • Returns
    • Planned positions of each joint. Unit: rad.
Return Example
{j5=0.971489,j4=3.09644,j6=-2.86212,j1=-2.18238,j2=-0.214086,j3=0.0813969}

Get Actual Joint Speeds

get_actual_joint_speeds()

This command is used to get the current actual joint angular velocities of the robot.

Due to certain time and space errors in robot control, the return value of this command will be inconsistent with Get Target Joint Speeds.

  • Returns
    • Current angular velocities of each joint. Unit: rad/s.

Get Target Joint Speeds

get_target_joint_speeds()

This command is used to get the target joint angular velocities planned by the current robot algorithm.

Due to certain time and space errors in robot control, the return value of this command will be inconsistent with Get Actual Joint Speeds.

  • Returns
    • Planned angular velocities of each joint. Unit: rad/s.

Get Actual Flange Pose 3.1.14

get_actual_flange_pose()

Get the actual pose of the current flange center point relative to the base coordinate system.

  • Returns
    • Pose and position information. Format: {x, y, z, Rz, Ry, Rx}.
Return Example
{0.111003,0.466219,0.433249,1.89694,0.176494,1.42186}

Get Actual TCP Pose

get_actual_tcp_pose()

Get the actual pose of the current tool (TCP) relative to the base coordinate system.

  • Returns
    • Pose and position information. Format: {x, y, z, Rz, Ry, Rx}.
Return Example
{0.111003,0.466219,0.433249,1.89694,0.176494,1.42186}

Get Target TCP Pose

get_target_tcp_pose()

Get the target pose of the current tool (TCP) planned in the robot algorithm relative to the base coordinate system.

  • Returns
    • Pose and position information. Format: {x, y, z, Rz, Ry, Rx}.
Return Example
{0.111003,0.466219,0.433249,1.89694,0.176494,1.42186}

Get Joint Temperature

get_joint_temp(joint)

This method can get the internal feedback temperature of the specified joint.

  • Parameters

    • joint: Joint number.
  • Returns

    • Internal feedback temperature of the specified joint. Unit: ℃.
Example Program
get_joint_temp(1)

Output:

58.2

Get All Joint Temperatures

get_joint_temperatures()

Get the internal temperatures of all joints.

  • Returns
    • Temperature of each joint. Unit: ℃.
Return Example
{58.1,58.3,59,62.3,61.5,64.3}

Get Actual Joint Torques

get_actual_joint_torques()
  • Returns
    • Feedback torque values of each joint. Unit: N·m.
Return Example
{0,-21.5756,-7.78209,0.256523,-0.00925853,0}

Get Target Joint Torques

get_target_joint_torques()
  • Returns
    • Planned torque values of each joint. Unit: N·m.