IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Runtime Advanced opens windowed under Operate

HMI and touchscreens Published 7 min read

Short answer

When the runtime is full screen started by hand but windowed when Operate launches it, the project and installation are proven good and the fault is in the Operate integration. With oemframe set, Operate owns the window frame: audit the process registration, the area mapping, the panel type and resolution match, and the Integrate Create MyHMI/WinCC version pairing, and keep the shipped WindowsStyle_Off default.

On this page
  1. Why is WinCC Runtime Advanced windowed only under Operate?
  2. Which single test proves the WinCC project is fine?
  3. What in the process registration decides the framing?
  4. How must the area mapping and Slamconfig.ini line up?
  5. Does the panel type and resolution have to match?
  6. Which Create MyHMI/WinCC version pairs with your Operate release?
  7. What value belongs in WindowsStyle_Off in OEMFRAME.INI?
  8. How do you confirm the fix, and what if it stays windowed?
  9. Questions asked

A WinCC Runtime Advanced project that fills the display when you start HmiRTm.exe by hand but sits in a window when SINUMERIK Operate launches it has a proven-good project and a suspect integration path. Once the registration sets oemframe:=true, Operate owns the window around the runtime, and the WinCC full-screen setting stops deciding the frame. Stop re-checking WinCC settings: audit the process registration, the area mapping, the panel type and resolution match, and the Integrate Create MyHMI/WinCC version pairing with Operate V4.5 + SP3, and never enter a guessed WindowsStyle_Off value in OEMFRAME.INI.

Why is WinCC Runtime Advanced windowed only under Operate? #

The window belongs to Operate: the oemframe:=true option in the process registration tells Operate to embed the runtime as an OEMFrame application, and from that point the frame around the runtime is Operate's, not WinCC's. Launched by hand, the runtime owns the desktop and its own full-screen setting applies; in TIA Portal that is the "Full-screen mode" check box under General in the runtime settings, in the Screen area, and it switches full screen on when the runtime starts. Embedded, the runtime draws inside whatever area Operate hands it.

The comparison therefore splits the chain into two halves. The WinCC half (compiled project, panel type, resolution, installation) is exercised by the standalone launch. The Operate half (process registration, area mapping, frame geometry, version pairing) is exercised only when Operate starts the runtime. Your symptom clears the first half and confines the fault to the second.

Which single test proves the WinCC project is fine? #

One test settles it: start HmiRTm.exe yourself with the same pdata.fwc argument Operate uses, and if it fills the display, the compiled project, its panel type and its resolution are already correct outside the OEM frame. Use the two paths the registration names, c:\Program Files (x86)\Siemens\Automation\WinCC RT Advanced\HmiRTm.exe with C:\ProgramData\Siemens\MotionControl\compat\user\pdata.fwc as the argument; these come from one registration of this kind, and yours must point at your own installation.

If that launch is full screen, two decisions follow. Leave the project and its runtime settings alone, and treat any further edit inside TIA Portal as wasted effort until the Operate side is audited. Keep this launch as your regression baseline: after every change on the Operate side, repeat it to prove the known-good half still works.

What in the process registration decides the framing? #

Five items in the PROC600 line decide how Operate launches and frames the runtime: the executable path, the project argument, oemframe:=true, deferred:=true and classname:="HmiRTm", and each is checked in that order. The documented integration requires a systemconfiguration.ini that registers the process and its area, and a registration of this kind with its area looks like this:

[processes]
PROC600= process:=WinCCFlexOEM,cmdline:="c:\Program Files (x86)\Siemens\Automation\WinCC RT Advanced\HmiRTm.exe C:\ProgramData\Siemens\MotionControl\compat\user\pdata.fwc", oemframe:=true, deferred:=true,classname:="HmiRTm"
[areas]
AREA600= name:=AreaWinCCFLex, process:=WinCCFlexOEM

Check each item against the running system:

  • Executable path: the file must exist at that path, and when Operate opens the area, the process list must show that image, not a second runtime elsewhere.
  • Project argument: the pdata.fwc after the executable must be the same compiled project that ran full screen in the standalone test.
  • oemframe:=true: this is the switch that asks Operate to frame the runtime; it must be present and spelled exactly.
  • deferred:=true: keep it as shown; it changes when the process is launched, not how it is framed.
  • classname:="HmiRTm": the class name must match the window class of the runtime window that actually appears. A window-class inspector on the live desktop shows the real class, and a mismatch means Operate is watching for a window that never comes.

One more check closes this section: Operate must actually read the file you edited. Copy systemconfiguration.ini to the location the Integrate documentation for your release names, restart Operate, and confirm the change took effect, because an unread edit produces exactly the same symptom as a wrong one.

How must the area mapping and Slamconfig.ini line up? #

Two exact-name matches carry the area: the name in AREA600 must equal the [AreaWinCCFLex] section header in Slamconfig.ini character for character, including the unusual capital L, and its process name must equal the one in the PROC600 line. The matching section then supplies the area's identity and permissions:

[AreaWinCCFLex]
TextId = WinCC
TextFile = oemtxt
TextContext = contextOEM
SoftkeyPosition=7
AccessLevel=7

The three text keys point the area at its language resources and stay as shown in a standard integration. Since your runtime opens as an Operate area at all, with its softkey at position 7 and the area gated at access level 7, Operate is reading this mapping; audit the two names for exact spelling, then move on, because the framing fault is not here.

