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

Issues In Online Programming Of Dobot Magician Using RoboDK

#1
I recently started using RoboDK trying to control dobot Magician using online programming. First of all what I did was exactly follow the documentation and created a simple program to move the robot to a point and then back to the home position defined by targets.Everything looked great in the simulation and I successfully connected my robot with it. the status bar showed ready. In more options I selected DobotDriver but when I set the simulation to "Run on Robot" and double click my program it does not make the robot move along with it in the simulation the response is really fast. I am using RoboDK version 5.8 on windows.

After failing again and again I tried offline programming using the post processors and surprisingly that code worked. So i turned back to online programming.

After extensively searching the forum found few threads relating to my problems but they did not got completed like there was no final answer/solution for this problem. At one point I found the dobotDriver.exe.ini file in which there was a macro IsScara=false. So I changed it to true. Surprisingly the Robot moved but it was mapping the joints incorrectly like joint 1 in the simulation was mapped for joint 3 on the real robot.

Ill be really grateful if the RoboDK team could help me out.
#2
What driver are you using?
Can you send us a print screen of the connection log?
#3
I have attached a complete video and in it the connection log and the log window are also shown. I am using DobotDriver for Dobot Magician.


Attached Files
.mp4   WhatsApp Video 2024-12-10 at 12.24.11.mp4 (Size: 3.47 MB / Downloads: 121)
#4
You should use this driver for Dobot Magigican robots:
Dobot.py

You should follow these steps to solve the communication issues with your Dobot Magician robot:
  1. Double click Disconnect to force stop the driver.
  2. Select More Options from the robot connection
  3. Click on Select right beside DobotDriver
  4. Select the Dobot driver
  5. Try to connect again
#5
(12-10-2024, 09:23 AM)Albert Wrote: You should use this driver for Dobot Magigican robots:
Dobot.py

You should follow these steps to solve the communication issues with your Dobot Magician robot:
  1. Double click Disconnect to force stop the driver.
  2. Select More Options from the robot connection
  3. Click on Select right beside DobotDriver
  4. Select the Dobot driver
  5. Try to connect again

When I downloaded and installed RoboDK there is no driver named Dobot.py in the RoboDK/api/Robot/ the driver that was available was DobotDriver.exe. I have attached the screen shots of the list of drivers available at my end and folder that contains the Drivers


Attached Files Thumbnail(s)
2.PNG    1.PNG   
#6
(12-10-2024, 09:23 AM)Albert Wrote: You should use this driver for Dobot Magigican robots:
Dobot.py

You should follow these steps to solve the communication issues with your Dobot Magician robot:
  1. Double click Disconnect to force stop the driver.
  2. Select More Options from the robot connection
  3. Click on Select right beside DobotDriver
  4. Select the Dobot driver
  5. Try to connect again

I also tried downloading this Dobot.py from the following link and placing it in the api/Robot folder but now the connection status bar does not even connect.
https://github.com/luismesas/pydobot/tre...er/pydobot
#7
You can take the Dobot driver attached and place it here:
C:/RoboDK/api/robot/


Attached Files
.zip   Dobot.zip (Size: 6.66 KB / Downloads: 114)
#8
(12-11-2024, 10:16 AM)Albert Wrote: You can take the Dobot driver attached and place it here:
C:/RoboDK/api/robot/

I downloaded the file you gave me and placed it in the corresponding folder but I think this file is the Post Processor which is used for offline programming and not the driver file I have attached the errors I am getting

(12-11-2024, 10:16 AM)Albert Wrote: You can take the Dobot driver attached and place it here:
C:/RoboDK/api/robot/

Plus it still does not connect and the status bar does not go green saying "ready". The comments in the code told me that this file is the for the Post Processors. I am having issues with the Online Programming.


Attached Files Thumbnail(s)
1.PNG    2.PNG    3.PNG   
#9
You are right, I'm sorry for this misunderstanding.

Can you try with the Dobot CR driver?

Do you know if it is a recent Dobot Magician or an older model?
We have one of the first models and we could test on that robot. The driver used to be a Python version by default and it used to work.
#10
Dobot has multiple interfaces available depending on the controller, and we are thus supporting 4 different Dobot drivers:
  • Dobot Magician (note the Lite or the E6)
  • Dobot MG400 and M1 Pro
  • Dobot V3 (Nova, MG400, CR)
  • Dobot V4 (CRA and E6)

Which robot model are you using? Please contact us at info@robodk.com mentioning this post and my name and we can help you sort this out.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
  




Users browsing this thread:
1 Guest(s)