Formulation_Data

The
Formulation_Data
execute retrieves the set of parameters and their values configured within a specified formulation of a specified recipe.
This table shows the input and output formats for this item.
Execute Format
A FactoryTalk Batch Server supports an execute with this format:
[
FORMULATION_DATA
(<Item>,<UserID>,<RecipeID>,<Formulation>)]
where:
<Item>
Item name as specified by the client.
<UserID>
User identification associated with this execute.
<RecipeID>
Filename, including the extension, for the recipe for which formulation data is retrieved.
<Formulation>
Name of the formulation for which parameter information is retrieved.
Action
A successful
FORMULATION_DATA
execute returns the string "SUCCESS:" followed by a variable number of records, one per parameter defined in the specified formulation of the specified recipe. Each record contains two fields, one for the name of the parameter and one for the formulation value defined for that parameter within the formulation.
Return Format
Populates the response item with this data:
SUCCESS:<ParamDataList> | FAIL:<message>
where:
<ParamDataList>
is
<NullList> |
<ParamData> |
<ParamData> \crlf
<ParamDataList>
<ParamData>
is
<ParamName> /t
<ParamValue>
<ParamName>
is
Parameter name
<ParamValue>
is
Parameter formulation value
The following table shows an example of the return on this execute.
Example:
Given the following execute:
[FORMULATION_DATA(Item,STATION5/operator2,cls_frenchvanilla.bpc,Premium)]
The batch server could return:
SUCCESS:SUGAR/t50.92/crlfSALT/t8.53/crlfMOLASSES/t1589
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal