IFM AL1921 handleiding
Handleiding
Je bekijkt pagina 32 van 135

AL1921 IO-Link master with EtherNet/IP interface
32
9.2 ifm IoT Core REST API
9.2.1 ifm IoT Core: General information
The device has the ifm IoT Core. The ifm IoT Core represents the functionality of the device. The
functionality consists of a set of data, services and events. The elements of the ifm IoT Core are
arranged in a JSON object in a hierarchical tree structure. The ifm IoT Core makes these elements
available to the outside world via standard interfaces (e.g. HTTP) . This allows the user and other
devices to access data (parameters, process data), events and functions (services) of the device.
9.2.1.1 Accessing the ifm IoT Core
Any element of the ifm IoT Core is accessed via its address (e.g. root/port1/pin2 ). The address is
composed of the path leading to the element ( root/port1 ) and the identifier of the element ( pin2 ).
The user can access the ifm IoT Core via HTTP requests. The following methods are supported.
GET method
Access: reading
Syntax of the request:
http://ip/data_point/service
Element Description
ip IP address of the IoT interface
data_point Data point of the element tree to be accessed
service Service to access the data point
Syntax of the response:
{
"cid":id,
"data":{"value":resp_data},
"code":diag_code
}
Field Element Description
cid id Correlation ID for the assignment of request and response
data resp_data Value of the data point; depending on the data type of the data point
code diag_code
Diagnostic codes (Ò/34)
Example: GET request
Request:
http://192.168.0.250/devicetag/applicationtag/getdata
Response:
{
"cid":-1,
"data":{"value":"factory 2 plant 1"},
"code":200
}
Bekijk gratis de handleiding van IFM AL1921, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | IFM |
| Model | AL1921 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 11184 MB |







