Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Set Hold to Run Cmd

Set Hold to Run Execution State

URL

/rw/rapid/execution

Method

POST

URL Params

action=holdtorun-state Required

Data Params

state={press | held | release} Required

Success Response

NO_CONTENT(204), see HTTP Status codes

Error Response

BAD_REQUEST(400),FORBIDDEN(403)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -X POST -d "state={press | held | release}" "http://localhost/rw/rapid/execution?action=holdtorun-state"

Notes

-Not supported in bootserver mode

-Supported in VC only

-Login as Local Client

-The Hold-To-Run control prevents RAPID-program execution to start until the holdtorun state is changed to Press.

-In the state Pressed the client must poll the Hold-To-Run control every 2 second, otherwise the program execution will stop. This is done by setting the holdtorun state to Held.

-If the client want's to stop the program execution immediately it must change the state to Release.

-Rapid program should run in motors on state.

-operation mode should be Manual(Reduced Speed) or Manual Full Speed.