Skip to main content

ABB Robot Web Services

Purpose

This plugin uses ABB Robot Web Services (RWS) to read controller status, IO, joints, robot targets, RAPID tasks, and event logs. It is named AbbWebApiMaster in the device selector.

See Collection Configuration for common device, variable, and interval settings. This page covers only the ABB RWS connection, addresses, methods, and debug tools.

Open the plugin

Open Development Configuration → Collection Configuration, create a device using AbbWebApiMaster, and configure its plugin properties. The plugin opens its own HTTP/HTTPS connection and does not use common TCP, UDP, or serial channel settings.

Supported scope

ItemDescription
ChannelPlugin-managed HTTP/HTTPS connection.
Data typeString only; complex results are returned as text or JSON strings.
WritesNormal variable writes are not supported. Use the explicit raw POST method only for approved control requests.

Plugin properties

SettingDefaultRangeDescription
Robot host127.0.0.1Host name or IPEnter only the host, without scheme, port, or path.
Web API port801 to 65535ABB RWS listening port.
Use HTTPSNoYes / NoUses HTTPS for robot requests.
User name--Enter when the controller requires authentication.
Password--Password for the configured user.
Allow invalid server certificateNoYes / NoUse only for a trusted self-signed controller certificate.
Request timeout (ms)30001 to 600000Timeout for one RWS request.
Maximum response bytes10485761 to 16777216Rejects larger responses to limit memory use.

Variable addresses

Use String for every variable.

AddressReturned content
CtrlState, ErrorState, SpeedRatio, OperationModeController state, error state, speed ratio, and operation mode.
jointtarget, PhysicalJoints, robtargetJoint target, physical joints, and robot target.
ioin, ioout, io2in, io2out, ServoEnableLocal/extended IO and servo-enable signal.
log, logN, systemEvent logs and system information; N in logN is the log count.
RapidExecution, RapidTasksRAPID execution state and task list.

Special methods

Choose the method under the variable's Special Method field and enter the listed arguments in the variable address field.

Selector valuePurposeArguments
GetRawAsyncRun a raw GETpath=source-relative path
PostRawAsyncRun a raw POSTpath,body,contentType
GetCtrlStateAsyncRead controller stateNone
GetErrorStateAsyncRead error stateNone
GetJointTargetAsyncRead a joint targetmechanicalUnit, default ROB_1
GetSpeedRatioAsyncRead speed ratioNone
GetOperationModeAsyncRead operation modeNone
GetIoInAsync / GetIoOutAsyncRead local input/outputNone
GetIo2InAsync / GetIo2OutAsyncRead extended input/outputNone
GetLogAsyncRead event logslogCount, default 10
GetSystemAsyncRead system informationNone
GetRobotTargetAsyncRead robot targetNone
GetServoEnableAsyncRead servo-enable signalNone
GetRapidExecutionAsyncRead RAPID execution stateNone
GetRapidTasksAsyncRead RAPID tasksNone
GetUserValueAsyncRead a user valuename=user symbol
GetIoSignalAsyncRead a selected IO signalnetwork,unit,signal, default Local,DRV_1,DRV1K1

Functions

FunctionPurpose
Read or monitorRead current values or monitor the latest device update.
Plugin operationUse the controls on this plugin page and review the returned result.
Read or monitorRead current values or monitor the latest device update.
Raw requestUse Raw request to send or inspect protocol frames and view the device or target response.

Device debug

Open Development Configuration → Collection Configuration, select the ABB RWS device, then open Debug → Protocol Debug · AbbWebApi.

FeaturePurpose
Core StatusShows controller status, authentication, and connection results.
IOQueries an IO signal by network, unit, and signal.
Dedicated QueryQueries joints, logs, and user symbols.
Raw RequestRuns a GET or POST against an RWS-relative path.

Core status

Refresh the controller core status first to verify authentication, network access, and the RWS service.

ABB RWS core status debug

IO

Enter the IO network, unit, and signal, then run the dedicated query.

ABB RWS IO debug

Dedicated query

Read a joint target by mechanical unit, event logs by count, or a user symbol by name.

ABB RWS dedicated query

Raw request

Enter a device-relative path beginning with /. GET performs a query; POST also requires a request body and media type.

ABB RWS raw request

A raw POST can change robot state. Verify the path, body, controller mode, and site safety before using the high-risk action permission to confirm it.

Verify the configuration

  1. Refresh Core Status and confirm the current controller state is returned.
  2. Read the ROB_1 joint target or event logs under Dedicated Query.
  3. Configure one String variable with a supported address and confirm its value updates.

Troubleshooting

SymptomCheck
Unauthorized responseUser name, password, and controller RWS permissions.
HTTPS connection failsPort and certificate validity. Ignore certificate errors only for a trusted self-signed certificate.
Address has no dataAddress spelling, String data type, and controller support for the RWS resource.
Response is too largeIncrease Maximum response bytes or reduce the log/query scope.
Raw request failsThe path must be source-relative; POST also requires the correct body and media type.