Standard Ethernet Cable with S7-300 and Scalance X216

David Krause12 min read
Industrial NetworkingSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Standard Ethernet Cable with Siemens S7-300 and SCALANCE X216: Field Troubleshooting Guide

When commissioning a Siemens S7-300 station that includes an S7-317F CPU, a SINUMERIK PCU50.3, an OP012 operator panel, and a SCALANCE X216 managed industrial Ethernet switch, technicians frequently encounter a scenario where the SCALANCE X216 port LEDs fail to illuminate when standard commercial-grade Cat 5e patch cords are used. The same cables, when plugged into a service laptop, immediately show link activity. This guide explains the underlying cabling, port, and configuration constraints and provides a complete diagnostic and remediation procedure.

1. Problem Description

The original symptom set, as observed during a CNC retrofit commissioning:

  • SCALANCE X216 power LED green, mode selector in RUN position, but STOP LED also illuminated (no PLC project loaded to the switch).
  • Standard Cat 5e straight-through patch cables from inside the enclosure (CPU PN port, PCU50.3 system port, OP012) to the SCALANCE X216 produce no link LED on the switch and no port activity on the PLC/HMI side.
  • The same physical cable, when plugged into a service laptop, immediately raises link and activity LEDs on both the laptop and the SCALANCE X216 port.
  • No application communication (PROFINET, S7 communication, HMI tags) is established.

The contradictory behavior - cable works with laptop, fails with PLC - is the central clue. It eliminates the cable itself as the fault and points to either port configuration, port enable state, or PROFINET device naming on the controller/HMI side.

2. Cable Fundamentals: Straight-Through, Crossover, and Auto-MDI/MDIX

Standard Ethernet patch cables used in office environments are specified in TIA-568 and ISO/IEC 11801 as straight-through (TIA-568-B on both ends) for connection between a terminal (DTE) and a switch/hub (DCE). Crossover cables (one end TIA-568-A, the other TIA-568-B) are required only when directly connecting two DTEs or two DCEs without an intervening switch.

All current-generation Siemens PROFINET devices, including the SCALANCE X216 and the integrated PROFINET interface on the S7-317F CPU, support Auto-MDI/MDIX. This means the PHY automatically detects the required pinout and configures its transceiver accordingly. A crossover cable is never required when connecting to a SCALANCE X216. A straight-through Cat 5e cable is the correct, manufacturer-recommended choice for the panel-to-switch link.

Reference: For general Ethernet cabling specifications, see Eaton - Ethernet Cable Types and the Wikipedia Ethernet overview. For Siemens PROFINET cabling specifically, the PROFINET Installation Guide (Siemens document ID 6ES7198-8AB10-0AA0 or its current release) is the authoritative source.

3. SCALANCE X216 Hardware Reference

The SCALANCE X216 is a 16-port managed industrial Ethernet switch designed for use in SIMATIC NET industrial networks. It supports 10/100 Mbps on all 16 RJ45 ports and is configured through Web Based Management (WBM) or STEP 7 / TIA Portal.

SCALANCE X216 Key Hardware Data
Parameter Value
Order number (X216) 6GK5216-0BA00-2AA3 (typical release)
Ports 16 x RJ45, 10/100 Mbps, Auto-MDI/MDIX
Supported standards IEEE 802.3, 802.3u, 802.1D, 802.1Q, 802.1p
Power supply 24 V DC, redundant inputs
Mode selector RUN / STOP / RESET (key-operated or rotary depending on variant)
Fault LED (STOP) Lights when in STOP mode, redundant power lost, or no configuration loaded
Port LEDs Per port: link (green) + activity (yellow flashing)
Configuration ports Any Ethernet port (WBM) or serial (where fitted)

3.1 LED Status Reference

SCALANCE X216 LED Meanings
LED State Meaning
P (Power) Green Power supply OK
STOP / Fault Red Switch in STOP, no project, ring redundancy break, or power supply 1/2 missing
Port LED (green) Off No physical link
Port LED (green) On Link present, no traffic
Port LED (yellow flashing) On with green Link present, data activity
RM (Ring Manager) Green Ring redundancy manager active

