IMDTouchKnowledge BaseShop main store

How-to

WinCC V13 SP1 PDF viewer object on Runtime Advanced and Comfort Panels

HMI and touchscreens Published 5 min read

Short answer

WinCC V13 SP1 adds a standard PDF viewer object for WinCC Runtime Advanced, Comfort Panels and second-generation Mobile Panels, with the HMI at version V13.0.1.0 or higher. Place the object from the toolbox, enter the PDF path and file name, and wire buttons to the PDF* functions such as PDFGotoPage and PDFZoomIn — no script is required.

On this page
  1. What V13 SP1 adds and where it runs
  2. Versions to confirm before you start
  3. Configure the PDF viewer object
  4. Drive navigation with the PDF* functions
  5. Fixed path or runtime document selection
  6. Worked example: a three-button SOP viewer
  7. Scope: Runtime Advanced, Runtime Professional and Unified panels
  8. Questions asked

WinCC V13 SP1 adds a PDF viewer as a standard screen object, so putting a document in front of the operator needs no script: place the object on the screen, enter the path and file name of the PDF, and wire buttons to the PDF* navigation functions. The object is confirmed for WinCC Runtime Advanced, the Comfort Panels and the second-generation Mobile Panels, with the HMI at version V13.0.1.0 or higher. Below are the version checks, the configuration steps, the complete function list, the file-path decision and the scope split between Runtime Advanced, WinCC Runtime Professional and the Unified panel line.

What V13 SP1 adds and where it runs #

The release adds two standard screen objects, a PDF viewer and an HTML viewer, sitting in the toolbox alongside the alarm view and the other runtime controls. Each renders its file inside the screen, and no script takes part. The confirmed targets are the WinCC Runtime Advanced PC runtime, the Comfort Panels and the second-generation Mobile Panels. The engineering side is the WinCC Comfort/Advanced option in TIA Portal, the package that configures those targets. The two objects differ in one assignment: the HTML viewer takes a URL for the page, the PDF viewer takes the path and name of the PDF file.

Versions to confirm before you start #

  • Engineering station: TIA Portal V13 SP1 with the WinCC Comfort/Advanced engineering option installed. If the portal shows no HMI area at all, the engineering software is missing, and TIA Portal shows no HMI option: install WinCC Engineering is the fix for that state.
  • Runtime target: a Comfort Panel, a second-generation Mobile Panel or the WinCC Runtime Advanced PC runtime, with the HMI at version V13.0.1.0 or higher. A device below that version must be brought up to it before the object appears in the toolbox.
  • The document itself: the PDF file on storage the runtime can read, referenced by its path and name.

Configure the PDF viewer object #

Six steps take the object from toolbox to running screen:

  1. Open the screen that will show the document.
  2. Drag the PDF viewer from the Controls pane of the toolbox onto the screen and size it for the document.
  3. Open the object's properties in the Inspector window and, under the General settings, enter the path and the name of the PDF file. That assignment is the complete file configuration the object needs.
  4. If the content is a web page instead of a PDF, place the HTML viewer and set its address there; that address accepts a fixed value or a string variable.
  5. Compile and download the project to the target.
  6. Open the screen in runtime and confirm the document renders inside the object.

Drive navigation with the PDF* functions #

Navigation is wired to button events with the documented PDF* system functions, the same way any system function is attached to an event. Pick each function from the tool's function list rather than typing it: the list is the spelling reference, and the zoom-out entry is printed as PDFZoomOUt in the V13 SP1 material, a capitalization trap that selecting from the list sidesteps. The fourteen functions divide into four jobs:

  • Page fitting: PDFFitToHeight, PDFFitToWidth
  • Page jumps: PDFGotoFirstPage, PDFGotoLastPage, PDFGotoNextPage, PDFGotoPage, PDFGotoPreviousPage
  • Scrolling: PDFScrollDown, PDFScrollLeft, PDFScrollUp, PDFScrollRight
  • Zoom control: PDFZoomIn, PDFZoomOriginal, PDFZoomOUt

Fixed path or runtime document selection #

A single fixed document needs nothing beyond step 3: the path and name stay in the object's General settings. Operator-selected documents at runtime are a different design, and the documented V13 SP1 facts bound the choice: the variable binding belongs to the HTML viewer's address, which takes a fixed value or a string variable, while the PDF viewer's documented assignment is a plain path and name. So do not build tag-driven PDF switching on an assumed path binding. The arrangements that rely only on documented behavior are one fixed-path viewer per screen with screen-change buttons, or several fixed-path objects stacked on one screen and switched by visibility. Take a variable-driven PDF path only where the installed build actually offers a binding on the path property; the per-screen arrangement works on every confirmed target today.

Worked example: a three-button SOP viewer #

