SINUMERIK 828D to S7-1200/1500: PN/PN Coupler Cyclic I/O vs S7 GET/PUT

The short answer: there are two different layers for exchanging data between a SINUMERIK 828D and an S7-1200/1500. A PN/PN Coupler uses PROFINET cyclic I/O mapping (a hardware gateway: writing an output address on one side makes the data appear at the mapped input address on the other side, with no communication blocks). S7 GET/PUT uses a one-sided S7 connection over TCP 102, which requires a configured connection and read/write calls in the PLC. They are not two names for the same solution. Identify which one you are dealing with before configuring anything, or the device name, IP address and connection-resource settings will all point you at the wrong screen.

Scope and compliance: the configuration sequence and parameters verified on this page (the X1/X2 network split, device name and IP address, MD12986, TIA Portal module insertion order, MD11241 and the SDB version gate for byte extension) come from Siemens CNC4YOU technical documents 1390 / 1391 and the SINUMERIK 828D Commissioning Manual. Manual text, SDB files and software update packages are copyright protected. This page explains configuration order and decision criteria only: it reproduces no manual text and provides no SDB file download, software package, file mirror or archive. Software versions, order numbers, byte counts and addresses must be checked against the machine-specific manual and the actual configuration.

广告

30-Second Triage: Which Route Are You Configuring

What you have / wantFirst stopSection
A PN/PN Coupler and one PROFINET cable per sideHardware and network split
Activate the coupler on the 828D sideMD12986 and NCK restart
Insert coupler modules and set I/O bytes in TIA PortalModule order cannot be reversed
Need more than 16 bytes of exchange areaSDB version gate + MD11241
PLC emergency stop right after setting MD12986Hardware not connected
Direct Ethernet link without coupler hardwareOne-sided S7 connection; verify against local version
Need to verify the original textDocument numbers and search keys

Table 0 Seven field scenarios and where to start

1. Two Different Layers: Cyclic I/O Mapping vs One-Sided S7 Connection

Two communication routes: PN/PN Coupler cyclic I/O mapping and S7 GET/PUT one-sided connection, and why mixing them up points at the wrong screens

A PN/PN Coupler is a gateway. Its two RJ45 ports belong to separate, isolated PROFINET subnets; data written to an output address on one side appears automatically at the mapped input address on the other. Exchange happens at the cyclic I/O layer, so it uses neither GET / PUT nor BSEND / BRECV and needs no communication program blocks.

S7 GET/PUT is different: a one-sided S7 connection over TCP 102, where the initiating PLC calls read/write instructions against the partner’s data area. It needs connection resources, PUT/GET access permission on the partner CPU, and IP reachability. There is no coupler hardware and the exchange is acyclic, happening only when called.

ComparisonPN/PN CouplerS7 GET/PUT one-sided connection
Exchange layerPROFINET cyclic I/O mappingS7 protocol (acyclic, on call)
Coupler hardware requiredYesNo
Communication blocks requiredNoYes, plus a configured connection
Port / protocolPROFINET IO, identified by device nameTCP 102, IP connection
Main toolsSIMATIC Manager (828D) + TIA Portal (S7)TIA Portal / STEP 7 connection configuration
Field indicatorCoupler station visible in diagnosticsConnection resources and partner access permission

Table 1 Six comparison points (architecture varies by control and software version; verify on site)

The classic mistake: treating “828D to S7-1200 communication” as a single configuration sheet, then entering the coupler’s device name and IP as GET/PUT connection parameters, or conversely writing GET/PUT code for a coupler solution. Neither leads to the right screen. Also, the 828D has a soft PLC (S7-200 family) while the 840D sl has a separate CPU (S7-300 family); programs cannot be swapped between them. GET/PUT availability and call syntax on an 828D vary considerably by control type and software version, so this page gives no universal answer: check the machine-specific manual. For a different approach to CNC-to-external-PLC links, see SINUMERIK PLC Basic Program: FB1, FB2 and OB100.

2. Hardware and Network Split: X1 to the 828D, X2 to the S7-1200

Hardware and network split: X1 to 828D PN1 or PN2, X2 to the S7-1200, two isolated PROFINET subnets configured independently

