Skip to content

SLC 500, MicroLogix, PLC-5

The Allen-Bradley SLC 500, MicroLogix, PLC-5 connection reads and writes the data table of older Rockwell Automation controllers, the same addresses RSLogix 500 and RSLogix 5 show: N7:0, F8:1, B3:0/5, T4:0.ACC. Commands are PCCC (DF1) carried over EtherNet/IP, port 44818. Nothing has to be configured in the controller.

Family Controllers
SLC 500 SLC 5/05 with built-in Ethernet; MicroLogix 1100 and 1400; MicroLogix 1000–1500 and SLC 5/03–5/04 through a 1761-NET-ENI module
PLC-5 PLC-5 with an Ethernet port (PLC-5/20E, /40E, /80E) or through an Ethernet module

ControlLogix, CompactLogix and Micro800 use tag names instead — see Allen-Bradley.

The implementation is Scadora’s own, with no third-party libraries.

  1. In the editor: Connection → Allen-Bradley SLC 500, MicroLogix, PLC-5.
  2. Address is the IP of the controller or the NET-ENI module. Family is SLC 500 (also for MicroLogix) or PLC-5.
  3. Create a tag with this connection and a data table address, for example N7:0 with type Int16 or F8:0 with type Float32.
  4. Start the project.
Setting Default Meaning
Address — IP address of the controller or Ethernet module
Port 44818 EtherNet/IP TCP port
Family SLC 500 SLC 500 and MicroLogix — SLC commands (typed logical read/write). PLC-5 — PLC-5 commands (typed read/write)
Timeout, ms 5000 How long to wait for the connection and the controller’s reply

The address is a file (letter and number), a colon and an element; a word bit goes after /, a timer, counter or control sub-element after a dot. The file number of standard files can be omitted: O0, I1, S2, B3, T4, C5, R6, N7, F8.

SLC address panel

Address Meaning Tag type
N7:0 Integer Int16
F8:10 Floating point Float32
B3:0/5, B3/5 Bit of the bit file (the second form numbers bits through the whole file) Bool
N7:4/15 Bit of an integer word Bool
T4:0.ACC, T4:0.PRE Timer accumulated value and preset Int16
T4:0.DN, .TT, .EN Timer done, timing, enabled Bool
C5:1.ACC, .PRE, .DN, .CU, .CD, .OV, .UN Counter values and bits Int16, Bool
R6:0.POS, .LEN, .DN, .EN, .ER Control element Int16, Bool
L10:0 LONG, 32 bits (MicroLogix 1100/1400) Int32
ST9:0 String up to 82 characters String
A11:0 Two ASCII characters String
I:0/3, O:0, S:1/5 Input and output image words, status file Bool, UInt16, Int16

A word value can go into any numeric tag type; a Bool tag needs a bit or a timer, counter or control bit. Input and output addresses are image words: I:0 is the first word of the input image, not a slot number. Check the word offset in RSLogix.

Reading. Tags of one file whose elements are close together are read with one request (up to 200 bytes). If the controller rejects a block, for example because the file is shorter than an address in the middle, the driver reads those tags one by one and only the wrong address gets Bad.

Writing. A word, REAL, LONG or string is written with a typed write. A bit is written with a masked write (SLC) or read-modify-write (PLC-5), so the controller changes only that bit even if the program changes the neighbouring bits at the same moment. A timer preset (T4:0.PRE) is written as a word.

Project → Browse SLC 500 and MicroLogix data table… finds the controller’s data files by probing reads: a file exists if its element 0 can be read, and its length is the last readable element. Files are on the left (N7, F8, T4…), elements with a tag type on the right; timers and counters offer ACC, PRE and DN. The controller is only read.

Symptom Cause and what to do
“No connection”, timeout Wrong IP, the controller is unreachable, or port 44818 is blocked. Check that the controller answers RSLinx over Ethernet
Tag Bad, “address does not exist” No such file or element: the file in the controller is shorter, or the file type does not match the letter
All tags Bad on PLC-5 Family is set to SLC 500, or the other way round
Writes fail with “processor in program mode” or “protection” The controller is not in RUN or REM mode, or the file is protected
Wrong input values I: and O: are image words, not slots: check the word offset
  • EtherNet/IP only. DF1 over a serial port and DH+ through a ControlLogix gateway are not supported.
  • On PLC-5 the driver reads N, F, B, I, O, S, T, C, R; ST, L and A files only on SLC 500 and MicroLogix.
  • Writing an A file and writing a bit of a LONG are not supported.
  • The data table browser works with SLC 500 and MicroLogix only; for PLC-5 addresses are typed in. Comments and symbols from the RSLogix program are not read.
  • Checked against an in-test controller simulator built from the DF1 specification, not yet on a real controller.