Skip to content

Allen-Bradley

The Allen-Bradley (EtherNet/IP) connection reads and writes Rockwell Automation controller tags by name, the same way Studio 5000 or Connected Components Workbench shows them. Nothing has to be configured in the controller: no MSG instructions and no produced/consumed tags.

Family Controllers
Logix ControlLogix, CompactLogix, GuardLogix (standard tags)
Micro800 Micro820, Micro850, Micro870 (global variables)

The implementation is Scadora’s own, with no third-party libraries: EtherNet/IP, port 44818, CIP symbolic access. SLC 500, MicroLogix and PLC-5 with data table addresses (N7:0) are a separate connection: SLC 500, MicroLogix, PLC-5.

  1. In the editor: Connection → Allen-Bradley (EtherNet/IP).
  2. Address is the controller IP (for ControlLogix, the IP of the 1756-EN2T or a similar module). Family is Logix or Micro800. For ControlLogix, set the Processor slot.
  3. Project → Import tags from an Allen-Bradley controller… reads the tag list of the controller: check the tags and press Import. Or create a tag by hand: the address is the tag name in the controller, for example Tank1_Level, and the type matches the controller type: REAL — Float32, DINT — Int32, BOOL — Bool.
  4. Start the project.
Setting Default Meaning
Address — IP address of the controller or the EtherNet/IP module
Port 44818 EtherNet/IP TCP port
Family Logix Logix — the request goes over the backplane to the processor slot. Micro800 — directly to the controller
Processor slot 0 Processor slot in the ControlLogix chassis. CompactLogix uses 0
Timeout, ms 5000 How long to wait for the connection and the controller’s reply

The address is the tag name; case does not matter. The address panel (F4 in an address cell) shows examples.

Address Meaning
Tank1_Level Controller tag
Program:MainProgram.Speed Tag of program MainProgram
Recipe[3] Array element
Matrix[1,2] Element of a two-dimensional array
Motor.Status.Running Structure member (UDT)
Pumps[2].Speed Member of a structure in an array
Flags.5 Bit 5 of an integer tag, into a Bool tag only

Allen-Bradley address panel

Project → Import tags from an Allen-Bradley controller… reads the controller and program tags over the selected connection. Structures (UDT and module types) are expanded to their members, arrays to elements (the first 100 are shown). System tags and tags with External Access None are not listed. The controller is not changed.

Importing Allen-Bradley tags

Check tags in the table or press Check with nested to take everything inside the selected structure, array or program. The tags get the controller type, the address and a name without Program: (MainProgram.Step); importing again updates the type of existing tags instead of adding copies. Micro800 has no program tags over the network: only global variables are listed.

Controller type Scadora tag type
BOOL Bool
SINT, USINT SByte, Byte
INT, UINT Int16, UInt16
DINT, UDINT Int32, UInt32
LINT, ULINT Int64, UInt64
REAL, LREAL Float32, Float64
STRING String (Logix up to 82 characters, Micro800 up to 255)
bit of SINT, INT, DINT, LINT Bool, address Tag.N

The controller reports the type in its reply, and the value is converted to the Scadora tag type. If it does not fit, for example DINT 100000 into an Int16 tag, the tag gets Bad quality.

Reading. Every poll cycle reads tags in packets: several Read Tag requests in one message (Multiple Service Packet), usually 20–30 numeric tags per packet depending on name length. If the controller does not support packets, the driver switches to one tag per request by itself. The driver uses unconnected messages (UCMM) and does not take up the controller’s CIP connections.

Writing. The value is sent with exactly the type the tag has in the controller: the type is remembered when reading, and if the tag has not been read yet, the driver reads it once first. Writing a bit (Flags.5) uses the Read-Modify-Write service, so the controller changes only that bit even if the program changes the neighbouring bits at the same moment.

Access rights. In Studio 5000 a tag has the External Access property: Read/Write — read and write, Read Only — read only, writes return an error, None — the tag is not visible from outside. GuardLogix safety tags are read-only for external devices. On Micro800 only global variables are accessible.

Symptom Cause and what to do
“No connection”, “connection refused” or a timeout in the log Wrong IP, the controller is unreachable, or port 44818 is blocked
Connected, but all tags are Bad Wrong Processor slot on ControlLogix, or the wrong Family
Tag Bad No such tag, index outside the array, External Access None, or the value does not fit the Scadora tag type
Program tag Bad Address without Program:, for example MainProgram.Speed instead of Program:MainProgram.Speed
Write error “data type does not match” The controller tag changed type after the first read. Restart the project
Writes fail, reads work The tag has External Access Read Only, or it is a safety tag
  • EtherNet/IP only. PLC-5, SLC 500 and MicroLogix are a separate connection: SLC 500, MicroLogix, PLC-5.
  • BOOL arrays (BOOL[32]) cannot be read element by element; use DINT bits instead.
  • A whole array or structure cannot be read as one tag: each element or member is a separate tag.
  • Routing across several chassis and networks is not configurable: only the processor slot in the same chassis as the EtherNet/IP module.