System

abb_rws_client_python_rw6.rws.system

RWS module: RobotWare Services → System service → System Information

1:1 mirror of the ABB RobotWare 6 REST API. Each function maps to exactly one HTTP endpoint. No composed logic — see highlevel/ for wrappers.

get_installed_products(client, name=None) async

Get Installed Products.

Route: GET /rw/system/products ABB constraints: In case, there is no products, NO_CONTENT(204) will be returned.

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • name (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_installed_products(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
async def get_installed_products(
    client: RWSClient,
    name: str | None = None,
) -> httpx.Response:
    """
    Get Installed Products.

    Route: ``GET /rw/system/products``
    ABB constraints: In case, there is no products, NO_CONTENT(204) will be returned.

    Args:
        client: Open RWSClient instance.
        name: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_installed_products(client)
        <Response [200]>
        ```
    """
    return await client.get(
        "/rw/system/products",
        params={k: v for k, v in {"name": name}.items() if v is not None},
    )

get_robot_type(client) async

Get robot type.

Route: GET /rw/system/robottype ABB constraints: Not supported in bootserver mode. The API supports only ABB standard robots. Positioners, track motion etc. are not supported. In case, there is no ABB standard robots, NO_CONTENT will be returned.

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_robot_type(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
async def get_robot_type(client: RWSClient) -> httpx.Response:
    """
    Get robot type.

    Route: ``GET /rw/system/robottype``
    ABB constraints: Not supported in bootserver mode. The API supports only ABB standard robots.
        Positioners, track motion etc. are not supported. In case, there is no ABB standard
        robots, NO_CONTENT will be returned.

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: Robot controller errors, see

    Example:
        ```python
        >>> await get_robot_type(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/system/robottype")

get_system_energy(client) async

System Energy.

Route: GET /rw/system/energy ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_energy(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
async def get_system_energy(client: RWSClient) -> httpx.Response:
    """
    System Energy.

    Route: ``GET /rw/system/energy``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_energy(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/system/energy")

get_system_energy_actions(client, action=None) async

Get System Energy Actions.

Route: GET /rw/system/energy ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • action (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_energy_actions(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
async def get_system_energy_actions(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Get System Energy Actions.

    Route: ``GET /rw/system/energy``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_energy_actions(client)
        <Response [200]>
        ```
    """
    return await client.get(
        "/rw/system/energy",
        params={k: v for k, v in {"action": action}.items() if v is not None},
    )

get_system_energy_info_change_count(client, resource=None) async

System Energy Info Change Count.

Route: GET /rw/system/energy ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • resource (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_energy_info_change_count(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
async def get_system_energy_info_change_count(
    client: RWSClient,
    resource: str | None = None,
) -> httpx.Response:
    """
    System Energy Info Change Count.

    Route: ``GET /rw/system/energy``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        resource: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_energy_info_change_count(client)
        <Response [200]>
        ```
    """
    return await client.get(
        "/rw/system/energy",
        params={k: v for k, v in {"resource": resource}.items() if v is not None},
    )

get_system_information(client) async

System Information.

Route: GET /rw/system ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_information(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
async def get_system_information(client: RWSClient) -> httpx.Response:
    """
    System Information.

    Route: ``GET /rw/system``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_information(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/system")

get_system_options(client) async

System Options.

Route: GET /rw/system/options ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_options(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
async def get_system_options(client: RWSClient) -> httpx.Response:
    """
    System Options.

    Route: ``GET /rw/system/options``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_options(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/system/options")

get_system_robotware_license(client) async

Get System Robotware License.

Route: GET /rw/system/license ABB constraints: Not supported in bootserver mode.

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_system_robotware_license(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/system.py
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
async def get_system_robotware_license(client: RWSClient) -> httpx.Response:
    """
    Get System Robotware License.

    Route: ``GET /rw/system/license``
    ABB constraints: Not supported in bootserver mode.

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400)

    Example:
        ```python
        >>> await get_system_robotware_license(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/system/license")

reset_accumulated_energy(client, action=None) async

Reset Accumulated Energy.

Route: POST /rw/system/energy ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • action (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 204.

Raises:
Example
>>> await reset_accumulated_energy(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/system.py
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
async def reset_accumulated_energy(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Reset Accumulated Energy.

    Route: ``POST /rw/system/energy``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 204.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400),NOT_FOUND(404)

    Example:
        ```python
        >>> await reset_accumulated_energy(client)
        <Response [204]>
        ```
    """
    return await client.post(
        "/rw/system/energy",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={},
    )

subscribe_on_system_energy_changes(client, identifier=None, identifier_p=None) async

Subscribe on System Energy Changes..

Route: POST /subscription ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • identifier (str | None, default: None ) –

    Body parameter. Optional.

  • identifier_p (str | None, default: None ) –

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 201.

Raises:
Example
>>> await subscribe_on_system_energy_changes(client)
<Response [201]>
Source code in abb_rws_client_python_rw6/rws/system.py
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
async def subscribe_on_system_energy_changes(
    client: RWSClient,
    identifier: str | None = None,
    identifier_p: str | None = None,
) -> httpx.Response:
    """
    Subscribe on System Energy Changes..

    Route: ``POST /subscription``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        identifier: Body parameter. Optional.
        identifier_p: Body parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 201.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: UNSUPPORTED_MEDIA(415),BAD_REQUEST(400)

    Example:
        ```python
        >>> await subscribe_on_system_energy_changes(client)
        <Response [201]>
        ```
    """
    return await client.post(
        "/subscription",
        data={
            k: v
            for k, v in {"identifier": identifier, "identifier_p": identifier_p}.items()
            if v is not None
        },
    )