Report
Report
See also
SQL language (Page 4290)
10.6.1 Basics
10.6.1.1 Reports
Introduction
Reports are used to record process data and processed production cycles. You have the
opportunity, for example, to create regular shift reports, output batch data, or record the
production process for quality control (QC).
Creating reports
A report is created and edited in the "Reports" editor. In this editor, you configure the following
report items:
● Formal appearance
Specify the formal layout of the report in the Inspector window. In this window, for example,
you specify the page format, page margins, title page, back page, headers, or footers for
the report.
Moreover, you can specify whether to output the different pages with or without watermark
in the reports for Runtime Professional.
● Content
In the work area, specify the content of the report, for example, the alarms of a shift. To
this purpose, insert the corresponding objects into the detail page(s).
You can also design the title page, back page, headers, and footers as you please. For
watermarked pages, create additional pages to be included as "background image" in the
output.
The modular structure lets you configure reports that suit all of your applications.
Note
The "Reports" editor is not available at HMI devices that do not support reporting.
Report output
In Runtime, report output is event-driven or time-driven.
● Time-driven: Automatic print at specific dates, times or intervals.
● Event-driven: Printing is initiated by specific events, e.g. click on a button, or a limit is
exceeded.
The configuration of report output differs depending on the Runtime version.
In Runtime Advanced, the configured reports are output on the default printer of the HMI device.
For Runtime Professional, make the following decisions with the help of a print job:
● Output of selected pages, or of all pages of the report
● Output of all data, or only the data of a specific period
● Output of the report to a printer or file
● Whether the operator is allowed to select a printer or modify the scope of pages for report
output
● Whether the report that is output is displayed in the print job list of an application window
configured accordingly
output. You can can customize these to suit your requirements, or replace them with a report
of your individual design.
See also
Structure of reports (Page 4294)
Create a report (Page 4306)
Print job/Script diagnostics (Page 3529)
Structure of reports (Page 4296)
Principles for preparation of reports (Page 4302)
Principles for report output (Page 4321)
Basics for system traces and system print jobs (Page 4326)
Introduction
A report in WinCC consists of several sections that can be enabled or disabled, as required.
Sections of a report
The following figure shows an example of the different sections of a report in the "Reports"
editor.
Detail page
Configure the output of runtime data such as recipe or alarm reports on the detail pages of the
report.
Use the shortcut menu on the detail page to insert additional detail pages or change their order.
See also
Create a report (Page 4306)
Reports (Page 4292)
Principles for preparation of reports (Page 4299)
Introduction
A report in WinCC consists of several sections that can be enabled or disabled, as required.
Sections of a report
The following figure shows an example of the different sections of a report in the "Reports"
editor.
Detail page
Configure the output of runtime data such as recipe or alarm reports on the detail pages of the
report.
Use the shortcut menu on the detail page to insert additional detail pages or change their order.
Watermarks
The title, detail and back pages can be output with a watermark. The page is printed with its
superimposed watermark.
With the help of a watermark, output an object "A" next to an object of variable length "B"
without displacing object "A". Example: You want to output an output field (A) next to a table
(B) on all pages.
The title and back pages, as well as the detail pages have separate watermarks.
See also
Reports (Page 4292)
Principles for preparation of reports (Page 4302)
Create a report (Page 4306)
Introduction
A report in WinCC consists of several sections that can be enabled or disabled, as required.
● Title page
● Back page
● Detail pages
● Headers and footers for the detail pages
Procedure
The following figure shows the general procedure for creating a report:
&UHDWHUHSRUW
$VVLJQQDPH
7LWOHSDJH
+HDGHU)RRWHU
2SWLRQDO
&RQILJXUHUHDU
SDJH
,QVHUWDGGLWLRQDO
2SWLRQDO GHWDLOSDJHV
,QVHUWUHSRUW
REMHFWRQGHWDLO
SDJH Q[GHWDLO
SDJHV
&RQILJXUHUHSRUW
REMHFW
&RQILJXUH3ULQW
UHSRUWV\VWHP
IXQFWLRQ
Note
The "Screens" editor provides many objects for designing a report – however, with
restricted functionality. Data input properties are not available. The I/O fields in the reports,
for example, serve only to output data.
See also
Configuring reporting of alarms (Page 3995)
Structure of reports (Page 4294)
Create a report (Page 4306)
Administration of detail pages (Page 4318)
Objects in reports (Page 4345)
Introduction
A report in WinCC consists of several sections that can be enabled or disabled, as required.
● Title page
● Back page
● Detail pages
● Headers and footers for the detail pages
● Watermarks for title page, back page, detail page
Procedure
The following figure shows the general procedure for creating a report:
&UHDWHUHSRUW
$VVLJQQDPH
7LWOHSDJH
+HDGHUIRRWHU
2SWLRQDO
,QVHUWZDWHUPDUN
&RQILJXUHEDFN
SDJH
,QVHUWDGGLWLRQDO
2SWLRQDO GHWDLOSDJHV
,QVHUWREMHFWRQ
GHWDLOSDJH
Q[GHWDLO
SDJHV
&RQILJXUHREMHFW
&UHDWHSULQWMRE
&UHDWHSULQWMRE
2SWLRQDO W\SHWDVN
Note
The "Screens" editor provides many objects for designing a report – however, with restricted
functionality. Data input properties are not available. The I/O fields in the reports, for example,
serve only to output data.
Positioning objects
Insert the objects at the position where you want them to be output in the report. However,
you should be aware that WinCC ignores white spaces at the start of the detail page when the
report is output. The top object marks the start of the detail page on the printed copy.
The following figure shows an example of a detail page in the report and its output in Runtime:
To include a white space in the output, extend the header accordingly. You can also place an
"invisible" object on the detail page at the required start. For example a white line that is not
visible on white paper.
Size of objects
Objects are output in their configured size.
On the detail pages, configure "controls" and "report objects" for the output of Runtime data.
WinCC aligns the Runtime data to fit the object frame – with one special feature: If you configure
an object like a table with dynamic length, WinCC automatically adjusts the height of the table
to fit the amount of data to print. The table can be continued on the next page. WinCC adapts
no more than the object height and places all following objects underneath the the object, as
configured in the detail page.
The following figure shows an example of a detail page in the report and its output in Runtime:
Usually, the "controls" and "report objects" are assigned a dynamic length and output Runtime
data in tabular format. The following objects are included:
● Recipe report
● Alarm report
● Table view
● ODBC database table
● Alarm sequence report
● CSV provider tables
● Control Hardcopy
● Control Data
● Control information
See also
Report design tools (Page 4308)
CSV file for trend output (Page 4312)
CSV file for output of a table (Page 4315)
Continuous alarm reporting (Page 4312)
Reports (Page 4292)
Structure of reports (Page 4296)
Create a report (Page 4306)
Administration of detail pages (Page 4318)
Principles for report output (Page 4321)
Objects in reports (Page 4345)
Create a report
Requirement
A project with an HMI device is open.
Procedure
To create a report, proceed as follows:
1. Double-click "Add new report" under "Reports" in the project navigation.
A new blank report is displayed in the "Reports" editor.
2. Select the "Report properties" command in the shortcut menu of the report.
3. In the "Properties > Properties > General" area of the Inspector window, specify whether
you want to configure the "Title page", "Back page", "Header" and "Footer" in the report.
The report sections are updated accordingly.
4. Configure the format, the page layout, and the page margins of the report under "Properties
> Properties > Layout."
5. Enter a meaningful report name under "Properties > Properties > Miscellaneous."
6. Design the report sections as required.
Drag and drop the necessary basic objects, elements, graphic images and controls from
the "Tools" task card to the required position.
Alternatively, you can also copy or move objects already configured from a screen to the
report.
7. Configure the objects in the Inspector window:
See also
Report design tools (Page 4308)
CSV file for trend output (Page 4312)
CSV file for output of a table (Page 4315)
Continuous alarm reporting (Page 4312)
Configuring reporting of alarms (Page 3995)
Reports (Page 4292)
Structure of reports (Page 4294)
Structure of reports (Page 4296)
Principles for preparation of reports (Page 4302)
Note
The "Screens" Editor provides many objects, though with restricted functionality, that you
can use to design a report. Data input properties are not available. The I/O fields in the
reports, for example, serve only to output data.
Elements
The following table provides an overview of the objects of the "Elements" panel:
Object Application
Date/time field For output of the current data and time
You can customize the output format.
I/O field For the output of process values
You can choose between different output formats.
Project name For output of the project name
The name can be output with or without path definition.
Report name For output of the report name
Page number For output of the page number and total number of pages
You can customize the output format.
A print function is already integrated in the "Table view" control in the "Screens" editor (button
in Runtime). The "Table view" uses preconfigured system reports for printing. You can specify
in the system reports if you want to output all data or only the current data displayed in the
object (snapshot). You match system reports to your requirements or use individually designed
reports instead of the system reports.
A print function is already integrated in the "f(t) trend view" and "f(x) trend view" controls in the
"Screens" editor (button in Runtime). For printing, these controls use preconfigured system
reports that you can customize to suit your requirements.
Output of recipes
For a time-driven or event-driven output of recipe data, configure the following controls in
reports:
A print function is already integrated in the "Recipe view" control in the "Screens" editor (button
in Runtime). This control uses preconfigured system reports for printing. You can specify in
the system reports if you want to output all data or only the current data displayed in the object
(snapshot). You match system reports to your requirements or use individually designed
reports instead of the system reports.
Output of alarms
WinCC offers several options for alarm reporting.
For a time-driven or event-driven output of alarms, configure the following control in reports:
A print function is already integrated in the "Alarm view" control in the "Screens" editor (button
in Runtime). This control uses preconfigured system reports for printing. You can specify in
the system reports if you want to output all alarms or only the current alarms displayed in the
object (snapshot). You match system reports to your requirements or use individually designed
reports instead of the system reports.
WinCC lets you continuously output alarms after the start of Runtime, for example, to a line
printer. All you have to do is activate this output. WinCC offers two preconfigured system
reports that you can adapt to meet your requirements: one for output in the line layout and one
for output in the page layout.
Report objects
Certain screen objects, e.g. in the alarm view, contain a default button function (printer icon)
for the report output.
For reports that you want to use for the printing a screen object instead of a preconfigured
system report, configure the output of Runtime data with the help of the "Report objects".
The following table shows the report objects that you can use in the reports:
See also
Create a report (Page 4306)
Principles for preparation of reports (Page 4302)
Control Data (Page 4346)
Control hard copy (Page 4347)
Control Information (Page 4348)
CSV provider trends (Page 4349)
CSV provider tables (Page 4350)
Date/time field (Page 4352)
f(t) trend view in reports (Page 4355)
f(x) trend view in reports (Page 4355)
Hardcopy (Page 4358)
Alarm view in reports (Page 4359)
ODBC database field (Page 4363)
ODBC database table (Page 4364)
Project name (Page 4366)
Report name (Page 4367)
Recipe view in reports (Page 4368)
Page number (Page 4371)
Table view in reports (Page 4372)
Continuous alarm reporting (Page 4312)
See also
Principles for preparation of reports (Page 4302)
Report design tools (Page 4308)
Create a report (Page 4306)
Alarm sequence report (Page 4360)
Basics for system traces and system print jobs (Page 4326)
Alarm view in reports (Page 4359)
Requirements for a CSV file that is used for the output of trends
To enable output in a table, the data in the CSV file must have a defined structure.
In the report, the "CSV provider trends" object visualizes the CSV file data in trends. The data
of a CSV file must conform to the structure described below.
The CSV file must contain a paragraph for the different parts of the graphic object. A paragraph,
in turn, can contain several lines. The following paragraphs are mandatory:
● "Graph": Contains the number of trends and specifications concerning visualization of the
graphic object
● "Trends": Contains information on the trend visualization
● "Trend values": Contains the values of the trends
The syntax is identical in all paragraphs. The first line marks the beginning of a paragraph and
defines the interpretation of the paragraph data. The other lines of a paragraph contain the
actual values of the graphic object or trends.
Use a semicolon to separate the values. Insert line breaks to mark the end of lines.
"Graph" paragraph:
The first line of the "Graph" paragraph must contain the following entry:
#Trend_T; Name; Curves; DateFrom; DateTo; Common Y-Axis; Font; Fontsize
The second line has to contain the values for the graphic object.
Example:
Line Content
1 #Trend_T; Name; Curves; DateFrom; DateTo; Common Y-Axis; Font; Fontsize
2 "TrendControl1";3;"2001-10-10 16:30:00.000";"2001-10-10 16:40:00.000";0;"Arial";10
"Trends" paragraph:
The first line of the "Trend" paragraph must contain the following entry:
#Curve; Num; Name; Count; dMin; dMax; Color; Width; CurveType; Filling
For each trend that is visualized in the graphic object, the paragraph must contain a separate
line that specifies the trend values.
Example:
Line Content
1 #Curve; Num; Name; Count; dMin; dMax; Color; Width; CurveType; Filling
2 0;"Temperature";3;10;30;0x00ff0000;1;STEP;0
3 1;"Pressure";5;0;50;0x0000ff00;2;DOTS;0
...
Example:
Line Content
1 #Data; Num; Date; Value; Flags; Color
2 0;"2001-10-10 16:30:00.000";22;0;0x000000FF
3 0;"2001-10-10 16:31:00.000";24;0;
...
See also
Create a report (Page 4306)
Principles for preparation of reports (Page 4302)
CSV provider trends (Page 4349)
"Table" paragraph
The first line of the "Table" paragraph must contain the following entry:
#Table; Name; Columns; Font; Fontsize
The second line has to contain the values for the table.
Example:
Line Content
1 #Table; Name; Columns; Font; Fontsize
2 "Tab_9";4;"Arial";14
"Columns" paragraph
The first line of the "Columns" paragraph must contain the following entry:
Example:
Line Content
1 #Column; Num; Header; Width; Alignment
2 1;"Number";6;L
3 …
4 …
"Values" paragraph
The first line of the "Values" paragraph must contain the following entry:
#Data; Color; Col1; Col2; Col3; ...
For each line of the table, this paragraph must contain a separate line that specifies the relevant
column values.
Example:
Line Content
1 #Data; Color; Col1; Col2; Col3; Col4
2 0xFF00FF;"05/06/02";"15.55.53";86;"+/-"
Line Content
3 0x32b400;"05/06/02";"15.55.54";87;"+/-"
4 0x32b400;"05/06/02";"16.00.00";82;"+/-"
Line Content
1 #Data; Color; Col1; Col2; Col3; Col4
2 ;0xFF00FF;"05/06/02";"15.55.53";86;"+/-"
3 ;0x32b400;"05/06/02";"15.55.54";87;"+/-"
Note
Different notation for color definitions
Colors are defined by a six-digit hexadecimal number.
In the "Values" paragraph, the line color has the same notation as in HTML, with the following
byte sequence:
0xbbggrr (blue blue green green red red).
To format a single value, the colors in the control character <Color> are defined by an inverted
sequence:
#rrggbb (red red green green blue blue).
See also
Create a report (Page 4306)
Principles for preparation of reports (Page 4302)
CSV provider tables (Page 4350)
See also
Structure of reports (Page 4294)
Structure of reports (Page 4296)
Principles for preparation of reports (Page 4302)
Principles for preparation of reports (Page 4299)
Introduction
In Runtime, report output is event-driven or time-driven.
You can also display the pending print jobs as a list in Runtime. Operators can use this print
job list to decide which report they want to output.
Event-driven output
The report is output after an event was generated.
Examples:
● A tag value changes or exceeds a limit.
● Alarm is incoming, outgoing or acknowledged
● Action by the operator, for example, clicking a button
Time-driven output
The report is output automatically.
Examples:
● Once at a specified date, e.g. on December 31, 2010 at 6:30 AM
● At intervals, e.g. daily at 8 am, or on Mondays at 6 pm
Configuration steps
The configuration of a time-driven or event-driven report output differs depending on the
Runtime version.
To display the print job list in Runtime, configure the "Application window" control in screens.
The application window shows all or only select print jobs, depending on the configuration.
See also
Planning tasks (Page 6103)
Create a print job (Page 4322)
Configuring automatic start of a print job in the scheduled tasks (Page 4325)
System reports and system print jobs (Page 4326)
Print job/Script diagnostics (Page 3529)
Report output in Runtime Professional (Page 4321)
Report output in Runtime Advanced (Page 4320)
Introduction
In Runtime Advanced, report output is event-driven or time-driven.
Configuration steps
Configuring event-driven output:
● An event is configured on a button or tag with the "PrintReport" system function.
Configuring time-driven output:
● In the scheduled tasks, configure a "Print job" task and assign it the desired report.
In the task properties, specify the time and frequency of report output.
Output in Runtime
On the control panel of the HMI device, the report is output to the printer that is specified as
the default printer.
The default printer enabled for a HMI device can be found in the "Printer list". For further
information about the "Printer list", refer to the Internet page of Siemens Customer Support
and the Article ID "11376409".
See also
Configuring reporting of alarms (Page 3995)
Overview of report output (Page 4319)
Introduction
In Runtime Professional, report output is event-driven or time-driven.
Configuration steps
● Under Reports, create a print job and assign it the desired report.
In the print job properties, specify the number of pages, the time range, and the output
format (printer or file) of the report.
● To configure a time-driven output, create a task of the type "Print job" in the scheduled
tasks and assign the desired print job to this task.
In the task properties, specify the time and frequency of report output.
● To configure an event-driven output, configure an event to the selected object to run a C
Script for calling the "ReportJob" function, e.g.
– ReportJob("<Name of print job>","PRINTJOB"); to output the print job
– ReportJob("<Name of print job>","PREVIEW"); to output a print preview
Note
Screen objects with preconfigured report output
Certain screen objects, e.g. in the alarm view, contain a default button function (printer icon)
for the report output. You can choose to modify the default system reports, or use a report
with individual design.
Output in Runtime
The report is written as follows depending on the configuration:
● On the printer that is specified as the default printer in the control panel of the HMI device.
The default printer enabled for a HMI device can be found in the "Printer list". For additional
information about the "Printer list", refer to the Internet page of Siemens Service & Support
and the Article ID "11376409".
● On a network printer that is available for the HMI device.
● In a file in EMF format.
See also
Reports (Page 4292)
Create a print job (Page 4322)
Configuring automatic start of a print job in the scheduled tasks (Page 4325)
Introduction
You define the following in the print job:
● Scope of the print job: all pages, or specific pages only
● Time period during which report entries are output
● Printer on which the report is printed
● File to which the report is saved
Requirement
The "Print jobs" editor is open.
Procedure
Proceed as follows to create a new print job:
1. In the "Name" column, double-click in the "<Add>" cell.
A new print job is inserted.
2. In the "Properties > Properties > General" dialog of the Inspector window, enter a "Name"
for the print job and select the "Report".
3. Under "Dialog type", specify whether the operator is allowed to modify the report settings
prior to output.
4. Under "Properties > Properties > Page range", specify whether the print job outputs all or
only specific pages.
5. Under "Properties > Properties > Time range", specify the time period for the output of
report entries.
6. If you want to print the report, enable the "Printer" option under "Properties > Properties >
Output > Print output".
The report is output to the default printer of the HMI device.
7. You can select up to three printers if you want to output the report to a different printer.
8. If the report should be exported to a file, select "Properties > Properties > Target file > Print
to file > Print to file (*.emf)".
A folder name is created using the information in "Target directory prefix" and the time
stamp at the time of printing. The reports are created in the runtime project directory under
"PRT_OUT" in a folder of this name.
Result
The print job is created for the report.
● For time-driven output in Runtime, create a "Print job" task in the scheduled tasks. Assign
the required print job to this task.
● For event-driven output, assign the object an event that runs a C script for calling the
"PrintJob" function.
See also
Principles for report output (Page 4321)
Configuring automatic start of a print job in the scheduled tasks (Page 4325)
Print job/Script diagnostics (Page 3529)
Introduction
A task of the "print job" type specifies the time and frequency of automatic report output (time-
driven output).
Requirements
● A print job has been created.
Procedure
To create a task for automatic start of a print job, follow these steps:
1. In the "Runtime settings" of the HMI device activate "Services > Start sequence of WinCC
Runtime > Scheduled print jobs in Runtime".
2. Create a new task in the scheduled tasks.
3. Enter a "Name" for the task under "Properties > Properties > General".
4. Select the "Print job" setting in the "Type" field.
5. Select the required "print job".
6. Under "Start time", specify the time and frequency of report output, for example, daily at 5
PM:
Result
The task for time-driven report output was created successfully.
See also
Principles for report output (Page 4321)
Create a print job (Page 4322)
Printing reports (Page 4344)
System reports and system print jobs for the print function of screen objects
Certain screen objects, e.g. in the alarm view, contain a default button function (printer icon)
for the report output.
The "Print" button of the screen object is linked to a preconfigured system print job. The system
print job, in turn, outputs a preconfigured system report.
System reports output a "snapshot", or "all data" of the screen object.
● Snapshot: The report outputs the data currently displayed in the screen object.
● All data: The report outputs all data content of the screen object.
The following table identifies the preconfigured system reports and system print jobs for the
screen objects.
Screen object Default Print scope System print job System reports
f(t) trend view X Snapshot Function Trend Control - @Function Trend Control - Picture
Picture
f(x) trend view X Snapshot Online Trend Control - @Online Trend Control - Picture
Picture
Table view Snapshot Online Table Control – @Online Table Control – Picture
Picture
X All data Online Table Control - Table @Online Table Control - Table
Alarm view Snapshot Alarm Control – Picture @Alarm Control – Picture
X All data Alarm Control - Table @Alarm Control - Table
Recipe view Snapshot Recipe Control - Picture @Recipe Control - Picture
X All data Recipe Control - Table @Recipe Control - Table
Value table Snapshot Ruler Control - Picture @Ruler Control - Picture
X All data Ruler Control - Table @Ruler Control - Table
Usually, there is no need to configure the report output. Customize the system print job or
system report to suit your requirements: You can also choose to assign a screen object a
different, preconfigured system print job, or a print job you created for the output of a report
with individual design.
System print reports and system print job for alarm sequence reports
The output of an alarm sequence report is configured in a system print job. If you have
activated "Properties > Properties > General > Use line report", WinCC uses the alarm
sequence report with line layout. If you have not activated this option, WinCC uses the alarm
sequence report with page layout.
See also
Continuous alarm reporting (Page 4312)
Principles for report output (Page 4321)
Displaying system reports and system print jobs in the project navigation
The system reports and system print jobs are stored in the project template and not displayed
automatically in the project navigation. If you want to modify a system report or system print
job, display these in the project navigation.
To do this, follow these steps:
● In the project navigation select the command "Add system report" in the shortcut menu of
the "Reports" folder.
The project navigation also shows the system reports under "Reports".
The list of "Print jobs" was extended to include system print jobs.
Validity of changes
In the project, any modification to system reports and system print jobs affect all objects
assigned the system report or system print job.
Note
Cancel changes
To restore the preconfigured status of WinCC, for example, after the control for output of data
was accidentally deleted in the report, first delete the system report or the system print job
and then select the "Add system reports" command in the shortcut menu of the "Reports"
folder in the project tree.
● Any deleted system reports and system print jobs will be shown once again. The
preconfigured WinCC status is restored. The status at the time of deletion is not
reconstructed.
● All other system reports and system print jobs remain the same.
See also
Basics for system traces and system print jobs (Page 4326)
Introduction
If you do not want to use the default system print job (including the system report) that is linked
to the screen object for report output, assign this screen object a different system print job, or
a report with individual layout.
Inserting an object
Introduction
In the "Screens" or "Reports" editor, insert the objects to the "Toolbox" task card. Use the
mouse to drag the objects into the work area. You either keep the objects in their original size,
or scale them up or down when you paste them.
In addition, you can copy or move objects via the clipboard from one editor to another, for
example to transfer a screen object to a report. Alternatively, you can also use the mouse
instead of the clipboard for copying and moving:
● Copying: <Ctrl + Drag&Drop>
● Moving: Drag&drop
Note
Basic Panels
The "Reports" editor is not available for Basic Panels.
Requirement
The "Tools" task card is open.
Copying an object
1. Select the desired object.
2. Select "Copy" in the shortcut menu.
3. Click the desired location and select "Paste" in the shortcut menu.
WinCC inserts a copy of the object at the desired location. You can only change the properties
that are appropriate for the relevant context.
Example: In the "Screens" editor, you can set for I/O fields and the mode for input and output.
In the "Reports" editor, the mode is set to "Output".
Original and copy are not interconnected and are configured independently from one another.
Inserting lines
1. Select the desired graphic object in the "Tools" task card.
2. Click on a location in the work area. A line in the standard size is inserted.
Note
Basic Panels
The "Polyline" and "Polygon" objects are not available for Basic Panels.
Note
If you want to insert several objects of the same type, use the "Stamp" function. This avoids
having to reselect the object in the "Tools" task card every time before inserting it. To do so,
select the icon in the toolbar of the "Tools" task card.
See also
Storing an object in a library (Page 6824)
Inserting a library object (Page 6824)
Deleting an object
Introduction
You can delete objects individually or with a multiple selection.
Requirement
You have opened the work area containing at least one object.
Procedure
1. Select the object that you want to delete.
To delete multiple objects, keep the <Shift> key pressed and select the objects to be deleted
one after the other. Alternatively, drag and maximize an area around the desired objects
with the mouse.
2. Select "Delete" from the shortcut menu.
Result
The selected objects are deleted.
Introduction
WinCC offers the possibility to "stamp" several objects of the same type directly one after the
other, i.e. paste without having to reselect the object every time. In addition you have the
possibility of multiplying an object that has already been inserted.
Requirement
The "Tools" task card is open.
Note
You can copy existing objects using the drag-and-drop +<CTRL> function. The existing
object is not moved in this case. You paste a copy of this object into the new position
instead.
0XOWLSOLFDWLRQ
LQKRUL]RQWDO
GLUHFWLRQ
0XOWLSOLFDWLRQ
0XOWLSOLFDWLRQ LQYHUWLFDODQG
LQYHUWLFDO KRUL]RQWDO
GLUHFWLRQ GLUHFWLRQ
3. Drag the handles to the right and/or down while keeping the left mouse button pressed.
4. The object is multiplied depending on available space if you keep moving the cursor.
Result
You have pasted and stamped an object in a screen.
Positioning objects
Introduction
When you select an object, it is enclosed by a rectangle with resizing handles. This rectangle
is the rectangle which surrounds the object. The position of an object is defined by the
coordinates of the top left corner of the rectangle surrounding the object.
Note
If the position is outside the work area the object is not displayed in Runtime.
Requirement
You have opened the work area containing at least one object.
Procedure
1. Select the object you want to move.
The selected object is framed by a rectangle with resizing handles.
Alternative procedure
1. In the Inspector window, select "Properties > Properties > Layout".
2. Enter the X and Y values for the position under "Position & Size".
Result
The object appears at its new position.
Introduction
You can use the "Order" functions in the shortcut menu of a selected object or in the toolbar
to move a selected object in front of or behind other objects within an object layer.
Note
ActiveX controls are always positioned in front of an object layer (.NET property).
Requirement
You have opened a screen which contains a layer with multiple objects.
Procedure
1. Select the object you want to move forward or backward.
2. Select the "Sort" command and one of the following commands from the shortcut menu:
Icon Description
Moves the selected object before all the other objects of the same layer
Moves the selected object to the lowest position in the same layer
Moves the selected object up by one position
Moves the selected object down by one position
Alternative procedure
1. Open the "Layers" palette of the "Layout" task card.
2. Navigate to the required object.
3. Hold down the mouse button, and drag the object in the tree topology to the required position
in the layer.
4. Now release the mouse button.
Result
The object is moved up or down.
Resizing objects
Introduction
When you select an object, it is enclosed by a rectangle with handles. You have the following
options of resizing an object:
● Drag the handles using the mouse.
● Modify the "Size" property in the Inspector window.
Requirement
You have opened the work area containing at least one object.
Procedure
1. Select the object you want to resize.
The selection rectangle appears. The following figure shows a selected object:
Alternative procedure
1. In the Inspector window, select "Properties > Properties > Layout".
2. Enter the size of the object under "Position & Size".
Icon Description
Aligns the selected objects to the width of the reference object.
Aligns the selected objects to the width and height of the reference object.
Result
The object now appears with its new size.
Introduction
Select all objects you want to align with each other or to change global properties. This
procedure is called "multiple selection."
The Inspector window shows all the properties of the selected objects.
You now have several options of selecting multiple objects:
● Draw a selection frame around the objects.
● Hold down the <Shift> key, and click the required objects.
Requirement
You have opened the work area containing at least two objects.
Note
To remove an object from the multiple selection, press <SHIFT>, hold it down and then
click the relevant object once again.
Result
Multiple objects are selected. One of those is identified as the reference object. You can now
perform the following steps:
● Changing the object properties of all the objects
● Resizing all the objects by the same ratio, by dragging the selection frame to increase or
reduce the size
● Moving all the objects in one group
● Aligning the objects to the reference object
Possible modifications
After you have selected multiple objects, you edit them:
● Shift using the mouse
– To change the absolute position of the marked objects, position the mouse pointer over
an object, and shift the multiple selection with the mouse button pressed.
– To resize all the objects by the same ratio, grab the resizing handles of the reference
object.
● Move over the work area with the icons of the toolbar
– Change the position of the marked objects with respect to each other
– Align the height and width of the marked objects
● Moving with the shortcut menu commands of the work area
– Change the position of the marked objects with respect to each other
– Align the height and width of the marked objects
Aligning objects
Procedure
1. Select the objects via multiple selection.
2. Specify an object as the reference object.
3. Select the desired command in the toolbar or the shortcut menu - see table below.
The selected objects will be aligned.
Icon Description
Aligns the selected objects to the left edge of the reference object.
Aligns the selected objects to the vertical center axis of the reference object.
Aligns the selected objects to the right edge of the reference object.
Aligns the selected objects to the upper edge of the reference object.
Aligns the selected objects to the horizontal center axis of the reference object.
Aligns the selected objects to the lower edge of the reference object.
Centers the selected objects to the center points of the reference object.
Centers the selected objects vertically in the screen.
Snap to object
When you reposition objects, they are displayed with help lines. You can use other objects for
orientation during positioning.
If you are working with the keyboard, press the Alt key. When you move the selected object
with the arrow keys, the next anchor point is displayed.
The following screen shows how you align the vertical spacing of the selected objects:
Icon Description
Aligns the horizontal distance between the objects.
The position of the objects on the extreme left and right side remains unchanged. All
other objects are distributed evenly between them.
Aligns the vertical distance between the objects.
The position of the objects at the extreme top and bottom (right and left) remains
unchanged. All other objects are distributed evenly between them.
Rotating objects
Introduction
You can rotate a suitable object clockwise or counterclockwise around its center axis in steps
of 90°.
Note
Not all the objects can be rotated. Some objects that can be rotated in screens cannot be
rotated in reports.
You can also rotate multiple objects using the multiple selection function. Certain WinCC
objects such as buttons cannot be rotated.
The alignment of elements in an object will change in a rotated object. The following figure
shows how a rectangle and an ellipse behave under the different commands for rotating an
object:
rWRWKHULJKW
rWRWKHOHIW
rWRWKHULJKW
[rWRWKHULJKW
Requirement
You have opened the work area containing at least one object.
Procedure
1. Select the object that you want to rotate.
2. Click one of the following toolbar icons:
, to rotate the object clockwise around its center point. The angle of rotation is 90°.
, to rotate the object counterclockwise around its center point. The angle of rotation is
90°.
, to rotate the object clockwise by 180°.
Result
The object is shown at its new angle.
Flipping objects
Introduction
You can flip an object along its vertical or horizontal center axis. The alignment of elements in
an object will change when you flip an object. The following figure shows how a rectangle and
an ellipse behave under the different commands for flipping an object.
KRUL]RQWDO
YHUWLFDO
KRUL]RQWDOYHUWLFDO
Requirement
You have opened a screen which contains at least one object.
Procedure
1. Select the object that you want to flip.
2. Click the "Flip" command in the shortcut menu and select one of the options displayed:
– , to flip the selected object along its vertical center axis.
– , to flip the selected object along its horizontal center axis.
Result
The object is shown at its flipped position.
Printing reports
Printing reports
See also
Principles for report output (Page 4321)
Print job/Script diagnostics (Page 3529)
Basics for system traces and system print jobs (Page 4326)
Application
With the audit report, the content of the audit trail of a HMI device is output as a report.
Requirements
The "audit report" object is available only if the following requirements are met:
● The HMI device supports a GMP-compliant configuration.
● GMP-compliant configuration is active in the Runtime settings of the HMI device.
Note that operator actions and system operations are only recorded if a corresponding log is
configured.
Layout
In the Inspector window the position, shape, style, color and font types of the object are
customized. In particular, the following can be adjusted:
● Visibility of the comment
See also
Enabling GMP compliant configuration (Page 7231)
Audit Trail (Page 7233)
Creating an audit trail (Page 7234)
Logging the audit trail (Page 7242)
Reporting an audit trail (Page 7242)
Audit Trail reporting (Page 7243)
Parameters for the audit trail report (Page 7245)
Printing out an audit trail report (Page 7247)
Application
You need report objects if you want to configure a report with individual layout for the report
output function of a screen object.
The "Control Data" report object outputs all data contained in the screen object in table form
– including those data that are currently invisible in the screen object in Runtime.
Layout
Customize the frame and color settings in the Inspector window. You can adapt the following
properties in particular:
● Control type whose content is output
● Control objects of the screen object to include in the visualization
● Position & size
Control type
Specify in the Inspector window under "Properties > Properties > General > Control type", if
the value at the ruler position, the content of the object or the object is output.
● In the "f(x) trend view" and the "f(t) trend view" select either the "Ruler" or "Other control"
option.
● For all other screen objects select "Other control".
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
You need report objects if you want to configure a report with individual layout for the report
output function of a screen object.
The "Control Hardcopy" object output a snapshot of the screen object. Only the data that is
visible in the screen object in Runtime is output.
Layout
Customize the frame and color settings in the Inspector window.
You can adapt the following properties in particular:
● Control type whose content is output
● Specifies the control objects of the screen objects to include in the visualization.
● Size & position
Control type
Specify in the Inspector window under "Properties > Properties > General > Control type", if
the value at the ruler position, the content of the object or the object is output.
● In the "f(x) trend view" and the "f(t) trend view" select either the "Ruler" or "Other control"
option.
● For all other screen objects select "Other control".
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
You need report objects if you want to configure a report with individual layout for the report
output function of a screen object.
The "Control Information" report object outputs the window title, the screen object name or the
screen name. This way you include, for example, the data source in the report.
Layout
Customize the frame, color, font, and font size settings in the Inspector window. You can adapt
the following properties in particular:
● Control type whose content is output
● Content
Control type
Specify in the Inspector window under "Properties > Properties > General > Control type", if
the value at the ruler position, the content of the object or the object is output.
● In the "f(x) trend view" and the "f(t) trend view" select either the "Ruler" or "Other control"
option.
● For all other screen objects select "Other control".
Content
In the Inspector window, select "Properties > Properties > General > Content" to specify the
information to output with the report object:
● Window title
● Object name
● Screen name
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "CSV provider trends" object outputs data from a file in the format "*.csv" as trends in the
report.
Page breaks are inserted automatically in the report depending on the amount of output data.
The configured width is not changed in the report. Subsequent objects are shifted
automatically.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Data source
Data source
Specify the data source under "Properties > Properties > General > Provider". You can select
a CSV file, or configure an internal tag for dynamic selection of the CSV file. This means that
the data output is changed directly at the HMI device. The tag must be of data type "String" or
"WString".
Note
For their visualization in trends, the data in the CSV file must have a defined structure.
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "CSV provider tables" object outputs data from a CSV file in tabular format in the report.
Page breaks are inserted automatically in the report, depending on the amount of output data.
The configured width is not changed in the report. Subsequent objects are shifted automatically.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Data source
● Applying fonts from the data source
Data source
Specify the data source under "Properties > Properties > General > Provider". You can select
a CSV file, or configure an internal tag for dynamic selection of the CSV file. This means that
the data output is changed directly at the HMI device. The tag must be of data type "String" or
"WString".
Note
To enable output in a table, the data in the CSV file must have a defined structure.
See also
CSV file for output of a table (Page 4315)
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "Date/time field" object shows the system time of the HMI device or the date and / or time
of a connected tag. The layout depends on the language setting on the HMI device.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. In the "Properties > Properties > General" dialog, you can adapt the following properties
in particular:
● Long date/time format: This setting defines the format displayed for the data and / or time.
● System time: Specifies whether to use the system time of the HMI device, or the data and /
or time of a connected tag.
Option Description
"Enabled" Date and / or time is fully displayed, for example "Sunday, December 31, 2000
10:59:59 AM"
"Disabled" Date and / or time is displayed in abbreviated form, e.g. "12/31/2000 10:59:59
AM"
System time
Option Description
"Enabled" The system time of the HMI device is displayed
"Disabled" The date and / or time of the connected tag is displayed
Select a tag of the "DateTime" data type, e.g. an internal tag. Information about
data types which are available for connection to other PLCs can be found in
the documentation about the respective communication drivers.
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "Date/time field" object outputs the date and / or time in an individually configured format
in the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Display format of date and / or time
Examples
The following table shows a few examples of the combination of wildcards and text:
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "I/O field" object is used to enter process values.
Layout
In the Inspector window, you customize the position, shape, style, color and font types of the
object. You can adapt the following properties in particular:
● Display format: Specifies the format in which the values in the I/O field are output.
Note
The "I/O field" object is also available in "Screens" editor. In reports, the object only outputs
data. Accordingly only configure the output of data for application in reports.
Display format
The "display format" for the output of values is specified in "Properties > Properties > General
> Format", in the Inspector window.
Layout
"Binary" Output of values in binary form
"Date" * Output of date specifications. The format depends on the language setting on the
HMI device.
"Date/time" * Output of date and time specifications. The format depends on the language
setting on the HMI device.
"Decimal" * Output of values in decimal form.
"Hexadecimal" Output of values in hexadecimal form.
"Time" * Output of time specifications. The format depends on the language setting on the
HMI device.
"Character string" Output of strings.
*: not in Runtime Professional
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
You use the "f(t) trend view" object to visualize logging tag values in the form of trends as a
function of time. The report displays the status that the trend profile had at the time of the start
of the print job.
Note
Reduced functional scope of the output in reports
The configuration of the object in the "Reports" editor differs only slightly compared to its
configuration in the "Screens" editor.
The functional scope of the object is adapted for the output in reports: In the "Reports" editor,
for example, it is not possible to configure operating elements in Runtime.
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
You use the "f(x) trend view" object to represent the values of a tag as a function of another
tag. This means that you can present temperature trends as a function of the pressure, for
example. The report displays the status that the trend profile had at the time of the start of the
print job.
Note
Reduced functional scope for the output in reports
The configuration of the object in the "Reports" editor differs only slightly compared to its
configuration in the "Screens" editor.
The functional scope of the object is adapted for the output in reports: In the "Reports" editor,
for example, it is not possible to configure operating elements in Runtime.
See also
f(x) trend view (Page 3547)
Report design tools (Page 4308)
Create a report (Page 4306)
application
The "Graphic view" object is used to display graphics.
Layout
In the Inspector window, you customize the position, shape, style, color and font types of the
object. You can adapt the following properties in particular:
● Graphic: Specifies the graphic file that is displayed in the object.
● Stretch graphic: Specifies the automatic size stretching for objects with graphics.
Inserting graphics
The following graphic format is used in the "Graphic view" object: *.bmp, *.tif, *.png, *.ico, *.emf,
*.wmf, *.gif, *.jpg or *.jpeg. You may also use graphics as OLE objects in the Graphic view .
1. In the Inspector window, select "Properties > Properties > General":
2. Select the graphic you want to add in the drop-down list under "Graphic".
The graphic preview is shown in the right pane.
3. Click "Assign" to insert the graphic in the Graphic view .
Stretch graphic
Whether a graphic displayed in a Graphic view is stretched to the size of the Graphic view in
runtime is specified in the Inspector window.
1. In the Inspector window, select "Properties > Properties > Layout".
2. Select one of the following options from the "Fit to size" area:
– Fit object size to content
– Fit content to object size
Application
With the "Graphic I/O field" object, the graphics of a graphics list are displayed, depending on
the tag value. In the Inspector window, the tag and graphics list are configured, under
"Properties > Properties > General":
Note
The "Graphic I/O field" object is also available in "Screens" editor. In reports, the object only
outputs data. Accordingly only configure the output of data for application in reports.
Layout
Customize settings for color, frame, position and object size in the inspector window. In
particular, the "Fit to size" is defined by specifying whether the object is adjusted to the graphics
during output in the report or the graphic is adjusted in the object.
See also
Create a report (Page 4306)
10.6.3.14 Hardcopy
Application
Use the "Hardcopy" object to output a snapshot of the screen content in the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Specifying the range
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "Alarm view" object displays alarms that occur during the process in a plant. You also use
the alarm view to visualize alarms in list format. WinCC offers various views, such as "Current
alarms" or "Historical alarm list" (short-term).
The report displays the status that the alarm view had at the time of the start of the print job.
Note
Reduced functional scope of the output in reports
The configuration of the object in the "Reports" editor differs only slightly compared to its
configuration in the "Screens" editor.
The functional scope of the object is adapted for the output in reports: In the "Reports" editor,
for example, it is not possible to configure operating elements in Runtime.
See also
Alarm view (Page 3583)
Report design tools (Page 4308)
Continuous alarm reporting (Page 4312)
Create a report (Page 4306)
Application
The "Alarm sequence report" object outputs all alarms from the HMI device as of the start of
Runtime continuously in chronological order. It is only used in the
"@AlarmSequenceReportForPage" system report that specified the output of the WinCC alarm
sequence report in page layout.
You specify which alarms are output in the object properties.
Page breaks are inserted automatically in the report, depending on the amount of output data.
The configured width is not changed in the report. Subsequent objects are shifted
automatically.
See also
Report design tools (Page 4308)
Continuous alarm reporting (Page 4312)
Create a report (Page 4306)
Application
Use the "Alarm report" object to output alarms of the selected alarm classes from the alarm
buffer or alarm log to the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Source
● Alarm classes
● Time range
● Additional settings for the display
● Visible columns
Visible columns
Under ""Properties > Properties > Layout > Visible columns", enable the columns to be
displayed in the alarm report.
See also
Configuring reporting of alarms (Page 3995)
Create a report (Page 4306)
Application
Using the "ODBC database field" object, you can output data from a single table row in the
report via the ODBC interface. The ODBC interface is used for the consistent output of data
that does not originate from WinCC in the report.
Page breaks are inserted automatically in the report, depending on the amount of output data.
The configured width is not changed in the report. Subsequent objects are shifted
automatically.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Settings for the SQL connection
● Data selection for the SQL statement
Connection settings
Under "Properties > Properties > SQL connection", specify the data source, user name, and
password for the SQL connection. You can assign dynamic tag to all settings. This means that
the data output is changed directly at the HMI device.
Data selection
Under "Properties > Properties > SQL statement", specify the data area to visualize in the
report. Enter "Select-Statement".
Enter the required "Select-Statement" in the text field of the same name or select the "Tag"
that supplies the Select-Statement. The tag must be of the "String" or "WString" type.
You can dynamize the Select-Statement in the input field of the same name with tags. To do
so you select "Insert reportfield" at the required text passage in the shortcut menu and then
select the required tag.
Note
Enter only "Select-Statements".
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
Using the "ODBC database table" object, you can output data from a table in the report via the
ODBC interface. The ODBC interface is used for the consistent output of data that does not
originate from WinCC in the report.
Page breaks are inserted automatically in the report, depending on the amount of output data.
The configured width is not changed in the report. Subsequent objects are shifted
automatically.
Layout
In the Inspector window, you customize the position, shape, style, colors and font types of the
object. You can adapt the following properties in particular:
● Settings for the SQL connection
● Data selection for the SQL statement
● Table layout, e.g. number of columns and circular list
Connection settings
Under "Properties > Properties > SQL connection", specify the data source, user name, and
password for the SQL connection. You can assign dynamic tag to all settings. This means that
the data output is changed directly at the HMI device.
Data selection
Under "Properties > Properties > SQL statement", specify the data area to visualize in the
report.
Enter the required "Select-Statement" in the text field of the same name or select the "Tag"
that supplies the Select-Statement. The tag must be of the "String" or "WString" type.
You can dynamize the Select-Statement in the input field of the same name with tags. To do
so you select "Insert reportfield" at the required text passage in the shortcut menu and then
select the required tag.
Note
Enter only "Select-Statements".
Circular list
In the Inspector window, use the "Circular list" option under "Properties > Properties > Table"
to specify the the way the data is distributed to the table columns.
● "Circular list" disabled
The table rows are filled in descending order.
A value is output in the first column of a row. The other columns will stay empty.
● "Circular list" is enabled
The table rows are filled in descending order.
All columns of a row are filled left to right.
Note
This option is only effective if the data are supplied in one column and if the configured
table has several columns.
Example:
You configure a table with three columns. At the time of report output, the screen object
contains the following data: A1, A2, A3, B1, B2, B3, C1, C3, D4
The following table shows the result with deactivated "Circular list" option:
The following table shows the result with activated "Circular list" option:
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
Use the "Project name" object to output the name of the current project in the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Format of the project name
Wildcards Value
"%R" Path and project name
"%r" Project name (without path information)
Examples
The following table shows a few examples of the combination of wildcards and text:
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
Use the "Report name" object to output the report name in the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Format of the report name
Wildcards Value
"%L" or "%l" Report name
Example
The following table shows a few examples of the combination of wildcards and text:
See also
Report design tools (Page 4308)
Create a report (Page 4306)
Application
Use the "Recipe view" object to display recipe elements in tabular format. The report displays
the status that the recipe view had at the time of the start of the print job.
Note
Reduced functional scope of the output in reports
The configuration of the object in the "Reports" editor differs only slightly compared to its
configuration in the "Screens" editor.
The functional scope of the object is adapted for the output in reports: In the "Reports" editor,
for example, it is not possible to configure operating elements in Runtime.
See also
Report design tools (Page 4308)
Definition and applications (Page 4228)
Create a report (Page 4306)
application
Use the "Recipe report" object to output the elements of recipe data records in the report.
Layout
In the Inspector window, you customize the position, shape, style, color, and font types of the
object. You can adapt the following properties in particular:
● Recipe
● Data record
● Format
● Visible entries
Selecting a recipe
Specify the recipes to be output in the recipe report under "Properties > Properties > General
> Recipe". You can define the recipes based on their recipe name, or on a range of recipe
numbers. Under "First recipe" and "Last recipe", enter a value or select a tag.
You can also choose to display all recipes.
Format
In the "Format" field of the "Properties > Properties > Layout > Settings" dialog, specify whether
to output the data records as a table in column format or line report format.
WinCC updates the preview in the detail page accordingly.
Visible entries
Under ""Properties > Properties > Layout > Visible entries", enable the columns to be displayed
in the recipe report. Select "Show headings" to enable the display of column headers.
See also
Definition and applications (Page 4228)
Create a report (Page 4306)
application
Use the "Page number" object to output the current page number in the report.
Layout
In the inspector window, change the settings for color, font, position and object size. In
particular, specify "Size adaptation":
Fit to size
Under "Properties > Properties > Layout > Fit to size", the "Fit object to content" option is used
to specify whether WinCC adjusts to the object size of the field content:
● Enabled "Fit object to contents" option:
WinCC automatically adjusts the size of the object to the configured format. The font size
and field length are defined under "Properties > Properties > General > Text".
The object can be moved in the working area, however, the size cannot be changed. During
report output, the entire field content is output at the time of report output.
● Disabled "Fit object to contents" option:
Customize the field size by yourself. WinCC does not resize the field for report output. It
can be possible that not all content of the field is output in the report. Therefore, configure
a field of sufficient size.
See also
Create a report (Page 4306)
Application
The "Page number" object outputs the current page number or the total number of pages in
the report in the header or footer of the report.
Layout
In the Inspector window, change the settings for color, font, frame, alignment as well as position
and object size. In particular you set the format of the page number.
Format
Under "Properties > General > Text > Format", specify the format of the page numbers to be
displayed. You can use a wildcard for the page numbers and enter a user-specific text.
The following table shows which wildcards you can use:
Wildcards Value
"%N", or "%n" Current page number
"%T", or "%t" Total number of pages in the report
Examples
The following table shows a few examples of the combination of wildcards and text:
See also
Report design tools (Page 4308)
Create a report (Page 4306)
application
With the "Symbolic I/O field" object, the content of a text list in reports is displayed, depending
on the tag value. In the inspector window, the tag and text list is configured under "Properties
> Properties > General":
Layout
In the inspector window, change the settings for color, frame, font, position and object size. In
particular, the "Fit to size" is defined, by specifying whether the object size is adjusted to the
text during output in the report or not.
Note
The "Symbolic I/O field" object is also available in "Screens" editor. In reports, the object only
outputs data. Accordingly only configure the output of data for application in reports.
See also
Create a report (Page 4306)
Application
You use the "Table view" object to display the process data in a table. Each row of the table
represents the status of the selected process tags at a specific time.
The report displays the status that the table had at the time of the start of the print job.
Note
Reduced functional scope of the output in reports
The configuration of the object in the "Reports" editor differs only slightly compared to its
configuration in the "Screens" editor.
The functional scope of the object is adapted for the output in reports: In the "Reports" editor,
for example, it is not possible to configure operating elements in Runtime.
See also
Table view (Page 3631)
Report design tools (Page 4308)
Create a report (Page 4306)
Application
The "Text field" is a closed object which you can fill with a color.
Layout
In the Inspector window, you customize the position, shape, style, color and font types of the
object. You can adapt the following properties in particular:
● Text: Specifies the text for the text field.
● Size of text field: Defines whether the size of the object is adapted to the space required
by the largest list entry.
Text
Specify the text for the text field in the Inspector window.
1. In the Inspector window, select "Properties > Properties > General".
2. Enter a text.
For texts over several lines you can set a line break by pressing the key combination <Shift
+ Enter>.
Principle
The access protection controls access to data and functions in Runtime. This feature protects
your applications against unauthorized operation. Safety-related operations are already limited
to specific user groups when a project is being created. To this purpose you set up users and
user groups that you equip with characteristic access rights, so-called authorizations. You then
configure the authorizations required for operation of safety-related objects. Operators only
have access, for example, to specific operator controls. Commissioners, for example, have
unlimited access in Runtime.
Definition
You administer users, user groups and authorizations centrally in the user administration of
WinCC. You transfer users and user groups together with the project to the HMI device. The
users and passwords are managed on the HMI device in the User view.