Siemens S7-1200 — Error Code 401

The S7-1200 logs error code 401 in the diagnostic buffer and the connected HMI or partner stops exchanging data, while the CPU RUN light may still be on.

Common Causes

These are the failure paths we see most often on the Siemens S7-1200 for a error code 401 condition. Likelihood reflects field frequency; First Check is what you can do remotely before sharing logs.

CauseLikelihoodFirst Check
PROFINET/communication partner not reachable (IP or name mismatch)HighCompare the device's configured name/IP to the actual partner and the station config
Hardware configuration mismatch after a downloadMediumCheck the diagnostic buffer for 'component not found' and compare the offline/online config
Flying restart / watchdog on a specific OB not loadedMediumLook for a missing OB (e.g. OB86/OB122) that the fault references
Address conflict with another node on the networkLow–MediumScan the subnet for a duplicate IP or device name

Step-by-Step Remote Checks

Work through these in order. Each step is something you can perform and report back on without opening the enclosure or swapping parts.

Open the diagnostic buffer

In TIA Portal or via the web server, read the diagnostic buffer and capture the 401 entry with its timestamp and any referenced OB or station. The detail text is the key.

Check the partner address

Confirm the communication partner's IP and device name match what the CPU expects. A renamed device or a changed IP is the usual trigger for a 401.

Compare offline/online config

Compare the downloaded hardware configuration to the actual module. A missing or different module logs a config fault that surfaces as 401.

Find the missing OB

If the fault references an organization block you have not loaded, add that OB (even empty) so the CPU handles the event instead of faulting. Note which OB the buffer names.

Re-establish and verify

After correcting the name/IP or adding the OB, go online and confirm the 401 clears and data exchange resumes with the partner.

Symptom Pattern & Related Troubleshooting

A 401 on the S7-1200 is a configuration or communication fault, almost never a dead CPU. The diagnostic buffer entry — especially any referenced OB or station — tells us precisely where the mismatch is. Cross-reference the broader collections: Error code / fault buffer · PLC & PROFINET.

Diagnostic Video (Placeholder)

Video ID is a placeholder. Replace REPLACE_WITH_REAL_ID with the real YouTube video ID before publishing; the facade loads youtube-nocookie only after a click.

Frequently Asked Questions

Do I need a new CPU or module?

Almost never. A 401 is a config or link mismatch we resolve from the buffer. We only suspect hardware if the buffer shows a physical fault, and we confirm that.

What is the flying restart case?

It is the pattern where a brief loss of a partner trips a fault that an unloaded OB would have absorbed. We identify the missing OB from the buffer and tell you which to add.

Can you read my PLC remotely?

No. You read the buffer via TIA Portal or the web server and relay it; we interpret it. We do not take control of your controller.

S7-1200 logging error 401?

Send the diagnostic buffer entry and the partner config. We pinpoint the name/IP or missing-OB fault remotely so you avoid swapping good hardware.

Submit Your Case Connect With Specialists

What We Do NOT Provide

We do not perform hardware repair, we do not replace parts, and we cannot promise a 100% resolution. Our role is limited to remote diagnostic and step-by-step guidance based on the information, photos and logs you share.

Related Troubleshooting

Siemens S7-1200 — Not Communicating

When the 401 is really a broader link loss.

Siemens Comfort Panel — HMI Not Responding

The partner side that often shows the 401 first.

All Machinery Controller faults

Full machinery controller troubleshooting collection.

Back to Machinery Controller Equipment