EtherNet/IP™ Adapter4.01.00
 
Loading...
Searching...
No Matches
Datasheet

Supported EtherNet/IP™ Functionality

Feature Description Standard Premium
EtherNet/IP Device Class Adapter Yes Yes
Scanner No No
Device Profile Examples Generic Device (0x2B)
General Purpose Discrete I/O Device (0x07)
Yes Yes
Device Configuration EDS File Yes Yes
Connection Types Exclusive Owner Yes Yes
Input Only Yes Yes
Listen Only Yes Yes
Connection Trigger Types Cyclic Yes Yes
Application Triggered ℹ️ No Yes
Change of State Yes Yes
Maximum Connections Class 1 8 8
Class 3 32 32
Explicit Messaging Connected Yes Yes
Unconnected Yes Yes
Standard Objects Identity Object (0x01) Yes Yes
Message Router Object (0x02) Yes Yes
Assembly Object (0x04) Yes Yes
Connection Manager Object (0x06) Yes Yes
Time Sync Object (0x43) Yes Yes
Device Level Ring Object (0x47) Yes Yes
QoS Object (0x48) Yes Yes
TCP/IP Interface Object (0xF5) Yes Yes
Ethernet Link Object (0xF6) Yes Yes
LLDP Management Object (0x109) Yes Yes
LLDP Data Table Object (0x10A) Yes Yes
Supported Elementary Data Types BOOL Yes Yes
SINT Yes Yes
INT Yes Yes
DINT Yes Yes
LINT Yes Yes
USINT Yes Yes
UINT Yes Yes
UDINT Yes Yes
ULINT Yes Yes
REAL Yes Yes
LREAL Yes Yes
STRING Planned Planned
BYTE Yes Yes
WORD Yes Yes
DWORD Yes Yes
LWORD Yes Yes
STRING2 Planned Planned
SHORT_STRING Yes Yes
EPATH Yes Yes
Supported Constructed Data Types Formal Array Yes Yes
IP Addressing Modes DHCP Yes Yes
BOOTP Yes Yes
Static Yes Yes
VLAN tagging IEEE802.1Q, 3 bit PCP (8 levels) Yes Yes
Switch queues 4 4
Statistics Media counters supported per interface (dual port switch) Yes Yes
Interface counters supported per interface Yes Yes
CIP Sync (PTP/IEEE1588) Supports Drives Profile : E2E clock Yes Yes
PTP over UDP Yes Yes
Transparent Clock supported Yes Yes
Ordinary Clock supported Yes Yes
Single and Two Step Clock supported Yes Yes
Supported Network Features Link Layer Discovery Protocol (LLDP) Yes Yes
Device Level Ring (DLR) Yes Yes
Device Level Ring Supervisor (DLR Supervisor) ℹ️ No Yes
Address Conflict Detection (ACD) Yes Yes
Quality of Service (QoS) Yes Yes
CIP Reset Services Identity Object Reset Services of Typ 0, 1, and 2 Identity Object Reset Services of Typ 0, 1, and 2
Device Level Ring (DLR) Beacon based Yes Yes
Self configuring Yes Yes
Min. beacon interval 200 µs 200 µs
Min. beacon timeout 400 µs 400 µs
Baud Rate 100 Mbit/s Yes Yes
10 Mbit/s Yes Yes
Duplex Mode Half Yes (* see notes) Yes (* see notes)
Full Yes Yes
Auto Negotiation Yes Yes
Conformance ODVA CT22 ODVA CT22
Note
• Half Duplex configuration is not supported for DLR feature.

Asynchronous Connections ℹ️

The asynchronous connection feature allows certain Explicit message requests to be responded to at a later time (asynchronously).
With this feature, the user can process requests in the background without blocking the callback, thereby allowing the stack to run without interruption. Otherwise, blocking could result in connection timeouts and reduced stack responsiveness.
The maximum number of connections with asynchronous capability must be configured during the initialization phase, as shown in app.c:

pCfg->cip.maxAsycInstances = 4;

Below are details regarding the use of asynchronous connections for callbacks that support this feature.

Note
If callbacks using this feature return EI_API_CIP_SERVICE_eERR_ASYNC_RESPONSE and the number of asynchronous connections is not configured correctly (insufficient for the use case),
then the request is dropped silently, and session information cannot be retrieved later via EI_API_CIP_asyncGetProduceBuffer.

SafetyOpen callback

The user can register a SafetyOpen callback via EI_API_ADP_setCmgrSafetyOpenCb. When the callback is invoked, the user has the option to respond to the request at a later time.
To do so, the request context must be saved so that the session associated with the request can be retrieved later, allowing the user to send the response once the request has been processed (see EI_API_CIP_asyncGetProduceBuffer, EI_API_CIP_asyncSendProduceBuffer).
After saving the context, the user can simply return EI_API_CIP_SERVICE_eERR_ASYNC_RESPONSE from the callback, signaling to the stack that the message will be responded to asynchronously.
Please refer to safety_demo.c, function SafetyOpen_clb, as a reference.

