Acquire

The
ACQUIRE
execute acquires a resource for the operator.
The format and return for this execute includes:
Execute Format
A
FactoryTalk Batch
Server supports an execute with this format:
[ACQUIRE(
Item,UserID,OwnerID,ResourceID
)]
where:
Item
Item name as specified by the client.
UserID
User identification associated with this event.
OwnerID
Identification of the operator.
ResourceID
Equipment ID of the resource to be acquired. Configure this value in
FactoryTalk Batch Equipment Editor
.
Action
A successful ACQUIRE execute places operator into the requester’s specified resource list. When the resource determines that the operator can become an owner, then operator moves into the owner’s resource list.
Return Format
The item populates with this data:
SUCCESS: | FAIL:
<message>
| FAILED
The following table shows an example of the return on this execute.
Example:
An execute string:
[ACQUIRE(Item,Station5\Operator,0,119)]
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal