Customizing APL MotSpdCL Faceplates and Block Icons with Additional Setpoint Fields in SIMATIC PCS 7
To add two custom setpoint fields (such as High Speed and Low Speed setpoints) to an Advanced Process Library (APL) MotSpdCL block icon and faceplate for specific motors without altering global library files, use either the multi-instance chart extension method or create a customized block icon and faceplate variant. In the multi-instance approach, place auxiliary monitoring blocks (such as MonAnL) in the same CFC chart using a shared chart prefix (e.g., Motor_HiSpd), allowing the standard faceplate to bind the parameters dynamically. Alternatively, create custom copies of @PG_MotSpdCL_Standard.pdl and assign a unique block icon type index (e.g., @MotSpdCL/10).
Table of Contents
- Architectural Strategies for APL Faceplate Customization
- Strategy 1 - Multi-Instance Faceplate Architecture (APL Style Guide)
- Strategy 2 - Creating a Dedicated Block Icon and Faceplate Variant
- Comparison Table - Customization Strategies
- Step-by-Step Implementation Workflow
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Architectural Strategies for APL Faceplate Customization
The SIMATIC PCS 7 Advanced Process Library (APL) uses a strictly standardized, script-driven visualization framework. In standard operation, the MotSpdCL (Speed Controlled Motor) block provides a single process variable and setpoint interface (SP_Int, SP_Ext).
When plant requirements demand displaying and adjusting two distinct speed setpoints (e.g., High Speed Setpoint and Low Speed Setpoint) directly within the motor faceplate for specific equipment, modifying the global @PG_MotSpdCL_Standard.pdl directly in the project directory is dangerous because it alters every MotSpdCL faceplate across the entire plant.
Siemens provides two compliant engineering approaches within the APL framework:
1. Multi-Instance Faceplate Integration: Retaining standard faceplates while augmenting the faceplate with child blocks placed in the same CFC chart using tag prefix inheritance.
2. Custom Faceplate Variant and Block Icon Type: Creating a uniquely named faceplate set (@PG_MotSpdCL_SP.pdl) and associating it with a dedicated block icon index (e.g., @MotSpdCL/10).
Strategy 1 - Multi-Instance Faceplate Architecture (APL Style Guide)
Documented in the SIMATIC PCS 7 APL Style Guide, the multi-instance architecture allows a primary technological block (such as MotSpdCL) to aggregate auxiliary variables from secondary blocks within the same CFC chart without modifying the master APL library code:
How Multi-Instance Prefixing Works
- In the target CFC chart, name the main motor block with a clear root prefix, for example
M101. - In the same CFC chart, insert two analog setpoint/monitoring blocks, such as
OpAnLorMonAnL, and name them with matching prefixes: M101_HiSpdM101_LoSpd- When an operator clicks the motor block icon, the standard APL faceplate opens. WinCC automatically populates the
@Faceplate.TagPrefixproperty with the CFC chart hierarchy path and block root (Plant/Area/M101). - Inside the customized faceplate view, additional I/O fields can bind to
_HiSpd.SP_Intand_LoSpd.SP_Int. Because the tag prefix suppliesPlant/Area/M101, the resolved WinCC tag names becomePlant/Area/M101_HiSpd.SP_IntandPlant/Area/M101_LoSpd.SP_Intdynamically.
Strategy 2 - Creating a Dedicated Block Icon and Faceplate Variant
When the user interface requires a unique layout, custom buttons, or specialized setpoint authorization that must only apply to specific motors, engineering a distinct block icon variant is the industry best practice:
Variant Naming and Routing Conventions
- Block Icon Type Number: In
@Template_APL.pdl, copy the standardMotSpdCLblock icon and assign a new type string in the object properties:
Type: @MotSpdCL/10 - Custom Server Name Binding: In the block icon, alter the internal server call property
server_namefromPCS7 MotSpdCL ControltoPCS7 MotSpdCL_SP Control. This informs the WinCC APL script engine (APL_OpenFaceplate) to load a specialized top-level picture container. - Specialized Faceplate Set: Copy the standard faceplate family and rename them:
- Base Faceplate:
@PG_MotSpdCL_SP.pdl - Standard View:
@PG_MotSpdCL_SP_Standard.pdl - View Toolbar:
@PG_MotSpdCL_SP_ViewToolbar.pdl - Assigning to Target Block: In CFC, select the specific
MotSpdCLblock, open its block properties, and set the Block Icon Number attribute to10. During OS Compile, WinCC automatically instantiates the custom@MotSpdCL/10icon for this motor only.
Comparison Table - Customization Strategies
The following table compares the two methods for extending APL faceplates with additional setpoint fields.
@MotSpdCL/10)MonAnL / OpAnL)/10)Step-by-Step Implementation Workflow
To implement a dedicated @MotSpdCL/10 faceplate variant with High and Low Speed setpoint controls, follow this procedure:
-
Copy and Rename WinCC Faceplate Files:
* In WinCC Explorer on the OS Server or ES, open theGraCSdirectory.
* Make copies of:@PG_MotSpdCL.pdl->@PG_MotSpdCL_SP.pdl@PG_MotSpdCL_Standard.pdl->@PG_MotSpdCL_SP_Standard.pdl@PG_MotSpdCL_ViewToolbar.pdl->@PG_MotSpdCL_SP_ViewToolbar.pdl
-
Configure Top-Level Faceplate Routing:
* Open@PG_MotSpdCL_SP.pdlin Graphics Designer.
* Select the@Faceplateroot object, locate the property Firstview, and set its string value to@PG_MotSpdCL_SP_Standard.pdl.
* Select theToolbarWindowobject and set PictureName to@PG_MotSpdCL_SP_ViewToolbar.pdl.
* Save and close the file. -
Embed Custom Setpoint Controls in Standard View:
* Open@PG_MotSpdCL_SP_Standard.pdl.
* Duplicate the existing Setpoint APL control object (@APL_AnalogOutput).
* Bind the first new control to the High Speed setpoint tag (or auxiliary block pin) and the second to the Low Speed setpoint tag.
* Configure operator authorization levels (e.g., Higher Process Controlling) and unit labels.
* Save and close the file. -
Create Custom Block Icon in Template Picture:
* Open@Template_APL.pdl(or@PCS7Typicals_APL.pdl).
* Copy the standardMotSpdCLicon.
* In Object Properties:- Set Type to
@MotSpdCL/10. - Set ServerName to
PCS7 MotSpdCL_SP Control. - Save the template picture.
- Set Type to
-
Configure CFC Block and Compile OS:
* In SIMATIC Manager, open the CFC chart containing the motor.
* Open properties of theMotSpdCLblock and set Block icon =10.
* Perform an OS Compile with Create/update block icons selected.
* WinCC generates the custom icon in the process graphic.
Verification
Verify that the customized motor block icon and faceplate function correctly:
- Verify Block Icon Generation:
* Open the target process graphic in Graphics Designer.
* Confirm that the generated block icon displays the/10variant structure and reflects the correct block tag name. - Test Faceplate Invocation in Runtime:
* Launch WinCC Runtime.
* Click the newly generated motor block icon.
* Confirm that@PG_MotSpdCL_SP.pdlopens, loading@PG_MotSpdCL_SP_Standard.pdlas the default view. - Verify Setpoint Operation and Interlocks:
* In the faceplate, click the High Speed setpoint field. Confirm that the APL analog input dialog opens.
* Enter a new setpoint value within allowable high/low limits. Confirm that the value writes successfully to the target controller parameter.
* Click a standard motor block icon elsewhere in the plant to ensure its faceplate remains completely unmodified.
Limitations and Operational Precautions
- Preserving Original
@Template Pictures: Never modify@Template_APL.pdldirectly. Instead, copy custom block icons into@PCS7Typicals_APL.pdlor a custom typicals file (e.g.,@PCS7Typicals_Custom.pdl) to prevent PCS 7 updates from overwriting custom icons. - Attribute
s7_m_cRequirement: If linking custom setpoint variables directly from a modified S7 block, ensure the variables possess the system attributes7_m_c = 'true'; otherwise, WinCC will not create OS tags during compilation. - APL Library Upgrades: Custom faceplate PDLs will not be automatically updated when migrating to newer PCS 7 versions (e.g., V8.1 to V9.0). Document all custom PDLs and re-validate scripts during system upgrades.
Engineer FAQ
Can I add new pins directly to the MotSpdCL block in SCL?
While possible, modifying standard Siemens APL system blocks (FB 1856) is strongly discouraged. It invalidates manufacturer support, complicates future library updates, and may cause compilation mismatches. Using auxiliary blocks or unused block pins is the recommended approach.
What happens during an OS Compile if the custom block icon number is missing?
If the CFC block specifies Block Icon = 10, but @PCS7Typicals_APL.pdl does not contain an icon with Type @MotSpdCL/10, the OS compilation wizard falls back to generating the default Type @MotSpdCL/1 icon.
How do I prevent operators from changing setpoints without authorization?
Assign the standard APL operator authorization attribute (Password Level) on the custom I/O field (e.g., Authorization Level 5 'Process Controlling' or Level 6 'Higher Process Controlling').
Does the multi-instance approach work with Web Navigator?
Yes. Multi-instance faceplates and custom PDLs function seamlessly in WinCC Web Navigator, provided all referenced PDLs and APL ActiveX/OCX controls are published via the Web View Publisher wizard.
Technical References
- SIMATIC Process Control System PCS 7 Advanced Process Library (APL) Style Guide
- SIMATIC Process Control System PCS 7 Advanced Process Library (V8.1) Function Manual
- SIMATIC HMI WinCC V7.3 - Configuring Faceplates and Screen Types
Related Articles
- Customizing APL Block Icons in @PCS7Typicals for Automatic Generation
- Implementing Multi-Instance Faceplate Structures in SIMATIC PCS 7
- Configuring User Authorization Levels for APL Faceplate Setpoints
Related Tags
- APL
- MotSpdCL
- Faceplates
- Block-Icons
- WinCC-Graphics
- CFC