
Problem in EGM implementation for virtual controllers

emelineb
✭
in RobotStudio
Hi everyone,
I'm trying to implement EGM in robotstudio with virtual controllers but i'm facing a problem.
Until here I followed the steps in the EGM Manual :
- I set up the EGM protocol by building an EGM sensor communication : I have a ConsoleApplication.sln in C++ in Visual Studio 2019 where I put the code that you can find in the file attachment.
- I set up the RAPID code for Position Guidance. (I just copied the example on the manual), I triep to put it in the "string messageBuffer" variable in the ConsoleApplication.cpp.
- In robotstudio I set up the virtual controller IRC5 with EGM and the transmission protocol are like this :

And now I'm quiet confused about what I have to do. When I compile mi consoleApplication a window opens but their are error message as if it can't read what I put in the messageBufffer.

0
Comments
-
Hi @emelineb,
there are some examples from the abb-libegm ROS-industrial repo, which might be useful to setup a first EGM program to communicate with the (simulated) robot Create code samples · Issue #18 · ros-industrial/abb_libegm (github.com), they are in ROS C++ but converting what you need to standalone C++ should be straightforward
hope you find this useful
0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings