Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Axes

URL

/rw/motionsystem/mechunits/{mechunit}/axes

Method

GET

URL Params

None

Data Params

None

Success Response

HTTP_OK(200), see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
       <title>motionsystem</title>
       <base href="http://localhost/rw/motionsystem/mechunits/ROB_1/"/>
   </head>
   <body>
       <div class="state">
           <a href="axes" rel="self"/>
           <ul>
               <li class="ms-mechunit-axes" title="axes">
                   <span class="axes">6</span>
               </li>
               <li class="ms-mechunit-axis-li" title="axis">
                   <a href="axes/1" rel="self"/>
                   <a href="axes/2" rel="self"/>
                   <a href="axes/3" rel="self"/>
                   <a href="axes/4" rel="self"/>
                   <a href="axes/5" rel="self"/>
                   <a href="axes/6" rel="self"/>
               </li>
           </ul>
       </div>
   </body>
</html>

Resources

This API provides the number of joints of the mechanical unit under consideration.

  • title = axes, provides the number of joints on the mechanical unit.
  • title = axis, provides the details of the specific joint in the mechanical unit.

Error Response

BAD_REQUEST(400)

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/motionsystem/mechunits/ROB_1/axes"

Note

Not supported in bootserver mode