Selection guide
Does the S7-1200 G2 fit your machine design
Short answer
The S7-1200 G2 fits a machine when the verified I/O count, compiled program and data memory, motion technology objects, communication connections and failsafe channels each stay inside the limits of the exact CPU, signal boards and signal modules you configure in TIA Portal. Move up a platform when any one budget is exceeded. A requirements matrix and the compiled memory report prove the margin before the panel design is released.

On this page
The S7-1200 G2 fits your machine design when five budgets close at once: the verified I/O count, the compiled program and data memory, the motion technology objects, the communication connections and the failsafe channels must each stay inside the limits of the exact CPU, signal boards and signal modules you configure in TIA Portal. Pass all five and the compact station is the right controller. Fail any one and you move up a platform before the panel drawing is released, not after commissioning starts. The decision below applies to a new machine or a migrated station, not to keeping an installed first-generation S7-1200 running.
The decision in one rule #
Every requirement maps to one configured resource: a channel on a signal board or signal module, bytes in work memory, a technology object, a connection, or a failsafe channel. The compiled project in TIA Portal, not a datasheet headline, is the evidence. The CPU executes logic cyclically while communication, diagnostics and motion calculations consume the same processor and the same memory, which is why a station can satisfy the I/O count and still miss the application. The rule is binary. All budgets inside their limits, with margin you can name a use for: release the design. Any one budget over: move up a CPU or a platform now.
What the CPU documentation gives you #
For the CPU 1212C, the TIA Portal V20 manual collection lists a work memory of 150 KB for the program and 500 KB for the data, next to 8 MB of internal load memory. The technical data document adds an optional memory extension, and that extension enlarges the load memory the project is stored in while the work-memory figures stay as printed. The system manual describes work memory as volatile: the CPU copies project elements into it from load memory and restores them at power-up, so the work-memory limit governs what actually runs, not what the card can hold.
The same collection bases the operating conditions on IEC 61131-2:2017 and rates the system for fixed locations protected from weather. That sentence settles an easy case: a machine that lives indoors on a fixed base is inside the rated conditions, while a controller on an exposed or mobile installation is outside them, and no memory or motion figure rescues that placement.
The requirements matrix #
Freeze the functional list first: every digital and analog point, PID loop, counter, pulse output, axis, cam, safety function, HMI exchange, third-party link and IT data path, each tagged with its signal class. Then map each line to the configured resource that will carry it, and fill in the matrix before the panel layout is frozen.
| Requirement | Resource it consumes | Limit you compare against | Check that proves the margin |
|---|---|---|---|
| Digital and analog points | Channels and slots on the signal boards and signal modules | Channel and module counts in the technical specifications of the exact CPU | Every line of the I/O list maps to a configured channel, with spares named |
| Program size | Program work memory | The work-memory limit of the chosen CPU | The compiled memory report after download, not source-code length |
| Tags, recipes, retained data | Data work memory | The same report, data column | Report read with the final data blocks loaded |
| Axes, cams, encoders, proxies | Technology objects and the Motion Control organization blocks | Object types and maximum count supported by the CPU release | Every object compiles, downloads and runs inside the scan budget |
| Safety functions | Channels on the failsafe signal boards and signal modules | Failsafe channels per module and per function | Each function traced to dedicated failsafe channels |
| PROFINET devices | Controller connections and ports | Connection resources of the CPU | Devices in steady data exchange with no diagnostic events under load |
| PROFIBUS and Modbus RTU peers | The communication hardware the configuration actually shows | Node and connection limits of that module | Every node in stable data exchange |
| Modbus TCP peers, HMI and SCADA | Ethernet connections and their client or server roles | Connection resources plus controller service time | Transactions complete without application timeouts at peak traffic |
Classify before you map. Standard control, high-speed, motion and failsafe signals land on different resources, and an electrically identical signal does not turn a standard channel into a failsafe one.
Worked example: proving the memory margin #
Take a packaging cell on the CPU 1212C and call the compiled memory report of the finished project 96 KB of program and 380 KB of data. Those are example values; yours come from the compiled project with the final data blocks loaded, not from source-code length.
Program: 96 KB against the 150 KB limit is 96 ÷ 150 = 0.64, so 64 percent used and 54 KB free. Data: 380 KB against the 500 KB limit is 380 ÷ 500 = 0.76, so 76 percent used and 120 KB free. As compiled, the station fits, and the margin is honest: the 54 KB and the 120 KB are exactly the budget for the option packages already on the roadmap.
Now a change request lands: a 140 KB trace buffer is to live in data memory for fast changeover diagnostics. 380 KB + 140 KB = 520 KB, which is 20 KB over the data limit. The decision: do not squeeze the program to fund it. Either log the trace over the connection budget to the SCADA store, which takes the 140 KB out of the controller, or select a CPU with a larger data work memory before the layout is frozen. If the recipes and traces must stay resident for changeover, take the larger CPU now.
Motion is a budget of technology objects #
Motion on the G2 is budgeted in technology objects. The manual collection defines them as the control elements of Motion Control, such as a position axis or an output cam, and the V20 overview of technology objects lists, under S7-1200 Motion Control, an axis, an encoder and a leading-axis proxy among the available types. Each object you configure, every axis, cam, encoder and proxy, is one entry in that budget. The pages used here name the object types but print no per-CPU maximum, so read the maximum from the technical specifications of the exact CPU, then count the project tree against it.
Execution is its own line. The collection gives Motion Control its own organization blocks, so the scan-time proof includes their share next to the cyclic program and the communication load. For drives, the documented pairing is a SINAMICS S200 driven through a technology object with Motion Control instructions; take that path instead of hand-rolled telegram logic. When a machine needs only plain CiA402 sequences without cams or synchronization, how to run CiA402 axes in structured text without NC spends fewer motion resources.
Failsafe channels are a separate budget #
Failsafe signal boards and signal modules add the failsafe channels to the station, and the safety functions are budgeted apart from standard I/O. Every guard monitor, safe stop and safe-speed function is traced to dedicated failsafe channels, and the handshake data between the standard program and the failsafe program is engineered like any other interface, which is what mapping standard PLC tags into a safety program works through. One rule carries the section: a supported failsafe module is a specified configuration, not a validated machine safety function, so the function still earns the performance level or SIL the risk assessment demands, with PL and SIL assessed as the separate scales they are, before the machine runs.
Communication connections #
The protocols named for the family are PROFINET, PROFIBUS, Modbus RTU and Modbus TCP, and each connection is resolved on its own line: local role, the physical interface the configuration actually shows, peer role, data size, transaction pattern and the response to loss of communication. A protocol name proves none of that. HMI sessions, SCADA drivers and IT links each consume a connection, so count the client and server roles at peak, keep deterministic control traffic apart from reporting and analytics, and test both together. Feeding a SCADA or IT system is a connection-budget line, not a hardware line; the reasoning in why an S7-1200 does not need a second PLC to reach SCADA carries over to this generation.
The decision for your case #
Case one: a compact standalone machine whose compiled memory report sits inside the limits, whose motion is a countable set of technology objects, whose safety functions all land on failsafe modules, and whose peers fit the connection budget. The S7-1200 G2 is the right controller; freeze the bill of materials with the spare channels and the memory margin recorded in the design file.
Case two: any single budget over — a data overrun like the 520 KB example, more technology objects than the CPU supports, more connections than it holds, or a scan time that misses the machine requirement with everything running. Move up now: a larger CPU in the same family when only memory or connections are short, the next controller family when motion or processing is short. How to choose an S7 PLC family for a machine works that move.
Case three: safety functions that need more failsafe channels than the signal boards and signal modules can supply, or a validation the compact failsafe configuration cannot carry. Put those functions on a dedicated fail-safe CPU and keep the G2 for standard control only if the architecture still closes; otherwise take the whole station up a platform.
Questions asked
Can a bigger memory extension rescue a project that overruns work memory?
No. The optional memory extension enlarges the load memory, where project versions, update archives and recipe files are stored, while the work memory that runs the program and data is fixed inside the CPU. An overrun of the 150 KB program or 500 KB data budget of the CPU 1212C is fixed by a different CPU or less resident data, never by a bigger card. Buy the extension for storage tasks, not to fund a running program.
Does the S7-1200 G2 need a second controller to feed SCADA or an IT system?
No extra controller is needed for the data path itself: the CPU serves values over its configured connections, so the link is a connection-budget line, not a hardware line. Add a compact gateway or logging computer only when you need protocol conversion the PLC cannot do, store-and-forward buffering during network outages, or a network separation the PLC cannot make itself, and then count its space in the cabinet from the first layout.
Is IEC 61131-2:2017 the standard that validates the machine's safety functions?
No. The manual collection uses it as the basis for operating conditions, the environmental and equipment requirements the electronics are tested against. Machine safety functions are validated to the performance level or SIL target your risk assessment sets, under ISO 13849 or IEC 62061, with the two scales assessed separately. The controller standard tells you the electronics survive the cabinet conditions; it says nothing about the guarding circuit you build with them.
Where do I count the technology objects the project already uses?
In the project tree, under the PLC, the technology objects folder lists every configured axis, cam, encoder and proxy by name and type; that count is the motion budget you compare with the maximum your CPU release supports. The compiled download then proves the objects fit, and the Motion Control organization blocks show their share of the scan, which is the number to record next to the cyclic and communication times.


