Skip to Content
On this page

PCCC

EtherNet/IP PCCC file-table read/write for SLC 5/05 and MicroLogix 1100/1400.

Compatible devices and models

Device series / model examplesConnection requirements
SLC 5/05; MicroLogix 1100, 1400The Ethernet interface must support PCCC file-table access over EtherNet/IP. Configure file addresses such as N7:0 and B3:0, rather than Logix tag names.

Prepare file-table access

This entry connects to TCP 44818, registers an EtherNet/IP Session, performs Forward Open, and carries PCCC file-table requests over the connection. The endpoint must accept that connected path; unconnected-only PCCC, CSP port 2222 and symbolic Logix services are not interchangeable. Use N7:0, not a Studio 5000 tag name or an IP-prefixed variable address.

  1. In an RSLogix 500 project matching the SLC 5/05 or MicroLogix CPU/firmware, open Channel Configuration for the actual Ethernet channel. Confirm the running IP, subnet mask and gateway. Follow the CPU manual for static addressing or BOOTP/DHCP; an undownloaded project address is not the live address.
  2. Allow the gateway to reach TCP 44818 on the controller. A transparent serial-to-Ethernet adapter does not create an EtherNet/IP PCCC service.
  3. Under Data Files → N7, confirm allocated N7:0 and N7:1, and monitor independent values such as 1234 and 5678. For REAL, use an existing F file such as F8:0. Symbol comments do not replace file addresses.
  4. For Logix PLC/SLC Message Mapping, explicitly configure and verify the file-to-array mapping and supported PCCC service. A matching tag name alone is insufficient.

Rockwell’s DF1 Protocol and Command Set , printed pages 7–17/7–18, explains file number, type, element and subelement. Confirm the CPU firmware and EtherNet/IP route in its own user manual. CSP and Logix CIP use different entries.

MicroLogix 1400 Ethernet channel example

In the RSLogix 500 project tree, open Channel Configuration → Channel 1 and confirm the Ethernet driver. Set IP Address, Subnet Mask and Gateway Address. The manufacturer example shows 10.116.38.202, 255.255.255.0 and 0.0.0.0, with BOOTP/DHCP unchecked. Download the site-specific fixed address and enter the actual online IP plus :44818 in the gateway. SNMP, HTTP and link speed are separate settings; copying those options is not required for PCCC access.

RSLogix 500 MicroLogix 1400 Ethernet Channel 1 network configuration

Source: Rockwell MicroLogix 1400 User Manual 1766-UM001N-EN-P , June 2019, page 221.

Check integer file capacity in RSLogix 500

Open Properties for the target integer file under Data Files. Check File, Type, Elements and Last. The manufacturer window shows File 9, Type N, Elements 51 and Last N9:50: 51 zero-based integer elements whose first address is N9:0. For this page’s N7:0 and N7:1 examples, select the actual N7 file and ensure it contains at least two elements. Keep the file number in the gateway address consistent with the selected file.

RSLogix 500 integer file properties: file 9, type N, 51 elements and last address N9:50

After configuring the project, open N7 and monitor N7:0 in decimal, then compare it with gateway Int16. Web View Disable controls the built-in web data-table display; it does not need to be changed for gateway collection. Source: Rockwell 1747-RM001G-EN-P (November 2008), printed page A-17 (PDF page 515), RSLogix 500 SLC file properties.

Channel and device

Create a TCP client channel, for example 192.168.1.20:44818, targeting the first interface providing the PCCC service. Serial, UDP and TCP server channels are unsupported.

PCCC TCP client and port 44818

Create a PCCC device and select that channel. Set an interval such as 1000 ms and enable the channel and device after completing the PLC settings.

PCCC device selection

Device properties

SettingMeaning and selection
Target slotDefault 0; target slot byte in the connected path, stored as 0–255. Use the actual CPU/bridge-supported path, not the Ethernet module’s slot or a model number.
Backplane portDefault 1; path port byte, not TCP port or NIC number. Combined with the slot for Forward Open. There is no arbitrary multi-hop RoutePath editor here.
Maximum packet lengthDefault 150; valid 1–236 bytes. Groups reads by file type, number and interval. A variable must fit; use the target’s lower read/write limit.
Read/write timeoutDefault 3000 ms for session, connection and business responses. TCP connection timeout is separate. Correct explicit route/service errors.
Pre-frame delayDefault 0 ms before sending; not scan time or I/O RPI.
Reverse string byte wordsUI default off, but this entry does not apply the inherited switch; its converter defaults to swapping character bytes within words. Do not infer effective behavior from this UI switch.
Data orderDefault DCBA, little endian. Compare known N integers and F REAL values; per-variable overrides do not change file types.
Failure retriesDefault 3. Fix persistent file, route and protection errors first.
Read/write duty cycleDefault 3, minimum 1. One read after n writes under continuous writing; not a percentage.
Write priorityDefault off. Allows writes to cancel active reads; keep off for initial read-only commissioning.

PCCC slot, backplane, packet budget and conversion

PCCC lower properties: string byte-word reversal and DCBA data order

