-

How to setup EtherNet/IP communication for best performance (an example with SLIO Coupler)

Version Number Description
1.0 Initial Version: Explains how to set up the communication and link the In- and Output Instances with an example on an SLIO Coupler.


This documentation shows the best practice on how to configure the basic settings of an EtherNet/IP generic device in order to achieve the best performance regarding communication.

1. Supported Components

Component Name Version
iC922xM-EC / iC922xM-FSoE Controller
≥ 2024.3
iCube Engineer ≥ 2024.3
053-1IP01 SLIO Coupler 01V12.001

2. Supported Libraries

3. Solution details

Scope:

There are multiple ways to connect the Process Data Items of a generic device in an EtherNet/IP network. The most straightforward way to do it is to connect the PDIs of the adapter to global variables and manipulate the adapter's data with said variables. However, given the 50ms update time of the global variables, this is not the most time-efficient method for some applications that require faster communication times. This Application Note shows a method to get faster communications with EtherNet/IP adapters by using ports in Program Organization Units (POUs). However, bear in mind that EtherNet/IP architecture does not provide real-time communication and cannot be synchronous with any program task. Programs should not rely on exact times for this type of communication.


In the following example, an iC9226M-EC controller is used as the scanner, and an EtherNet/IP Coupler (with two 021-1BF00 digital input modules and two 022-1BF00 digital output modules) is used as the adapter. Some digital outputs are looped back to digital outputs so that the full roundtrip time can be seen on iCube Engineer's side by using the Logic Analyzer.


Setting up the project in iCube Engineer:

  1. Create a project where at least the Data Types library (Y_DataTypes_Toolbox) is included.
  2. Add a Generic Adapter Device to the EtherNet/IP node in the PLANT section.
  3. Open the adapter's Settings tab under the EtherNet/IP node and fill in the information for the corresponding device (the picture below shows the settings used for the 053-1IP01 EtherNet/IP coupler in this example). RPI stands for Requested Packet Interval.
    Image
  4. Add a program to the project and create two variables within it. In the Usage section, define one as IN Port and the other as OUT Port. The data type of the variables depends on the size of the device's input assembly instance and output assembly instance and should match the size defined in the adapter's setting windows (for example, in the image above, the assembly instance size is 496 bytes for both the input and the output and the ports, as seen in the following picture, are defined as arrays of 496 bytes).
    Image
  5. Add one instance to the program to a task (preferably a fast task) under the Tasks and Events manager in the PLCnext node.
    Image
  6. Navigate to the controller's GDS Port List in the PLCnext node and connect the variables created in step 4 to the respective ports of the EtherNet/IP device (O2T = Originator to Target = Output Assembly; T2O = Target to Originator = Input Assembly).
    Image
  7. Write and Start the project.


Notes:

Performance:

In this last section, the roundtrip time, as seen on the controller's side, is evaluated for both the POU ports method and the global variables method to see the advantages of the former.

For the POU port method, the best-case scenario for the settings used in this case is 7ms (as mentioned in the Notes section), but some extra time is expected in practice. When measured one time, a value of 9ms was observed for this configuration, as seen in the following image. Remember that this is not a fixed value for every roundtrip scan, and different measurements will lead to different times, but they should all be around a similar number, in this case, a few more milliseconds than 7ms.
Image

As for the direct connection to global variables, a roundtrip time of 99ms was observed, as seen in the following image. Values between 50ms and 150ms are expected for the explained setup. In this case, the POU ports method led to an 11x faster roundtrip time, which shows the advantages of the first method.
Image

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.