In the official example, PPU port PN1 or PN2 connects to X1 P1 on the coupler, and the S7-1200 PROFINET port connects to X2 P1. X1 and X2 are two isolated subnets that must be configured separately, and the device name and IP address set on each side must match the hardware configuration in the corresponding project.

SideConnected toToolOfficial example values
X1 (828D side)828D PPU PN1 / PN2SIMATIC Manager, PLC → Edit Ethernet NodeIP 192.168.214.20, device name PN-PN-Coupler20
X2 (S7-1200 side)S7-1200 PROFINET portTIA Portal hardware configurationIP and device name must match the TIA project
Diagnostics828D Diagnostics → TCP/IP busSelect PROFINET PN1/PN2Check station 20

Table 2 Configuration responsibility per side and official example values (examples only; use the actual configuration)

PROFINET identifies devices by device name, not by IP alone: the official procedure explicitly requires entering the device name and activating the configuration. For order numbers, the test setup used 6ES7158-3AD01-0XA0; byte extension requires the newer 6ES7158-3AD10-0XA0 (CNC4YOU 1391). These are example hardware from specific documents: check the actual nameplate, since machine configurations and procurement batches differ.

3. 828D-Side Configuration: MD12986 and NCK Restart

Four 828D-side configuration steps: set device name and IP, set MD12986 = -1, NCK restart, then check station 20 in diagnostics

The official 828D-side sequence has four steps:

  1. Connect a PC to the X1 network, set the PG/PC interface in SIMATIC Manager, use PLC → Edit Ethernet Node to scan for network devices and select the PN/PN Coupler.
  2. In the Edit Ethernet nodes dialog, enter IP 192.168.214.20 and device name PN-PN-Coupler20, then activate the configuration.
  3. On the 828D, set MD12986 = -1 to activate the PROFINET device. It takes effect after an NCK restart.
  4. After the restart, go to Diagnostics → TCP/IP bus to check whether the coupler is configured correctly.

Connect the hardware before activating: the official text states that once MD12986 = -1 is set, the PN/PN Coupler must already be physically connected to the 828D PROFINET network, otherwise a PLC emergency stop alarm is triggered. This is the most common field trap. The parameter is not wrong; the order is.

Table 3 Four 828D-side steps and their activation conditions

StepActionActivation / check
1Scan and select the couplerDevice appears in the node list
2Set IP and device name, activateDevice name matches the project
3Set MD12986 = -1Effective after NCK restart
4Diagnostics → TCP/IP busCheck station 20

For why machine data changes need an NCK restart, and how MD and SD differ in activation behaviour, see 828D Setting Data SD vs Machine Data MD.

4. S7-1200/1500 Side: TIA Portal Module Order Cannot Be Reversed

On the TIA side: create a project and add the device (mind the hardware version) → insert 6ES7158-3AD01-0XA0 and establish the network connection → configure the transfer areas in the device view → set the X2 port IP and device name the same way as X1 (they must match the TIA hardware configuration).

The official example explicitly flags the order: in the coupler device view, insert the 16-byte output module first, then the 16-byte input module; this order must not be reversed. The exchange direction is “output on one side → input on the other”, so the module configurations on both sides must correspond.

ItemOfficial exampleWhy it matters
Module insertion order16-byte output first, then 16-byte inputReversing it breaks the mapping
X2 IP / device nameMust match the TIA projectA mismatched device name means the device is not found
CPU IP / nameOfficial example leaves defaultsDo not change them for convenience
Transfer area sizeExample 16 + 16 bytesFor larger areas see

Table 4 Four TIA-side items and the ordering constraint

5. Byte Extension: MD11241 and the SDB Version Gate

If 16 bytes are not enough, Siemens documents a separate byte extension path (CNC4YOU 1391) with considerably higher prerequisites than a single parameter change:

