Explainer
Which IO-Link master an S7-1200 G2 can use
Short answer
An S7-1200 G2 takes IO-Link through an external PROFINET IO-Link master: install the master's GSDML, attach it to the G2 CPU's IO system, configure ports, and map the device data the IODDs describe. The SM 1278 is a first-generation module, so bridging an older S7-1200 with an SM 1278 as an I-device is the fallback, sized against the manual's transfer-area limit.

On this page
- Why the SM 1278 does not carry across generations
- What the external master takes over from a local module
- Adding the master to the G2 project from its GSDML
- Ports and the IODDs behind them
- What decides the master you order
- The fallback: a first-generation S7-1200 with an SM 1278 as an I-device
- Counting process data for an SM 1278 bridge with 8 sensors
- The decision, case by case
- Questions asked
An S7-1200 G2 takes IO-Link through an external PROFINET IO-Link master, not through a local signal module. The SM 1278 master is released for the first-generation S7-1200 family, and Siemens documents the G2 generation as not hardware-compatible with that family, so there is no SM 1278 to drop onto a G2 CPU. Install the external master's GSDML, attach it to the G2 CPU's IO system, configure the ports, and map the device data the IODDs describe. If a first-generation S7-1200 with an SM 1278 already sits in your cabinet, it bridges over to the G2 as an I-device. Both routes, and the checks that separate them, are below.
Why the SM 1278 does not carry across generations #
The G2 generation is a new controller family, and the incompatibility is documented, not rumored: Siemens states that the SIMATIC S7-1200 G2 generation is not hardware-compatible with the previous S7-1200 family. That sentence settles the expansion question before any datasheet is opened. The SM 1278 IO-Link master belongs to the earlier family, so it is not the module that gives a G2 CPU IO-Link, and planning a build around a local IO-Link module the G2 has not released is how a project stalls.
Local expansion on a G2 exists — all G2 CPUs support up to three communication modules — but none of that turns a local slot into an IO-Link master. The route that works now is decentral periphery: Siemens' industry support portal keeps an entries list of IO-Link masters for use in that role, and that list, not the family name on a module, is what qualifies a master for your project.
What the external master takes over from a local module #
IO-Link is a point-to-point link between one master port and one device. The master runs the IO-Link telegrams, supplies the port power, and holds the device's identity and parameters. Toward the PLC it is a PROFINET IO device: the G2 CPU exchanges cyclic process data with it and treats its inputs and outputs like any distributed station.
Three kinds of information cross this architecture, and they arrive by different mechanisms: the cyclic process data you map into the program, the parameters that set device behavior, and the diagnostics that report port and device faults. A live cyclic value proves only the first of the three. Parameter access and diagnostic handling are each configured on their own, and a commissioning test that forces a parameter write and a device fault is what proves all three together.
Adding the master to the G2 project from its GSDML #
The master manufacturer publishes a GSDML file that describes the master as a PROFINET device, released per master type and firmware. Install that file in TIA Portal, add the master in the network view, and attach it to the IO system of your CPU: the G2 system manual's commissioning flow has you select the CPU — in this case an S7-1200 G2 — from the list of IO controllers in the project to make that attachment. Modules inside a GSDML insert slot-matched under the device they belong to, and one placed in the wrong slot is refused; why PROFINET GSD modules need slot-matched insertion in TIA Portal covers that failure and its fix.
Some manufacturers also ship an engineering tool that folds the connected IO-Link devices' descriptions into the master's GSDML, which moves port parameter setup into the PLC project. That convenience is manufacturer-specific, so follow the master's documented method for it.
Ports and the IODDs behind them #
Each used port gets an operating mode, and the device on it is described by an IODD: the process-data layout, parameter set, identification and diagnostics for that device type. An IODD is not a GSDML and does not put the master on the network — the master still joins from its own device description, and why an IODD file will not plug into a PROFINET IO-Link master covers that split. Where the IODD is loaded differs by master: some take it in the engineering tool when you assign a device to a port, others in the master's own configuration interface. Once a port knows its device, map the configured input and output areas in the program and interpret every field — signedness, byte order, scaling, and the validity and status bits — from the device's documentation, not from the master's manual.
What decides the master you order #
The protocol label on the housing proves nothing by itself. These comparisons do:
| Selection item | What you compare | What it decides |
|---|---|---|
| PROFINET device support | A GSDML released for your engineering tool version and the master's firmware | Whether the master joins the G2 CPU's IO system at all |
| Ports and class | Port count, and ports with switched auxiliary power where a device needs actuator-grade supply beyond sensor-grade port power | Which devices each port can run |
| Process data layout | Bytes per port, fixed or configurable, plus the status bits per port | The mapping and diagnostic code you write |
| Parameter access | Where the IODD is loaded and whether acyclic writes from the PLC are supported | Whether you tune devices from the project or at the master |
| Environment | Cabinet module versus IP67 field block, connector style | Where it mounts and what the wiring costs |
One device family can collapse this table quickly; IO-Link master device version selection for grippers is a worked instance of a master choice driven by the devices alone.
The fallback: a first-generation S7-1200 with an SM 1278 as an I-device #
If the cabinet already holds a first-generation S7-1200 with an SM 1278, that pair bridges to the G2. Configure the older CPU as an I-device — toward the G2 it acts as an IO device, and the two CPUs exchange transfer areas over PROFINET — and carry the SM 1278's mapped process data across. The S7-1200 manual limits one I-device transfer area to 1024 input or output bytes, with further constraining factors documented for specific configurations. The I-Device I/O periphery walkthrough for TIA Portal covers the setup side: device name, transfer areas, and how the bridging CPU presents itself as an IO device.
The engineering cost is real: a second CPU and a second program to maintain, and a data boundary you own. Decide in the bridging program what the G2 receives when the link drops, so a retained value can never pass for a live measurement.
Counting process data for an SM 1278 bridge with 8 sensors #
Inputs. Eight IO-Link sensors behind the SM 1278 — an example plant count, since a build like this has no fixed device list yet. Each sensor reports 4 input bytes of process data and 2 bytes of port status; those are example sizes you replace with the real byte counts from your devices' IODDs. The documented rule from the S7-1200 manual: one I-device transfer area carries at most 1024 input or output bytes.
Rule in words. All eight sensors' input bytes cross the same transfer area, so their sum must stay within that area's ceiling, and the identical check runs on the output side.
Arithmetic. Input side: 8 devices × (4 + 2) bytes = 48 bytes. Output side: no cyclic outputs in this example, because parameters are written on demand rather than every cycle, so the output area carries 0 bytes. Check: 48 ≤ 1024, which leaves 976 bytes of headroom.
Result. The bridge moves 48 input bytes per update and no cyclic output bytes, against the per-area ceiling.
Decision. At any realistic sensor count this budget stays far below the ceiling, so bytes never decide the fallback. The constraints that do decide it are the SM 1278's port count and whether the bridging CPU and firmware support the I-device role the way you intend to configure it. Where those hold and the pair already exists, the bridge is a legitimate build; where you are buying hardware for a new G2 machine, the external PROFINET master is the route to buy.
The decision, case by case #
- New G2 machine that needs IO-Link: order an external PROFINET IO-Link master, install its GSDML, attach it to the G2 CPU's IO system, then set ports and device descriptions per the master's documentation. It scales by adding further masters to the same IO system and keeps the whole configuration in one project.
- A first-generation S7-1200 and SM 1278 already on hand: bridge as an I-device, map the process data deliberately, and size the transfer areas the way the example above does.
- Local expansion as a hard project requirement on a G2: raise it with Siemens support as a released-hardware question rather than ordering against an assumed module or an assumed date.
- Either route: commission in layers. Confirm the PROFINET exchange in the controller's online diagnostics, then each port's device connection in the master's diagnostics, then a known change at a sensor tracked through to the mapped value.
Questions asked
Can I plug an SM 1278 into an S7-1200 G2 CPU?
No. The SM 1278 IO-Link master is released for the first-generation S7-1200 family, and Siemens documents the G2 generation as not hardware-compatible with it. A G2 CPU gets IO-Link from an external PROFINET IO-Link master added from its GSDML, or from a bridged first-generation CPU carrying an SM 1278 and acting as an I-device.
Do I need an IODD for every device on the master?
An IODD describes one IO-Link device type: its process-data layout, parameters, identification and diagnostics. Cyclic bytes can arrive without one, but then you interpret every field by hand. Some manufacturers fold device descriptions into the master's GSDML with their own tool, so follow the master's documented method instead of assuming every master consumes IODDs identically.
How much process data fits across an I-device bridge?
The S7-1200 manual caps one I-device transfer area at 1024 input or output bytes, with further constraining factors for specific configurations. Eight sensors reporting 6 input bytes each total 48 bytes and cross easily; the binding limits in practice are the master's port count and the bridging CPU's supported communication roles, not the byte budget.
Is a third-party IO-Link master a legitimate choice for a G2 CPU?
Yes, as decentral periphery. A master that behaves as a standard PROFINET IO device, with a GSDML your TIA Portal version installs, joins the G2 CPU's IO system like any distributed station. The released GSDML for your engineering tool version is the compatibility evidence; the protocol label on the housing is not. Verify the file against your tool version before you order.


