Skip to main content

Allen-Bradley Overview

The ALLEN_BRADLEY route enables communication with Rockwell Automation PLCs using native protocols. It supports ControlLogix, CompactLogix, PLC5, SLC500, Micro800, and MicroLogix families with TAG-based addressing and bidirectional communication.
Allen-Bradley PLCs use tag-based programming. Access PLC tags directly by their symbolic names for the most intuitive configuration.
The Allen-Bradley route is on beta testing. It is planned for a future release.

Basic Syntax


Supported Device Families

ControlLogix (0) is the most common setting for modern Allen-Bradley systems including CompactLogix and ControlLogix PLCs.

Connection Configuration

ALLEN_BRADLEY_CONFIG Parameters

IP
string
required
PLC IP address.
DEVICE_FAMILY
integer
Device family type (0-6, see table above). Default: 0 (ControlLogix).
PORT
integer
Communication port. Default: 44818.
SLOT
integer
CPU slot number in chassis. Default: 0.
PATH
string
Routing path for accessing PLCs through network infrastructure. Format: port,slot pairs separated by commas.
TIMEOUT
integer
Connection timeout in milliseconds. Default: 5000.

Connection Examples

Direct connection to ControlLogix or CompactLogix:

Tag Addressing

Allen-Bradley uses symbolic tag names. The address format depends on the tag scope:

Data Types


TAG Configuration

Complete TAG Example

TAG Parameters

ADDRESS
string
required
Tag name in PLC (e.g., MainProgram:Temperature, Motor1.Speed, Temperatures[0]).
ADDRESS_TYPE
string
Address type: SYMBOL (default) or PATH.
DATA_TYPE
string
required
Logix data type: BOOL, SINT, INT, DINT, LINT, USINT, UINT, UDINT, ULINT, REAL, LREAL, STRING.
SCALING
double
Multiplier for value transformation. Default: 1.0.
OFFSET
double
Offset added after scaling. Default: 0.0.
DECIMAL_PLACES
integer
Decimal places in output. Default: 2.
MIN_VALUE
double
Minimum allowed value.
MAX_VALUE
double
Maximum allowed value.
DEADBAND
double
Minimum change to trigger publish. Default: 0.0.
SOURCE_TOPIC
string
required
Topic where PLC values are published. Subscribe here to receive sensor data.
DESTINATION_TOPIC
string
Topic to send write commands. Publish a value here to write it to the PLC.
PUBLISH_MODE
string
Output format: VALUE_ONLY or JSON. Default: VALUE_ONLY.
UNIT
string
Engineering unit for documentation.
DESCRIPTION
string
Human-readable description.
WRITABLE
boolean
Allow writing to this tag. Default: false.

Event-Based Operations

For on-demand Allen-Bradley operations (not polling), use the EVENT syntax. Publish a message to SOURCE_TOPIC to trigger the operation; the route executes it and publishes the result to DESTINATION_TOPIC.

Supported Operations

Query Parameters

Read Example

Read a program-scoped counter on demand:

Write Example

Write a REAL setpoint on demand:

Complete Examples

Read controller-scoped tags:

Troubleshooting

  • Verify IP address is correct
  • Check DEVICE_FAMILY matches your PLC type
  • Ensure SLOT is correct (usually 0 for CompactLogix)
  • Verify firewall allows port 44818
  • Check PLC is in Run mode
  • Verify tag name matches exactly (case-sensitive)
  • For program-scoped tags, include program name: MainProgram:TagName
  • Check tag exists in PLC project
  • Ensure tag is not local to a routine
  • Verify PATH format: port,slot pairs
  • Check network modules are configured correctly
  • For IP in path, use: port,slot,port,IP,port,slot
  • Increase TIMEOUT for multi-hop routes
  • Ensure WRITABLE is set to “true”
  • Verify PLC is in Remote Run mode
  • Check tag is not constant or read-only
  • Verify value is within data type range
  • Verify DATA_TYPE matches PLC tag definition
  • REAL for floating point, DINT for 32-bit integers
  • Check array vs. single value configuration

Next Steps

EtherNet/IP

CIP explicit messaging for Allen-Bradley and compatible devices.

Industrial Overview

Common patterns for all industrial routes.
Last modified on May 22, 2026