RobotStudio event

HOW TO stop rapid program by SDK?

Options

Dear All, I have done the sample program in the application manual. But I have a probelm. If I want to stop the rapid program (continous) with another button. how can I do it ?  I try to use stopmode immediate function. But it does not work. Can anyone help me ? Thanks in advance.

Comments

  • chad su
    Options

    ok . i can do it already. but i still have problem. Now how can I use SDK to  control robot like MOVEJ or MOVEC in our rapid?   Can anyone help me ? Thank you in advance.

     

     
  • apox
    apox ✭✭
    Options
    What do you mean with control?Do you want to create MoveJ... instructions via API?
  • Niklas Skoglund
    Options
    Hi,
     

    you can not order the robot to move using a direct API call. What you can do is to start and stop program execution (for example using Rapid.Start, Task.Start).

     

    It is also possible to have logic in a RAPID program which waits from inputs from a PC SDK client, and performs different actions, depending on input from PC SDK.

     

     

    Best Regards, Niklas Skoglund
    ABB Robotics

    Developer Center
    RobotStudio Blog
  • Laro88
    Options
    Two options.

    A:

    You need to create small modules ( rapid code ) upload these to the
    controller and start them through some rapid code...



    B:

    use Messaging to send coordinates the controller ( from your application
    ) and execute these though a special set of routines.