A persistently lit STOP LED on the SCALANCE X216, even with the mode selector in RUN, is normal in two cases:

  1. No configuration has been downloaded to the switch (factory state).
  2. The switch has detected a fault condition (e.g., ring break, loss of redundant power).

The STOP LED does not prevent the switch from passing Ethernet frames. The device continues to act as an unmanaged switch until a STEP 7 / TIA Portal project is downloaded. This is why the laptop connection raised link LEDs - the SCALANCE X216 was correctly passing frames at Layer 2.

4. S7-317F PROFINET Interface

The S7-317F (order number 6ES7317-6FF00-0AB0 and successors) is a Failsafe CPU with an integrated PROFINET interface on port X1 (PN interface). The interface supports PROFINET IO controller and IO device operation simultaneously, with two physical ports (X1 P1, X1 P2) for integrated switch functionality.

S7-317F PROFINET Interface Properties
Property Value
Interface designation X1 (PN interface)
Physical ports X1 P1 (top), X1 P2 (bottom)
Speed 10/100 Mbps, auto-negotiation, Auto-MDI/MDIX
Supported protocols PROFINET IO, S7 communication, open TCP/IP, ISO-on-TCP, UDP, SNMP, DCP, LLDP
Default IP (out-of-box) 0.0.0.0 - no link until project is loaded
Default PROFINET device name None (must be assigned)

4.1 Out-of-Box Port Behavior

An S7-317F delivered from the factory, with no STEP 7 / TIA Portal project loaded, has its PROFINET interface in an unconfigured state. The interface does not respond to DCP identification requests and does not raise a link LED on the SCALANCE X216 port because the CPU's PN stack is not yet running. The integrated switch in the CPU is also inactive.

This is the most common cause of the original symptom set. The cable is correct, the SCALANCE X216 is correct, the port speed matches - but the S7-317F PROFINET interface is not yet running its communication stack because the configuration has not been downloaded.

Critical: The CPU RUN LED and the PN interface LINK LED are independent. A CPU can be in RUN with a valid OB1 cycle executing, while its PROFINET interface is inactive because no PROFINET IO system has been configured and downloaded to it. This is often misdiagnosed as a cable or switch fault.

5. SINUMERIK PCU50.3 and OP012 Port Map

The SINUMERIK PCU50.3 (Panel Control Unit) is an industrial PC running Windows Embedded Standard 7 (or successor) for HMI/NCK visualization. It provides multiple Ethernet interfaces, each with a fixed system role.

PCU50.3 Standard Ethernet Interface Assignment
Port Designation Function
X1 Company network Connection to plant network
X2 System network / NCU Connection to NCU and HMI components (recommended for SCALANCE)
X3 / X4 I/O or service Variant dependent

