← All guides
Guide · Allen-Bradley

Free SCADA for Allen-Bradley MicroLogix and CompactLogix

OptiZeus SCADA talks to Allen-Bradley controllers over EtherNet/IP with no extra driver software and no gateway. This guide shows how to connect a CompactLogix or a MicroLogix to the free edition and read your first tags.

Two drivers, one network

Allen-Bradley controllers use two kinds of addresses, so OptiZeus has two drivers. Both run over the same EtherNet/IP network (TCP port 44818).

ControllerProtocol in OptiZeusAddress example
CompactLogix, ControlLogix, Micro800EtherNet/IP (CIP)Tank_Level
MicroLogix 1100 / 1400, SLC 5/05PCCC over EtherNet/IPN7:0

Step 1: add the connection

  1. Open Config → PLC Connections and click + Add PLC Connection.
  2. Give it a name, for example Line1_PLC, and choose the brand and model.
  3. Choose the protocol: EtherNet/IP (CIP) for Logix controllers, PCCC over EtherNet/IP for MicroLogix and SLC.
  4. Enter the IP address of the controller and, for Logix, the slot of the CPU.
  5. Click Test Connection. For a MicroLogix, the test reads N7:0 and shows its value. Then click Add Connection.

The free edition allows one PLC connection. That is one controller with up to 50 tags.

Step 2: CompactLogix tags

For Logix controllers you use the tag name exactly as it is in the controller program. No address table is needed.

  • Controller tag: Tank_Level
  • Program tag: Program:MainProgram.Pump_Speed
  • Structure or UDT member: Motor_1.Running
  • Array element: Recipe[3], or Matrix[1,2] for two dimensions

In the tag dialog, click Browse... next to the PLC address. OptiZeus reads the controller symbol table and lists every controller-scoped tag with its data type. Click a tag to copy its name. Program tags and structure members are not listed; type them in.

EtherNet/IP tags are read by their own worker thread. It uses CIP Multiple Service requests to read many tags in one message, so a slow controller never delays the rest of the system. If you download a new program with new tags, click Refresh Tags on the connection row.

Step 3: MicroLogix and SLC addresses

MicroLogix and SLC controllers use data-table addresses, the same as in the programming software:

  • Integers and floats: N7:10, F8:3, long integers L11:0
  • Bits: B3:0/5, inputs I:0/5, outputs O:0/2
  • Timers and counters: T4:0.ACC, T4:0.DN, C5:2.PRE

A bit write such as O:0/3 uses a masked write: only that bit changes, and the other 15 bits of the word keep their values. MicroLogix controllers accept only a few TCP connections, so OptiZeus keeps one shared connection per controller.

Step 4: screens, alarms and trends

With the tags in place, draw the machine in the synoptic editor, add alarm limits to the important values and open a trend. When the controller cannot be reached, its tags show bad quality on the screen instead of an old number, so the operator never trusts stale data.

Before you write to the PLC

Test every write path during commissioning. Write a test value from OptiZeus and read it back in the programming software. Do this only with the permission of the process owner and with the equipment in a safe state.

Try it free

OptiZeus SCADA Free Edition: 50 tags, 1 PLC, 5 screens, alarms and trends. Free for commercial use on one machine.