WinCC PCS 7 Block Icon Orientation: Vertical to Horizontal
In a PCS 7 process picture, a single automation block (VlvL, VlvAn, Mot, PIDCtrl) can be represented by several visual variants. The most common split is horizontal versus vertical, driven by the piping layout drawn on the P&ID. The challenge with PCS 7 is that the AS-OS transfer mechanism is designed to instantiate one canonical block icon per (tag, type) tuple, while field engineers routinely need the same tag drawn on multiple pictures (overview plus detail) with different orientations on each. This reference documents the supported workflows for changing block icon orientation, the role of the @ symbol convention in opting icons out of automatic management, the Type assignment on CFC blocks, and the field-proven verification steps.
Overview
PCS 7 separates automation logic (CFC/SFC in the AS) from HMI graphics (WinCC Explorer on the OS). During an AS-OS transfer, the OS compile reads the block icon Type assigned in each CFC block's Object Properties, opens the corresponding typicals picture (@PCS7TypicalsAPLVx.pdl or @TemplateAPLVx.pdl), and instantiates the matching block icon into the process picture that corresponds to the plant hierarchy folder holding the CFC chart.
By default, this mechanism is destructive: if more than one icon of the same (tag, type) exists across the OS server, all but one are removed during the next transfer. The @ symbol prefix is the lever that determines whether a particular icon is system-managed or user-managed.
Three supported paths exist for handling multiple orientations of the same tag:
- Method 1: Re-derive via CFC and AS-OS transfer — used when the project follows the plant hierarchy and the process picture is auto-generated.
-
Method 2: Manual copy from
@PCS7TypicalsAPLVx.pdlor@TemplateAPLVx.pdl— used for pictures outside the plant hierarchy (custom overview, composite graphics, or duplicate visual representations). - Method 3: TIA Portal WinCC object rotation — for projects on the TIA Portal platform (Unified, Comfort Panels, RT Advanced, RT Professional), where PCS 7's typicals library is not in use.
Method Selection Flowchart
Prerequisites
| Item | Notes |
|---|---|
| PCS 7 V8.2 / V9.0 (or V8.x) installed | The APLVx suffix in the typicals picture name is version-specific (e.g., APLV8, APLV9) |
| WinCC Explorer with the OS project open | Required for graphic editing and AS-OS transfer |
| CFC Editor with the valve block open | Used to set the block icon Type in Object Properties |
| Plant hierarchy configured in the S7 project | Required for the AS-OS transfer to map CFC charts to process pictures |
| AS-OS engineering license | Bundled with PCS 7 AS-OS Engineering option |
| OS Compile rights | Required to trigger AS-OS transfer and regenerate icons |
Read access to @PCS7TypicalsAPLVx.pdl
|
Open the typicals picture in Graphics Designer (the file is normally read-only) |
APLVx suffix on the typicals picture matches the PCS 7 major version. Mixing V8 typicals with a V9 OS project leads to missing or distorted icons after a compile. Always confirm the picture file's major version suffix matches the OS project version.
Understanding the @ Symbol Convention in PCS 7 Block Icons
PCS 7 distinguishes between system-managed and user-managed block icons through the leading @ character in the icon's Type field. This single character controls whether the AS-OS transfer regenerates, replaces, or leaves the icon alone.
| Type string in picture | Behavior on next AS-OS transfer |
|---|---|
@VlvL/1 (single @) |
System-managed. The OS compile locates the VlvL block whose block icon property is 1, replaces this icon with the canonical one, and deletes any other icons of the same (tag, type) across the OS server. |
@@VlvL/1 (double @) |
System-managed in a separate namespace. The OS compile matches the literal string @@VlvL/1. The single-@ icon is unaffected. |
VlvL/1 (no @) |
User-managed. The system does not touch the icon on the next AS-OS transfer. |
The implication for orientation changes: a manually placed icon whose Type does not match the block icon property of any CFC chart will survive the next AS-OS transfer. Removing the @ from the Type field, or changing the suffix number, are both valid ways to opt out of automatic management.
For valves, the CFC block icon property uses an integer suffix to control the visual orientation:
| Block icon property | Orientation |
|---|---|
1 or blank (default) |
Horizontal valve |
2 |
Vertical valve |
The setting is made on the block's Object Properties dialog: right-click the block in the CFC editor, select Object Properties…, switch to the Block Icon tab, and pick the value from the Block icon drop-down.
1 by the OS compile. Use 1 explicitly when authoring new blocks to avoid ambiguity in batch-compiled projects.
Method 1: Re-derive the Block Icon via CFC and AS-OS Transfer
This is the canonical PCS 7 workflow when the project follows the plant hierarchy and the process picture is auto-generated. The OS compile reads the block icon property from the CFC and re-draws the icon accordingly.
- Open the CFC chart containing the valve block in the CFC Editor.
- Right-click the block and choose Object Properties….
- Switch to the Block Icon tab.
- Change the Block icon drop-down to the desired orientation. For example, change from
1(horizontal) to2(vertical). - Click OK to apply, then save the CFC chart.
- In WinCC Explorer, select the OS server project.
- Choose OS → Compile OS… (or AS-OS Transfer depending on PCS 7 version).
- In the compile dialog, ensure both Pictures and Block icons are enabled.
- Click Compile/Transfer.
- Open the process picture bound to the hierarchy folder of the CFC chart. The block icon will be redrawn with the new orientation in the same coordinates.
If the same tag also appears on a different picture (e.g., a unit overview in addition to the area detail) and that picture needs the other orientation, two options exist:
- Place a second CFC chart instance of the same S7 block in a separate hierarchy folder, each with its own block icon property assignment. Each instance will get its own canonical icon during the AS-OS transfer.
- Use Method 2 to manually place the alternate orientation and opt the icon out of auto-management via the
@rename.
Type has been renamed to break the auto-management match.
Method 2: Manual Copy from @PCS7TypicalsAPLVx.pdl or @TemplateAPLVx.pdl
Use Method 2 when the target process picture is not generated by the plant hierarchy — typical for custom overview screens, composite area graphics, or projects where the OS compile is intentionally bypassed for selected pictures.
- In WinCC Explorer, open the Graphics Designer for the OS project.
- Open the picture
@PCS7TypicalsAPLVx.pdl(e.g.,APLV8for PCS 7 V8.x,APLV9for V9). The file is normally read-only. - Locate the desired valve block icon variant. Typical names:
@VlvL/1(horizontal),@VlvL/2(vertical),@VlvAn/1,@VlvAn/2. - Select the icon and press Ctrl+C to copy.
- Close
@PCS7TypicalsAPLVx.pdlwithout saving. - Open the target process picture.
- Press Ctrl+V to paste the icon at the cursor position.
- Select the pasted icon and open its Object Properties → Miscellaneous. Inspect the Type field — it should read
@VlvL/2(or the variant you copied). - To prevent the AS-OS transfer from deleting the manual copy, change the Type field to one of:
- Remove the leading
@(becomesVlvL/2— user-managed, never touched). - Add a second
@(becomes@@VlvL/2— system-managed in a different namespace). - Append a unique suffix (becomes
@VlvL/2_overview— no match in the CFC chart's block icon property).
- Remove the leading
- Close the Object Properties dialog. The icon is now opt-out of the auto-management for the next AS-OS transfer.
- With the icon still selected, open the Standard Dynamics tab in the Dynamic Wizard.
- Launch the wizard Connect picture block to tag structure.
- Browse to the S7 program → chart folder → block (e.g.,
S7 Program(1)/Plant/Unit1/Valve_CFC/Vlv001). - Confirm. The icon is now bound to the same S7 tag as the AS-generated icon.
- Verify faceplate calls: right-click the icon and confirm the faceplate opens with live values.
Alternative: copy from @TemplateAPLVx.pdl instead of @PCS7TypicalsAPLVx.pdl. The Template picture is identical to the typicals picture except the @ prefix has already been removed from all block icons. Pasting an icon from the Template picture requires no further renaming of the Type field.
Method 3: TIA Portal WinCC Object Rotation (Alternative Platform)
For engineers working in TIA Portal WinCC (Unified, Comfort Panels, RT Advanced, or RT Professional) rather than PCS 7, the rotation mechanism is built into the editor and does not require the typicals library or CFC/AS-OS workflow.
- Open the screen in the TIA Portal editor.
- Select the object (icon, shape, or graphic) to be rotated.
- From the menu, choose Edit → Rotate, or use the rotation handles on the object.
- Objects that support rotation can be turned clockwise or counter-clockwise in 90° steps around their center axis.
- Save the screen.
Method 3 is not a substitute for Methods 1 and 2 in PCS 7. The PCS 7 typicals library is not used in TIA Portal projects, and the @ symbol mechanism is not relevant there. For PCS 7 projects, always use Methods 1 or 2.
Reference: Rotating objects – TIA Portal V20 documentation.
Block Icon Type Mapping and S7 Block Assignment
The CFC block icon Type is a composite string: <Symbol-prefix><BlockFB>/<Orientation>. The orientation is the suffix integer. The symbol prefix is the namespace indicator (@ or @@).
| Block FB | Type (horizontal) | Type (vertical) | Typical use |
|---|---|---|---|
| VlvL | @VlvL/1 |
@VlvL/2 |
Motorized valve with limit switches (binary) |
| VlvAn | @VlvAn/1 |
@VlvAn/2 |
Analog / modulating valve with position feedback |
| VlvMot | @VlvMot/1 |
@VlvMot/2 |
Continuous motor-driven valve (e.g., screw-down) |
| Mot | @Mot/1 |
@Mot/2 |
Motor block (run, fault, local/remote) |
| PIDCtrl | @PID/1 |
@PID/2 |
PID controller faceplate block |
Plant Hierarchy, Overview Area, and OS Compilation Workflow
PCS 7 organizes the plant as a hierarchy of folders under the S7 program. Each folder may contain CFC charts, SFC charts, and (through OS compilation) one or more process pictures:
- A chart placed in
Hierarchy/Unit1/Reactorbecomes a CFC instance in theReactorfolder. - An OS compile generates a picture
@Reactor.pdlautomatically. - The Overview button on the parent unit picture (e.g.,
@Unit1.pdl) navigates to@Reactor.pdl.
For projects that use the plant hierarchy as the process picture tree, Method 1 is the only fully supported path. For projects where the plant hierarchy folder structure is not used as the process picture layout (e.g., the hierarchy is administrative only, and the OS uses a custom picture tree), Method 2 is the standard work-around.
The picture @Overview1.pdl is the standard top-level area overview. Subordinate area overviews follow the naming pattern @Overview<n>.pdl (e.g., @Overview2.pdl). Each overview can carry block icons that are independent of the per-unit detail pictures, and the @ rename is required to keep them after an AS-OS transfer.
Common Pitfalls and Field-Proven Caveats
-
Manual icon disappears after OS compile. The
Typefield still matches a CFC block'sBlock iconproperty. Rename the type (remove or add@, or append a unique suffix) and recompile. - Faceplate opens but values are wrong or static. The block icon was pasted but not bound via the Dynamic Wizard. Re-run Connect picture block to tag structure.
- Permission levels don't match the operator's group. PCS 7 enforces authorization on the tag connection, not on the picture object. Verify in the User Administrator that the operator's group has rights on the underlying tag.
- Two identical icons with the same Type are placed; only one remains. The AS-OS mechanism keeps exactly one icon per (tag, type) tuple across the OS server. This is by design. Use Method 2 with distinct Type strings to have multiple visible copies.
- Rotation looks wrong on screen. Horizontal vs vertical is a 90° rotation; PCS 7 typicals are designed for a specific pipe-flow direction. Validate the orientation against the P&ID before commissioning.
-
The wrong typicals picture is referenced. The
APLVxsuffix in@PCS7TypicalsAPLVx.pdlis version-specific. A V8.x project running on a V9 OS will misbehave. Always match the major version. - Text inside the icon is mirrored or inverted. Some typicals include an embedded text field. The orientation change does not flip embedded text. Adjust the embedded label manually or use a different block variant.
-
Project migrated from V8 to V9 loses the orientation. Re-run OS compile after migration to regenerate the typicals. Verify the
APLVxsuffix on the typicals picture has updated. -
@ symbol vs @@ symbol behavior confusion. A single
@makes the icon system-managed and matched against the symbol name without@. A double@@makes the icon system-managed and matched against the literal@@<name>. Pick the convention that fits your process picture naming and stays consistent across the project. - Plant hierarchy picture is deleted but the icon is still expected. The picture file in the hierarchy is generated; deleting it does not affect the CFC. Regenerate via OS compile rather than authoring a replacement by hand.
-
Trend view opens on the wrong tag. The block icon's tag connection was made on a different connection point (e.g.,
PVvsSP). Open Object Properties → tag connection and re-bind the correct input. -
Multi-client OS shows only one orientation. The redundant OS server has its own picture copies. The manual paste and
@rename must be repeated on each redundant server's picture, then synchronized via the OS project duplicator or by re-running the OS compile with Generate all selected.
Verification and Acceptance Test
After applying Method 1, 2, or 3, perform the following checks before sign-off:
- Open the target process picture. Confirm the block icon is visible at the correct coordinates, with the correct orientation, and at the correct scale.
- Click the icon and verify the faceplate opens, with live process values populating.
- Force a value in the S7 block (e.g., via PLCSIM or the test mode in the CFC). Confirm the icon's color/animation tracks the value.
- Trigger an OS compile. Verify the manually placed icons survive the compile and remain in the same coordinates.
- Trigger a full AS-OS transfer. Verify again.
- On the operator station, log in as a standard operator and as a maintenance engineer. Confirm the faceplate and trend view are reachable from the new icon, with the correct authorization level.
- Check the picture's printout (if used) to ensure the icon is not clipped by page margins.
- Document the icon's
Typestring and the corresponding CFC chart for future maintenance. Store the documentation alongside the plant hierarchy export. - Verify trend and message configuration: open the message configuration in WinCC Explorer and confirm the new icon's tag carries the expected message classes and priorities.
- Test the loss-of-connection behavior: pull the AS connection and verify the icon turns gray or shows the configured "no response" state without crashing the picture.
Frequently Asked Questions
Why does my manually placed valve icon disappear after every AS-OS transfer?
The icon's Type field still matches a CFC block's Block icon property. The OS compile treats the icon as system-managed and removes duplicates. Rename the Type by removing the @ (e.g., VlvL/2) or by adding a second @ (e.g., @@VlvL/2) so it no longer matches. Re-run the AS-OS transfer to confirm the icon persists.
What is the difference between the single @ and double @@ symbol on a block icon?
Both forms are system-managed, but they live in different namespaces. The single @ icon is matched against the CFC block icon property with the @ stripped; the double @@ icon is matched against the literal string @@<name>. In practice, using @@ on a manually placed icon is a reliable way to opt it out of being replaced by the single-@ canonical icon generated by the OS compile.
How do I set a valve to display vertical in PCS 7?
Open the CFC chart containing the valve block, right-click the block, choose Object Properties… → Block Icon tab, and set the Block icon property to 2 for vertical or 1 (or blank) for horizontal. Save the CFC, then run the OS compile or AS-OS transfer to redraw the icon in the process picture bound to the plant hierarchy folder.
Can I use TIA Portal's object rotation feature to rotate a PCS 7 block icon?
No. TIA Portal's 90° object rotation (Edit → Rotate) is a TIA Portal WinCC feature, not a PCS 7 feature. PCS 7's typicals library uses fixed block icon variants selected by the integer suffix on the block icon property, not by editor rotation. Use Method 1 or Method 2 in PCS 7 to change the displayed orientation.
Do I need to copy a manually placed icon to every redundant OS server?
Yes, if your project has redundant OS servers. Each redundant server holds its own picture copy, and the manual paste and @ rename must be repeated on each. Synchronization is typically done via the OS project duplicator, or by re-running the OS compile on each server with the Generate all option enabled. Skipping this step results in the icon being visible on one server only.
Why does the faceplate open but show static values for my manually placed icon?
The block icon was pasted but not bound to the S7 tag. Run the Dynamic Wizard Standard Dynamics → Connect picture block to tag structure and select the corresponding S7 program, chart, and block. The icon will then animate to the live value and open the correct faceplate on click.