46
ifm
Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940)
05 / 2018
Configuration
IoT Core
>
Access ifm-IoT Core
17561
To activate the changes of the parameter values the IoT Core must have the respective write
access rights to the IO-Link master (
→ Parameter [Access Rights]).
The ifm IoT Core supports HTTP requests. The following request methods are available.
>
GET method
21300
Using the GET method the user has read access to a data point.
The syntax of the request to the IoT Core is:
ip/datapoint/service
Description
Description
ip
IP address of the IoT port X23 of the IO-Link master
data_point
Data point which is to be accessed
service
Service
The syntax of the return of the IoT Core is:
{
"cid":id,
"data":{"value":resp_data},
"code":err_code
}
parameter
Description
id
Correlation ID for the assignment of request and return
resp_data
Value of the data point; depending on the data type of the data point
err_code
Error code (
→
IoT Core: Diagnostic codes
(
→ p.
Example:
Request (via browser):
192.168.0.250/devicetag/applicationtag/getdata
Return:
{"cid":-1,"data":{"value":"AL1940"}, "code":200}