Does the panel type and resolution have to match? #

Yes: the integration requires the operator panel type and the resolution configured in the project to match the display the OEM frame provides, and a mismatch is corrected in the project and recompiled, never in the ini files. The standalone test does not clear this link, because full screen on the desktop says nothing about how the runtime fits the area Operate hands it.

Example with assumed numbers: the project's panel type is configured for 1920 × 1080, while the Operate display runs at 1280 × 1024. The differences are 1920 − 1280 = 640 px horizontally and 1080 − 1024 = 56 px vertically, so the project's picture cannot fill that area one-to-one. The decision: set the panel type and resolution in the project to what the Operate display actually runs, recompile, download, and repeat the launch through Operate. Retargeting an existing project to another panel type follows the same steps as moving a TP1500 Comfort project to WinCC Runtime Advanced. If the two already match, this link is cleared and the version pairing is next.

Which Create MyHMI/WinCC version pairs with your Operate release? #

Record the exact SINUMERIK Integrate Create MyHMI/WinCC version installed with your project first, because its pairing with the Operate release is a documented compatibility decision, and the full-screen standalone result proves nothing about that pairing. Inside Operate, three things must be a combination the Integrate documentation lists together: the Operate release, the integration files, and the WinCC version the Create MyHMI/WinCC package is built for. The standalone runtime exercises only the last of these on its own.

The decision: if the installed Create MyHMI/WinCC version is not the one the Integrate documentation pairs with Operate V4.5 + SP3, align it before any further file edits, because every other check in this article runs on top of that pairing. If it matches, the pairing is cleared and only the frame defaults remain.

What value belongs in WindowsStyle_Off in OEMFRAME.INI? #

Keep the value the installation shipped: the installed OEMFRAME.INI already contains the default settings the WinCC application needs, so WindowsStyle_Off changes only to a value the Integrate documentation names for your exact Operate and WinCC combination, never to a guess. A guessed style constant is the one change in this chain you cannot verify by reading a file or watching a process, which is exactly why it comes last, after the registration items, the name matches, the resolution match and the version pairing are confirmed.

The documented value lives in the OEMFrame documentation for the installed Operate release, the same documentation that describes integrating OEMFrame applications through systemconfiguration.ini. Back up both ini files before changing anything and trial the machine in a service state while you test, because these files decide what the operator sees at the control.

How do you confirm the fix, and what if it stays windowed? #

Confirm through Operate itself: the runtime must fill the frame area with no Windows title bar around it, and it must come back the same after an Operate restart, because edits to the integration files only take effect when Operate starts. Run the standalone launch once more afterwards; both results together, full screen embedded and full screen standalone, are the acceptance test for this fault.

If the runtime still opens windowed with all five registration items verified, both names matched, the resolution aligned, the version paired and the shipped frame defaults in place, stop editing. Hand the standalone-versus-Operate comparison, both ini files as installed, and the exact version numbers to the machine builder or the control manufacturer's support; that package is precisely what they will ask for first, and the documented frame settings for the combination come from the same channel.

Questions asked

Is reinstalling WinCC Runtime Advanced worth trying?

No. The full-screen standalone launch proves the installation already runs this project correctly, so a reinstall changes nothing on the Operate side, where the fault sits. Keep the working installation and spend the time on the registration, the resolution match and the version pairing instead.

Does the STEP7 entry in the same configuration file matter?

Audit it, because both entries share one file. In a typical two-area setup the STEP7 area takes a different softkey slot, for example position 12 with access level 3, so it cannot collide with the WinCC area, and both entries must stay syntactically intact whenever you edit either one.

What should you record before escalating to the machine builder?

The Operate release with its service pack, the exact Integrate Create MyHMI/WinCC version, both ini files exactly as installed, the project's panel type and resolution, and the standalone-versus-Operate comparison. That package answers the first questions support asks and leads straight to the documented frame settings for the combination.

Keep reading

  • Troubleshooting

    Create a desktop shortcut for WinCC Runtime Advanced

    The .fwx prompt means the shortcut starts the runtime executable with no project attached. Start runtime once from the engineering software so the HMI subfolder receives the generated runtime file and a working runtime shortcut, then copy that shortcut's Target into your desktop shortcut. Verify the same runtime release and license exist on any other computer before copying it there.

    HMI and touchscreens

  • Troubleshooting

    How to Recover a WinCC On-Screen Keyboard Placed Off-Screen

    Set PosLeft, PosTop, PosRight and PosBottom to 0 under the Windows account that runs the HMI, then restart Windows: the keyboard reopens at a sensible default. The values live under HKEY_CURRENT_USER\SOFTWARE\Siemens\SimaticHmiIM on a documented WinCC V17 station, but the subkey varies, so search for PosLeft under HKCU\SOFTWARE\Siemens when the key is not there.

    HMI and touchscreens

  • How-to

    Run an HMI application touch-only in forced full screen

    Enable the built-in on-screen keyboard with System.OnScreenKeyboard = 3 so page and popup-dialog entry both work by finger, and launch the runtime through a shortcut whose Target field ends in the -f switch to force full screen. Because -f cannot be exited in-session, keep a second shortcut without it for development, and pass every page and entry field by touch before removing the keyboard and mouse.

    HMI and touchscreens

WinCC runtime stays open after project deactivation on shutdown