EtherNet/IP Adapter

Introduction

This section describes the configuration of the TM3 Ethernet bus coupler as an EtherNet/IP adapter.

For further information about EtherNet/IP, refer to the www.odva.org website.

EtherNet/IP Adapter Configuration

To configure your TM3 Ethernet bus coupler as an EtherNet/IP adapter, add the bus coupler to your project and select EtherNet IP Scanner > TM3BCEIP.

EtherNet/IP Parameters Configuration

To configure the EtherNet/IP parameters, double-click the bus coupler node in the Devices tree.

In the Target Settings tab, you can configure the following parameters:

Element

Description

Address Settings

IP Address by DHCP

IP address is obtained via DHCP.

Device name used to retrieve IP address through DHCP, maximum 15 characters.

IP Address by BOOTP

MAC address of the bus coupler.

Fixed IP Address

IP address of the bus coupler.

Electronic Keying

Check Device Type

Type of the bus coupler.

Check Vendor Type

Vendor code of the bus coupler.

Check Product Type

Product code of the bus coupler.

Check Major Revision

Firmware major version.

Check Minor Revision

Firmware minor version.

Protocol on the fieldbus

Protocol used by the device

Protocol used. You cannot edit this field.

Electronic Keying signatures are used to identify the bus coupler.

Electronic Keying is information contained in the firmware of the bus coupler (Vendor Code, Product Code, …).

When the controller scanner starts, it compares each selected electronic keying value with the corresponding information in the TM3 Ethernet bus coupler.

If the TM3 Ethernet bus coupler values are not the same as the application values, the controller no longer communicates with the TM3 Ethernet bus coupler.

Connections on EtherNet/IP Adapter

To access a target device, an Originator opens a connection which can include several sessions that send requests.

One explicit connection uses one session (a session is a TCP or UDP connection).

One I/O connection uses one session.

The following table shows the EtherNet/IP connections limitations:

Characteristic

Maximum

Explicit connections

16 (Class 3)

I/O connections

1 (Class 1) Exclusive Owner

15 (Class 1) Listen Only

Sessions

16

NOTE: The TM3 bus coupler supports cyclic connections. If an Originator opens a connection using a change of state as a trigger, packets are sent at the RPI rate.

EtherNet/IP I/O Mapping Tab

When the data exchanges are configured, you can map variables to be used by the program.

Defined variables are listed in the EtherNet/IP I/O Mapping tab.

For more information on this tab, refer to I/O Mapping Dialog.

Bus Cycle Options

Select the Bus cycle task to synchronize the EtherNet/IP adapter data:

oUse parent bus cycle setting (the default),

oMAST

oAny task of the application

NOTE: This parameter defines the task responsible for copying the %IW and %QW registers from/to the bus coupler.