Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Set Controller State

Set the controller state either Motors ON or Motors OFF

URL

/rw/panel/ctrlstate

Method

POST

URL Params

action=setctrlstate Required

Data Params

ctrl-state = The controller state {motoron | motoroff} Required

Success Response

NO_CONTENT(204)

see HTTP Status codes

Example Response

No content

Error Response

BAD REQUEST(400)

See Robot controller return codes

Sample Call

Set controller state

curl --digest -u "Default User":robotics -d "ctrl-state=motoron" -X POST "http://localhost/rw/panel/ctrlstate?action=setctrlstate"

Notes

Not supported in bootserver mode.