You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old May 29th, 2008, 02:39 PM   #1
Combo
Lifetime Supporting Member
Belgium

Combo is offline
 
Combo's Avatar
 
Join Date: Jul 2002
Location: Belgium
Posts: 2,223
Recipes in WinCC Flexible

Hi,

I have used the advanced recipes in WinCC Flexible.

New recipes, editing and saving is possible.

This was used in a certain screen.


On my automatic screen (screen showed when machine is running) I want to see what recipe is loaded. I don't wan't any pull down menu's or arrows, I want a blank field that shows the name of the recipe. The recipe names are varible because new one's can be made.

Anyone who knows how this can be done ?

Maybe the recipe tool itself in simple vieuw, but, I don't want those arrows that are shown.
  Reply With Quote
Old May 29th, 2008, 04:27 PM   #2
CharlesM
Member
United States

CharlesM is offline
 
Join Date: Aug 2005
Location: Arkansas
Posts: 1,083
Setup a tag in the recipe viewer to store the number of the data record. Then on change of that tag call GetDataRecordName.



  Reply With Quote
Old May 30th, 2008, 02:46 AM   #3
Combo
Lifetime Supporting Member
Belgium

Combo is offline
 
Combo's Avatar
 
Join Date: Jul 2002
Location: Belgium
Posts: 2,223
hey

I tried this tip and it's great !!!

The I/O field is set to that tag as a string.

Great !!


Thanks a lot

Quote:
Originally Posted by CharlesM
Setup a tag in the recipe viewer to store the number of the data record. Then on change of that tag call GetDataRecordName.



  Reply With Quote
Old May 30th, 2008, 10:36 AM   #4
CharlesM
Member
United States

CharlesM is offline
 
Join Date: Aug 2005
Location: Arkansas
Posts: 1,083
One of the things I did with this was to make a search by data record name. If you write a number to the data record number you can load the recipe for that number. So I made a loop that index's through all the data records and reads the data record name into an array. Then I can loop down through the array searching for the text the operator entered to search by. It returns a list of the first 10 found and they can select that name and load it from the search screen. This is great when you have a lot of data records because the recipe viewer has a very small scroll bar that is hard to move up/down via touch screen.

The other thing I would like to do with this but have not is loading the recipe on start up. It would be great to store the number of the current recipe then when the power goes out and back on the same recipe would be loaded up. It should be easy to do I just have not had time to work on it.
  Reply With Quote
Old May 30th, 2008, 03:51 PM   #5
bkottaras
Member
United States

bkottaras is offline
 
Join Date: Oct 2005
Location: Chicago
Posts: 1,366
Quote:
Originally Posted by CharlesM
One of the things I did with this was to make a search by data record name. If you write a number to the data record number you can load the recipe for that number. So I made a loop that index's through all the data records and reads the data record name into an array. Then I can loop down through the array searching for the text the operator entered to search by. It returns a list of the first 10 found and they can select that name and load it from the search screen. This is great when you have a lot of data records because the recipe viewer has a very small scroll bar that is hard to move up/down via touch screen.

The other thing I would like to do with this but have not is loading the recipe on start up. It would be great to store the number of the current recipe then when the power goes out and back on the same recipe would be loaded up. It should be easy to do I just have not had time to work on it.
Charles, if you do get a chance to set it up, start a new thread on here or PM me.
I'de be interested in doing the same thing but lately (2 years or so, dues to specs, I've been using RSL5K and RSViewME).

Thanks.
  Reply With Quote
Old June 1st, 2008, 05:38 AM   #6
Combo
Lifetime Supporting Member
Belgium

Combo is offline
 
Combo's Avatar
 
Join Date: Jul 2002
Location: Belgium
Posts: 2,223
/:-)

I was thinking on the same thing... after power on the last recipe should be loaded, something I need too, I'll try something out...

Quote:
Originally Posted by CharlesM
One of the things I did with this was to make a search by data record name. If you write a number to the data record number you can load the recipe for that number. So I made a loop that index's through all the data records and reads the data record name into an array. Then I can loop down through the array searching for the text the operator entered to search by. It returns a list of the first 10 found and they can select that name and load it from the search screen. This is great when you have a lot of data records because the recipe viewer has a very small scroll bar that is hard to move up/down via touch screen.

The other thing I would like to do with this but have not is loading the recipe on start up. It would be great to store the number of the current recipe then when the power goes out and back on the same recipe would be loaded up. It should be easy to do I just have not had time to work on it.
  Reply With Quote
Old June 2nd, 2008, 01:34 AM   #7
Combo
Lifetime Supporting Member
Belgium

Combo is offline
 
Combo's Avatar
 
Join Date: Jul 2002
Location: Belgium
Posts: 2,223
FOund it

Hey, I found it how to store the last choses recipe in the PLC.

Recipe_Name is allways the same.

Recipe_Record_Name was an internal tag (string with length 10). I made an external of it, string with same length. It is stored in the PLC like this and it works !!
  Reply With Quote
Old January 19th, 2010, 06:35 AM   #8
shansal
Member
Turkey

shansal is offline
 
Join Date: Jan 2010
Location: Sakarya
Posts: 6
Hi guys,

I need a solution about recipes in Wincc Flexible. For the purpose of automatic production sequence, I want the transition of data records to be carried out by plc. I mean, when some conditions are met, date record number is to be increased automatically from plc. And entries in the new data record will automatically be transferred to plc. How can this be done?

Thank you in advance.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Wincc Flexible 2005 Advanced Recipes JOLTRON LIVE PLC Questions And Answers 2 December 12th, 2007 12:17 PM
Citect Vs WinCC - Long Doug_Adam LIVE PLC Questions And Answers 19 November 25th, 2007 04:56 PM
Anyone tried WinCC Flexible and OPC ? JesperMP LIVE PLC Questions And Answers 4 July 20th, 2007 10:40 AM
WinCC Flexible Quirks tvey LIVE PLC Questions And Answers 5 May 3rd, 2007 05:57 AM
Simatic Wincc Flexible 2004 -->2005 STL??? LIVE PLC Questions And Answers 8 August 29th, 2006 05:42 AM


All times are GMT -5. The time now is 03:29 PM.


.