Ack
The
ACK
execute acknowledges an entry in the unacknowledged prompts list.The format and return for this execute includes:
Execute Format | A FactoryTalk Batch Server supports an execute with this format:[ACK( Item,UserID,EventID,EventResponse )] | ||
where: | Item | The item name, as specified by the client. | |
UserID | User identification entered into the event journal associated with this event. | ||
EventID | The unique batch-generated ID for the event. | ||
EventResponse | The response to the unacknowledged event: <PromptResponse> | ||
where: | |||
<PromptResponse> | is | <StandardPromptResponse> | <UnitBindingPromptResponse> | <RecipePhaseBindingResponse> | |
<StandardPromptResponse> | is | <ParameterValue> | |
<UnitBindingPromptResponse> | is | <UnitID> | |
<RecipePhaseBindingResponse> | is | <EqModName> - <ContainerName> - <Capacity> - <EU> - <LotName> - <LabelName> | |
where: | |||
Field | Format | Description | |
<ParameterValue> | ASCII - String | Value stored into the parameter for the generated unacknowledged prompt. | |
<UnitID> | ASCII – Integer | Unit resource ID that binds to the Unit Requirement generated by the bind prompt. | |
<EqModeName> | ASCII – String | Equipment phase name that binds to the recipe phase generated by the bind prompt. | |
<ContainerName> | ASCII - String | Container name that binds to the recipe phase generated by the bind prompt. | |
<Capacity> | ASCII – Integer | Container capacity that binds to the recipe phase generated by the bind prompt. | |
<EU> | ASCII – String | <Capacity> value engineering units for the container that binds to the recipe phase generated by the bind prompt. | |
<LotName> | ASCII – String | Lot name bound to the recipe phase generated by the bind prompt. | |
<LabelName> | ASCII – String | Label name bound to the recipe phase generated by the bind prompt. | |
Action | A successful ACK execute either responds to the specified prompt ID, or queue the response to the prompt ID pending one or more signatures that may have been generated for confirming the prompt response. | ||
Return Format | The item populates with this data: SUCCESS: | SUCCESS: <ActionID> | FAIL: <message> | FAILED | ||
where: | |||
Field | Format | Description | |
<ActionID> | ASCII – Integer | Action ID associated with signature(s) generates as a result of the potential prompt response. The prompt response is not processed unless all signature requests are successfully signed off. | |
<message> | ASCII - String | Error message appropriately formatted for operator display. |
The following table shows an example of the return on this execute.
Example: | An execute string consisting of: Ack(Item,Station2/View,2,EP_ADDEGG_M1-COOLER\EGG_PALLET2 –50-KG-GOLDEN_EGGS_SEPT_18-CARTON_9) Could return: SUCCESS:997 |
Provide Feedback