There are no additional plugin-specific variable properties. See Collection Configuration for common settings.

Variables and address fields

Add N7_0, address N7:0, Int16, array length 1, Read Only. PLC 1234 should remain 1234. Array length 2 reads two 16-bit elements, four data bytes.

PCCC single N7:0 integer

Address fieldMeaning and boundary
File typeN integer, B bit word, F floating point, A ASCII, L long integer, ST string, I/O input/output, S status, T/C/R timer/counter/control. The CPU must provide the selected file.
File numberDecimal file number, 7 here. N/B/F/A/C/T/R/L require it explicitly; use explicit I/O/S/ST numbers too.
ElementZero-based element, 0 here; 0–65535 editor storage is not the allocated PLC range. Packing uses two-byte word offsets; verify nonzero F/L/ST elements separately.
BitOptional 0–15, Boolean only. B3:0/3 is bit 3 of the first word. The editor emits /3, not .DN. Compare a complete UInt16 first; verify high-bit and cross-word array read coverage separately.
Byte order overrideUnset inherits DCBA; changes only this variable’s conversion.
Encoding overrideConfirmed string character encoding; leave unset for numeric values.
String byte lengthDefault conversion capacity 100 bytes. Use actual capacity, not a count of ST elements; account for the two-byte header.
BCD override8421/5421/2421/excess-3/Gray only for matching stored data, not ordinary N/F values.
Variable string length overrideLength-header conversion by default; disable for verified fixed byte buffers. Logix four-byte LEN/UDT is a different layout.

PCCC file-table field editor

ExampleType and limit
N7:0Int16, one element; UInt16 changes the interpretation of negative values.
B3:0UInt16, one word; value 8 means bit 3 is set.
F8:0Float, one element; compare a known REAL such as 12.5. Int32 shows its bit pattern instead.
B3:0/3Boolean read candidate. Current PCCC Boolean writes do not use a 16-bit mask and cannot guarantee modification of only the selected bit. Use a PLC-provided independent integer command point for control.
ST9:0String, single element. Dedicated reads fetch the two-byte length, then header plus data. Writes pad encoded bytes to an even length and prepend a two-byte length. Confirm capacity/layout; string-array writing is unsupported.
T4:0.PRE, C5:0.ACCMnemonic members are unsupported and command subelement is fixed at 0. Map required members to N-file values in the PLC.

The type selector also lists Byte, wider signed/unsigned integers, Double and Decimal. This does not establish native 64-bit files or automatic fragmentation. Reduce/rearrange a variable that exceeds the packet budget.

Verify the result

Save, confirm address/type/count, and enable the actual device/channel.

Saved PCCC example

Compare live RSLogix 500 values and advancing gateway timestamps. Protocol Debug → Messages separates RegisterSession → Forward Open → PCCC read. TCP connectivity alone proves neither handshake nor data access. Enable method calls and refresh the debug target for operations requiring device method invocation.

Software-server configuration example

Use the Windows PowerShell-compatible HSL Communication13.0.3 assembly and replace the DLL path below. AllenBradleyPcccServer initializes two little-endian N7 integers: D2 04 is 1234 and 2E 16 is 5678. External writes are disabled. Leave the window open and press Enter to stop.

Add-Type -Path 'C:\Tools\HslCommunication\HslCommunication.dll' $server = [HslCommunication.Profinet.AllenBradley.AllenBradleyPcccServer]::new() $server.LocalAddress = [System.Net.IPAddress]::Loopback $prepared = $server.Write('N7:0', [byte[]](0xD2,0x04,0x2E,0x16)) if (-not $prepared.IsSuccess) { throw $prepared.Message } $server.EnableWrite = $false try { $server.ServerStart(15019) Read-Host 'Press Enter to stop' } finally { $server.ServerClose() $server.Dispose() }

Add gateway TCP client 127.0.0.1:15019, select PCCC, slot 0, backplane 1 and DCBA. N7:0 / Int16 / length 1 should be1234; N7:1 should be5678; N7:0 / Int16 / length2 should be[1234,5678].

Gateway TCP client for this software-server example

PCCC software N7:0, Int16, length 1

This HSL Communication 13.0.3 PCCC software server at 127.0.0.1:15019 holds N7:0=1234 and N7:1=5678, with external writes disabled. Enable the device, then compare both scalars and the N7:0 array [1234,5678] with count 2 in Live Variables. Inspect session, connection and file-table exchanges in Messages.

PCCC software-server example with scalar and array values

SymptomCheck
TCP online, no valueConnected PCCC support, slot/backplane path and Forward Open status; distinguish CSP and symbolic Logix.
File/element errorExisting downloaded file, matching type, bounds and byte count.
Swapped characters or invalid string lengthActual ST layout, two-byte header and effective default swap; changing the inherited UI switch is insufficient.
Boolean writes change unintended dataStop this write form and use a PLC-provided independent integer command point. Retries do not add a bit mask.

Only perform authorized write/readback/restore checks on an independent N-file value. Do not use physical I/O or safety interlocks.