RobotStudio event

Interaction between Robotstudio and C# without using PCSDK interface (form)

I am a beginner in using RobotStudio and  PC SDK. I understand the basics of using PCSDK application interface to 'start production' of robot in Robotstudio with virtual controller. I would like to ask if there is a way to control robot from C# directly without using interface or windows form application. It is for my thesis and I am running out of time. I am using ABB robot with a scanner. The robot should move to a certain position and the scanner scans, then it should move to next position and wait for scanner to scan, and so on until all positions are reached for scanning. I am involving robot + scanner in the middle of my code in C#  (console application) therefore I will not use interface.


Any help you render will be very much appreciated.
Thank you in advance!

Comments

  • Yes of course you can. It's just that applications with a user interface are so much easier to write and debug.

    You can make any ordinary Windows project using Visual Studio with PC SDK as reference. So for instance a  Service project would probably suit your purpose. While some others like to have it as a console project.

    But since the ones with a user interface is easier to create and maintain I've got to ask you why you really need to have it "without using interface or windows form application"??? Wouldn't it be just as effective to make it with what you are already aware of as in "I understand the basics of using PCSDK application interface to 'start production' of robot in Robotstudio with virtual controller" then just build your communication with the scanner in that project you already got, and if you want to then just minimize it after the first user input to get it started etc. Especially if you are pressed for time it seems strange to switch from what you got and know to something which you have to ask others for help to set up.

    Also if you know how to connect to the Virtual Controller - then it is the same as connecting to the real controller, as long as it is on the same network and subnet as the PC.

    A tip if you want to limit user interaction etc is to use the app.config file to scan and connect to specific controllers.

    =John

    http://developercenter.robotstudio.com:80/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/fb2724cc-c9ac-41cd-a68f-4d8e741fb26d.htm