RecipeList
The
RECIPELIST
execute obtains information about the recipes from FactoryTalk Batch Recipe Editor
. To review the recipe information, issue a request against the RecipeList
item.The format and return for this execute includes:
Execute Format | A FactoryTalk Batch Server supports an execute string with the RECIPELIST keyword. The format of the execute string:[RECIPELIST( Item,UserID )] | |
where: | Item | Item name as specified by the client. |
UserID | User identification associated with this event. | |
Action | A successful RECIPELIST execute returns the recipe list information into the response item on the client. | |
Return Format | The item populates with this data, except when using the COM interface. SUCCESS: | FAIL: <message> | FAILED When using the COM interface, the RecipeList execute returns the data from the RecipeList item. |
The following table shows an example of the return on this execute.
Example: | An execute string using the COM interface consisting of: [RECIPELIST(Item,STATION5/Operator)] Requesting data from Item could return: 3.0 \t FRENCH_VANILLAPREMIUM1_MEGA_PARLOR_OPT_2_
U1.UPC \t FRENCH_VANILLAPREMIUM1_MEGA_PARLOR_
OPT_2_U1 \t French Vanilla IceCream \t French Vanilla \t FVP-101 \t Premium 1 \t 2/1/2017 11:11:50 AM \t Administrator \t rpmServer ( STAGE1\rpmServer ) on computer STAGE1 \t UNIT PROCEDURE \t Instance \t The general recipe French_Vanilla, Variant= Premium, Version= 1 is successfully converted to master recipe FRENCH_ VANILLAPREMIUM1_MEGA_PARLOR \t 25 \t 50 \t 100 \t KG \t \t TRUE \t \\STATION5\PROGRAM FILES\ROCKWELL SOFTWARE \BATCH\SAMPLEAPP\RECIPES\ICE_CREAM4.CFG \t 2/1/2017 11:04:31 AM \t MP_MIXERFREEZER1 \t 2/1/2017 11:11:44 AM \crlf ... 3.0 \t CLS_STRAWBERRY_ICEMILK.BPC \t CLS_STRAWBERRY_ ICEMILK \t Strawberry Ice Milk - Reduced Fat Ice Cream - class based \t Strawberry Ice Milk \t SIM-101 \t 1.0 \t 2/1/2017 11:11:50 AM \t Mark Shepard \t MSS \t PROCEDURE \t Class \t \t 3000 \t 5000 \t 7000 \t KG \t 45 \t TRUE \t \\STATION5\PROGRAM FILES\ROCKWELL SOFTWARE\BATCH\SAMPLEAPP\RECIPES\ICE_CREAM4.CFG \t 2/1/2017 11:04:31 AM \t \t 2/1/2017 11:11:44 AM \crlf |
Provide Feedback