IMDHMIControls LibraryShop main store

Explainer

Why an S7-1200 firmware 2.2 cannot act as a PROFINET I-device

Industrial networks Published 8 min read By IMDHMI controls team

Short answer

An S7-1200 CPU on firmware 2.2 supports only the PROFINET IO controller role; the I-device role arrived with firmware V4.0, so the pair cannot be configured as controller and device. Exchange data now with GET and PUT, update both CPUs for the I-device test, and read the oscilloscope result as end-to-end application response time, with scan times dominating and wire time negligible.

On this page
  1. Can an S7-1200 with firmware 2.2 act as a PROFINET I-device?
  2. Which firmware adds the I-device role to the S7-1200?
  3. How do you exchange data between the two CPUs you have?
  4. What does an oscilloscope measure between two PLC output terminals?
  5. How long is the delay you will measure?
  6. Why does the receiver miss a one-scan pulse?
  7. How do you connect the oscilloscope safely?
  8. Which route do you choose for your delay test?
  9. Questions asked

Your two CPU 1214C (DC/DC/DC) units on firmware 2.2 will not form a PROFINET IO controller and device pair, because that revision implements the IO controller role only. The I-device role exists on the S7-1200 from firmware V4.0. Until you update, move your test data with GET and PUT, and when you clip the oscilloscope onto the two output terminals, read the number as end-to-end application response time: program scans, communication and output stages included, with the network transit too small to see. Below are the capability check, the update path, the measurement arithmetic and the decision for each test objective.

Can an S7-1200 with firmware 2.2 act as a PROFINET I-device? #

No. Firmware 2.2 gives the S7-1200 one PROFINET role, the IO controller, and the I-device (smart device) role is not in it, so one of your two CPUs cannot be configured as the device of the other.

PROFINET IO is defined in IEC 61158 and IEC 61784-2, and those standards fix the roles: an IO controller exchanges cyclic process data with IO devices on configured update times, and an I-device is a controller that additionally exposes its own transfer areas to a superior IO controller. An Ethernet port plus the controller role does not give a CPU the device role; the role has to exist in its firmware.

Confirm what is on the bench before changing anything: read both CPUs online and note the module, CPU 1214C (DC/DC/DC), and the firmware, 2.2. On that revision the PROFINET interface properties offer the controller role only; the absent I-device option is the capability statement, not a hidden setting. No connection, configuration step or instruction adds the missing role, so stop the controller-and-device attempt here and take one of the routes below.

Which firmware adds the I-device role to the S7-1200? #

Firmware V4.0 is the first S7-1200 revision that supports the I-device role, so the fix is a vendor firmware update of both CPUs to V4.0 or later, not a setting you have missed in TIA Portal.

The update is a normal manufacturer firmware update: Siemens publishes the files on its S7-1200 support pages, and they install one of two documented ways. Either copy the firmware file onto a blank SIMATIC memory card and let the CPU load it on power-up, or run the update from the CPU's web server after enabling the server and configuring its users. The memory-card route needs a power cycle, so schedule the stop.

Match the engineering software before you touch the CPUs: firmware V4.0 is handled by TIA Portal V13 or later, and a V12 project will not go online with an updated CPU. After the update, enable the I-device role on the CPU that will be the device and define the transfer areas its partner writes and reads as IO controller.

How do you exchange data between the two CPUs you have? #

Use GET and PUT: PUT writes bytes into a permitted data area of the partner CPU, GET reads the partner's bytes back, and both instructions run on firmware 2.2, so the hardware on your bench is enough.

Neither instruction creates an IO relationship: both CPUs stay IO controllers on one Ethernet network and address each other's data areas directly. Open the receiving CPU's protection configuration and allow remote PUT/GET access; a CPU under full protection refuses the write and the transfer ends with an error instead.

The pairing is already worked through for a mixed pair in S7-1200 to S7-300 data exchange over I-Device or PUT/GET, and you can rehearse the two-S7-1200 case without hardware in the GET/PUT simulation between two S7-1200 CPUs in PLCSIM. T_SEND_C and T_RCV_C are the other programmed route: they carry data over TCP connections you configure yourself, they change nothing about the roles, and every measurement caveat below applies to them identically. When a transfer fails, keep the instruction's status value and chase addressing, permissions and connection configuration; a failed transfer is not a timing result.

What does an oscilloscope measure between two PLC output terminals? #

It measures end-to-end application response: the interval contains the sender's program scan, the communication service, the network transit, the receiver's program scan and both output stages, so the reading is not PROFINET wire latency.

Take the difference between the two observable edges: the delay is the time the device-side output crosses your threshold minus the time the controller-side output crosses it, with the same edge and threshold level on both channels. The reference output is not the internal event either; it lags the program event by its own output path, and the communication request leaves on its own schedule, so a common origin does not make the channels simultaneous.

That is the same discipline used to measure PLC to SCADA command response time end to end: define the first and last observable edges, subtract only those, and label the result as application response. Your number answers how long the signal takes from this terminal to that terminal, which is the question the machine asks; it does not isolate the network transit.

How long is the delay you will measure? #

With one transfer per scan and CPUs of a few milliseconds scan time, expect a maintained transition to reach the far terminal in roughly 5 to 15 ms, and a reading inside that window is a healthy exchange, not a fault.

Worked example, illustrative inputs: call both scan times 5 ms, run one PUT per sender scan, and send 64 bytes on the 100 Mbit/s PROFINET link.

  • Wire time: 64 bytes × 8 = 512 bit, and 512 bit ÷ 100 Mbit/s = 5.12 µs of serialization. Preamble and inter-frame gap keep the telegram under a few tens of microseconds, three orders below the scan terms.
  • Scan terms: best case the new state is written just before a PUT executes and the receiver picks it up at its next image refresh, about one scan. Typical is two scans, 5 ms + 5 ms = 10 ms. Worst is three scans, 3 × 5 ms = 15 ms.
  • Outputs: the transistor outputs of the DC/DC/DC version add well under a millisecond; a relay version would add several.