广告
PrerequisiteOfficial requirement
828D softwareSW V4.7 SP4 HF1 or later supports byte extension
SDB fileVersion V04.07.04.01 or later, internal version 99.10.03.08
Coupler modelNewer 6ES7158-3AD10-0XA0 required
InstallationStartup menu → Install software update/backup → USB drive → select SDB → INPUT → restart
Success checkDiagnostics → Version → OEM applications shows SDB40 / SDB60 / SDB80
ParameterMD11241 = 2: subslots 10 → 18, usable bytes 16 → 112

Table 5 Six byte-extension prerequisites and checks (version dependent; use the local manual)

Two ways to end up with a control that will not start: (1) setting MD11241 to a non-zero value and restarting before the SDB file is installed causes communication with the NC to fail and the system not to boot; recovering requires a Factory setting; (2) during Factory setting, answering YES to “delete manufacturer files” deletes the SDB files as well. YES is acceptable for the initial power-up clear, but NO is recommended for a later clear after commissioning.

Always take a full backup before a clear. 828D Cycle Alarms 61000 / 62000 covers a neighbouring alarm family; for alarm-number formatting across brands see CNC Alarm Number Formats by Brand.

6. Five-Step Commissioning Check

Five-step commissioning check: LEDs, station 20 in bus diagnostics, device names and IP on both sides, force an output byte and watch the partner, then archive the configuration
  1. LEDs: check the PN/PN Coupler and S7-1200 indicator states first.
  2. Bus diagnostics: 828D Diagnostics → TCP/IP bus → select PROFINET PN1/PN2 → check whether station 20 is connected.
  3. Names: confirm the device names and IP addresses on X1 and X2 match each project exactly (PROFINET identifies by device name).
  4. Signal test: the official example forces QB96 on the 828D and monitors the input in TIA Portal. IB96 / QB96 and slot 2 are addresses from that example configuration: the actual start address must be read from the local address-assignment screen, not copied.
  5. Archive: record the final device names, IP addresses, slot, byte counts, software version and SDB version in the machine file, and back up before any clear or hardware swap.
SymptomFirst suspicionSection
PLC emergency stop after MD12986Coupler not physically on the 828D PROFINET network
Station 20 missing in bus diagnosticsDevice name / IP not activated or mismatched
Value written on one side not read on the otherReversed module order or wrong transfer-area size
System will not boot after MD11241SDB not installed; Factory setting required

Table 6 Four commissioning faults and where to look first

For locating communication alarms by number range, see SINUMERIK 840D sl Alarm List: NCK, Cycle, HMI, PLC. This page covers configuration and commissioning, not per-number alarm text.

7. Official Search Keys and Compliance Boundary

Search keyVerifiable wordingUse
Document numbersCNC4YOU 1390 (base configuration), 1391 (byte extension)Locate the original on Siemens Industry Support
Manual nameSINUMERIK 828D / 828D BASIC Commissioning ManualPROFINET configuration and machine data
Parameter searchMD12986, MD11241Full-text search by parameter number, not page number
Version keysSW04.07+SP2+HF01, V4.7 SP4 HF1, SDB V04.07.04.01Decide whether the local control supports extension
Order numbers6ES7158-3AD01-0XA0 / 6ES7158-3AD10-0XA0Check the installed hardware and extension capability

Table 7 Five official search keys

Manual text, SDB files and software update packages are copyright protected. This page reproduces no manual text and provides no download link, file mirror or archive. Use the official support channels with the keys above, and always defer to the local software version and the machine-specific manual. For how to navigate an official diagnostics manual by chapter, see SINUMERIK 840D sl Alarm Code Quick Reference.

8. Related Guides on This Site

To go deeperPage
PLC basic program and 828D / 840D architecture
Why MD changes need an NCK restart
Cycle alarm number ranges
Communication alarm number ranges
Alarm-number formats across brands
Official manual search keys

Table 8 Related guides referenced by this page

Frequently Asked Questions

Should an 828D to S7-1200 link use a PN/PN Coupler or GET/PUT?

Start with the hardware and the exchange requirement. If you need stable I/O signal exchange between two isolated PROFINET subnets without consuming PLC connection resources, use PN/PN Coupler cyclic I/O mapping, which needs no GET / PUT communication blocks. Reading and writing a partner data area on call, without coupler hardware, belongs to the one-sided S7 connection route. They are not two names for one solution and their tools and parameters differ completely. The 828D uses a soft PLC, architecturally different from the separate CPU in an 840D sl, so GET/PUT availability must be checked against the local software version and the machine-specific manual. This page gives no universal answer.