Unknown Objects callback

The user can register a callback to handle cases where an object is being addressed that does not exist in the EIP stack. Use EI_API_CIP_registerUnknownObject_callback to register the callback.
Use cases for this feature include scenarios where an object is implemented in a different library or the object is implemented completely independently of the EIP stack (hence "unknown" to the stack). In such cases, a bridge is needed to make these objects accessible when accessed from the network.
A similar pattern to SafetyOpen should be used, meaning the request context must be saved so that the session information can be retrieved later (see EI_API_CIP_asyncGetProduceBuffer, EI_API_CIP_asyncSendProduceBuffer).
After saving the context and the request, the user can return EI_API_CIP_SERVICE_eERR_ASYNC_RESPONSE from the callback, signaling to the stack that the message will be responded to asynchronously.
The user can then process the request in the background and send the response asynchronously.
Please refer to safety_demo.c, function UnknownObjects_Clb, as an example.

Custom Service callback

The user can register a custom Service callback for an object instance via EI_API_CIP_addInstanceCustService. This callback function supports asynchronous operation.
If you choose to respond to the request asynchronously, save the request context so that session information can be retrieved later (see EI_API_CIP_asyncGetProduceBuffer, EI_API_CIP_asyncSendProduceBuffer).
After saving the context and the request, return EI_API_CIP_SERVICE_eERR_ASYNC_RESPONSE from the callback to signal that the message will be responded to asynchronously.
Please refer to safety_demo_cfg.c, functions tcpip_obj_getAttrAll_clb and CustomService_Run, for implementation examples.

Get/Set Attribute callbacks

When adding an attribute to an object instance via EI_API_CIP_addInstanceAttr, you can register callbacks for get/set operations. The callbacks for Get/Set support asynchronous operation.
Please note, once an attribute has callbacks to access its values, no internal memory is assigned for that attribute and data management becomes completely the user's responsibility, including thread-safety and memory allocation.
If you choose to respond asynchronously, save the request context (along with the request data) so that session information can be retrieved later (see EI_API_CIP_asyncGetProduceBuffer, EI_API_CIP_asyncSendProduceBuffer).
Please refer to safety_demo_cfg.c, functions tcpip_obj_attr7_get_clb and AttributeRequests_Run, for implementation examples.

Note
The Get/Set callbacks may be triggered either from a network request or via a call to generic APIs (EI_API_CIP_getAttr or EI_API_CIP_setAttr). If the callback is triggered from a generic API (from Application), the context will be NULL, making the asynchronous feature irrelevant in this case.
The asynchronous feature for Get/Set callbacks is only usable when the callbacks are triggered from a network request.

‍ℹ️ This feature is part of premium SDK. In case you are using standard and need premium, please contact your regional TI sales representative for additional details.

Key Performance Parameters

Feature Description Setting
Process Data Image max. I/O assembly (size) 1480 Bytes
Connection Trigger Types and Cycle Times Cyclic (Class 1) 1 ms
Change of State 1 ms
Bridge Delay Min Bridge Delay 2.71 μs
Max Bridge Delay 3.19 μs

Task Priorities

Task Prio Changeable Description
uart_task 2 yes UART printing
cmn_app_task 8 yes User application
lldpRcv 8 yes Stack LLDP
WriteEeprom 8 yes Write thread for non volatile data
WriteFlash 8 yes Write thread for non volatile data
phymdix task 12 yes Stack MDIX Configuration
statistic 14 yes Stack statistics
tcpip_thread 14 yes LWIP thread
TimeSync_Background 14 yes TimeSync Driver
TimeSync_NRT 16 yes TimeSync Driver
cyclicio 20 yes Stack cyclic communication
packet 20 yes Stack explicit messages
RxTask 20 yes FWHAL RX Task
TimeSync_DelayReqTx 20 yes TimeSync Driver
TimeSync_TxTimestamp_P1 20 yes TimeSync Driver
TimeSync_TxTimestamp_P2 20 yes TimeSync Driver
linkTask 24 yes FWHAL Link Task

All priorities are changeable, but it is highly recommended to not change the order.

General Stack Parameters

The table below lists resource requirement for the Generic Device (0x2B) and Discrete I/O Device (0x07) examples. Please note that this application has only a limited functional scope that does not contain the basic web server that is include with the example code. More complex application code will result in higher ROM and RAM requirements.

Stack Memory Usage (LP-AM263P)
Generic Device Discrete I/O
Code 275.71 kB 282.67 kB
RO Data 73.12 kB 74.53 kB
RW Data 579.34 kB 580.08 kB