Communication between ABB IRC5 controlller and Arduino MEGA and RAMPS- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Communication between ABB IRC5 controlller and Arduino MEGA and RAMPS (/Thread-Communication-between-ABB-IRC5-controlller-and-Arduino-MEGA-and-RAMPS) |
Communication between ABB IRC5 controlller and Arduino MEGA and RAMPS-fahadak89-01-08-2021 Hello everyone. I am doing a project in which I am trying to perform 3D printing by fixing an extruder to a structure and then providing all the motions of the printing bed through the ABB IRB 120 Robot. The microcontroller I am using is based on Arduino MEGA and RAMPS 1.4 that has Marlin Firmware installed in it. The only option available to communicate with the ABB IRC5 controller is ethernet/LAN. The RAPID code that RoboDK generates call the extruder with the command ExtruderSpeed. My question is how to transfer this command to the microcontroller of the 3D printing setup? I came across the fact that Python coding is normally used to do that but I have never done Python coding in my life so kind of stuck right now. Can someone guide how to establish this communication? Whenever the Rapid code calls the extruder through the ExtruderSpeed command, it should print the filament accordingly. What I had plan regarding the communication that my PC will serve as the server through which a LAN will be going to the network switch. From there one LAN will be going to the ABB IRC5 controller and one LAN will be going to the Raspberry Pi that will be serially connected to the Arduino MEGA. The problem is how to establish the communication? Only having the connections will not work :) If someone has a better idea instead of my scheme of establishing communication then they can share as well. I will be really thankful. I am also attaching my code generated through RoboDK
Code:
%%%
|