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

Robot Programs skip movement instructions

#1
I'm creating a robot program using the RoboDK API with Python. The robot program I created is correctly added in RoboDK (I have 51 points to move to and I see them in RoboDK as movement instructions). However, when I want to export the robot program in LS format for my Fanuc robot controller I only see 5 movement instructions.

I have attached the program I obtained. In particular, it does not generate all the linear movements (MoveL commands) to my LS program file. I have no issues with the joint movements though.


Attached Files Thumbnail(s)
resim_2024-06-13_154954993.png   
#2
In addition, although the first point is Linear, the points are added as Joint in the .ls output.
#3
This is possible if you use the same point coordinates.
Please take into account the following settings (Tools-Options-Program):

stp.png   
#4
(06-13-2024, 02:34 PM)Sergei Wrote: This is possible if you use the same point coordinates.
Please take into account the following settings (Tools-Options-Program):

Hi Sergie,I already use it that way


Attached Files Thumbnail(s)
Ekran görüntüsü 2024-06-13 174808.png   
#5
RoboDK may skip movement instruction when you generate programs if the targets are very close to each other. RoboDK has a filter to automatically skip points closer than 0.005 mm.

Can you share your RoboDK project file? We can better investigate.
#6
(06-13-2024, 02:59 PM)Albert Wrote: RoboDK may skip movement instruction when you generate programs if the targets are very close to each other. RoboDK has a filter to automatically skip points closer than 0.005 mm.

Can you share your RoboDK project file? We can better investigate.

I solved my problem by adding targets to the points I wanted my robot to go to with the Python API, but since there were too many points, there were too many targets in the program tree of robodk. Is there a way to hide added targets from the program tree?


Attached Files Thumbnail(s)
resim_2024-06-14_114333343.png   
#7
You can right click one or multiple move instructions and select Hide Target Objects to integrate the target object with the instruction and hide the target item from the tree.
  




Users browsing this thread:
1 Guest(s)