PamaglaweUser and project guide
Pamaglawe · Objects

Display progress as a percentage bar

Progress shows a numeric process value as a filled bar and a number. It does not count upward itself or change the PLC value when clicked.

Help ID OBJ-PROGRESS11 original screenshotsExample version 2.61.504

1. Insert Progress

In design mode choose Displays (Anzeigen) → Fortschritt, place the object on the process page and double-click it to open its properties. Text / initial value is the caption. Configure the numeric preview in the conversion dialog. New palette objects default to a 16-pixel font since 2.61.504.

Select Displays → Fortschritt.
The initial preview is 50 % with a half-filled bar.
Inserted in 2.61.504 with a 16-pixel font. Example: X 20, Y 150, size 240 × 58 pixels.

2. Convert the value to a percentage

Click Convert PLC value (SPS-Wert umrechnen). Use linear two-point scaling, raw minimum/maximum 0/100, output minimum/maximum 0/100, unit % and 0 decimal places. Preview x = 50 shows 50 %. Thus raw 75 becomes 75 %. Adapt raw limits if your PLC uses another range. The dialog preview tests conversion; the table simulation value supplies the following Play test. Apply. See Formulas for other conversion methods.

Raw and output ranges are both 0–100. Unit %, no decimal places; preview 50 produces 50 %.

3. Add a symbol

Click Symbol → Edit table. Add a row or duplicate a suitable row and edit all relevant fields: device Modbus_Testserver, symbol Anlage_Fortschritt, address 40011, simulation value 75, UINT16, length 1 register, Holding Register. The example connection is 127.0.0.1, port 502, unit ID 1. Duplicate Anlage_Betriebsstunde, then set unit % and description Fortschritt Anlage. Validate the table, save it and close the editor. Use a free, appropriate address in your own project.

Nine earlier symbols are present. Add a separate progress entry.
Ten valid rows: Anlage_Fortschritt, 40011, simulation 75, UINT16, length 1 and unit %.

4. Apply the assignment

Select the prepared symbol in the communication table, check the symbol information and click Apply at the bottom right. Device, IP address, symbol, physical address, data type and register information are copied together. Apply the object properties and save the project. Read access is sufficient for this display.

Direct Modbus TCP; 127.0.0.1:502, unit ID 1; Holding Register 40011, FC 03/06; UINT16, one register.
Properties contain Modbus_Testserver, Anlage_Fortschritt and address 40011.

5. Test 75, 0 and 100 percent

In project settings select No communication driver – simulation only (Kein Kommunikationstreiber – nur Simulation). Save the symbol’s simulation value in the communication table and start test mode with F5. Since version 2.61.503, saved table values are loaded when Play starts in this mode. For each new test, leave test mode, edit and save the table value, then start Play again. No external Modbus server is needed. With a communication driver selected, the connected source supplies the value; editing a simulation value does not write to a PLC.

Start with 75 and check the number and partial fill. Repeat with 0 for an empty bar and 100 for a full bar.

Simulation 75: 75 % with a three-quarter-filled bar.
Simulation 0: 0 % with an empty bar.
Simulation 100: 100 % with a completely filled bar.

Common questions

If 50 % remains, check the symbol, saved simulation value and simulation-only mode, then restart Play using 2.61.503 or newer. Unexpected percentages require checking raw limits, output limits and conversion method. Use Numeric input or Slider to enter a setpoint. Automatic progress must be supplied by the data source.

Keyboard shortcuts

Apply or close property dialogs, select objects on the canvas and leave any active text field before using an object shortcut.

Delete — delete selection
Deletes selected simple objects without another confirmation. Check the selection first.
Ctrl+Z / Ctrl+Y — undo / redo
Undoes or restores an available object edit. This is not a recovery mechanism for deleted pages or files.
Ctrl+C / Ctrl+V — copy / paste
Copies the selection and inserts an offset copy. Check names and process assignments afterward.
Ctrl+X — cut
Copies objects to the internal object clipboard and removes them from the page. Paste with Ctrl+V.
Ctrl+A — select all
Selects unlocked objects on the current page.
Arrow keys — move precisely
Moves the selection one pixel in the chosen direction within the page bounds.
Shift+Arrow — next grid position
Moves the selection in the grid direction using the page grid spacing.
Ctrl+L / Ctrl+Shift+L — lock / unlock
Locks the selection; Ctrl+Shift+L unlocks all locked objects on the current page.
Esc — end editor action
Cancels an action such as placement or clears the current selection.
Ctrl+S — save project
Saves applied changes. Save again after deleting, moving or copying.

The fixed global alarm area cannot be deleted or copied. Structural objects with assigned contents can ask an additional question about those contents.

Image viewer
Screenshot preview