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

Send Device Command

URL

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

Method

POST

URL Params

None

See Common URL parameters

Data Params

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

Success Response

NO_CONTENT(204)

see HTTP Status codes

Example Response

No Content

Error Response

BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "commandName=FIRMWARE_INFO&value=0&valueLength=0&timeout=0" -X POST "http://localhost/rw/iosystem/devices/EtherNetIP/Local_IO/command"

Notes

Applicable only for RC.

Not supported in bootserver mode.