Overview
When commissioning a machine built around a SIMATIC S7-1500 controller and a multi-axis SINAMICS S120 drive line-up, the PROFINET IRT (Isochronous Real-Time) backbone normally terminates at a dedicated IRT switch such as a SCALANCE XC-200, XC-300, or XR-300. If the IRT switch has not been delivered in time for the integration test, each SINAMICS CU320-2 control unit can substitute as a forwarding node because it integrates a managed 2-port PROFINET switch that supports IRT Class 2 (High Flexibility) and IRT Class 3 (High Performance) traffic. This reference documents the topology, the engineering constraints, the TIA Portal configuration, and the verification steps required to run a temporary network with the CU320-2 acting as the IRT forwarder before the SCALANCE switch is wired in. The same procedure is also valid for permanent installations where a cabinet footprint must be minimised and a small star can be realised with the drive-internal switch fabric.
IRT Communication Fundamentals
PROFINET IRT is the time-deterministic variant of PROFINET and is mandatory for closed-loop control applications where jitter must stay below 1 µs. The protocol is defined in IEC 61158 and IEC 61784 and is realised by reserving a fixed time slice inside each send clock for IRT frames, while non-real-time frames use the remaining bandwidth. Three IRT capability classes exist:
| IRT Class | Description | Topology Configuration | Typical Send Clock |
|---|---|---|---|
| Class 1 | Non-switched IRT, only one device per port. | Implicit (point-to-point) | 1 ms and slower |
| Class 2 (High Flexibility) | IRT with mixed RT traffic on the same network. | Configured, but flexible | 500 µs to 4 ms |
| Class 3 (High Performance) | Scheduled IRT with reserved bandwidth per port. | Fully configured topology | 250 µs to 1 ms |
An IRT domain requires a sync master, normally the PROFINET interface of the S7-1500 CPU, and one or more sync slaves. The CU320-2 with PROFINET (article number 6SL3040-1MA01-0AA0) is a sync slave and can be cascaded so that downstream CU320-2 units receive the synchronisation stream through the upstream device's integrated switch.
SINAMICS CU320-2 PROFINET Capabilities
The CU320-2 PN control unit provides two PROFINET ports, X150 P1 and X150 P2, that together form a 2-port cut-through switch. Both ports support 100 Mbit/s full duplex, autocrossover, and autonegotiation. The switch is PROFINET-conformant and forwards IRT frames in cut-through mode inside the synchronised phase, which keeps the per-hop latency at approximately 3 µs. The relevant product variants are:
| Component | Article Number | Function | Minimum Firmware |
|---|---|---|---|
| CU320-2 PN | 6SL3040-1MA01-0AA0 | PROFINET IRT, 2 ports | V4.7 |
| CU320-2 DP + CBE20 | 6SL3040-1MA00-0AA0 + 6SL3055-0AA00-5EB0 | PROFINET IRT via CBE20 | V4.7 |
| SCALANCE XC206-2SFP | 6GK5206-2BS00-2AC2 | Managed IRT switch, 6 ports | FW V2.0 |
| SCALANCE XC208 | 6GK5208-0BA00-2AC2 | Managed IRT switch, 8 ports | FW V2.0 |
The CU320-2 PN is documented in the SINAMICS S120 Function Manual, entry ID 59748931. The device supports up to 254 PROFINET IO devices when acting as IO controller, but in the cascaded topology it acts only as IO device, and the maximum number of cascaded nodes is bounded by the send clock and the sync-master capability of the S7-1500 CPU. As a rule of thumb, a CPU 1515-2 PN supports up to 32 IRT devices at 500 µs send clock, while a CPU 1518-4 PN/DP supports up to 128 IRT devices at 250 µs send clock.
Topology Architecture Comparison
The two valid topologies for the integration test are shown in the diagram below. Topology A is the production architecture; topology B is the temporary architecture with one CU320-2 forwarding IRT frames to a second line.
Both topologies are valid for IRT Class 2 and Class 3. Topology B is a pure line because the CU320-2 only has two PROFINET ports, so a third branch is impossible without a real switch. If the line-up has more than 5 drives, a star cannot be realised with drive-internal switching and Topology A must be adopted before the FAT (Factory Acceptance Test).
Prerequisites and Engineering Data
Before changing the topology, gather the following data from the existing project:
- PROFINET device name and IP of every CU320-2 (default name
sinamics-s120-cu320-2, default IP 192.168.0.10 + offset). - Firmware version of each CU320-2 (read with SINAMICS Starter or TIA Portal online → Diagnostics → Module Information).
- Send clock currently used in the PROFINET IO system (typical: 500 µs, 1 ms, 2 ms, or 4 ms).
- Reduction ratio of the IRT applications (typical 1, 2, 4, 8, 16, 32, 64).
- Sync domain ID and role (sync master / sync slave) of the S7-1500 PROFINET interface.
- Topology editor port interconnections from the TIA Portal project.
The hardware support package (HSP) for SINAMICS S120 must be installed in TIA Portal. For firmware V5.x and V6.x use HSP SINAMICS_S120_V60_HSP.zip; for V4.8 use HSP SINAMICS_S120_V48_HSP.zip. The HSPs are delivered via the TIA Portal hardware catalog under "Other field devices → PROFINET IO → Drives → Siemens AG → SINAMICS".
Step-by-Step: TIA Portal Configuration
- Open the TIA Portal project that contains the S7-1500 station and the SINAMICS S120 devices. Switch to the Devices & Networks view.
- Select the SCALANCE switch entry and disconnect its port
P1from the S7-1500 PROFINET port. Keep the device in the project; it is required for the final topology. - Connect the S7-1500 PROFINET port
X1 P1directly to portP1of the first CU320-2 (the head of line 1). Use the Topology editor and pick "Add PROFINET port interconnection". The local port name appears asPort 1on the CU320-2 PN. - Connect port
P2of the first CU320-2 to portP1of the second CU320-2 (line 1 second node). Repeat for every drive in line 1. - Connect port
P2of the second CU320-2 of line 1 to portP1of the first CU320-2 of line 2 if a second line is required. The cascading CU320-2 forwards the IRT stream in cut-through mode and remains a sync slave to the S7-1500. - Open the properties of the PROFINET interface of the S7-1500 CPU and verify the Real-Time settings:
Send clock = 500 µs,Reduction ratio = 1,Watchdog time = 3 × send clock,IRT class = Class 3if isochronous application; otherwise Class 2. - For each CU320-2, open Properties → PROFINET interface → Real-Time settings and set the device role to
IO device,IRT mode = IRT top(mandatory for sync forwarding), andSynchronisation role = Sync slave. - Compile the project. In the topology check the message "Topology is consistent" must appear; otherwise open the Topology editor and verify the partner port numbers.
- Download the project to the S7-1500. Restart the drives in sequence (line 1 head first, then cascaded drives) so the sync domain builds in the correct order.
Send Clock and Reduction Ratio Tuning
The send clock defines the basic cycle of the IRT phase, while the reduction ratio determines how many send clocks fit into one application cycle. Both parameters must be set consistently across the sync domain. The following table lists valid combinations for the S7-1500 and CU320-2 combination:
| Application | Send Clock | Reduction Ratio | App Cycle | Max Cascaded Nodes |
|---|---|---|---|---|
| Positioning, single-axis | 500 µs | 1 | 500 µs | 32 |
| Interpolated cam, 4 axes | 500 µs | 2 | 1 ms | 32 |
| High-dynamic servo | 250 µs | 1 | 250 µs | 16 |
| Standard speed control | 1 ms | 4 | 4 ms | 64 |
When the network grows beyond 16 nodes, increase the send clock to 1 ms or 2 ms before the reduction ratio; raising the reduction ratio does not help scalability. The CU320-2 with firmware V5.2 SP3 and later supports a send clock of 250 µs; V4.8 only supports 500 µs minimum.
SINETPLAN Validation Workflow
SINETPLAN is a Siemens network planning tool that loads a TIA Portal export, models the wired topology, and simulates update time, jitter, and bandwidth utilisation. The V2.0 trial mentioned in the original engineering note is still distributed via the Siemens Industry Online Support, entry ID 109762388. The validation workflow is:
- Export the project from TIA Portal via "Project → Export → SINETPLAN (.xml)".
- Open SINETPLAN V2.0 and import the XML file. The tool will draw the topology and colour the IRT lines in red, RT lines in green.
- Open the Simulation tab and set the PROFINET update time for the S7-1500 IO system to the configured send clock.
- Run the bandwidth check. SINETPLAN will report a warning if the IRT phase exceeds 50 % of the send clock. A red exclamation icon means the network is overbooked and the send clock must be increased.
- Compare two project snapshots: one with the SCALANCE switch and one with the cascading CU320-2. The tool will list the additional per-hop latency of approximately 1.8 µs introduced by the drive-internal switch.
- Save the SINETPLAN report as a PDF and attach it to the commissioning log.
For permanent installations a SINETPLAN report is recommended as part of the FAT documentation because the simulation exposes bottle-necks that are not visible in TIA Portal.
Performance Implications
The integrated 2-port switch in the CU320-2 PN adds approximately 1.8 µs of cut-through latency per hop. In a temporary line of five drives the total synchronisation latency is therefore 5 × 1.8 µs = 9 µs, which is well below the 1 µs jitter limit per hop. In a star with a SCALANCE XC-300, the per-hop latency is typically 0.9 µs and the store-and-forward jitter is bounded to ± 0.3 µs. The two values are not directly additive: cut-through latency is deterministic for IRT frames, while store-and-forward jitter is the more relevant metric for RT traffic that shares the line. The practical conclusions are:
- For pure IRT Class 3 networks with isochronous application, the difference between SCALANCE and CU320-2 cascading is negligible because the IRT phase is scheduled to the slowest device.
- For mixed IRT Class 2 networks with significant RT load (HMI, ET 200, third-party IO), the SCALANCE switch is preferred because the larger frame buffer absorbs bursts.
- The maximum number of cascaded CU320-2 units is governed by the cumulative sync jitter, which must stay below ± 5 µs across the whole chain. With a 1.8 µs per-hop latency this allows a chain length of up to 5 devices at 500 µs send clock.
- The CU320-2 does not support port-priority or VLAN tagging for IRT frames. If the network requires QoS separation between IRT and RT, a SCALANCE must be inserted in front of the CU320-2 cluster.
Verification and Commissioning Checklist
- Check that all CU320-2 devices show a green PROFINET link LED on both X150 ports and that the Sync LED (SF/BF) is off. A steady yellow SF LED indicates a topology error; a flashing BF LED indicates loss of sync.
- In TIA Portal online, open the Diagnostics view of the S7-1500 PROFINET interface and confirm the message "Sync domain 1 active, 5 sync slaves connected" (or the appropriate count).
- Open Starter / Startdrive online and verify the isochronous time stamp of every drive. The stamp should be stable at the configured value (e.g., 500 µs ± 1 µs).
- Trigger a controlled stop and re-start of the line. Verify that all drives come back to the synchronised state within 3 send clocks (1.5 ms at 500 µs).
- Run a 24-hour soak test with the maximum axis velocity and confirm zero synchronisation faults in the diagnostic buffer.
- Replace the temporary topology with the SCALANCE switch, re-run the same checklist, and compare the per-axis jitter values. A delta of less than 0.5 µs confirms that the temporary CU320-2 cascading was within spec.
Troubleshooting Matrix
| Symptom | Likely Cause | Diagnostic Step | Remedy |
|---|---|---|---|
| Sync LED off on CU320-2 | Cascading device is set to IRT net instead of IRT top | TIA Portal → PROFINET IO → Device → Real-Time settings | Change IRT option to "IRT top" |
| BF LED flashing on second drive in chain | Partner port name mismatch in topology | Topology editor → compare port numbering | Recreate the PROFINET port interconnection, recompile and download |
| Update time violation in SINETPLAN | Send clock too low for cascaded count | SINETPLAN → Simulation → Bandwidth | Raise send clock from 500 µs to 1 ms or split into two IO systems |
| Drive reports F08501 (sync loss) | Store-and-forward delay in third-party switch between CU320-2 nodes | Check the device on the link with Wireshark / PROFINET analyser | Replace third-party switch with SCALANCE; CU320-2 cannot filter on sync frames |
| HMI connection drops during axis motion | RT traffic starvation when cascading CU320-2 acts as switch | PROFINET analyser, look at RT bandwidth | Insert a SCALANCE switch with priority queue for RT |
| Topology check warning: ring detected | A spare cable creates a ring through the cabinet | Physical inspection or SINETPLAN ring detection | Remove the spare cable; enable MRP only on SCALANCE switches |
FAQ
Can a SINAMICS CU320-2 be used as a PROFINET IRT switch between two drive lines?
Yes. The CU320-2 PN (6SL3040-1MA01-0AA0) integrates a 2-port managed switch that supports IRT Class 2 and Class 3. Connect the second line to port X150 P2 of the first CU320-2 of line 1 and set the IRT option to "IRT top" so the device forwards the synchronisation stream to the cascaded nodes.
What is the maximum number of CU320-2 units I can cascade in IRT?
At a 500 µs send clock, chain up to 5 devices to keep cumulative sync jitter below ± 5 µs. At 1 ms send clock the chain can reach 10 devices, and at 2 ms it can reach 16 devices. The exact number is verified with SINETPLAN V2.0 (entry ID 109762388).
Does the temporary topology work with isochronous mode on the S7-1500?
Yes, provided every cascading CU320-2 is configured as IRT top and as a sync slave. The isochronous application of the S7-1500 (OB 61) will then use the same time stamp on every drive regardless of the cascading depth, with an additional ~1.8 µs per-hop latency.
How do I validate the network before plugging in the SCALANCE switch?
Export the TIA Portal project to a SINETPLAN V2.0 XML, run the bandwidth simulation, and verify the IRT phase utilisation stays below 50 % of the send clock. Document the simulation result in the commissioning log so the final SCALANCE topology can be compared against the temporary one.
Is the CU320-2 DP variant usable as an IRT switch?
No, the CU320-2 DP (6SL3040-1MA00-0AA0) has no integrated PROFINET ports. To use it as an IRT forwarder you must plug in the CBE20 communication board (6SL3055-0AA00-5EB0), which then provides the same 2-port PROFINET switch as the CU320-2 PN.