I want to control a virtual robot in RoboGuide using MATLAB for my academic project. Initially, I considered using my FANUC LRMate 200iD/4S real robot, but it doesn't have the necessary capabilities. Therefore, I switched to using the RoboGuide virtual robot. However, the project requires hardware integration, so I plan to connect a real Allen-Bradley PLC with the virtual RoboGuide robot. My project involves connecting the robot to MATLAB and the real Allen-Bradley PLC. I am currently in the requirement gathering and conceptualization stage. Can anyone provide detailed steps to achieve this and share your thoughts and experiences? Thanks in advance for your input.
Roboguide with MATLAB
-
MANIKANDAN_S -
June 26, 2024 at 6:33 PM -
Thread is Unresolved
-
-
Could you please respond to this or let me know if you have any questions or need any explanations?
-
Hi
A question why would you use matlab and Allen bradley plc ? You can use ethernet ip communication if that used, you should define what your master and slave device then all it’s documented in ethernet fanuc manual also there’s some great video on youtube.
-
Thank you for your reply, Reflex. I want to clarify that I am not integrating the PLC with MATLAB. Instead, I am integrating RoboGuide with MATLAB using socket messaging (KAREL). After that, I will connect the PLC to the robot using EtherNet/IP, but there is no connection between MATLAB and the PLC. I am using EtherNet/IP for the PLC-robot connection.
When I attempted to connect RoboGuide with the PLC, I encountered some issues. Could you assist me with that?
ThreadEthernet/IP Connection Issues: FANUC RoboGuide & Allen-Bradley PLC
I am attempting to connect RoboGuide with an Allen-Bradley CompactLogix PLC using Ethernet/IP communication, without utilizing external servers like OPC UA or KEPServer. The connection is direct between the robot and the PLC.
Steps Taken:- Work Cell Setup in RoboGuide:
Created a work cell using these packages:
- Ethernet/IP Adapter (RTL-R784)
- Ethernet/IP Scanner: Includes Adapter (RTL-R785) - Host Communication:
2.1. Successfully set up host communication.
2.2. Able to ping the PLC. - PLC Configuration:
MANIKANDAN_SAugust 18, 2024 at 5:22 PM - Work Cell Setup in RoboGuide:
-
Yes did you configure your ethernet ip on the roboguide and plc ? Did you map your io ?
-
Yes, I have configured the IP addresses in both RoboGuide and the PLC. I can successfully ping the PLC from RoboGuide. However, I am encountering issues with the I/O mapping. I've provided a detailed explanation of the problem. If possible, could you provide a solution?
ThreadEthernet/IP Connection Issues: FANUC RoboGuide & Allen-Bradley PLC
I am attempting to connect RoboGuide with an Allen-Bradley CompactLogix PLC using Ethernet/IP communication, without utilizing external servers like OPC UA or KEPServer. The connection is direct between the robot and the PLC.
Steps Taken:- Work Cell Setup in RoboGuide:
Created a work cell using these packages:
- Ethernet/IP Adapter (RTL-R784)
- Ethernet/IP Scanner: Includes Adapter (RTL-R785) - Host Communication:
2.1. Successfully set up host communication.
2.2. Able to ping the PLC. - PLC Configuration:
MANIKANDAN_SAugust 18, 2024 at 5:22 PM Could you also provide any common issues that might arise in this type of project, along with potential solutions or prerequisites? It would be helpful to hear about your experiences as well. I'm open to receiving input and suggestions from you.
- Work Cell Setup in RoboGuide:
-
Hi,
Did you create a generic messaging on your allen bradley PLC ? i made this video that i covered all configuration between your robot using roboguide and PLC from automation direct P1-550 HR VS MNC 60sec V2 (youtube.com), for your plc you should create a generic message and match your data size (it's important) and make sure you have ethernet adapter installed on your cell. hopefully this will help