Widgets
The elements screens are built from. Each has its own page: what it is for, how to set it up, what scripts can do with it and which events it has. The property and action reference is generated from the program’s code, so it matches the program.
Shapes and text
Section titled “Shapes and text”| Element | What for | Script actions |
|---|---|---|
| Rectangle | A rectangle on a screen — background, frame, vessel, colored status indicator. | |
| Ellipse | Ellipse and circle — indicators, vessel heads, round lamps and markers. | |
| Line | Line and polyline — pipes, cables, flow direction arrows. | |
| Text | Labels on a screen — names, notes, messages changed by a script. | |
| Image | An image from the project folder — a diagram, an equipment photo, a logo. |
Values
Section titled “Values”| Element | What for | Script actions |
|---|---|---|
| Value field | Value field (IO field) — show a tag value with units and limits, enter a setpoint. | OpenInput |
| Symbolic field | Symbolic field — a tag value as text from a list (“Manual”, “Auto”) and mode selection by the operator. | ValueText, Choices, Choose |
| Graphic field | Graphic field — a picture by tag value from a graphic list, like the Graphic IO field in WinCC. | |
| Bar | Bar — tank level, load, fill from minimum to maximum with limits and a scale. | |
| Gauge | Gauge — a pressure gauge, thermometer, tachometer with colored scale zones. | |
| Lamp | Lamp — an on/off indicator by tag, word bit or condition, with flashing and a label. | |
| Date and time | A clock on a screen — digital or analog, with the date, the time or both. |
Equipment
Section titled “Equipment”| Element | What for | Script actions |
|---|---|---|
| Equipment symbol | A symbol from the library — pumps, fans, valves, tanks, heat exchangers with state, fault and level. | |
| Pump (simple) | A simple pump icon — running, stopped or faulted by tags, with a label. | |
| Valve (simple) | A simple valve icon — open, closed or faulted by tags. |
Controls
Section titled “Controls”| Element | What for | Script actions |
|---|---|---|
| Button | Button — commands, navigation, jog bits, latching buttons and buttons with pictures. | |
| Switch | An on/off switch for a Bool tag — a toggle, a latching button or a check box, with confirmation. | IsOn, Toggle, Switch |
| Slider | Slider — a setpoint by dragging, within limits and by a step, horizontal or vertical. | SetValue |
| Option group | Option group — choosing one of several values with radio buttons (Option group in WinCC); choosing from scripts. | ValueText, Choices, Choose |
| Check box group | Check box group — bits of an integer tag as check boxes (Check box in WinCC); checking and unchecking from scripts. | Boxes, IsChecked, Check, Toggle |
| Text input | Text input — the operator types right on the screen: a batch number, a comment, a code; writing text from scripts. | CurrentText, SetText |
| Element | What for | Script actions |
|---|---|---|
| Trend | A trend on a screen — archive and live values, pens, axes, ruler, statistics, comparison, control from scripts. | Paused, From, To, Ruler, CompareHours, Pause, Live, ShowLast, ShowRange, Page, ResetView, SetRuler, Pens, ShowPen, Compare, Export |
| Chart | Chart — columns, bars, pie and donut to compare tag values; an XY chart of the operating point with a reference curve. | Values, Points, ClearPoints |
| Alarm view | An alarm view on a screen — alarms of its areas, acknowledgement, alarm selection and script actions. | Alarms, Alarm, Count, UnacknowledgedCount, Selected, Select, ClearSelection, Acknowledge, AcknowledgeAll |
| Tag table | Tag table — tags as rows with their own titles, limits and bar; search, sorting, input, CSV. | Tags, Selected, Select, Filter, SetFilter, Sort, Text, SaveCsv |
| Data table | Data table — rows set manually, from an SQL query to a project database or from a server script function; row selection. | GetColumns, GetRows, RowCount, Selected, SelectedRow, Cell, Select, Refresh |
| Recipe view | Recipe view — recipe records right on the screen: selecting, editing, comparing with the controller and loading into the PLC (Recipe view in WinCC). | Records, SelectedRecord, Select, Values, ReadFromController, Save, LoadToController |
| Diagnostics | Diagnostics — the state of connections to controllers and devices on a screen: communication, cycle time, errors, bad tags. | Connections, Problems |
| Shift log | Shift log — operators’ notes about the shift right on the screen: remarks, repairs, switching, shift handover; kept by the server. | Entries, Write, Refresh |
| Audit log | Audit log — who did what in the system, right on a screen: tag writes, acknowledgement, logins, recipes, the shift log. | Entries, OwnOnly, Refresh |
Containers
Section titled “Containers”| Element | What for | Script actions |
|---|---|---|
| Group | A group of elements — moves, stretches and hides as a whole; nested elements are available to scripts. | |
| Genie instance | A genie instance — an equipment drawing from the project library with tag substitution; in the client it is a group. | |
| Screen window | Screen window — another project screen inside a screen; changing the shown screen from a script. | |
| Tabs | Tabs — several project screens in one place with labels; switching by tag and from scripts. | Tabs, Selected, SelectedTitle, Select |
Documents and video
Section titled “Documents and video”| Element | What for | Script actions |
|---|---|---|
| Browser | Browser — a web page or a project document (PDF, HTML) right on the screen; changing the page by tag and from scripts. | Address, Title, Navigate, Back, Forward, Refresh, Home, SetZoom |
| Camera | Camera — live video from an IP camera over RTSP on a screen, in the operator client and in the browser; the server keeps one connection to the camera for everyone. | Status, Paused, Pause, Resume |