Get program counter position
URL
/rw/rapid/tasks/{task}/execution
Method
GET
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>rapid</title>
<base href="http://127.0.0.1:9898/rw/rapid/"/>
</head>
<body>
<div class="state">
<a href= "tasks/T_ROB1/execution" rel="self"/>
<ul>
<li class="rap-pcp">
<span class="module">mymodule</span>
<span class="routine">routine1</span>
<span class="startline">10</span>
<span class="startcol">10</span>
<span class="endline">1</span>
<span class="endcol">1</span>
</li>
</ul>
</div>
</body>
</html>
Resources;
- rap-pcp Rapid program counter position
- module module name.
- routine routine name.
- startline starting row numebr.
- startcol strting column number.
- endline ending row number.
- endcol ending column number.
Error Response
BAD_REQUEST(400), NOT_FOUND(404), see HTTP Status codes
Robot controller errors, see Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/rapid/tasks/T_ROB1/execution"
Notes
Not supported in bootserver mode