Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Symbol Information

Get symbol information from a position.

URL

/rw/rapid/modules/{module}

Method

GET

URL Params

resource=module-symbol Required

task={task_name} Required

row={row number} Required

col={col number} Required

Data Params

None

Success Response

HTTP_OK, see HTTP Status codes

Example Response

<html>
<head>
<title>rapid</title>
<base href= "http://localhost:7777/rw/rapid/" />
</head>
<body>
<div class="state">
<a href= "modules/MainModule?resource=module-symbol&task=T_ROB1&row=5&col=9" rel="self"/>
<ul>
<li class="rap-module-symbol" title="module-symbol">
<span class="version">#2</span>
<span class="symbolname">p10</span>
<span class="block_url">RAPID/T_ROB1/MainModule/p10</span>
<span class="sysmbol_type">CON</span>
<span class="linked">1</span>
<span class="local">1</span>
<span class="typurl">RAPID/robtarget</span>
<span class="dattyp">robtarget</span>
<span class="ndim">0</span>
<span class="storage">0</span>
<span class="heap">0</span>
<span class="refcount">1</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • version: version number
  • symbolname: RAPID symbol name
  • block_url: RAPID symbol URL
  • sysmbol_type: RAPID symbol Type
  • linked: TRUE if definition is complete
  • local: FALSE if global module constant
  • typurl: URL to type symbol
  • dattyp: Underlying data type
  • ndim: Number of array dimensions
  • storage: Symbol declaration storage
  • heap: TRUE if heap allocated (always TRUE)
  • refcount: Reference count

Error Response

Bad Request(400), see HTTP Status codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/rapid/modules/MainModule?resource=module-symbol&task=T_ROB1&row=5&col=9"

Note

Not supported in bootserver mode

Output varies with different symbol type" under "Resources"