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

Move Robot along a single axis until TargetReachError in Python

#1
Hi, i am new in RoboDK,
i want to create a raster in Python in which the robot start by every point a movement of the tool only along the z axis by a loop with step by step (1mm steps) until the robot can not reach the next step. But i cant find the right command.

For Example:

While iz <= 9999: #the targetReachError is inside the limit
robot.MoveL(z_move)
iz += 1

if iz = "robot.TargetReachError"
robot.MoveL(next_point)

somthing like that...
or is another structur helpfully?

thanks
#2
Hi Daniel,

MoveL_Test is what you are looking for I believe.

//www.sinclairbody.com/doc/en/PythonAPI/robo...MoveL_Test

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)