Your SICK ID gives you access to our extensive range of services. This includes direct online orders, price and availability checks, and access to our digital services.
IO-Link to REST refers to the transfer of data from IO-Link devices to REST APIs.
IO-Link is a communication protocol used in industrial automation to connect sensors and actuators to automation systems.
A REST API (Representational State Transfer Application Programming Interface) is a set of rules and conventions for building and interacting with services that transfer data in a format-independent style, usually over HTTP, and are based on resources identified by URLs. With HTTP, there are standardized methods that describe the action to be performed on the requested resource. These methods include for example GET and POST requests.
The IO-Link community has published a specification for the simple exchange of data - "JSON Integration for IO-Link". This describes how IO-Link data can be exchanged via JSON REST and MQTT. JSON (Java Script Object Notation) is a lightweight data exchange format that is easy to read and write for humans and also easy to analyze and generate for machines.
This allows sending HTTP GET/POST requests to the IO-Link master in order to re-parameterize the sensor or read out certain sensor data.
Example - read the process data (2 byte) of a device, I/Q is available and configured as digital input:
GET http://{ip-address of the master}/iolink/v1/devices/master1port1/processdata/getdata/value?format=byteArray
Response:
{
"iolink": {
"valid": true,
"value": [12,22]
},
"iqValue": true
}
Summary:
IO-Link to REST enables the integration of IO-Link device data into IT systems or cloud-based services via REST APIs.
This enables seamless vertical integration of data and opens new possibilities for monitoring, analysis and optimization in Industry 4.0 applications. It is part of efforts to standardize and simplify communication between the field level and the IT level.