Skip to main content

Allen-Bradley ControlLogix/CompactLogix

Device Production Ethernet

Allen-Bradley Logix profile via the Site Runtime EtherNet-IP.

PropertyValue
Console protocol idallen-bradley-controllogix
Site Runtime pluginEtherNet-IP
TransportEthernet (TCP/UDP)
Readyes
Writeyes — through approved writes
Subscribe—
Device familiesControlLogix, CompactLogix
Default group interval100 ms
MaturityProduction: complete driver (connection handling, address forms, batching, read and write)

Create the device​

  1. Open Connectivity → Devices and click Add device.
  2. Pick Allen-Bradley ControlLogix/CompactLogix in the protocol list.
  3. Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
  4. Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.

Connection parameters​

Every field the Console shows for this protocol. Required fields must be set before the device can be saved.

ParameterTypeDefaultRange / optionsRequiredDescription
Target PLC IP Address
host
string—max 30 charsyes
Target PLC Port
port
int448181 – 65535yes
PLC CPU Slot
slot
int00 – 255yes

Tag addresses and data types​

Supported data types: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, BIT, BOOL, STRING, WORD, DWORD, LWORD. The Console validates each tag address against the pattern for its data type before it is saved:

Data typesAddress pattern (regular expression)
INT8 UINT8 INT16 UINT16 INT32 UINT32 INT64 UINT64 FLOAT DOUBLE BIT BOOL STRING WORD DWORD LWORD

Addressing and notes​

Address syntax and examples​

ControlLogix and CompactLogix tags are addressed by their symbolic name, the same as in Studio 5000 / RSLogix 5000.

AddressMeaning
Conveyor_SpeedController-scoped tag
Program:MainProgram.CounterProgram-scoped tag
Motor1.SpeedStructure member (UDT or built-in structure such as a timer: Timer1.ACC)
Recipe[3]Array element
Matrix[1,2]Two-dimensional array element
Tank1.LevelMember of a UDT tag
tag:Conveyor_SpeedSame as the plain name

Rules: no spaces, 128 characters at most, at most 40 in one name segment, no leading or trailing .. There is no STRING type in the tag dialog.

Type map: BOOL = BOOL, SINT = INT8, INT = INT16, DINT = INT32, LINT = INT64, REAL = FLOAT, LREAL = DOUBLE. For UINT, UDINT and so on use the unsigned types.

Endianness​

Not applicable. The controller delivers typed values.

Typical settings​

SettingTypical
Target PLC IP AddressIP of the controller (CompactLogix: its Ethernet port) or of the EtherNet/IP bridge in the chassis
Target PLC Port44818
PLC CPU SlotThe slot of the CPU in the chassis. ControlLogix: the slot number of the controller. CompactLogix: 0.

For the ControlLogix 5500 family and the 5000 family the Console has own plugins. Use the plugin that matches the controller in the picker (Allen-Bradley ControlLogix 5500, Allen-Bradley 5000 EtherNet/IP). For MicroLogix 1400 see its own page. It uses N7:0-style addresses.

Poll group interval: 500 to 1000 ms for process values.

Common errors​

SymptomCauseFix
Tag bad, others goodName misspelled or not in the scope.Copy the name from the project. Add Program:<name>. for program tags.
All tags badWrong slot.Use the CPU slot.
Cannot connectPort 44818 blocked, or the controller has no free connections.Check the firewall and the connection count of the module.
Value type wrongMismatch between tag type and the Logix data type.Match the type (DINT is INT32, REAL is FLOAT).
Write refusedExternal access of the tag is Read Only.Set it to Read/Write.
Array element refusedIndex outside the array.Check the dimensions.