Suppose the scope shows 12.3 ms between the edges: that sits inside the predicted window, so the exchange behaves as the arithmetic says. What moves the number: scan time dominates, since doubling the scans doubles the window; the call rate of the transfer instructions sets how many scans fit between event and transfer; and any program condition between the received value and the output write adds another scan. The wire contributes nothing you can resolve at this setting.

Why does the receiver miss a one-scan pulse? #

A pulse that is true for one sender scan can fall entirely between two transfers, so the receiver's data never shows it and the far output never moves, although the connection itself is healthy.

With one PUT per scan the pulse is usually caught, but a single skipped call — a false run condition, an error, a buffer overwritten in the next scan — loses it, and a receiver-driven GET at a slower rate never sees a pulse that rises and falls between two reads. Lost pulses and slow response are different faults, and debugging one as the other wastes an afternoon.

Replace the pulse with a maintained state change: set a bit on the sender, leave it set until the receiver answers or you reset it, and each event then produces exactly one far-side transition with a clean edge to scope. Probe the output terminals, not the status LED: the LED is a load indicator behind its own driver path, while the terminal carries the voltage you are timing.

How do you connect the oscilloscope safely? #

Check the ground references before the first clip lands: on a bench oscilloscope the channel grounds are common to each other and to protective earth, so clipping them onto two different potentials shorts those points through the instrument.

With both CPUs on one 24 V supply and a common 0 V rail, put both ground clips on that rail and the two tips on the two output terminals — one reference potential, no current through a ground lead. If the two systems do not share a reference, use a differential or isolated probe on one channel instead of bridging the two grounds. Confirm the probe and input ratings cover the circuit before connecting; 24 V DC is inside every common probe's range, so the reference topology, not the voltage, is the hazard here.

Which route do you choose for your delay test? #

Decide by what the number must mean: to measure PROFINET IO cyclic exchange, update both CPUs to a firmware with the I-device role and configure controller and device; to measure PLC-to-PLC response with the CPUs you have, run GET/PUT and report the result as application response time.

  • The protocol number is the deliverable: update both CPUs, configure one as IO controller and the other as I-device, select the shortest update time the configuration offers, and keep the test signal maintained. Quote the configured update time as the protocol-side figure next to your scope reading, because the scope still shows application response, never the wire alone.
  • The response of the existing pair is the deliverable: keep the CPUs as they are, run GET and PUT, send a maintained transition, and report the measured milliseconds together with the scan times they depend on.
  • You only need to know the exchange works: read the transfer status and the received value, and skip the scope.

For the two CPUs on your bench today: GET and PUT, a maintained bit, channels on the two output terminals, and a result labeled end-to-end application response time — with the I-device test scheduled behind the firmware update.

Questions asked

Where does the I-device option appear once the CPU is updated?

In the CPU's PROFINET interface properties, on the page that lists the operating modes: the I-device role then appears beside the IO controller role, and the same configuration defines the transfer areas the superior controller writes and reads. Enable it on one CPU only; the other stays IO controller and references those areas from the same project or through an exported device description file.

Can an updated CPU still exchange GET and PUT data with one left on the old firmware?

Yes. GET and PUT do not need equal firmware on both sides; what matters is that the addressed data area exists on the partner and that its protection configuration allows remote access. Matching firmware becomes a requirement only for the I-device role, which must run on the CPU that acts as device.

Will the response time change if the pair later moves to I-device exchange?

Yes, and the two numbers answer different questions. Cyclic IO exchange copies the process data every update time without waiting for a program call, so the far output typically follows within one update time plus one receiver scan. GET and PUT move data only when their instructions execute, so the program's call pattern is part of the result. Do not quote the two measurements as the same quantity.

Do the two CPUs need a switch between them?

No. The S7-1200 PROFINET port negotiates line speed and cable crossing by itself, so one ordinary patch cable directly between the two CPUs carries the exchange; a switch matters only when more nodes join or you want a mirror port for packet capture. Give both CPUs addresses in one subnet, for example 192.168.1.50 and 192.168.1.51 with mask 255.255.255.0.

Keep reading

  • Troubleshooting

    Fix CODESYS PROFINET IP-change error on an S7-1200 link

    The station shows in the scan because DCP discovery answers, but the connection fails because the CODESYS runtime refuses the IP address the controller assigns. Enable the IP-address update for the bound Ethernet interface in the runtime's .cfg configuration and restart the runtime; the error names the fix itself. If you would rather not enable it, set matching fixed addresses on both sides.

    Industrial networks

  • Troubleshooting

    Fix PROFINET device ID read errors in CODESYS scans

    A device that answers DCP discovery can still fail the later RPC-based identity read, so the scan reports it cannot read the ID number. Capture one failed scan with the controller diagnostic log and let the trace pick the fix: adapter binding, a filter on the path, a rule for the returning process, or a runtime mismatch.

    Industrial networks

  • How-to

    Read PROFINET device status on an S7-400 with SFC 51 SSL 0x0194

    On an S7-400 programmed in SIMATIC Manager there is no DeviceStates block; read PROFINET device connection state by calling SFC 51 RDSYSST with SSL_ID 16#0194, check that RET_VAL is zero, and decode the returned array per the system status list definition. Devices that support automatic channel-driver generation report their state through that driver instead.

    Industrial networks