DataTalk

EtherNet/IP

On this page

EtherNet/IP is a native driver for Allen-Bradley and Rockwell Automation PLCs. It communicates directly with the PLC’s tag database using CIP (Common Industrial Protocol) over standard Ethernet — no OPC server or middleware required.

Supported controllers

  • ControlLogix
  • CompactLogix
  • MicroLogix
  • Micro800 family (use the EtherNet/IP Micro800 connection type)

CompactLogix:

MicroLogix:

Connection parameters

ParameterDescription
IP AddressIP address of the PLC
SlotBackplane slot of the processor module — default 0 for most ControlLogix and CompactLogix setups
Refresh rateTag polling interval in milliseconds — default 500 ms

Supported data types

Data typeDescription
BOOLSingle bit — true/false
SINT8-bit signed integer (−128 to +127)
USINT8-bit unsigned integer (0 to 255)
INT16-bit signed integer (−32 768 to +32 767)
UINT16-bit unsigned integer (0 to 65 535)
DINT32-bit signed integer (−2 147 483 648 to +2 147 483 647)
UDINT32-bit unsigned integer (0 to 4 294 967 295)
LINT64-bit signed integer
REAL32-bit IEEE floating-point
LREAL64-bit floating-point
BIT_STRINGCollection of bits, each accessible individually
UDTUser-defined data structure

The data type is determined automatically during the first read from the PLC — it is not entered manually.

Tag addressing

Controller tags — enter the tag name directly:

Pressure
Temperature
ConveyorSpeed

Program tags — prefix with the program name:

Program:Control.Valve
Program:Line1.MotorRunning

BOOL arrays (ControlLogix)

BOOL arrays in ControlLogix are addressed by word and bit position. Each word contains 32 bits:

ElementAddress
3rd elementTestBool[0].3
34th elementTestBool[1].2
54th elementTestBool[1].22

Tag import

Online import — when the PLC is online, its tag list can be imported directly. The PLC must be online during import.

L5X file import — export your PLC project from Rockwell Studio as an .L5X file (including UDTs and alarm limits) and import it into DataTalk when creating the connection. This imports all tags and automatically creates alarm limits defined in the project.

L5X import locks manual tag entry

After importing an L5X file, you can only select tags from the imported list — manual tag entry is disabled. If the PLC project changes, re-import the updated L5X file.

Communication speed

ControlLogix reads arrays significantly faster than individual elements. Organize tags in arrays when possible:

Fast — reading 10 tank levels as an array:

Level[1], Level[2], Level[3], ...

Slow — reading the same data as structure members:

BigTank[1].Level, BigTank[2].Level, ...
Micro800 controllers

For Micro820, Micro830, Micro850, and Micro870 controllers, use the EtherNet/IP (Micro800) connection type instead of the standard EtherNet/IP adapter.