![]() ![]() See help topics "Efficient Access to Positions"įRCSysPositions sysPositions = mobjRobot.RegPositions įRCSysPosition sysPosition = sysPositions įRCSysGroupPosition sysGroupPosition = sysPosition.Group įRCXyzWpr xyzWpr = sysGroupPosition.Formats We're accessing position register 1 below and updating the values. To finish off this hello world program, add the following lines of code to update a position register. Using FRRobot //uses the robot reference we just addedĬonsole.WriteLine("Press any key to continue.") If this runs, you've successfully installed PCDK and you're ready to communicate with your robot. Now to begin writing code! Connecting to a RobotĪdd the following highlighted lines to your code to connect to your robot. ![]() Under COM, find FANUC Robotics Controller Interface. I called mine "FanucTest".Īfter clicking OK, right click on the "References" in the solution, and click "Add Reference". Next, start up Visual Studio and create a new Console Application. Visual Studio Community is free and works perfectly for this application.Īfter installing Visual Studio, go through the PCDK installer. Installationįirst step is to install Visual Studio. Most of the help documentation already covers Visual Basic, so I'll explain how to get started with C#. FANUC offers an easy way to command and configure a robot from a PC using their PC Developer's Kit ( PCDK).The kit allows a PC to access variables, registers, IO, programs, positions, and alarms on the robot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |