Symbol

abb_rws_client_python_rw6.rws.rapid.symbol

RWS module: RobotWare Services → RAPID Service → Operations on RAPID symbol

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_rapid_symbol_data(client, symbolurl, value=None) async

Get rapid symbol data.

Route: GET /rw/rapid/symbol/data/{symbolurl} ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbolurl (str) –

    URL path parameter.

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

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rapid_symbol_data(client, "symbolurl_value")
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
async def get_rapid_symbol_data(
    client: RWSClient,
    symbolurl: str,
    value: str | None = None,
) -> httpx.Response:
    """
    Get rapid symbol data.

    Route: ``GET /rw/rapid/symbol/data/{symbolurl}``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        symbolurl: URL path parameter.
        value: 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) see

    Example:
        ```python
        >>> await get_rapid_symbol_data(client, "symbolurl_value")
        <Response [200]>
        ```
    """
    return await client.get(
        f"/rw/rapid/symbol/data/{symbolurl}",
        params={k: v for k, v in {"value": value}.items() if v is not None},
    )

get_rapid_symbol_data_actions(client, symbolurl, action=None) async

Get rapid symbol data actions.

Route: GET /rw/rapid/symbols/{symbolurl} ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbolurl (str) –

    URL path parameter.

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

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rapid_symbol_data_actions(client, "symbolurl_value")
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
async def get_rapid_symbol_data_actions(
    client: RWSClient,
    symbolurl: str,
    action: str | None = None,
) -> httpx.Response:
    """
    Get rapid symbol data actions.

    Route: ``GET /rw/rapid/symbols/{symbolurl}``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        symbolurl: URL path parameter.
        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) see

    Example:
        ```python
        >>> await get_rapid_symbol_data_actions(client, "symbolurl_value")
        <Response [200]>
        ```
    """
    return await client.get(
        f"/rw/rapid/symbols/{symbolurl}",
        params={k: v for k, v in {"action": action}.items() if v is not None},
    )

get_rapid_symbol_properties(client, symbolurl) async

Get RAPID symbol properties.

Route: GET /rw/rapid/symbol/properties/{symbolurl} ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbolurl (str) –

    URL path parameter.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rapid_symbol_properties(client, "symbolurl_value")
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.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
45
46
47
48
async def get_rapid_symbol_properties(
    client: RWSClient,
    symbolurl: str,
) -> httpx.Response:
    """
    Get RAPID symbol properties.

    Route: ``GET /rw/rapid/symbol/properties/{symbolurl}``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        symbolurl: URL path parameter.

    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_rapid_symbol_properties(client, "symbolurl_value")
        <Response [200]>
        ```
    """
    return await client.get(f"/rw/rapid/symbol/properties/{symbolurl}")

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

Subscribe on RAPID persistent variable.

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_rapid_persistent_variable(client)
<Response [201]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
202
203
204
205
206
207
208
209
210
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
237
238
239
240
async def subscribe_on_rapid_persistent_variable(
    client: RWSClient,
    identifier: str | None = None,
    identifier_p: str | None = None,
) -> httpx.Response:
    """
    Subscribe on RAPID persistent variable.

    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: BAD REQUEST(400) , see

    Example:
        ```python
        >>> await subscribe_on_rapid_persistent_variable(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
        },
    )

update_rapid_variable_current_value(client, symbolurl, action=None, value=None) async

Update rapid variable current value.

Route: POST /rw/rapid/symbol/data/{symbolurl} ABB constraints: Not supported in bootserver mode Client needs RAPID mastership in AUTO mode. Client needs RMMP Privilege and RAPID mastership in MANUAL mode.

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbolurl (str) –

    URL path parameter.

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

    Query parameter. Optional.

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

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 204.

Raises:
Example
>>> await update_rapid_variable_current_value(client, "symbolurl_value")
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
async def update_rapid_variable_current_value(
    client: RWSClient,
    symbolurl: str,
    action: str | None = None,
    value: str | None = None,
) -> httpx.Response:
    """
    Update rapid variable current value.

    Route: ``POST /rw/rapid/symbol/data/{symbolurl}``
    ABB constraints: Not supported in bootserver mode Client needs RAPID mastership in AUTO mode.
        Client needs RMMP Privilege and RAPID mastership in MANUAL mode.

    Args:
        client: Open RWSClient instance.
        symbolurl: URL path parameter.
        action: Query parameter. Optional.
        value: Body 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: FORBIDDEN(403) BAD REQUEST(400) see

    Example:
        ```python
        >>> await update_rapid_variable_current_value(client, "symbolurl_value")
        <Response [204]>
        ```
    """
    return await client.post(
        f"/rw/rapid/symbol/data/{symbolurl}",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={k: v for k, v in {"value": value}.items() if v is not None},
    )

update_rapid_variable_initial_value(client, symbolurl, action=None, value=None) async

Update rapid variable Initial Value.

Route: POST /rw/rapid/symbol/data/{symbolurl} ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbolurl (str) –

    URL path parameter.

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

    Query parameter. Optional.

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

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 204.

Raises:
Example
>>> await update_rapid_variable_initial_value(client, "symbolurl_value")
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
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
278
279
280
async def update_rapid_variable_initial_value(
    client: RWSClient,
    symbolurl: str,
    action: str | None = None,
    value: str | None = None,
) -> httpx.Response:
    """
    Update rapid variable Initial Value.

    Route: ``POST /rw/rapid/symbol/data/{symbolurl}``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        symbolurl: URL path parameter.
        action: Query parameter. Optional.
        value: Body 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), HTTP Errors, see

    Example:
        ```python
        >>> await update_rapid_variable_initial_value(client, "symbolurl_value")
        <Response [204]>
        ```
    """
    return await client.post(
        f"/rw/rapid/symbol/data/{symbolurl}",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={k: v for k, v in {"value": value}.items() if v is not None},
    )

validate_rapid_variable(client, action=None) async

Validate rapid variable.

Route: POST /rw/rapid/symbol/data 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 validate_rapid_variable(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbol.py
166
167
168
169
170
171
172
173
174
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
async def validate_rapid_variable(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Validate rapid variable.

    Route: ``POST /rw/rapid/symbol/data``
    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: UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)

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