11/2/2017 8:54 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi PMVisser, Recipes are a functionality of WinCC Recipes are stored in the Panel and can be loaded to the PLC. Have a look to the following application sample: Creating a Standard Recipe View and Recipe Screen with WinCC (TIA Portal) hope this helps, regards, |
FCK WAR! |
|
11/3/2017 3:26 AM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
See if this works for you. AttachmentMultiplexing_Example.zip (1105 Downloads) |
11/3/2017 10:50 AM | |
Joined: 5/20/2014 Last visit: 9/26/2022 Posts: 57 Rating:
|
Right under where you set the acquisition mode you also set Acquisition cycle, which by default is 1s. If you use 2Hz for your trigger then the trigger bit will always se the same state (therefore there will be no value change for the event), see here for more details: http://tiaportalhowto.com/en/blog/tia-portal-clock-memory/ As Wizard advised don't use clock bits. Instead use your program sequence logic to trigger the record loading, when you need it. Use rising edge + extended pulse combination (longer then 1 second ;) ) just to be 100% sure the HMI will read it. For the purpose of testing just use memory bit and toggle the state (ctrl + F2, ctrl + F3)
|
tiaportalhowto.com -> TIA Portal Tips, Tutorials, Videos, and more... |
|
11/3/2017 11:31 AM | |
Posts: 32 Rating:
|
Hello Robert and Wizard, Thank you for your reaction. But I tried both of your solutions but it also didn’t work. As you can see the RecipeNo is 1 and the RecipeDataNo is 2. I don’t know if it is important information but when I open the “recipe screen” and when change one of my data record. When I change the Data Record Name it opens it and almost instantly goes back to an empty data record.
|
11/3/2017 11:58 AM | |
Joined: 4/24/2006 Last visit: 9/15/2025 Posts: 9027 Rating:
|
Hello PMVisser, Is it possible to share your project with us? Best regards, Wizard |
11/3/2017 12:09 PM | |
Posts: 32 Rating:
|
Hello, Sorry, it’s not in the 3000 kB range of the forms. |
11/7/2017 4:40 AM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
Perfect, you need V14 for this project and please bear in mind that I'm taking you in an entirely different direction from the rest of the suggestions in this thread. Best to have quick look first look at the example program I uploaded and get a very quick idea what I'm suggesting may work for you before investing too much time in it. I'm suggesting multiplexing which is explained in details in this blog. To open the project I uploaded earlier you need TIA V14 or later (SP1) -Download and unzip the file. -Open TIA V14 and go to menu "Project" then scroll down and select "Retrieve". -Browse to the file you unzipped earlier "Multiplexing_Example.zap14" and follow the instructions. -After the project is loaded simulate PLC_1 with PLCSIM then simulate HMI_1. -There's only one screen (Home), click in the textbox "Tank number" and enter the number 1 and notice the object/fields on the right update then click in the text box again and enter the number 2 and notice the difference. -That will give you an idea if multiplexing will work for you. |
This contribution was helpful to
2 thankful Users |
11/7/2017 9:10 AM | |
Posts: 32 Rating:
|
Hello Kal.A Thank you very very match. It is indeed what I was looking for. I tried to make it myself but I have some question. - How did you make your “Tanks_Indexed” in your HMI? If I put in my Address it just disappears. - In Your HMI you have that “tank_info_1”. What is it? And how did you make that? - And if I want use a memory of it. How do I do that? which one do I take? - Is there a way that if automatically saves everything that when you put the power of and on that all the data is still on there? Like you did whit 1 and 2. |
Last edited by: PMVisser at: 11/7/2017 9:20:21 AMLast edited by: PMVisser at: 11/7/2017 9:28:38 AMLast edited by: PMVisser at: 11/7/2017 9:58:45 AM |
|
This contribution was helpful to
1 thankful Users |
11/7/2017 4:07 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
Hi PMVisser, I won't be able to reply in detail till much later in the day due to lack of time but you can get most of the answers to your questions by reading this blog post and it includes screenshots of how to set up an index tag. If you still have questions after you read that page, let me know and I will answer them later. Cheers Kal |
12/8/2022 6:42 AM | |
Joined: 5/10/2012 Last visit: 8/15/2025 Posts: 7 Rating:
|
Hello, I prepare a sample project in Tia V15 in order to change HMI recipes from PLC. Main code is: HMI tags>Recipe Change_Trigger>Events>Value change SetDataRecordToPLC Recipe number/name: Recipe_1 Data record number/name: Recete_Recete Name String(Should be same with Recipe Data Record tag in Recipe view) Output status message: On Processing status (Output,optional): Recipe_Loading Status(integer 2:loading in progress 4:loading successful 12:Loading failed) Fatih, AttachmentChange_Recipe_from_PLC2eng_V15.zip (482 Downloads) |
Last edited by: fatihsun at: 12/08/2022 06:44:01Last edited by: fatihsun at: 12/08/2022 06:51:53 |
|
8/1/2024 4:36 AM | |
Joined: 3/8/2019 Last visit: 3/3/2025 Posts: 2 Rating:
|
Hi all! This post was extremely useful, I have a project that needed exactly this, so thank you everyone! |
Follow us on