Connecting EtherNet/IP™ slaves

An EtherNet/IP™ slave can be integrated as a Generic Node with EDS (Electronic Data Sheet), or without an EDS file. Not all EtherNet/IP™ slaves currently available on the market are supported. It should be possible to integrate EtherNet/IP™ devices that are delivered with an EDS file via the EDS import, provided they are supported by the TF6281. If this is not the case, you can send the EDS file to Beckhoff Support for verification.

If the EDS file can be integrated without errors, communication to the slave should be possible. If you use a slave that can only be integrated via the Generic Node (i.e. without an EDS file), it is to be assumed that it should also be usable.

The following slaves cannot be used:

Integrating EtherNet/IP™ slave without an EDS file

Slaves that do not use an EDS file, or for which the manufacturer does not provide an EDS file, are integrated via a Generic Node. The following manufacturer information is required for this purpose:

Add a Generic Node under the EtherNet/IP™ scanner. As long as you have not specified an IP address, the symbol is identified by a warning and question mark Connecting EtherNet/IP™ slaves 1:. Enter the IP address under Settings.

Connecting EtherNet/IP™ slaves 2:

An “IO Connection” must first be created under the node. This IO Connection contains the inputs and outputs, which can now be created. The variable type is freely selectable; only the size has to match.

Connecting EtherNet/IP™ slaves 3:

Furthermore, the EtherNet/IP™-specific entries have to be made now.

Connecting EtherNet/IP™ slaves 4:

It is sufficient to specify the values for Config Instance and Config Size . The Connection Points must be created for the inputs and outputs.
The data length results from the length you have previously created. You can verify it in this dialog.

Run/Idle header (checkbox for inputs and outputs)

The “Run/Idle” header is a 32-bit field that is prepended to the payload when using CIP Implicit Messaging (the cyclic real-time connection via UDP). Within this header, bit 0 indicates the controller’s operating state:

This setting is derived from the EDS description of the respective connection. When adding a generic slave, the values are pre-set according to ODVA recommendations and should only be changed for a valid reason. The Run/Idle header is typically enabled for the outputs so that the field device can determine the controller’s operating status. For inputs, the Run/Idle header is available by default but is not enabled; in theory, it would only be relevant if two controllers communicated directly with each other.

Priority (for inputs and outputs)

The “Priority” dropdown list sets the priority of the cyclic connection on the network (according to the CIP specification: Low, High, Scheduled, and Urgent). The list intentionally includes the entire range defined in the specification. The “Urgent” priority class is generally reserved for CIP Safety and CIP Motion applications, which are not currently supported. However, to remain flexible for all use cases, any settings permitted by the specification can be selected. For standard I/O, the priority value pre-set in the EDS generally remains unchanged.

Cycle Time Multiplier

EtherNet/IP™ allows adapters (slaves) to operate at different cycle times. You can set this individually with the Cycle Time Multiplier.

The created Sync Task (-> see Sync Task) specifies the basic cycle time. The EtherNet/IP™ Master operates at this cycle time.

The Cycle Time Multiplier is in this case a multiplier of the cycle time in accordance with the inputs or outputs.

The Timeout Multiplier is in turn based on the multiplier of the Cycle Time Multiplier.

Example: If the Sync Task is set to 2 ms and the Cycle Time Multiplier is set to 10, the slave is operated with 20 ms. If the connection is interrupted here and the Timeout Multiplier is set to 4, the system detects this after 80 ms (20 ms * 4 = 80 ms).

Integration of EtherNet/IP™ slave with EDS file

TwinCAT offers the option of integrating EDS files. The Import EDS File dialog is used for this purpose.

Connecting EtherNet/IP™ slaves 5:

The files are checked and copied to the directory \TwinCAT\3.1\Config\Io\EtherNetIP after successful import.

Connecting EtherNet/IP™ slaves 6:

EDS files must have an IO Connection, otherwise this error message appears:
Connecting EtherNet/IP™ slaves 7:

These types of devices are not supported by the TF6871 EtherNet/IP™ scanner.

For EDS files that support symbols, the symbolism is ignored. The symbolism is therefore not available:
Connecting EtherNet/IP™ slaves 8:

After you have created the slave, the Connection must be added. Only the Connections described in the EDS file are displayed. Only one Connection is allowed.