Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Send Device Command actions

Returns the form with the inputs required for send device command

URL

/rw/iosystem/devices/{device}/command

Method

OPTIONS

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>io</title>
<base href="http://localhost:7777/"/>
</head>
<body>
<div class="state">
<a href="rw/iosystem/devices/EtherNetIP/EN_Internal_Device/command" rel="self"></a>
<form id="devicecommand" method='post' >
<input type="text" name="commandName" value="" />
<input type="text" name="value" value="" />
<input type="text" name="valueLength" value="" />
<input type="text" name="timeout" value="" />
</form>
</div>
</body>
</html>

Actions

  • devicecommand
  • commandName Name of the device command.
  • value Command value.
  • valueLength Number of bytes in command value.
  • timeout Device timeout. Wait on answer from I/O device in maximum Timeout ms.

Error Response

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -X OPTIONS "http://localhost/rw/iosystem/devices/EtherNetIP/Local_IO/command"

Notes

Not supported in bootserver mode.