How to Take Advantage of IO-Link Parameter Data

IO-Link data packets contain parameter data of an IO-Link slave device that is acyclic and is only transferred when read or write is requested by the machine controller. Having parameter data available on a device is not new or groundbreaking; however, the main advantage of IO-Link parameter data is that it is directly accessible by the machine controller, and it is dynamic, meaning you do not have to take the device offline to change its parameters or configuration. Parameter data determines how flexible or configurable an IO-Link slave device is. Its content will be different from device to device and manufacturer to manufacturer, a differentiator when choosing the right device for your application. We all know that not all IO-Link devices are created equal.

So how can you take advantage of parameter data?

Automatic machine configuration

Imagine if your machine could automatically configure itself upon first power-up? Yes, it is possible. Because IO-Link parameter data is accessible by the machine controller, i.e., the PLC or PAC, one can write a routine/program that first verifies the correct device is connected to the correct port of the IO-Link master, request a parameter read, compare the parameter content to the desired configuration in the program, and overwrite the current device parameter set if necessary. Why would someone do this? Well, if you are an OEM machine builder building ten of the same machines for one end customer, it would be a worthwhile investment in programming development to have IO-Link devices configured automatically. This method would eliminate the need for manual machine parameterization and result in cost savings. Examples of typical configuration would be changing the pin assignment of an IO-Link freely configurable discrete input/output hub as an input or an output, machine home position or offset of an IO-Link linear transducer, set points of an IO-Link pressure transducer, set points of an IO-Link laser distance sensor, and so on.

Recipe change

Another way to take advantage of IO-Link parameter data is to have the machine controller automatically change device configuration based on recipe change. This would eliminate the need for an operator to manually change device parameters, thus saving time and minimizing human error, especially if the device is not easily accessible by a human.

Maintenance

Having direct access to device parameters by the machine controller also enables OEMs to simplify their machines’ serviceability. For component replacement, all the maintenance personnel would have to replace a damaged device with a new device and walk away, eliminating the need for specialized training, software, or hardware.

Some manufacturers add special functions to their IO-Link masters to enable automatic backup and restoration of IO-Link slave device parameters, making replacement of components as easy as plug and play. This function would eliminate the need for OEMs to create custom programs or logic in their PLCs to restore parameter sets on a device automatically.

How to

So how would I do this? Because parameter data is accessible by the machine controller, implementation of auto configuration differs based on what brand of controller you are using. I will mention a few of the most popular.

  • Allen Bradley – For the Allen Bradley family of PLCs, you would use an explicit  instruction to read and write IO-Link device parameters.
  • Siemens -For the Siemens family of PLCs, you would use a standard function block named “FB_IOL_CALL”.

As you can see, every PLC or machine controller manufacturer and their flavor of IDE (Integrated Development Environment) will have their unique way of accessing IO-Link device parameter set. It is best to consult with both manufacturers and review IO-Link devices and PLCs to better understand how to set the read and write parameters of an IO-Link slave device.

Conclusion

Having direct access to device parameters and being able to change them without taking the device offline or needing special software or hardware, and implement it at a device level is game-changing. It opens doors for time and cost savings in design, integration, operation, and serviceability of machines. It is different from what we are used to, so don’t be afraid to think outside of the box and jump in with both feet.

 

What data can IO-Link provide?

As an application engineer, one of the most frequent questions I get asked by the customers is “What is IO-Link and what data does it contain?”.

Well, IO-Link is the first worldwide accepted sensor communication protocol to be adopted as an international standard IEC61131-9. It is an open standard, and not proprietary to one manufacturer. It uses bi-directional, single line serial communications to transfer data between the machine controller and sensors/actuators. No other communication protocol is manufacturer and fieldbus independent, and yet provides this level of communication down to the sensor/actuator level. It provides the user with three different data types: process data, parameter data, and diagnostics or event data.

Process Data

Process data of an IO-Link smart device is considered the latest state of that device. Containing both input and output data, process data is cyclically exchanged between IO-Link master and IO-Link slave device (i.e. sensor or actuator). The time interval or data update rate solely depends on amount of data, 1 to 32 bytes, and speed at which an IO-Link slave device communicates. IO-Link standard (IEC61131-9) defines three different communications speeds; COM1 is set to 4.8kBaud (slowest), COM2 is set to 38.4kBaud and COM3 is set to 230.4kBaud (fastest). Depending on the device, process data may contain status of inputs or outputs of remote I/O hub, position feedback of linear transducers, pressure feedback from pressure transducers, information from am RFID (Radio Frequency Identification) reader, and so on. For more information about process data content, refresh rate, and data mapping, one should reference an IO-Link slave device datasheet or user manual.

Lastly, process data is then buffered in memory of the IO-Link master device and passed to the controller via a specific fieldbus at request packet interval. Request packet interval is set in the controller settings.

Process Data

Parameter Data

Parameter data contains information and parameters specific to the IO-Link slave device. This data is exchanged acyclically, which means that it is requested from the IO-Link master or controller and not time based. Parameters can be read from a specific device or written to. Parameter data is primarily used for device configuration, or verification. A key advantage of IO-Link is that it gives the controller the full access to IO-Link slave device parameters, down to a sensor/actuator level. This means that your controller, PLC or PC based, can change the configuration of an IO-Link’s slave device dynamically without taking the device off line, and without use of proprietary cabling or configuration software.

Typical use of parameter data is for automatic machine configuration, recipe change, process tuning, maintenance, and easy component replacement.

Parameter Data

Diagnostics or Event Data

Diagnostic data provides the controller with events that affect the operation and performance of the IO-Link smart device. Content can vary depending on the device used, and the manufacturer. IO-Link smart devices can provide crucial data such as load, temperature, stress level, overload and short circuit diagnostics, error codes, configuration or parameter issues, access issues, etc., as part of diagnostic or event data. The event code size is 2 bytes, and in hexadecimal data format. This information can then be interpreted by the controller/user using a lookup table or IODD (I/O Device Description) file. User manual will have diagnostic data table that can be used as a reference.

Diagnostic and Event Data

Conclusion

In conclusion, IO-Link enables a plug-and-play relationship between the controller and the devices on the machine. Using IO-Link data, the controller can automatically recognize and configure an IO-Link slave device that is connected to its network. Process and diagnostic data provide continuous feedback on machine status and health down to a sensor level — the lowest level of the automation pyramid.

Keep in mind that the content of process data is specific to the device and will vary from device to device, and manufacturer to manufacturer. This makes IO-Link data one of the main differentiators between smart devices and their manufacturers. Luckily, IO-Link is an open standard, and fieldbus and manufacturer independent, so you can mix and match devices best suited for your application without worrying about device compatibility, special cabling, or third-party configuration software packages.

automation pyramid