1/11/2021 12:28 PM | |
Joined: 9/23/2005 Last visit: 11/4/2024 Posts: 4351 Rating: (1452)
|
Hi, “Simple Samples” are small projects that demonstrate simple features. The target is giving a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps. Recipes (Parameter set) are an important tool for process operation, regarding to transfer and manager machine / plant parameters sets. Sometimes the parameter set management should be done automatically, without use of the parameter set control object (either by a controller, for example, or from other HMI intern process, like scripting). An elegant and efficient way to do it is using the Parameter set variables JobID and ParameterSetID. TIPs:
The follow simple project uses PLC’s tags to control the Parameter sets. The are available in the controller’s watch table, but also in the Unified screen as IO field. AttachmentParameterSet PLC.zip (2103 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to5 thankful Users |
1/11/2021 12:30 PM | |
Joined: 9/23/2005 Last visit: 11/4/2024 Posts: 4351 Rating: (1452)
|
Additional tip: It is also possible to control the Parameter sets by system functions / scripting either triggered by buttons or by PLC / Schedule tasks as the follow examples. But the above solution with Parameter set JobID / ParameterSetID tags) is more simple, powerful and performant. Attachmentsystem functions.zip (1921 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
1/10/2023 10:35 AM | |
Joined: 9/23/2005 Last visit: 11/4/2024 Posts: 4351 Rating: (1452)
|
Hi, As of TIA V18, new resources are available that make it possible to customize the operation of recipes, that is, to handle them without using the parameter set control directly. One of these features are new system functions:
Tips:
Other features are new Parameter control view properties: CurrentParameterSetTypeID and CurrentParameterSerID. With these parameters it is possible to monitor the actual parameter set / parameter set type selected in the control. Tips:
Additionally you have new script functions to get the name from the Parameter Set ID / Parameter Set Type ID: GetParameterSetIDName / GetParmeterSetTypeName. Tips:
Sample project AttachmentProject30_20230109_1045.zip (2270 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to6 thankful Users |
1/17/2024 10:27 AM | |
Joined: 9/23/2005 Last visit: 11/4/2024 Posts: 4351 Rating: (1452)
|
Hi As from TIA V19, it is possible to use the system function ExecuteToolBarButton to control the Parameter set controls from external buttons. Sample project (archived from TIA Portal as .zap19 and after that compacted in .zip format to be uploaded here) user= User, all password = Password1! Attachmentrecipes2_20240124_0701.zip (782 Downloads) |
Last edited by: Denilson Pegaia at: 01/24/2024 10:03:34Denilson Pegaia |
|
This contribution was helpful to3 thankful Users |
8/23/2024 8:29 PM | |
Joined: 2/27/2024 Last visit: 11/1/2024 Posts: 6 Rating: (2) |
ok, In this example, when I change the recipe variable I already change the one in the PLC, how do I edit just the recipe without sending the data to the PLC? I'm using Wincc Unified V18 ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 08/26/2024 08:02:37New subject after splitting |
|
Follow us on