Allen-Bradley ControlLogix/CompactLogix
Allen-Bradley Logix profile via the Site Runtime EtherNet-IP.
| Property | Value |
|---|---|
| Console protocol id | allen-bradley-controllogix |
| Site Runtime plugin | EtherNet-IP |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | ControlLogix, CompactLogix |
| Default group interval | 100 ms |
| Maturity | Production: complete driver (connection handling, address forms, batching, read and write) |
Create the device
- Open Connectivity → Devices and click Add device.
- Pick Allen-Bradley ControlLogix/CompactLogix in the protocol list.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- 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.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Target PLC IP Addresshost | string | — | max 30 chars | yes | |
Target PLC Portport | int | 44818 | 1 – 65535 | yes | |
PLC CPU Slotslot | int | 0 | 0 – 255 | yes |
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 types | Address 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.
| Address | Meaning |
|---|---|
Conveyor_Speed | Controller-scoped tag |
Program:MainProgram.Counter | Program-scoped tag |
Motor1.Speed | Structure member (UDT or built-in structure such as a timer: Timer1.ACC) |
Recipe[3] | Array element |
Matrix[1,2] | Two-dimensional array element |
Tank1.Level | Member of a UDT tag |
tag:Conveyor_Speed | Same 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
| Setting | Typical |
|---|---|
| Target PLC IP Address | IP of the controller (CompactLogix: its Ethernet port) or of the EtherNet/IP bridge in the chassis |
| Target PLC Port | 44818 |
| PLC CPU Slot | The 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
| Symptom | Cause | Fix |
|---|---|---|
Tag bad, others good | Name misspelled or not in the scope. | Copy the name from the project. Add Program:<name>. for program tags. |
All tags bad | Wrong slot. | Use the CPU slot. |
| Cannot connect | Port 44818 blocked, or the controller has no free connections. | Check the firewall and the connection count of the module. |
| Value type wrong | Mismatch between tag type and the Logix data type. | Match the type (DINT is INT32, REAL is FLOAT). |
| Write refused | External access of the tag is Read Only. | Set it to Read/Write. |
| Array element refused | Index outside the array. | Check the dimensions. |