Example values throughout: a Comfort Panel with its HMI image at version V13.0.1.0, the line's startup procedure stored as line3_sop.pdf on the panel's storage, and that path plus file name entered in the viewer's General settings. Under the object, three buttons:

  • First page wired to PDFGotoFirstPage
  • Next page wired to PDFGotoNextPage
  • Zoom in wired to PDFZoomIn

The test that proves the configuration: start the runtime and the object renders the file at its first page; each press of Next page advances exactly one page; First page returns the view to page 1; Zoom in enlarges the view. If the PDF viewer is missing from the Controls pane instead, the HMI device in the project sits below the required version or the engineering option is not the WinCC Comfort/Advanced package, and correcting one of those two comes before any other step, because the object cannot be added any other way.

Scope: Runtime Advanced, Runtime Professional and Unified panels #

Three names get conflated, and the decision depends on keeping them apart:

  • WinCC Professional is an engineering system. WinCC Runtime Advanced and WinCC Runtime Professional are two different runtimes, and a feature listed for one runtime is not automatically present in the other.
  • The PDF viewer documented here is confirmed on WinCC Runtime Advanced, the Comfort Panels and the second-generation Mobile Panels.
  • The WinCC Professional V13.0 SP1 documentation describes a PDF view of its own, available in the Tools > Controls task card, with its settings under Properties > Properties > General in the Inspector window. Configure a Runtime Professional station from that documentation entry; that runtime is outside the confirmed list of this article.
  • A Unified Comfort panel is a later panel generation with a different mechanism: the documented route there is the StartProgram system function opening the PDF in the panel's PDF viewer app, with the view controlled manually afterwards, and Why the PDF button does nothing on a Unified Comfort panel covers what to do when that route fails.

Decision: on a classic Comfort Panel, a second-generation Mobile Panel or the Runtime Advanced PC runtime, use the standard object of this article; on a Unified panel, use the StartProgram route; on a Runtime Professional station, configure from the Professional documentation's PDF view entry and treat the object as unconfirmed until it shows in that runtime's toolbox.

Questions asked

Why does the PDF viewer object not appear in the toolbox?

Check two things in order. First, the HMI device version in the project: the object needs the HMI at version V13.0.1.0 or higher, so a device below that hides the object. Second, the engineering option: the object belongs to the WinCC Comfort/Advanced engineering for Runtime Advanced, Comfort Panels and second-generation Mobile Panels, and a project pointed at a different runtime target may not offer it.

What is the difference between WinCC Professional and WinCC Runtime Professional?

WinCC Professional is the engineering system; WinCC Runtime Advanced and WinCC Runtime Professional are two different runtimes, and both are configured from the Professional engineering side. A feature confirmed on Runtime Advanced is not automatically present in Runtime Professional, so a target list that names Runtime Advanced does not carry over. The Professional V13.0 SP1 documentation describes a PDF view of its own; configure a Runtime Professional station from that entry and test it on that runtime.

How do I display a PDF on a Unified Comfort panel?

A Unified Comfort panel is a different generation from the Comfort Panels in this article and uses a different route: the documented mechanism is the StartProgram system function, which opens the PDF in the panel's PDF viewer app, and the view of the opened file is then controlled manually. That route and its failure modes are the subject of the Unified panel article on this site.

Do I still need the web browser control and a PDF reader to show a PDF?

Not on the targets in this article. The older route embedded the PDF through the web browser control and relied on a reader installation on the runtime PC; WinCC V13 SP1 makes it unnecessary on the confirmed targets with the standard PDF viewer object, which renders the file itself and is driven by the PDF* functions. The older route stays relevant only for versions and targets that lack the standard object.

Keep reading

  • How-to

    Simulate two HMI panels in WinCC Advanced V13 SP2

    TIA Portal V13 SP2 with WinCC Advanced starts only one simulated panel at a time. To run two, copy an HmiRTm.ini into the WinCCRT Adv folder, set OnlyOneInstance to false, point LoadConfigFile at each compiled .fwc file, and start HMIRTM.exe once per panel.

    HMI and touchscreens

  • How-to

    Migrating a WinCC PC Runtime project to a Comfort panel

    There is no whole-project conversion from a WinCC PC runtime station to a TP1500 Comfort panel. Copying screens inside TIA Portal is supported, but each object, faceplate and system function must be dispositioned and reconfigured for the Comfort system. Advanced sources transfer with the least rework, Professional sources need object-by-object reconciliation, and a Unified source should move to a Unified Comfort panel instead of being converted.

    HMI and touchscreens

  • Selection guide

    Where WinCC Unified Runtime Can Run and Remote HMI Options

    The Unified runtime executes only on a PC, a Panel IPC, a Unified Comfort Panel or the MD-34 tablet; a browser or Sm@rtServer VNC client displays it and never replaces the host. With no PC in the cabinet, a Unified Comfort Panel is the host and the tablet browser is the client. If a safety function must travel with the operator, no Unified mobile panel exists and the design stays Comfort-based.

    HMI and touchscreens