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

URL

/rw/motionsystem/mechunits/{mechunit}/robtarget

Method

GET

URL Params

  • tool={tool_name} By default, active tool configured for the mechunit will be taken.
  • wobj={wobj_name} By default, active wobj configured for the mechunit will be taken.
  • coordinate={Base | Word | Tool | Wobj} Required

See Common URL parameters

Data Params

None

Success Response

HTTP_OK(200), see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<title>motionsystem</title>
<base href= "http://localhost/rw/motionsystem/mechunits/ROB_1/robtarget/" />
</head>
<body>
<div class="state">
<ul>
<li class="ms-robtargets" title="ROB_1">
<span class="x">515</span>
<span class="y">0</span>
<span class="z">712</span>
<span class="q1">0.7071068</span>
<span class="q2">0</span>
<span class="q3">0.7071068</span>
<span class="q4">0</span>
<span class="cf1">0</span>
<span class="cf4">0</span>
<span class="cf6">0</span>
<span class="cfx">0</span>
<span class="eax_a">8.999999e+009</span>
<span class="eax_b">8.999999e+009</span>
<span class="eax_c">8.999999e+009</span>
<span class="eax_d">8.999999e+009</span>
<span class="eax_e">8.999999e+009</span>
<span class="eax_f">8.999999e+009</span>
</li>
</ul>
</div>
</body>
</html>

Error Response

BAD_REQUEST(400)

see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/motionsystem/mechunits/ROB_1/robtarget?tool=tool0&wobj=wobj0&coordinate=Base"

Note

Not supported in boot server.