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

How do I use RoboDK Beyond Simulation and Control of Robot?

#1
I am working with a FANUC LR Mate 200iD and R30iB robot controller. I got the license for RoboDK and it is awesome. We are able to write scripts in python, simulate the movements, connect to the robot and run the script on the robot. 

I am failing to see the next steps to getting this to run on a standalone system. My experience is with PLCs. Integrating everything using a PC based system is new to me and I dont see exactly how RoboDK integrates into everything else i need our system to do. For example:

- We plan to have an Industrial PC run our system. Does RoboDK get installed on this system and run the simulation while connected to the robot? Or is there some process where I am satisfied with the python scripts we developed in RoboDK and then these turn into an exe that I call from my own program on the IPC? 

- If I have light curtains, proximity sensors, other actuators controlled by the IPC, are these integrated through RoboDK or do I need to have a separate program that can coordinate the interactions between RoboDK and all the other stuff? With a PLC, I just did everything on the PLC. Can I Program EVERYTHING on my python scripts in RoboDK? 

I think my biggest hurdle is just understanding how information gets passed around and where different programs should live on an IPC vs PLC. 

Thank you,
-DPD
#2
Thank you for your message and for sharing your experience with RoboDK and your FANUC robot.

You can install RoboDK on your Industrial PC (IPC) to run simulations and develop your robot programs. You should be able to run RoboDK with low CPU resources. You can also start RoboDK hidden and display RoboDK using the API only when necessary (-HIDDEN command line option). You can also start RoboDK as a process without the 3D environment if you don't need to show the 3D view (-NOUI option) You can find more information about command line options to customize the behavior of RoboDK here:
https://robodk.com/doc/en/RoboDK-API.html#CommandLine
https://robodk.com/doc/en/PythonAPI/robo...nk.Command

For your information, you can enable a remote 3D view through any browser by checking this option:
  1. Select Tools-Options
  2. Select the Other tab
  3. Check the option Activate Local Web Server View.
There is no need to convert your Python scripts to Executables unless you want to protect/hide your code. However, if you want to compile your Python scripts you could use PYC files or Cython. Let us know if you need help.

Also, once you have one or more scripts to perform custom operations you can easily convert it to a RoboDK Add-In. You can find an example to convert a script to an Add-in in the following link from the documentation:
https://robodk.com/doc/en/Add-ins.html#CreateApp
  




Users browsing this thread:
1 Guest(s)