How-to
Mapping PLC/SLC messages so a DF1 panel reads a ControlLogix
Short answer
A DF1 panel that addresses PLC-5/SLC data files cannot read ControlLogix tags directly; you map the file number to a controller-scope INT array with Logic > Map PLC/SLC Messages, so N7:4 returns OIArray[4]. Serial settings and PCCC-style requests must also match.
On this page
A DF1 operator panel that addresses PLC-5/SLC data files fails against a ControlLogix because the controller stores data as tags, not numbered data files. The fix is RSLogix 5000's mapping table: choose Logic > Map PLC/SLC Messages, assign a PLC-5-style file number such as 7 to a controller-scope 16-bit INT array, and the panel's request for N7:4 then returns OIArray[4]. The mapping does the address translation; the serial link itself still has to work, so the port settings and the command set the panel sends come first.
Why the DF1 driver name is not enough #
DF1 is the serial transport; the operations inside the message are what decide compatibility. A panel built for PLC-5 and SLC 500 processors sends PCCC command codes with A-B logical addressing, such as N7:4. ControlLogix has no N7 file, so without a mapping the controller rejects the request. CIP, the native Logix protocol, is a different layer and does not replace this: for a panel that only sends legacy requests, the controller's compatibility interface plus the mapping table is the supported path, and the panel does not have to be replaced.
Before touching the mapping, confirm the link itself. Read the panel's communication diagnostics: if no request reaches the controller, fix the cable, port selection or transmit configuration first, because no mapping repairs a disconnected transmit path. If the controller answers but rejects the address, go straight to the mapping.
Match the serial settings at both ends #
Compare the panel driver's serial configuration with the controller port configuration:
- Baud rate, data bits, parity and stop bits must match; a typical full-duplex setting is 8 data bits with the parity and stop bits the driver documentation requires.
- DF1 operating mode must match at both ends, for example full-duplex point-to-point on a serial port.
- Control line or handshake setting must match the cable; a cable without handshake lines needs the no-handshake setting at the port.
- Station or node addressing must agree with how the driver documentation says the panel uses it.
Map the file numbers in RSLogix 5000 #
- List every legacy file number the panel application uses, including files used only by alarms, recipes or writes. In the reader's case these are integer files 7 and 10.
- For each file, find the highest element accessed and the largest block requested from any starting element.
- Create one controller-scope array of 16-bit INTs per file, sized to cover the complete block requests. The example tag is
OIArray. - Open Logic > Map PLC/SLC Messages, enter the file number in the mapping window and associate it with the array. Confirm the exact menu wording in your installed software version.
- Connect the mapped elements to the application logic and document which elements the panel may write.
The rule is simple: the file number selects the mapped array, the element number selects the array index. Element 4 needs at least 5 elements because indexing starts at zero, and a block request must fit entirely inside the array, not merely begin at a valid element.
Mapping exposes an address-compatible data area only. It does not recreate the PLC-5 or SLC 500 programming model, so keep the interface array separate from internal control logic and copy values across explicitly. If the panel also needs to reach a real SLC 500 or PLC-5 from the Logix side, that is a message-instruction job covered in article:configure-controllogix-msg-reads-and-writes-to-a-plc-5, not a mapping job.
Sizing the array for file 7 with a block read of 20 words from element 4 #
Inputs: the panel's integer file is 7 (from the application, as in the reader's case), its largest request is a block read of 20 words starting at element 4 (a typical panel block size, used here as the example), and the mapped tag is the controller-scope INT array OIArray.
Rule: the array must hold every element from index 0 through the last one a request touches, because indexing starts at zero and block requests must fit entirely.
Arithmetic: last index touched = starting element + block length - 1 = 4 + 20 - 1 = 23. Required elements = 23 + 1 = 24. Round up to OIArray[24], or make it OIArray[32] to leave room for later panel additions.
Result: N7:4 reads OIArray[4], N7:23 reads OIArray[23], and the 20-word block from N7:4 fills OIArray[4] through OIArray[23]. Decision: above the highest element any request touches, size the array to the next round boundary; if a later panel edit needs element 24 or beyond, extend the array before downloading, or that request fails with an address rejection.
Prove it with one element #
Test with a single integer read before trusting complex objects. Put a known, non-actuating test value into OIArray[4] online, display N7:4 on the panel and compare the raw values before applying any scaling. Then check:
- File 7 maps to the intended array, not another one with similar contents.
- Signed integer interpretation and panel scaling match the controller value.
- A bit display uses the bit of the mapped integer you expect.
- A write shows up in the element and is not immediately overwritten by logic; a value that appears briefly then disappears is a data-ownership problem, not a driver problem.
For a panel that decodes ASCII or bit arrays out of N files, the bit-level details are covered in decoding SLC N-file ASCII and bit arrays; the same file-to-array mapping applies. The controller-side behavior is documented in the Logix5000 Controllers Data Access manual, publication 1756-PM020, which covers mapping of tags to PLC/SLC data files.
Questions asked
Can the panel write through a mapped file?
Yes. A PCCC-style write to N7:4 writes OIArray[4] in the controller. If the value appears briefly and then reverts, controller logic is overwriting it. Decide ownership: let the panel own those elements and copy them into internal logic, rather than letting logic write the same element.
Does mapping make the ControlLogix behave as a full PLC-5?
No. It only exposes a small address-compatible data area. It does not reproduce the PLC-5 or SLC 500 programming model, and it does not make the Logix port a generic DF1 endpoint for every command. Only the mapped files are reachable, and only with the requests the compatibility interface accepts.
Does PLC/SLC mapping also work over Ethernet?
The same file-to-array mapping serves PCCC-style logical addresses arriving through the controller's compatibility interfaces, including DH+ bridges, not just the serial port. Map the files once; each interface that carries legacy requests uses the same mapping table.