S7-300 CPU 314 Hardware Build: Complete Training Bench Guide
Engineers who learned ladder logic on the S7-200 (Micro/Win) and want to step up to the S7-300 family face a different procurement problem than they expect. The CPU, I/O, and rack are only part of the bill of materials. The S7-300 has no internal load memory; a SIMATIC Memory Card (MMC) is mandatory, the 24 V backplane supply must be sized correctly, and the choice between the CPU 314 and the CPU 314C-2DP (with integrated I/O) changes the wiring footprint significantly. This reference consolidates the field-tested hardware list, the corrected MLFBs, and the assembly/commissioning procedure so the first program download succeeds on the first attempt.
1. Architecture Overview of the S7-300
The SIMATIC S7-300 is a modular small-to-mid-range PLC. A complete station is built on a 35 mm DIN rail (a Siemens-profiled aluminium rail in the S7-300 family, not a generic TS35). Modules are snapped on from the front and the bus is carried by a passive backplane formed when each module's bus connector is engaged to the next. There is no slot addressing by physical position; the slot is detected by STEP 7 during hardware configuration (HW Config).
A standard training station contains, from left to right:
- 24 VDC power supply (PS 305 or PS 307, or third-party).
- CPU (slot 1, always slot 1 for a single-CPU rack).
- Signal modules (SM) for digital and analog I/O, as required.
- Function modules (FM) and Communication Processors (CP) are optional and usually not part of a beginner's bench.
For a first station the recommended order is PS → CPU → SM. The CPU is always installed on slot 1; modules to the right of it are addressed in ascending slot numbers by the firmware based on the configuration, not by jumpers.
2. CPU Selection: CPU 314 versus CPU 314C-2DP
The S7-300 offers two reasonable entry points. The choice is driven almost entirely by whether you want to wire discrete I/O separately or take advantage of the CPU's on-board channels.
| Feature | CPU 314 (standalone) | CPU 314C-2DP (compact) |
|---|---|---|
| Typical MLFB | 6ES7314-1AG14-0AB0 (verify against current Siemens catalog) | 6ES7314-6CG03-0AB0 |
| Work memory | 128 KB code + data | 192 KB code + data |
| Integrated DI | None | 24 DI (24 VDC, sourcing) |
| Integrated DO | None | 16 DO (24 VDC, 0.5 A, transistor) |
| Integrated AI | None | 4 + 1 (Pt100/Ni1000 selectable), 12-bit |
| Integrated AO | None | 2 AO, 12-bit |
| Bit instruction time | approx. 0.1 µs | approx. 0.1 µs |
| PROFIBUS DP interface | None (MPI only on the standard 314) | Yes, integrated DP master/slave |
| Front connectors required | 0 (no I/O on the CPU) | 2 × 40-pin for the integrated I/O |
| Price band | Lower | Higher but saves SM cost |
If the goal is purely to learn STEP 7 ladder/FBD/ST syntax and you do not care about I/O, the plain CPU 314 plus PLCSIM (Section 7) is the lowest-cost path.
3. The SIMATIC MMC: Load Memory is Mandatory
The S7-300 has no integrated non-volatile load memory. Without an MMC, the CPU will not retain the project after power-off and will refuse to download a STEP 7 project. The MMC is the only place the block container and the HW Config can be stored.
| Capacity | MLFB | Notes |
|---|---|---|
| 128 KB | 6ES7953-8LG11-0AA0 | Minimum legal size for older CPU 31x families; tight for a real project. |
| 512 KB | 6ES7953-8LJ20-0AA0 | Recommended size for a training bench. |
| 2 MB | 6ES7953-8LL20-0AA0 | For CPU 317/CPU 319 with large projects. |
| 4 MB / 8 MB / 16 MB | 6ES7953-8LMxx-0AA0 series | Only required for large CPU 319 PN/DP projects. |
The MMC slot is the small push-push socket under the front flap of the CPU, marked MMC. Insertion direction is keyed; the card only fits one way. Removing the card from a running CPU is supported only with the CPU in STOP, otherwise the firmware signals SF (system fault) and may request a memory reset on the next start.
4. 24 VDC Power Supply Sizing
The S7-300 modules themselves are powered from the backplane (5 VDC) but the 24 VDC field-side power, including all digital inputs and any sourcing outputs, must be supplied externally. Siemens' standard choice is the SITOP PS 307 family mounted on the same rail. For a single-CPU training rig with a 314C-2DP the 5 A PS 307 (6EP1334-3BA10) is the smallest comfortable choice.
Use the formula:
I_PS ≥ Σ I_inputs + Σ I_outputs + I_CPU_24V + I_SM_24V + 20% margin
Typical per-module 24 V draw on a 314C-2DP:
- CPU 314C-2DP internal consumption from 24 V: approximately 150–200 mA (verify against the device manual).
- Each input current limited by the input's opto-coupler: typically 7 mA per active 24 V input.
- Each output (sourcing transistor) at 0.5 A load × duty cycle: design for nominal 0.3 A worst-case per DO if the load is unknown.
For a worst case with 24 DI active (24 × 7 mA = 168 mA) and 16 DO each at 0.3 A (4.8 A), the total field-side current is approximately 5.1 A. A 5 A supply is therefore not adequate if all outputs switch simultaneously; select a 10 A unit (6EP1336-3BA10) or reduce the assumed load. Always size for the worst-case simultaneous load and add margin; over-current on the 24 V rail will produce random, hard-to-diagnose SF faults.
5. I/O Modules and Front Connectors
Standalone S7-300 SMs (such as the SM 321 DI 16×24 VDC, 6ES7321-1BH02-0AA0, or SM 322 DO 16×24 VDC/0.5 A, 6ES7322-1BH01-0AA0) require a front connector to land the field wires. The connector is a separate order item and is one of the most commonly missed parts in a beginner's BOM.
| Front connector type | MLFB | Used for |
|---|---|---|
| 20-pin (screw-type) | 6ES7392-1AJ00-0AA0 | Most 16-channel SM digital modules, 8-channel AI/AO |
| 40-pin (screw-type) | 6ES7392-1AM00-0AA0 | 32-channel SMs and the CPU 314C-2DP integrated I/O |
| 20-pin (spring-type) | 6ES7392-1BJ00-0AA0 | Vibration-prone or quick-wire applications |
| 40-pin (spring-type) | 6ES7392-1BM01-0AA0 | 32-channel SMs, vibration-prone |
For the CPU 314C-2DP integrated I/O, two 40-pin connectors are required (one for the DI/DO bank, one for the AI/AO bank). The connector latches with a single screw and is keyed so it cannot be inserted in the wrong orientation.
6. Rail, Backplane, and Mechanical Assembly
Use the Siemens S7-300 rail, not a generic TS35. The S7-300 rail is a profiled aluminium extrusion that grounds the modules' EMC springs and provides the bus connector end-stops. The standard length for a small training bench is the 160 mm rail 6ES7390-1AE80-0AA0; the 480 mm version is 6ES7390-1AF30-0AA0 and the 530 mm version is 6ES7390-1AF85-0AA0. A 160 mm rail fits one PS, one CPU, and one or two SMs — enough for a starter station.
The bus connector between modules ships with each module. There is no separate "ribbon cable" between CPU and SM; you snap the modules together, push the bus connector of the left module into the right module, and tighten the module's single fixing screw. The connector carries 5 V logic power, the backplane serial, and the shield/ground.
7. Engineering Software: STEP 7 V5.x and PLCSIM
The CPU 314/314C-2DP is programmed with STEP 7 V5.x (SIMATIC Manager), not TIA Portal — though TIA Portal can also be used to configure both. For a beginner with an existing MicroWin background, SIMATIC Manager is the path of least resistance for OB/FB/FC/DB concepts.
PLCSIM (SIMATIC S7-PLCSIM) is a software simulator bundled with STEP 7 Professional that emulates an S7-300 (or S7-400) CPU inside the PC. It supports digital I/O monitoring and force, timer/counter behavior, and value simulation for I, DI, M, and DB tags. PLCSIM is the most cost-effective way to learn the platform: no hardware to buy, no 24 V supply to wire, no MMC to lose.
To start a PLCSIM session:
- In SIMATIC Manager, open the project, then choose Options → Start S7-PLCSIM (or use the S7-PLCSIM toolbar button).
- Choose PLCSIM (MPI) for classic MPI simulation or PLCSIM (TCP/IP) for newer projects.
- Download the blocks with PLC → Download; PLCSIM appears as a virtual CPU in Accessible Nodes.
- Toggle inputs from the PLCSIM window and observe the outputs and DB values online.
8. Recommended Bill of Materials for a Starter Bench
The following BOM has been validated for first-time assembly. MLFBs are written in canonical Siemens form (the prefix is 6ES7, never 6SE7 — the 6SE7 prefix does not exist in the S7-300 catalog and is a typical first-time typo). Always cross-check against the current Siemens Industry Mall catalog before ordering.
| Qty | Item | MLFB |
|---|---|---|
| 1 | PS 307 24 VDC / 5 A (or 10 A for full output load) | 6EP1334-3BA10 (5 A) / 6EP1336-3BA10 (10 A) |
| 1 | CPU 314C-2DP, 192 KB work memory, integrated I/O | 6ES7314-6CG03-0AB0 |
| 1 | MMC 512 KB | 6ES7953-8LJ20-0AA0 |
| 2 | Front connector 40-pin screw-type | 6ES7392-1AM00-0AA0 |
| 1 | S7-300 rail 160 mm | 6ES7390-1AE80-0AA0 |
| 1 | PC adapter USB→MPI/DP (for PG communication) | 6ES7972-0CB20-0XA0 (USB) or 6GK1571-0BA00-0AA0 (legacy COM) |
| 1 | STEP 7 V5.x license (or PLCSIM bundle) | 6ES7810-4CC10-0YA5 (typical) |
| 1 | Shield contact element + 4× shield clamps (EMC) | 6ES7390-5AA00-0AA0 (per module, optional on a clean bench) |
Total material cost in the EU/NA market is in the low four-digit EUR/USD range; the CPU and the software license dominate the cost. A practical compromise is to order the CPU plus a 5 A PS, use PLCSIM for the first 2-3 weeks of learning, and then add a 16DI/16DO SM when the hardware is actually needed.
9. Step-by-Step Assembly
- Mount the rail. Fix the 160 mm S7-300 rail to the backplate with two M6 screws. Keep the rail straight and grounded to the cabinet PE at one end with a short, low-impedance bond.
- Snap on the PS 307. Engage the DIN-rail latches at the back of the PS and tighten the screw at the top.
- Install the bus connector on the right side of the PS. It is shipped in a bag inside the PS carton; the bus connector is what carries the backplane to the next module.
- Insert the MMC into the CPU 314C-2DP with the station unpowered. The slot is behind the front flap. The card is keyed; do not force it.
- Snap the CPU onto the rail next to the PS, push it left, engage the PS's bus connector into the CPU's left bus port, and tighten the bus connector screw.
- Wire 24 VDC to the PS input (L/N/PE for AC mains input on a PS 307) and bring the +24 V / 0 V output to the CPU's 24 V sensor supply terminals (1L+/1M for the inputs and 2L+/2M for the outputs on the integrated I/O).
- Land the field wires on the two 40-pin front connectors on the CPU. The wiring diagram is printed on the CPU's inside flap; observe the polarity — the inputs are sourcing (P-switching), so the field device (e.g. a NO pushbutton) returns 24 V to the input terminal.
- Insert the front connectors into the CPU with the station powered off. Power on and verify the CPU's SF / BATF / DC5V LEDs are off and the RUN LED either flashes (STOP) or is solid (RUN).
- Connect the PC adapter to the CPU's MPI port and the PC's USB. Open SIMATIC Manager, choose PLC → Accessible Nodes, confirm the CPU appears with its MPI address (default 2).
- Create a project (File → New), insert a SIMATIC 300 station, open HW Config, drag the PS, the CPU 314C-2DP (matching MLFB and firmware version), and any SM, save and compile, then download the hardware configuration.
- Write a first program in OB1 (e.g. a one-second blink on Q124.0 using a clock memory byte), download, switch the CPU to RUN, and verify the output with a multimeter or LED.
10. First-Power-Up Verification Checklist
| LED on CPU | Expected (no fault, RUN) | If not — likely cause |
|---|---|---|
| SF (red) | OFF | Hardware configuration mismatch, MMC not present, firmware version mismatch, I/O wiring short. |
| BATF (red) | OFF | Battery missing/dead; only relevant for older CPUs that use a buffer battery. |
| DC5V (green) | ON | 24 V missing at 1L+/1M, or internal 5 V short on a module. |
| FRCE (yellow) | OFF (or ON if force is active) | Force table is active; clear it with PLC → Force → Stop Forcing. |
| RUN (green) | ON (or flashing during startup) | CPU in STOP, OB missing, syntax error in the project after download. |
| STOP (yellow) | OFF | STOP was selected, or a download is in progress. |
A first-time buyer who sees a constant SF LED after a successful download almost always has either (a) a wrong firmware version in HW Config (open the CPU's online diagnostics with PLC → Diagnostics/Setting → Module Information), or (b) a missing front connector on an SM whose 24 V supply is not yet wired.
11. Common Beginner Mistakes and Corrections
| Symptom | Cause | Fix |
|---|---|---|
| CPU will not accept a download, request for "memory reset" appears | No MMC inserted, or MMC not properly seated | Power off, re-seat the MMC; use a 512 KB card (6ES7953-8LJ20-0AA0) or larger. |
| MLFB written as 6SE7 323-1BH01-0AA0 (typo) | Wrong catalog prefix. The S7-300 prefix is 6ES7, not 6SE7. | Re-order with 6ES7 prefix; the 6SE7 prefix is for SINAMICS drives. |
| Inputs read as 0 despite a hardwired 24 V at the terminal | 24 V not present at 1L+ / 1M sensor supply terminals | Bridge +24 V to 1L+ and 0 V to 1M; the inputs need a separate, switched 24 V, not the backplane 5 V. |
| Outputs do not switch despite Q-bit = 1 in monitor | 2L+ / 2M not wired, or load is on the low side of a sourcing output | Apply +24 V to 2L+ and 0 V to 2M. Source-type DO drives the load to 0 V; the load must be wired between the DO terminal and +24 V. |
| CPU reports "Firmware update required" | STEP 7 version is older than the CPU's firmware | Open HW Config, right-click the CPU → Object Properties → read the firmware version, and update STEP 7 to a release that supports that version. |
| PLCSIM project downloads but inputs do not toggle | PLCSIM is not focused; use the PLCSIM input panel | Open the PLCSIM window, click the Input button, and tick the I-bits there, not in the online monitor of the LAD/FBD editor. |
12. Cost Optimization and Training Path
For a self-funded learner, the minimum-viable path is:
- Buy a STEP 7 V5.x license (or use the trial/PLCSIM bundle if the version is still available from a regional Siemens rep).
- Spend two to three weeks in PLCSIM learning OB/FB/FC/DB structure, FBD, and the I/Q/M/DB memory model. Build a small traffic-light simulation and a simple PID block test.
- Only then buy a CPU 314C-2DP, one PS 307, and one MMC. Skip separate SMs for the first project.
- Add a 16DI / 16DO SM (SM 321 + SM 322) only when the project needs more I/O than the 314C-2DP provides.
This staged path reduces the risk of buying modules that sit on a shelf, and it eliminates the classic first-day problem of seeing an unfamiliar fault LED on hardware that has not yet been wired correctly.
FAQ
Does the CPU 314 work without an MMC card?
No. The S7-300 has no internal non-volatile load memory. An MMC (for example 6ES7953-8LJ20-0AA0, 512 KB) is required to download and retain the STEP 7 project across power cycles. The minimum legal size for older CPU 31x families is 128 KB (6ES7953-8LG11-0AA0), but a 512 KB card is the practical minimum for a real project.
CPU 314 or CPU 314C-2DP for a first training bench?
The CPU 314C-2DP (6ES7314-6CG03-0AB0) is the better choice for a first bench because it integrates 24 DI, 16 DO, 4+1 AI, and 2 AO on the CPU itself, which removes the need for a separate digital-input and digital-output SM and the associated front connectors. The plain CPU 314 is only preferable when the goal is to learn STEP 7 syntax with PLCSIM and the budget is tight.
What is the smallest power supply that works with a CPU 314C-2DP?
A SITOP PS 307 5 A (6EP1334-3BA10) covers the CPU and the input load, but it is too small if the 16 sourcing digital outputs are loaded near their 0.5 A rating simultaneously. For a fully loaded 314C-2DP the 10 A version (6EP1336-3BA10) is recommended, with at least 20% margin on the calculated 24 V current.
Do I need a separate connector between the CPU and the I/O module?
No. The S7-300 backplane is passive; each module ships with a U-shaped bus connector that bridges to the next module. The CPU and SM are snapped together on the S7-300 rail, the bus connector from the CPU is engaged into the SM, and the SM's own bus connector is exposed to the right for the next module. A separate ribbon cable is not used.
Can I learn S7-300 programming without buying any hardware?
Yes. STEP 7 V5.x Professional includes S7-PLCSIM, a software simulator that emulates an S7-300 (or S7-400) CPU inside the PC. PLCSIM supports digital I/O, timers, counters, and DB value monitoring, and it is sufficient for learning the programming languages, OB/FB/FC/DB structure, and basic logic testing. Real hardware is only required when validating field wiring, analog sensor behavior, or PROFIBUS/PROFINET device integration.