Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get an IO Signal

Returns an IO signal resource.

URL

/rw/iosystem/signals/{network}/{unit}/{signal}

Method

GET

URL Params

None

See Common URL parameters

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>io</title>
    <base href="http://localhost/rw/iosystem/"/>
  </head>
  <body>
    <div class="state">
      <a href="signals/Local/DRV_1/DRV1CHAIN2" rel="self"></a>
      <a href="signals/Local/DRV_1/DRV1CHAIN2?action=show" rel="action"></a>
      <ul>
        <li class="ios-signal" title="Local/DRV_1/DRV1CHAIN2">
          <a href="devices/DRV_1" rel="device"></a>
          <span class="name">DRV1CHAIN2</span>
          <span class="type">DO</span>
          <span class="category">safety</span>
          <span class="lvalue">0</span>
          <span class="lstate">not simulated</span>
          <span class="unitnm">DRV_1</span>
          <span class="phstate">valid</span>
          <span class="pvalue">0</span>
          <span class="ltime-sec">0</span>
          <span class="ltime-microsec">0</span>
          <span class="ptime-sec">0</span>
          <span class="ptime-microsec">0</span>
          <span class="quality">1</span>
        </li>
      </ul>
    </div>
  </body>
</html>

Resources

  • ios-signal IO-signal resource
    • name IO-signal name
    • type Signal type {DO | DI | AO | AI | GI | GO}
    • category A string defining which category the signal belongs to
    • lvalue Logical Signal value
    • lstate Signals state {simulated | not simulated}
    • unitnm Name of the device the signal is connected to
    • phstate Current physical state for the signal {invalid = EIO_SIGNAL_PHYSICAL_STATE_NOT_VALID , valid = EIO_SIGNAL_PHYSICAL_STATE_VALID
    • pvalue Physical Signal value
    • ltime-sec Logical Global time in sec
    • ltime-microsec Logical Global time in micro sec
    • ptime-sec Physical Global time in sec
    • ptime-microsec Physical Global time in micro sec
    • quality Signal quality

Error Response

BAD REQUEST(400)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/iosystem/signals/Local/DRV_1/DRV1K1"

Notes

Not supported in bootserver mode.

/rw/iosystem/signals/{network}/{unit}/{signal};state will return only the IO signal value.