Siemens S7-1200 Error Code 16#0005

Siemens PLC & VFD Major Hardware

Model: S7-1200 | Code: 16#0005

Applicable Systems
S7-1200 S7-1500 S7-300 S7-400 LOGO! SINAMICS

Symptoms

The SF LED turns red and the CPU logs an I/O access error. The program attempts to access an I/O address that is not available or not configured.

Possible Causes

  • I/O module was removed but the program still references its addresses
  • Module address has been changed but the program was not updated
  • I/O configuration mismatch between hardware and software
  • Module communication interrupted due to backplane or network issues

Troubleshooting Steps

  1. Step 1: Compare the physical module layout with the hardware configuration in TIA Portal
    Identify any missing or mismatched modules between hardware and configuration
  2. Step 2: Update the hardware configuration to match the physical modules
    Configuration matches the actual hardware installed
  3. Step 3: Review the user program for hardcoded I/O addresses
    All I/O access in the program corresponds to configured modules
  4. Step 4: Download the updated hardware configuration to the CPU
    CPU starts without I/O access errors

How to Reset

To reset: 1) Update the hardware configuration in TIA Portal to match the physical modules. 2) Download the configuration to the CPU. 3) If the physical configuration is correct, power cycle the CPU. 4) Clear the diagnostic buffer. Caution: Ensure the program does not reference addresses that no longer exist.

Frequently Asked Questions

  • Q: What causes an I/O access error?

    The program tries to read or write an I/O address that is not backed by a physical or configured module, typically after hardware changes.

  • Q: How do I prevent I/O access errors after reconfiguration?

    Always update the TIA Portal hardware configuration and user program simultaneously when modules are added or removed.

Source: Siemens S7-1200 System Manual, Edition 04/2022

Category: PLC & VFD