Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get RAPID Execution state

Returns the rapid execution state

URL

/rw/rapid/execution

Method

GET

URL Params

continue-on-err={1|0} Optional Default value is 0. In case input is 1, the API continues execution even if any error occurs in between.

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 xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>rapid</title>
        <base href="http://localhost/rw/rapid/"/>
    </head>
    <body>
        <div class="state">
            <a href="execution" rel="self"></a>
            <a href="execution?action=show" rel="action"></a>
            <ul>
                <li class="rap-execution" title="execution">
                    <span class="ctrlexecstate">stopped</span>
                    <span class="cycle">forever</span>
                </li>
            </ul>
        </div>
    </body>
    </html>

Resources

  • rap-execution Rapid execution resource
    • ctrlexecstate Rapid execution state {running | stopped}
    • cycle Current run mode { forever | asis | once | oncedone }

Error Response

BAD_REQUEST(400)

see HTTP Status codes

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/rapid/execution"

Notes

Not supported in bootserver mode.

Use /rw/rapid/execution;ctrlexecstate to filter ctrlexecstate value.