Why does the control raise a PLC emergency stop after setting MD12986 = -1?

Siemens states that once MD12986 = -1 activates the PROFINET device, the PN/PN Coupler must already be physically connected to the 828D PROFINET network, otherwise a PLC emergency stop alarm results. Check the X1 cable, coupler power supply and whether the device is online, then inspect station 20 under Diagnostics → TCP/IP bus. Restart the NCK only after the hardware is confirmed online. If the station is missing or the device name differs, go back to checking device names and IP addresses on both sides.

The 828D will not start after setting MD11241 to 2. What now?

Byte extension has prerequisites: 828D SW V4.7 SP4 HF1 or later, an SDB file at V04.07.04.01 or later, and the newer coupler 6ES7158-3AD10-0XA0. Siemens notes that setting MD11241 to a non-zero value and restarting before installing the SDB file breaks communication with the NC and prevents startup; recovery requires a Factory setting. After recovery, redo the sequence as “install SDB → confirm SDB40/60/80 under OEM applications → then change the parameter”. Remember that answering YES to “delete manufacturer files” during Factory setting also removes the SDB files. Always take a full backup before a clear.

Last updated: 2026-11-11

Where to go next

  • FANUC Troubleshooting — the full guide library: alarms, diagnosis numbers, servo, spindle, PMC and electrical faults, organised by symptom.
  • CNC Repair Tools — which instrument measures what: multimeters, clamp meters, insulation testers and oscilloscopes, with the specification that actually matters.
  • Remote Technical Support — have the readings reviewed with you: alarm reverse lookup, PMC ladder analysis and servo tuning advice by call. Repair companies and integrators welcome.

Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.

Also available in Chinese: 828D 与 S7-1200/1500 通讯怎么配?PN/PN Coupler 循环 I/O 与 S7 GET/PUT 别混着查
The original Chinese version — same procedure, with the full field notes.
© 版权声明
THE END
喜欢就支持一下吧
点赞7赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
FANUC PMC Data Table, Counter, Timer and Keep Relay Quick Reference: The Four PMCPRM Screens-CNCShare | 数控电气技术中心
FANUC PMC 数据表 / 计数器 / 定时器 / K 继电器速查:PMCPRM 四张表与地址字节结构-CNCShare | 数控电气技术中心
SINUMERIK 802D sl Alarm Quick Reference: NCK, PROFIBUS, PLC and User Alarm Number Ranges-CNCShare | 数控电气技术中心
SINUMERIK 802D sl 报警速查:NCK / PROFIBUS / PLC / 用户报警号段与官方检索路径-CNCShare | 数控电气技术中心
FANUC I/O Link Address Assignment: Group.Base.Slot, OC01I / OC02I and the 16-Byte Handwheel Rule-CNCShare | 数控电气技术中心
FANUC I/O Link 地址分配速查:组.基板.槽 怎么读、OC01I / OC02I 与手轮 16 字节铁律-CNCShare | 数控电气技术中心
SINUMERIK 828D to S7-1200/1500: PN/PN Coupler Cyclic I/O vs S7 GET/PUT-CNCShare | 数控电气技术中心
828D 与 S7-1200/1500 通讯怎么配?PN/PN Coupler 循环 I/O 与 S7 GET/PUT 别混着查-CNCShare | 数控电气技术中心
FANUC PMC Functional Instruction (SUB) Quick Reference: Numbers, Families and Model Availability-CNCShare | 数控电气技术中心
FANUC PMC 功能指令(SUB)速查总表:指令号 / 功能族 / 型号适配怎么看-CNCShare | 数控电气技术中心
Fanuc Servo Alarm Reference Chart: CNC SV Code, Amplifier 7-Segment Code and Diagnostic Number-CNCShare | 数控电气技术中心
FANUC 伺服报警三向对照总表:SV 号 / 放大器数码管码 / 诊断号怎么对-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题