Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

setSpeed does not work

#1
Hello everyone,

I am currently trying to operate a real fanuc CRX robot using the Python API.
I was able to move the robot successfully, but the actual movement speed of the robot is clearly different from the speed set using robot.setSpeed(100).
Could you please advise me on how to resolve this issue?

Best regards 
Tyler

Code:
    RDK.setRunMode(RUNMODE_QUICKVALIDATE)
    RDK._RAISE_EXCEPTION_ON_WARNING = True

    robot.Connect()
    move_speed = 500

    try:
        #robot.MoveL(newPosition)
        robot.setSpeed(speed_linear=move_speed,speed_joints=-1,accel_linear=-1,accel_joints=-1)
        # robot.setSpeed(100) it doesn't work too
        robot.MoveL(Approach)
        robot.MoveL(Target)

        print("Movement successful")
    except Exception as e:
        print("Problems with movement:", e)
#2
It was found that the speed override setting on the teach pendant was set to 20%, which was the cause of the reduced movement speed. After adjusting the override to 100%, the robot operated at the expected speed without any issues.
#3
Excellent! Thank you for letting us know that this issue is now resolved.
  




Users browsing this thread:
1 Guest(s)