SetAllLabel

The
SETALLLABEL
execute sets the same label on all material steps within a recipe. The label helps identify specific material sublots for use. In material addition phases the label identifies specific material sublots for use. In material distribution phases, the label is applied to the material sublot distributed.
The
SETALLLABEL
execute applies only to material-enabled phases.
The format and return for this execute includes:
Execute Format
A
FactoryTalk Batch
Server supports an execute with this format:
[SETALLLABEL(
Item,UserID,ProcedureID,LabelString
)]
where:
Item
Item name as specified by the client.
UserID
User identification entered into the event journal associated with this event.
ProcedureID
Unique hierarchical path name to the procedure, unit procedure, operation or phase:
  • Procedure: CreateID
  • Unit Procedure: CreateID \t UnitProcIDName
  • Operation: CreateID \t UnitProcIDName \t OperIDName
  • Phase: CreateID \t UnitProcIDName \t OperIDName \t PhaseIDName
LabelString
Label to be stored on the phase.
where:
<FullPath>
is
<CreateID>
|
<CreateID>
/t
<Path>
<Path>
is
<StepIdentifier>
|
<StepIdentifier>
/t
<Path>
where:
Field
Format
Description
<CreateID>
ASCII - Integer
Unique batch ID assigned by the
FactoryTalk Batch
Server.
<StepIdentifier>
ASCII – String
Step identifier (for example, Mix:1)
Action
A successful SETALLLABEL execute either changes the label values in the specified step(s), or queue the change(s) and return an action ID from which the signature requests generated can be detected.
Return Format
The item populates with this data:
SUCCESS: | SUCCESS:
<ActionID>
| FAIL:
<message>
where:
Field
Format
Description
<ActionID>
ASCII – Integer
Action identifier associated with signature(s) generated as a result of the potential parameter value change. The parameter value will not actually change unless all signatures are successfully signed.
<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:
[SETALLLABEL(Item,Station5\Operator,887 \t PREMIX_B, CUSTOMJOB2)]
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal