Characteristics
The basic syntax has the following characteristics:
-
Simple text-based syntax without JSON parts.
-
Only commands for individual objects, e.g. write access to a single tag.
-
Object names may not include special characters or space characters.
-
No cookies.
Structure of a request
<Command> <Object> <Value>
-
Command: Command name, e.g. "WriteTagValue" -
Object: Name of the object for which the command is called, e.g. "Tag1" -
Value: Input value, e.g. "True"
Structure of a response
OnSuccess:
Notify<Command> <Object> <Value1…ValueN>
-
Command: Command name, e.g. "ReadTagValue" -
Object: Name of the object for which the command was called, e.g. "Tag1" -
Value1…ValueN: For example, value and quality of the read tags
OnError:
Error<Command> <Object> <Error text>
-
Command: Command name, e.g. "ReadTagValue" -
Object: Name of the object for which the command was called, e.g. "Tag1" -
Error text: Detailed error description
Overview of the commands of the simple syntax
|
Command |
OnSuccess |
OnError |
Description |
|---|---|---|---|
|
|
|
|
Subscribe tag for monitoring.
|
|
|
|
|
Unsubscribe tag from monitoring. |
|
|
|
|
Reads the value of the tags from the system. |
|
|
|
|
Writes the value to the tag. |
|
|
|
|
Changes to a different character coding. |
|
|
|
|
Reads a setting configured for the general browse behavior. |
|
|
|
|
Sets a setting for the general browse behavior. |
|
|
|
|
Returns the names of the tags of the local system or all systems communicating via runtime collaboration. |
|
|
|
|
Returns the names of the configured alarms of the local system or all systems communicating via Runtime Collaboration. |
|
|
|
|
Returns the alarm classes of the local system or all systems communicating via Runtime Collaboration. |
Errors and error texts
This help only provides a selection of possible error messages. The error texts can also differ from the texts in your projects.