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

URL

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

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/axes"/>
   </head>
   <body>
       <div class="state">
           <a href="1" rel="self"/>
           <a href="1?action=show" rel="self"/>
           <ul>
               <li class="ms-mechunit-axisstatus" title="axisstatus">
                   <span class="axis-status">Synchronized</span>
               </li>
               <li class="ms-mechunit-axispose-li" title="axispose">
                   <a href= "1?resource=axis-pose" rel="self"/>
               </li>
               <li class="ms-mechunit-logicalaxis" title="logicalaxis">
                   <span class="logical-axis">1</span>
               </li>
           </ul>
       </div>
   </body>
</html>

Resources

This API provides the details of the specific axis of the mechanical unit.

  • axisstatus : mechanical unit axis state.Possible values are,
    • Initiated-State is initialted.
    • NotCommutated-State is not commutated.
    • NotCalibrated-State is not calibrated
    • NotAMSSynchronized-One or several absolute measurement axes are not synchronized.
    • NotSMSSynchronized-One or several relative measurement axes are not synchronized.
    • Synchronized-State is synchronized.
    • Locked-State is locked.
    • LockedShow-State locked show
    • Undefined
  • axispose : Axis number.
  • logicalaxis: The logical joint number of the mechanical unit axis.

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/1"

Note

Not supported in bootserver mode