1. Problem Definition: Sub-Millisecond Logic for Small I/O Counts
A recurring selection problem in industrial automation is the pairing of a compact 6-input / 5-output control task with a cycle-time requirement of one to two milliseconds. Typical applications include high-speed diverters, indexing conveyors, packaging reject gates, and small stamping presses where standard high-speed counter (HSC) firmware on a micro-PLC is overkill but the scan time of an entry-level CPU becomes the bottleneck.
For engineers who have already deployed an SIMATIC S7-200 CPU 224XP at measured scan times of 3-5 ms, the natural upgrade question is whether a jump to the S7-300 family reduces scan time to the 1-2 ms target without changing the architecture, or whether the right answer is a dedicated FM352-5 high-speed cam controller. The discussion below distills field experience into the engineering criteria needed to choose correctly the first time.
2. S7-200 Series Performance Baseline
The S7-200 family is the legacy micro-PLC tier designed for standalone machines. Two CPU classes are relevant to the scan-time question.
| Parameter | CPU 222 | CPU 224XP |
|---|---|---|
| Onboard digital inputs | 8 | 14 |
| Onboard digital outputs | 6 | 10 |
| Analog I/O onboard | none | 2 AI / 1 AO |
| Bit execution time | 0.22 µs | 0.22 µs |
| Program memory | 4 KB | 12 KB |
| Data memory | 2 KB | 8 KB |
| Built-in HSC channels | 4 at 20 kHz | 3 at 100 kHz, 1 at 200 kHz |
| Pulse outputs | 2 at 20 kHz | 2 at 100 kHz |
| Typical full-scan with typical user logic | 3-5 ms | 3-5 ms |
Bit execution at 0.22 µs is not the limiting factor for a 6I/5O program - it is the cycle overhead of the operating system, the I/O image update, and the PPI/MPI/Modbus housekeeping. Field measurement consistently shows the 3-5 ms scan range for a realistic user program. The S7-200 cannot drop below this floor without moving the time-critical work into the interrupt routines attached to the HSC inputs (I0.0-I0.3 on the 224XP).
3. S7-300 Scan Time Architecture
The S7-300 family replaces the micro-PLC scan model with a backplane-coupled modular PLC in which the central CPU executes OB1, hardware interrupt OBs (OB40-OB47), and time-of-day OBs at deterministic intervals. For an empty program (one BE / BEC instruction in OB1), measured scan time sits in the 0.5-1.0 ms range on a CPU 314 or higher. A realistic user program with I/O image update and PROFIBUS housekeeping typically scans at 1-3 ms on mid-range CPUs.
| CPU | Bit execution | Work memory (code + data) | Typical empty OB1 scan |
|---|---|---|---|
| CPU 312 | 0.2 µs | 16 KB | ~2 ms |
| CPU 314 | 0.1 µs | 64 KB | ~1 ms |
| CPU 315-2 DP | 0.1 µs | 128 KB | ~1 ms |
| CPU 317-2 DP/PN | 0.05 µs | 512 KB | < 1 ms |
| CPU 319-3 PN/DP | 0.02 µs | 1.4 MB | < 0.5 ms |
The CPU 317 was the fastest 300-series controller at the time of the original engineering discussion. The CPU 319-3 PN/DP later took that position. For a 6I/5O high-speed logic task the CPU 314 is the smallest hardware that consistently reaches the 1-2 ms target with margin; the CPU 315-2 DP is preferred when PROFIBUS DP is also required.
3.1 Backplane and Power Supply Architecture
Unlike the all-in-one S7-200, an S7-300 station requires a separate PS 305 / PS 307 power supply and an S7-300 rail. A minimum system for the application is:
- 1 x PS 307 (5 A) or PS 305
- 1 x CPU (e.g., 315-2 DP)
- 1 x SM 321 DI 16 x 24 VDC input module
- 1 x SM 322 DO 16 x 24 VDC / 0.5 A output module
- Optionally 1 x SM 323 DI 8 / DO 8 if you want a single combined I/O module
Add a PROFIBUS connector if DP is used. The single-tier architecture can be installed on a 160 mm or 480 mm rail.
4. S7-400 vs S7-300 Differentiation
The S7-400 is not just a faster S7-300. The two families target different application tiers:
| Attribute | S7-300 | S7-400 |
|---|---|---|
| Bit execution (top CPU) | 0.02 µs (319-3) | 0.018 µs (CPU 417-4) |
| Max I/O per station | ~1024 points | ~65536 points |
| Multicomputing | No | Up to 4 CPUs in one rack |
| Hot standby | No | Yes (S7-400H) |
| Backplane bandwidth | Shared parallel K-bus, lower throughput | Segmented backplane with dedicated communication bus |
| Indicative CPU-only cost (legacy list) | $900 - $4000 | $5000 - $15000+ |
| Typical application tier | Mid-range machine control | Plant-wide process control |
For a 6I/5O task with a 1-2 ms scan target, the S7-400 is engineering overkill. The CPU 317 or 319-3 already delivers the cycle-time budget, and the S7-400's price delta is consumed by capability that the application does not exercise (multicomputing, large symbol tables, redundant hot-standby). Reserve S7-400 for systems where the larger I/O count, the segmented communication bus, or the redundant configuration are actually required.
5. Cost Analysis by Family
Relative cost rather than absolute list price is the more useful decision input. The numbers below are legacy list pricing in U.S. dollars and are indicative only - obtain a current quote from your regional Siemens distributor.
| Component | S7-200 (CPU 224XP) | S7-300 (CPU 315-2 DP minimal) | FM352-5 standalone |
|---|---|---|---|
| CPU only | ~$495 | ~$1500 | ~$700 (~$770 USD) |
| PS 307 / external 24 VDC | included | ~$300 | ~$30 (24 VDC supply) |
| I/O module(s) | included onboard | ~$300 - $500 | included (8 DI / 8 DO onboard) |
| Backplane / rail | none | ~$50 | none |
| Programming software | STEP 7-Micro/WIN (~$500 list, often bundled) | STEP 7 V5.x or STEP 7 Lite (~$2500 list for full STEP 7; Lite is significantly cheaper) | FM CAM configuration tool (bundled with module) |
| Indicative system total | ~$500 - $1000 | ~$3000 - $4000 | ~$800 - $1000 (if no HMI required) |
The S7-300 system is approximately 50% more expensive than an S7-200 system once the power supply, I/O modules, and full STEP 7 license are included. The FM352-5 sits between the two: higher than an S7-200, lower than a full S7-300 station - but it is a function module, not a general-purpose PLC, so the comparison only holds if the application is genuinely a high-speed cam / position task.
6. FM352-5 High-Speed Cam Controller Alternative
If the real engineering requirement is a deterministic cam profile with sub-millisecond response - for example a flying cutoff knife, a glue-stitch trigger, or a packaging sealer - the S7-300 + FM352-5 combination is the legacy Siemens answer. The FM 352-5 is a single-width function module with the following hardware characteristics:
| Attribute | Specification |
|---|---|
| Digital inputs | 8 (24 VDC) |
| Digital outputs | 8 (24 VDC, 0.5 A) |
| Encoder inputs | 2 (RS422 / TTL differential, up to 1 MHz) |
| Available "normal" digital inputs via encoder pins | 5 (when not used as encoder) |
| Cam tracks | up to 32 |
| Operating modes | |
| Standalone (no S7 CPU) | Supported - module runs from its own configuration |
| Coupled to S7-300 CPU | Supported - cam data exchanged via process image |
| Cycle resolution | Sub-millisecond, microsecond comparator response |
The FM352-5 can be deployed without a host S7-300 CPU. In this standalone configuration the cam program is configured in the FM CAM software, the module is powered from a 24 VDC supply, and the 8 DI / 8 DO + encoder inputs are wired directly to the machine. This is the configuration that gives the 6I/5O application the smallest hardware stack and the lowest cabinet footprint.
6.1 Memory Constraint on the FM352-5
The standalone FM352-5 has a finite internal cam program memory. Highly branched cam logic, large position tables, or dozens of cam tracks can exceed the memory and force a migration to the coupled configuration with an S7 CPU as the master. For a single-track, two-cam profile the memory is comfortable; for a 32-track packaging machine with recipe management it is not.
7. Programming Environment Compatibility
Three separate programming environments are involved across the families:
| Software | Target PLC | Editor | Notes |
|---|---|---|---|
| STEP 7-Micro/WIN (V4.0 SP9 last classic release) | S7-200 | LAD, FBD, STL | Windows-only, no TIA Portal support for S7-200 |
| STEP 7 V5.x (V5.7 last release) with Simatic Manager | S7-300, S7-400, ET 200M | LAD, FBD, STL, SCL, GRAPH | Classic engineering environment |
| TIA Portal (V13 and later) | S7-1200, S7-1500, ET 200SP, WinCC | LAD, FBD, SCL, GRAPH | Modern engineering environment for current generation |
There is no program-level compatibility between Micro/WIN and STEP 7. An S7-200 program cannot be opened, compiled, or converted by Simatic Manager. The two families use different instruction sets, different memory models (Merkers / DBs vs. V-memory and data pages), different I/O addressing, and different programming conventions.
An engineer trained on Micro/WIN can read a STEP 7 LAD diagram but should expect a learning curve for SCL, multi-instance FBs, and the S7-300 / S7-400 hardware configuration table. The reciprocal is also true: a STEP 7 engineer moving to Micro/WIN must relearn the S7-200 cycle model and the PPI / Modbus RTU master configuration.
For a guide on S7-1200 / TIA Portal basics that mirrors some of these conceptual questions (function blocks, data blocks, global memory initialization), refer to the Siemens forum thread at Basic questions about SIMATIC S7 1200 on SiePortal.
8. Operator Interface Constraints
- Couple the FM352-5 to an S7-300 CPU and then attach a TP-series panel (TP177, TP277) over MPI or PROFIBUS. This adds an S7-300 CPU to the bill of materials.
- Use a SIMATIC HMI directly on the FM352-5 with limited MPI / PROFIBUS attachment - operationally possible but historically undocumented and not recommended.
- PC-based supervisory layer communicating with the FM352-5 over RS232 and using a Visual Basic or C# application. Engineering cost is high and lifecycle support is poor.
If a TP-series panel is mandatory for operator acceptance, the FM352-5 + S7-300 CPU is the path. If a basic status panel is acceptable, consider an S7-1200 + TM Timer / TM Count or a S7-1500 with a SIMATIC HMI Unified Comfort Panel over PROFINET, which gives the sub-millisecond response and the HMI in a single architecture.
9. Standalone vs CPU-Coupled Deployment
| Decision criterion | FM352-5 standalone | FM352-5 coupled to S7-300 CPU |
|---|---|---|
| Hardware count | 1 module + 24 VDC PS | FM + CPU + PS + rail |
| HMI support | Limited / none | Full TP / MP series |
| Recipe / parameter management | Manual via FM CAM | From S7 CPU recipe DBs |
| Additional digital logic | Not available | Yes - standard S7-300 program |
| Indicative cost | ~$800 - $1000 | ~$3500 - $4500 |
| Programming tool | FM CAM | FM CAM + STEP 7 |
For the application as defined (6I/5O, no HMI, deterministic sub-ms cam profile), the standalone configuration is the correct answer. For an application that needs both the cam profile and general-purpose logic plus an HMI, the coupled configuration is correct - and the standalone cost advantage disappears.
10. Selection Decision Matrix
| Requirement | Recommended family | Notes |
|---|---|---|
| 3-5 ms scan acceptable, no HMI, lowest cost | S7-200 (CPU 224XP) | Stays in installed base; confirm spare availability |
| 1-2 ms scan, 6I/5O, no HMI, no cam profile | S7-300 CPU 314 or 315-2 DP | Add STEP 7 Lite license, expect $3000-$4000 system |
| 1-2 ms scan plus TP-series HMI | S7-300 + TP177 + FM352-5 coupled | Full architecture, highest hardware count |
| Sub-millisecond cam profile, no HMI | FM352-5 standalone | Single module solution, ~$800 - $1000 |
| Large I/O count or redundant CPU | S7-400 | Plant-tier PLC, not justified by 6I/5O |
| New project (not legacy retrofit) | S7-1200 or S7-1500 + TIA Portal | Current generation, full lifecycle support |
11. Field-Commissioned Sizing Procedure
Use the following sequence to validate the scan-time assumption on installed hardware before committing to a migration.
- Measure the current scan. On the S7-200, read SMW22 (scan time, ms) and SMB34 (last scan). On the S7-300, use OB1's local time stamps or the diagnostic buffer (Diagnostic Buffer in Simatic Manager).
- Compute the worst-case input-to-output latency. Add the scan time plus the SM module input delay (SM 321 DI 16 x 24 VDC default 1.2-4.8 ms; configurable to 0.1 ms in some variants) plus the output module release time.
- Decide the cycle margin. If worst-case latency is > 50% of the application cycle time, upgrade the platform.
- Prototype on the FM352-5. For cam / position applications, the FM CAM software accepts the encoder type, the cam profile, and the output assignments; download the project to the module and verify the cam edges with an oscilloscope on the output terminals.
- Verify HMI access. If a TP panel is required, validate the PROFIBUS or MPI handshake between the panel and the S7 CPU before releasing the cabinet for wiring.
12. Migration to the Current Generation
For greenfield projects the equivalent platforms are:
| Legacy choice | Current equivalent | Key migration note |
|---|---|---|
| S7-200 CPU 224XP | S7-1214C DC/DC/DC | Bit execution ~0.08 µs, HSC at 200 kHz, PROFINET onboard |
| S7-300 CPU 315-2 DP | S7-1515-2 PN | Bit execution ~0.03 µs, native PROFINET IRT |
| S7-400 CPU 416/417 | S7-1518-4 PN/DP or ET 200SP Open Controller | Equivalent multicomputing via shared PROFINET |
| FM352-5 cam controller | TM Timer DIDQ + S7-1500 or S7-1516T motion CPU | PROFINET-based high-speed I/O with cam function blocks |
| STEP 7-Micro/WIN | TIA Portal V17+ | Single engineering for PLC and HMI |
| STEP 7 V5.x Simatic Manager | TIA Portal V17+ | Migration tool available for legacy projects |
Migration preserves the engineering intent but not the source code. Plan a re-implementation rather than an automated conversion. Use TIA Portal's Migration tool to convert STEP 7 V5.x projects, and review every converted block before commissioning. For Micro/WIN programs a manual rewrite against the S7-1200 instruction set is the standard path.
13. Practical Recommendation for the Original Application
For the 6I/5O application with sub-2 ms deterministic response:
- If the task is general-purpose high-speed logic (no encoder / no cam profile), choose the S7-300 CPU 315-2 DP with an SM 323 combined DI/DO module. This delivers the 1-2 ms scan target with margin and preserves TP / MP HMI options.
- If the task is a cam / position profile, choose the FM352-5 standalone for the lowest hardware count. Add an S7-300 CPU only if the TP-series operator panel is non-negotiable.
- If the task is on a greenfield site with no installed base constraint, choose the S7-1214C + TM Timer DIDQ on TIA Portal. The hardware is in active production, the engineering environment is unified with the HMI, and the lifecycle support window is open.
14. FAQ
Can an S7-300 drop the scan time below 1 ms for a 6I/5O application?
Yes. A CPU 317-2 or CPU 319-3 with a minimal OB1 scans in under 1 ms; with a realistic user program the CPU 315-2 DP and CPU 317-2 stay inside 1-3 ms. The S7-300 is the correct legacy platform if you need 1-2 ms without a cam profile.
Is STEP 7-Micro/WIN code compatible with STEP 7 (Simatic Manager)?
No. The two products target different PLC families (S7-200 vs S7-300/400) with different instruction sets, memory models, and I/O addressing. There is no automatic conversion. Expect to rewrite logic when migrating between the two environments.
Does the FM352-5 require an S7-300 CPU to operate?
No. The FM352-5 can run standalone with its own FM CAM configuration. You need only a 24 VDC power supply. Add an S7-300 CPU only if you require TP-series HMI access, recipe management, or additional general-purpose logic.
How does the S7-400 differ from the S7-300 in practice?
The S7-400 is faster at the top end (CPU 417-4 at 0.018 µs bit execution), supports far more I/O per station (~65 536 vs ~1024), allows multicomputing (up to 4 CPUs in one rack), and supports hot-standby (S7-400H). For a 6I/5O task the S7-400 is engineering overkill and not cost-justified.
What is the modern equivalent of the S7-200 / S7-300 / FM352-5?
S7-200 → S7-1214C (TIA Portal); S7-300 → S7-1515-2 PN (TIA Portal); FM352-5 → TM Timer DIDQ or S7-1516T motion CPU on TIA Portal. Plan a manual rewrite - the migration tool handles STEP 7 V5.x to TIA Portal but not Micro/WIN to TIA Portal.