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

Returns the operations allowed on the mechunit.

URL

/rw/motionsystem/mechunits/{mechunit}

Method

GET

URL Params

action=show

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/" />
</head>
<body>
<div class="state">
<form id="set" method="post" action="ROB_1?action=set">
<input name="tool" value="0" type="text"/>
<input name="wobj" value="0" type="text"/>
<input name="payload" value="0" type="text"/>
<input name="total-payload" value="0" type="text"/>
<input name="mode" value="0" type="text"/>
<input name="jog-mode" value="0" type="text"/>
<input name="coord-system" value="0" type="text"/>
</form>
<form id="fine-calibrate" method="post" action="ROB_1?action=fine-calibrate">
<select name="axis">
<option value="1"/>
<option value="2"/>
<option value="3"/>
<option value="4"/>
<option value="5"/>
<option value="6"/>
</select>
</form>
<form id="update-revcounter" method="post" action="ROB_1?action=update-revcounter">
<select name="axis">
<option value="1"/>
<option value="2"/>
<option value="3"/>
<option value="4"/>
<option value="5"/>
<option value="6"/>
</select>
</form>
<form id="set-lead-through" method="post" action="ROB_1?action=set-lead-through">
<input name="status" value="0" type="text"/>
</form>
<form id="mechunit-position" method="post" action="ROB_1?action=mechunit-position">
<input name="rob_joint" value="0" type="text"/>
<input name="ext_joint" value="0" type="text"/>
</form>
<form id="sub-subscribe" method="post" action="/subscription">
<fieldset class="motionsystem-ev">
<input name="resources" value="1" type="checkbox"/>
<input class="res" name="1" value="/rw/motionsystem/mechunits;mechunitmodechangecount" maxlength="500" type="text"/>
<select class="priority" name="1-p">
<option value="0" selected="selected"/>
<option value="1"/>
</select>
</fieldset>
</form>
</div>
</body>
</html>

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?action=show"

Note

Not supported in boot server.