Allen-Bradley Overview
TheALLEN_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.
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
PLC IP address.
Device family type (0-6, see table above). Default: 0 (ControlLogix).
Communication port. Default: 44818.
CPU slot number in chassis. Default: 0.
Routing path for accessing PLCs through network infrastructure. Format:
port,slot pairs separated by commas.Connection timeout in milliseconds. Default: 5000.
Connection Examples
- ControlLogix/CompactLogix
- MicroLogix
- Through Backplane
- Multi-Hop Routing
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 Configuration
Address Configuration
Value Transformation
Value Transformation
Filtering
Filtering
Publishing
Publishing
Topic where PLC values are published. Subscribe here to receive sensor data.
Topic to send write commands. Publish a value here to write it to the PLC.
Output format:
VALUE_ONLY or JSON. Default: VALUE_ONLY.Engineering unit for documentation.
Human-readable description.
Write Configuration
Write Configuration
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
- Basic Tag Reading
- UDT Members
- Array Access
- Bidirectional Control
- CompactLogix
- Combined (Cyclic + On-Demand)
Read controller-scoped tags:
Troubleshooting
Connection Failed
Connection Failed
- 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
Tag Not Found
Tag Not Found
- 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
Path Errors
Path Errors
- 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
Write Operations Fail
Write Operations Fail
- 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
Data Type Mismatch
Data Type Mismatch
- 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.