For an S7-317F + PCU50.3 + OP012 topology, the SCALANCE X216 is connected to port X2 (system port #2) of the PCU50.3. The OP012 thin client typically derives its connection via the PCU50.3 internally or via a dedicated port on the SCALANCE X216.

The PCU50.3 ports are enabled in the operating system. If the operating system has not been commissioned (no IP address set, NCU link not configured), the port LED may not illuminate on the SCALANCE X216 even though the PHY is powered. Confirm:

  1. Windows network adapter is enabled in ncuad.ini or SINUMERIK configuration.
  2. TCP/IP stack is bound to the correct interface.
  3. No firewall is blocking broadcast frames (DCP, LLDP).

6. Diagnostic Procedure

Follow this sequence when an S7-300 station does not link on PROFINET ports against a SCALANCE X216:

6.1 Confirm the Physical Layer

  1. Verify the SCALANCE X216 P LED is solid green and 24 V DC is within tolerance (20.4 - 28.8 V).
  2. Plug a known-good straight-through Cat 5e cable from the service laptop to the suspect SCALANCE X216 port. Confirm link LED within 2 seconds.
  3. Plug the same cable into the S7-317F X1 P1. Observe the CPU's PROFINET port LED (X1 P1).
  4. Plug the same cable into the PCU50.3 X2. Observe the PCU50.3 link LED.

6.2 Confirm the Configuration Layer

  1. Open TIA Portal or STEP 7 (matching the project format).
  2. In the device configuration of the S7-317F, confirm the PROFINET interface X1 is enabled and an IP address is assigned (e.g., 192.168.0.1 / 255.255.255.0).
  3. Confirm a PROFINET IO system is configured with at least one IO device, or that the interface is set to "Operate as PN IO Controller without IO".
  4. Assign a PROFINET device name (e.g., plc300) to the CPU.
  5. Compile and download the hardware configuration to the S7-317F.
  6. Power-cycle the CPU to ensure the PROFINET stack restarts with the new configuration.

6.3 Confirm the PCU50.3 Network Stack

  1. Connect a service monitor to the PCU50.3 (DVI/VGA, USB keyboard).
  2. Log in as auduser (default) or service user.
  3. Open Control Panel > Network Connections.
  4. Confirm the system port (X2) is enabled and has the correct static IP (commonly 192.168.0.2 / 255.255.255.0).
  5. Ping the S7-317F from the PCU50.3 command prompt: ping 192.168.0.1.

6.4 Confirm OP012 Behavior

The OP012 operator panel connects either via the PCU50.3 internal bus or via a dedicated Ethernet link to the SCALANCE X216. The OP012 itself is a thin-client display; it does not run a full PROFINET stack. If its link LED is dark, the issue is on the OP012 thin-client configuration, not on the S7-300 or SCALANCE X216.

7. Cable Specification for Industrial Use

Inside the enclosure, the same Cat 5e patch cables used in commercial networks are acceptable provided they meet basic mechanical and EMC requirements:

Acceptable Cable Types for Inside-Enclosure PROFINET Links
Cable Use Case Notes
Cat 5e UTP PVC, 26 AWG Inside enclosure, static routing Lowest cost, acceptable for cabinet-internal use
Cat 5e SF/UTP (overall shield) Inside enclosure near VFDs / contactors Recommended where EMC is a concern
PROFINET Type C (Cat 5e SF/UTP) Siemens 6XV1840-2AH10 Industrial-grade, designed for drag-chain, oil resistance
PROFINET Type B Flexible industrial use Siemens 6XV1840-2B... variants

Outside the enclosure, where the cable crosses the factory floor, Siemens PROFINET Type C or Type B cables are recommended. These use double shielding and an inner jacket to survive industrial environments. The hybrid approach - commercial Cat 5e inside, industrial Type C outside - is a common and approved design.

Maximum segment length: 100 m (328 ft) for 10/100BaseT per IEEE 802.3. Industrial PROFINET Type C retains this limit. For longer distances, use SCALANCE X switches as media converters, or use fiber-optic variants (SCALANCE X216 has no fiber ports - choose X208 / X212 / XF200 series for fiber).

8. Why the Laptop Test "Worked"

The diagnostic value of the laptop connection is significant. A laptop's Ethernet adapter:

  • Is enabled by default in the operating system.
  • Runs an auto-negotiation and link-up sequence immediately upon cable insertion.
  • Drives the PHY transmit pairs, which causes the SCALANCE X216 to detect link and raise its port LED.

By contrast, an S7-317F PROFINET interface, a PCU50.3, and an OP012 each require application-level configuration before their PHYs are activated. The cables, switch, and pinout are correct. The problem is upstream: the PROFINET stack is not yet running on the device side.

9. Verification

After completing the configuration steps in Section 6, verify the network with the following checks:

  1. SCALANCE X216 port LEDs are green and flashing yellow on every connected port.
  2. S7-317F X1 P1 LED is green (link) and flashing yellow (activity).
  3. PCU50.3 X2 LED is green on the system port.
  4. From TIA Portal, use Online > Accessible Nodes to confirm the S7-317F and PCU50.3 are visible.
  5. Use PRONETA (Siemens free PROFINET diagnostics tool) to scan the network and verify device names, IP addresses, and IO status.
  6. From the PCU50.3, ping the S7-317F PROFINET address: ping 192.168.0.1 should return <1 ms replies.
  7. Verify the OP012 HMI tags update live (e.g., a forced bit in OB1 should appear on the panel).

10. Common Fault Matrix

Symptom-to-Cause Matrix
Symptom Most Likely Cause Remediation
No link LED on SCALANCE X216 port for any device Switch port disabled in WBM Enable port in Web Based Management
No link LED on S7-317F X1 P1 only No hardware configuration downloaded to CPU Download HW config from TIA Portal / STEP 7
No link LED on PCU50.3 X2 only Network adapter disabled in Windows Enable adapter in SINUMERIK configuration
Link LED present, no PROFINET IO PROFINET device name mismatch Assign name via PRONETA or TIA Portal
Link LED present, intermittent drops EMI from VFD / contactor Switch to SF/UTP or PROFINET Type C
SCALANCE X216 STOP LED on, no project Factory state - normal Download configuration, or accept and proceed
SCALANCE X216 STOP LED on after project loaded Ring break, power supply loss Check ring cabling and 24 V redundancy

11. S7-300 vs S7-1200/1500 PROFINET Differences

Engineers transitioning from S7-300 to S7-1200 or S7-1500 should note that the newer CPU families have PROFINET enabled by default with link-up behavior more similar to a laptop. The S7-300, particularly the older 31x PN/DP variants, requires the project to be downloaded before the interface becomes active. If the same SCALANCE X216 and same Cat 5e cables behave differently between the two generations, the cause is most often the project-download state, not the hardware.

12. Safety Note for F-CPU Installations

The S7-317F is a Failsafe CPU. When commissioning PROFINET with safety (PROFIsafe) devices, additional checks are required:

  • F-CPU signature must be consistent across the project and the safety program.
  • PROFIsafe addresses must be assigned uniquely.
  • F-runtime group must be activated and confirmed in the safety program viewer.

Do not interpret a safety-program compilation error as a network fault. The PROFINET link itself is independent of the safety stack.

Can I use a standard Cat 5e Ethernet cable between an S7-300 and a SCALANCE X216?

Yes. Standard straight-through Cat 5e UTP or SF/UTP cables are fully supported for inside-enclosure PROFINET links. Outside the enclosure, Siemens PROFINET Type C (6XV1840-2AH10) is recommended for EMC and mechanical robustness. Maximum segment length is 100 m.

Do I need a crossover cable for SCALANCE X216 connections?

No. The SCALANCE X216 and all current Siemens PROFINET devices support Auto-MDI/MDIX, so a straight-through cable works in every case. Crossover cables are never required when connecting to a SCALANCE switch.

Why does the S7-317F PROFINET port not link even with the CPU in RUN?

An S7-317F out of the factory, or one without a downloaded hardware configuration, does not activate its PROFINET interface. The CPU executes the user program but the PROFINET stack remains inactive. Download the hardware configuration with the PROFINET interface enabled and an IP address assigned, then power-cycle the CPU.

Is the SCALANCE X216 STOP LED a fault when the switch has no project loaded?

No. A persistent STOP LED with the mode selector in RUN is normal in factory-fresh or unconfigured switches. The STOP LED also lights on ring break or loss of redundant 24 V supply. In all cases, the switch continues to pass Ethernet frames at Layer 2 even while the STOP LED is lit.

Why does my laptop link to the SCALANCE X216 but my S7-300 does not?

The laptop's Ethernet adapter is enabled and its PHY is active by default. The S7-300 PROFINET interface, the PCU50.3 system port, and the OP012 thin client each require configuration before the PHY is activated. Use the laptop test to confirm the cable and switch port are functional, then focus on the device-side configuration as the root cause.

Back to blog