Abb robot webservice
Interact with ABB Robot Web Services (RWS)
Inputs
Field | Type | Description |
---|---|---|
payload |
object | Includes web service request object. |
Outputs
Field | Type | Description |
---|---|---|
payload |
object | Web service request and response object. |
Details
msg.payload
can be used to override node configured request and includes:
msg.payload.request.url
(string) - path for web service query.msg.payload.request.method
(string) - one of HTTP methods like "GET", "POST", etc.msg.payload.request.data
(object) - request data parameters.msg.payload.request.params
(object) - parameters to add in URL query, likeaction
.
ℹ️ NOTE: Parameter
json=1
is added by default tomsg.payload.request.params
object.
Example message with query to stop RAPID execution in RWS 1.0:
{
"payload": {
"request": {
"url": "/rw/rapid/execution",
"method": "POST",
"data": { "stopmode": "stop", "usetsp": "normal" },
"params": { "action": "stop" }
}
}
}
Example output message on query above:
{
"payload": {
"request": {
"url": "/rw/rapid/execution",
"method": "post",
"data": { "stopmode": "stop", "usetsp": "normal" },
"params": { "action": "stop", "json": 1 }
},
"response": {
"statusText": "No Content",
"status": 204,
"data": "",
"headers": {
"vary": "Accept-Encoding",
"x-frame-options": "SAMEORIGIN",
"content-type": "application/json",
"x-content-type-options": "nosniff",
"date": "Fri, 23 Dec 2022 15:16:59 GMT",
"cache-control": "max-age=0, no-cache, no-store",
"x-xss-protection": "1; mode=block",
"connection": "Keep-Alive",
"pragma": "no-cache",
"expires": "-1",
"accept-ranges": "bytes"
}
}
}
}
Configuration
Property | Description |
---|---|
Name | Name of the node instance |
Encrypted | Use HTTPS connection instead of HTTP |
Config | A config node with robot connection parameters |
Config ID | ID of config node |
Service | List of service categories to query |
Forms | List of web service functions to query |
Additionally to above, depend on selection of Service
and Forms
some fields are created dynamically to help setup default web service request.