Turning Motors on and off
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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 312 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 793 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings