EasyManua.ls Logo

SICK SIG200 - Page 29

SICK SIG200
98 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The namespace to access the standard JSON REST is done via "iolink/v1/{domain}".
The version of the interface to be used is already included there. Another component
of the namespace is the {domain}. This allows access to certain parameter groups, see
"Description of JSON REST", page 33.
The SICK-specific namespace is “api” or “iolink/sickv1/”.
Variable: Name of the variable to be read or set
Method: Name of the method to be called
QueryParameter: Name or combination of names to parameterize the query (e.g. filtering
of return data).
http://[Host Name]/api/[Namespace Name]/[Variable | Method]
NOTE
The available variables, methods, and namespaces are listed below.
7.3.3 Requests
The SIG200 supports request types GET and POST.
GET is used to read variables (without parameters).
POST is used to read and write variables and call methods.
All API calls are executed synchronously. This means that every request is followed by a
response. This contains the requested data and additional status information.
Type: GET | POST
URL http://device/api/variable
MIME-Type: application/json
Payload: <empty> | variable | parameter
The type of request depends on the use case, as described in the following table:
Table 9: Request types
Use case Request type
Read data GET
Write data POST
Method call POST
Login POST
Data deletion DELETE
Values or method parameters must be included in a data object and passed as a JSON
string within the POST request user data as follows:
{
"data":
{
"name": value
}
}
The exact format of the variables and parameters is described in section Data Types.
NOTE
Please make sure to use application/json as the mime-type.
SIG200 CONFIGURATION 7
8024482.1FJ7 /2022-05-31 | SICK O P E R A T I N G I N S T R U C T I O N | Sensor Integration Gateway - SIG200
29
Subject to change without notice

Other manuals for SICK SIG200

Related product manuals