Explainer
What PROFINET DCP identify response fields really cover
Short answer
A PROFINET DCP identify response carries only discovery data: the station name, IP address, subnet, gateway, Vendor ID, Device ID and device role. The exact CPU order number, firmware, hardware revision, serial number and module list are not DCP fields; a tool retrieves them by reading I&M records acyclically, or through a vendor diagnostic service such as S7 communication on TCP port 102.
On this page
No, a PROFINET DCP identify response cannot give you the exact CPU model, order number, firmware, hardware revision, serial number or module list. DCP is a Layer-2 discovery service: it returns the station name, the IP address with subnet mask and gateway, the Vendor ID, the Device ID and the device role, and nothing beyond that. Those inventory fields live in PROFINET I&M records, which a tool reads acyclically only when it asks, or in vendor diagnostic services such as S7 communication on TCP port 102. This article maps each service to the fields it carries, explains why an idle capture shows almost nothing, works the count against your six required fields and ends with the decision for each case.
What a DCP identify response carries #
PROFINET is standardized as part of IEC 61158, and DCP — the Discovery and basic Configuration Protocol — is its Layer-2 service for finding stations and reading or setting their addressing. It shares EtherType 0x8892 with the real-time frames. When a controller, an engineering tool or a scan sends an identify request, every matching device answers with a fixed set of blocks:
NameOfStation— the station name string- The IP suite — the device's IP address, subnet mask and gateway
- Vendor ID and Device ID — 16-bit identifiers registered per vendor; they narrow a station to a product family, not to an exact unit
- Device role — controller, device, or both
- Optionally a vendor-specific family string, for example the generic family label your capture showed for a compact controller
None of these blocks carries an order number, a firmware version, a hardware revision, a serial number or a module list. The absence is by design, not a fault: DCP exists to answer which station this is and how it is addressed, not exactly what hardware is inside.
Because DCP runs below IP, a station with no address yet still answers an identify request. That is why a scan finds a device that ping cannot reach — the same reason covered in why ping succeeds but the PROFINET device is not found.
Why an idle capture shows nothing else #
After the identify exchange, the wire carries three kinds of PROFINET-related traffic. Cyclic real-time frames move process data and repeat no identity information. LLDP, on EtherType 0x88CC per IEEE 802.1AB, advertises neighbor and port topology on each device's own timer. Acyclic record reads — including I&M reads — exist only as request/response pairs when somebody asks: an engineering tool opening diagnostics, a scan tool, or the controller program itself. So the absence of I&M frames in a passive trace proves nothing about device support; it only proves nobody read them during your capture window.
Where the inventory lives: I&M records #
The PROFINET IO specification defines Identification and Maintenance records that every certified device implements. I&M0 is the mandatory base record. Read acyclically, it returns:
- An order string, 20 bytes, zero-padded — this is the order number, and decoded it identifies the exact CPU model, the field your DCP response can never give you
- A serial number as a 16-byte string
- A hardware revision as a coded 16-bit value
- A revision index that maps to a firmware release through the vendor's version list
Per-module identification comes from reading the I&M record of each module and submodule, not from the single device-level read. In a controller program the read goes through the record-read instruction — RDREC on a Siemens CPU — and how to use RDREC for acyclic PROFINET record reads walks through the call. In Wireshark the answer appears only as the record-read request and response pair under the acyclic services, never under the DCP filter.
EtherNet/IP packages the same idea differently: its CIP Identity object carries revision and serial data as part of the protocol's own identity service, as covered in what the CIP Identity object reveals about an EtherNet/IP device. PROFINET keeps identity out of discovery and puts it in records.
Which service answers which field #
| Field you want | DCP identify response | I&M0 acyclic read | Vendor diagnostic service |
|---|---|---|---|
| Station name, IP, subnet, gateway | Yes | No | Yes |
| Exact CPU model | No | Yes, decoded from the order string | Yes |
| Order number | No | Yes, order string | Yes |
| Firmware version | No | As a revision index | Yes |
| Hardware revision | No | Yes, coded 16-bit value | Yes |
| Serial number | No | Yes, 16-byte string | Yes |
| Module list | No | Per module, one record each | Yes |
The table assumes the device implements the mandatory base record and that you read each module's own record for module identity; a module-level response must not be promoted silently to the CPU's identity.
Worked example: scoring the three services #
Your list has six fields: exact CPU model, order number, firmware, hardware revision, serial number, module list. Score each source against that list.
DCP identify: 0 of 6. Its blocks carry the station name, addressing and vendor or device identifiers — none of your six.
I&M0: the order string covers the order number and, decoded, the exact CPU model (2), the serial number (1), the hardware revision (1) and the revision index that resolves to a firmware release (1). That is 2 + 1 + 1 + 1 = 5 of 6. The module list is the missing field because it lives in the per-module records, not in I&M0.
Vendor diagnostics: 6 of 6, which matches what you already pulled on TCP port 102.
The arithmetic gives the project decision directly: if the requirement accepts PROFINET-only traffic, the ceiling is 5 of 6 and the sixth field costs one record read per module. If it demands everything in one exchange, PROFINET alone will not do it and you stay on the vendor diagnostic service.
The decision #
- Station name and addressing: use DCP identify. It is the correct source, it needs no IP on the device, and it answers nothing else.
- Order number, serial number, hardware revision, firmware as a revision index: trigger an acyclic I&M0 read — a scan tool or an RDREC call in the controller — and capture the record exchange. DCP will never return these fields.
- Exact CPU plus full module inventory: read each module's I&M record, or use the vendor diagnostic service such as S7 communication or the engineering tool's online diagnostics.
Before you send your own frames #
Identify and record reads are read-only and safe on a network you own. DCP also carries write services that change a station name, assign addressing or reset a device to factory settings. Never inject those into a running network: the device applies them immediately, and the line stops. That is the one boundary between a legitimate fingerprinting capture and a production outage.
Questions asked
Does the Device ID in a DCP identify response identify the exact CPU?
No. The Vendor ID and Device ID are 16-bit identifiers that tie the station to a product family, and several hardware revisions can share one Device ID. The generic family string some devices add is broader still. Treat them as discovery identifiers and pull the order string from an I&M0 read when the project needs the exact model.
Why does my scan tool show SNMP frames during a PROFINET scan?
PROFINET's architecture uses LLDP for topology and SNMP for network management, and scan tools use both. Wireshark decodes them as separate protocols next to the PROFINET frames. If the requirement is strictly DCP and PROFINET IO services, filter the rest out and record that any inventory values they exposed came from a management protocol, not from PROFINET identification.
Is the firmware version readable directly from I&M0?
Not as a release string. I&M0 carries a revision index, a counter the vendor increments per released software state, and you map that index to a firmware release through the vendor's version list. If the project needs the release string in a single exchange, read it from the controller's diagnostic service instead.
Can I craft my own identify request from a captured frame?
The identify request is a fixed-format Layer-2 frame, and building a read-only one uses a documented service. Keep it to identification on a network you own. DCP also carries write services that rename a station, assign addressing or reset a device to factory settings, and a running device applies those immediately, which stops production.