Turning Motors on and off
Options
mbwelenc
✭
Hi, I'm a newbie to PC SDK and I'm working on an application that requires being the ability to turn the motors on or off. I'm using PC SDK version 5.11. Is there a method, either directly or through RAPID, to turn the motors on or off?
0
Comments
-
It's easy
In my case, I use Visual studio C# to do my application. And there is a button event to turn on or off
private Controller mycontroller = null;private void button_Click(object sender, EventArgs e){if (mycontroller.State == ABB.Robotics.Controllers.ControllerState.MotorsOn){mycontroller.State = ABB.Robotics.Controllers.ControllerState.MotorsOff;}else{mycontroller.State = ABB.Robotics.Controllers.ControllerState.MotorsOn;}}
then done.0
Categories
- All Categories
- 5.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 733 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings