batch-example-2/recipes/ALL_NEW_BATCH.OXML

200 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<RecipeElement xmlns="urn:Rockwell/MasterRecipe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:Rockwell/MasterRecipe C:\PROGRA~1\ROCKWE~1\BATCH\SCHEMAS\MasterRecipe.xsd" SchemaVersion="3530">
<RecipeElementID>ALL_NEW_BATCH</RecipeElementID>
<Header>
<Abstract/>
<ApprovedBy/>
<AreaModel>\\DESKTOP-PKHILQE\BATCHCTL\ZONE-10\EQUIPMENT-MODEL.CFG</AreaModel>
<AreaModelDate>1950-02-28T00:00:00</AreaModelDate>
<Author>GB</Author>
<BeingEditedBy>Not being handled yet</BeingEditedBy>
<ClassBased>true</ClassBased>
<DBSchema>3530</DBSchema>
<DefaultSize>0.</DefaultSize>
<Description/>
<Duration>0</Duration>
<LocaleID>-1</LocaleID>
<MaxSize>0.</MaxSize>
<MinSize>0.</MinSize>
<ProductCode/>
<ProductID>Generic</ProductID>
<ProductUnits/>
<RecipeType>Operation</RecipeType>
<Released>0</Released>
<ReleaseAsStep>true</ReleaseAsStep>
<Resource>UNIT_CLS</Resource>
<VerificationDate>1950-02-28T00:00:00</VerificationDate>
<Version>1.0</Version>
<VersionDate>2023-05-04T16:04:44</VersionDate>
<Obsoleted>false</Obsoleted>
<NextWIPNumber>2</NextWIPNumber>
<VersionDescription/>
<ParentName/>
<ParentVersionDescription/>
<ParentVersionDate>1950-02-28T00:00:00</ParentVersionDate>
<ParentVerificationDate>1950-02-28T00:00:00</ParentVerificationDate>
<ParentAreaModelDate>1950-02-28T00:00:00</ParentAreaModelDate>
<ParentAreaModelName/>
<SecurityAuthorityIdentifier>NOT_AVAILABLE</SecurityAuthorityIdentifier>
</Header>
<Parameter>
<Name>CONFIRM_NEW_BATCH</Name>
<ERPAlias/>
<PLCReference>1</PLCReference>
<EnumerationSet>YES_NO</EnumerationSet>
<EnumerationMember>YES</EnumerationMember>
</Parameter>
<Steps>
<InitialStep XPos="700" YPos="100">
<Name>INITIALSTEP:1</Name>
</InitialStep>
<TerminalStep XPos="800" YPos="1602">
<Name>TERMINALSTEP:1</Name>
</TerminalStep>
<Step XPos="600" YPos="600" AcquireUnit="true" SystemStep="false">
<Name>ACCUMULATOR:2</Name>
<StepRecipeID>ACCUMULATOR</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
<FormulaValue>
<Name>ADD</Name>
<Display>false</Display>
<Value/>
<Real>0</Real>
<EngineeringUnits/>
<FormulaValueLimit Verification="No_Limits">
<LowLowLowValue>0.</LowLowLowValue>
<LowLowValue>0.</LowLowValue>
<LowValue>0.</LowValue>
<HighValue>0.</HighValue>
<HighHighValue>0.</HighHighValue>
<HighHighHighValue>0.</HighHighHighValue>
</FormulaValueLimit>
</FormulaValue>
<FormulaValue>
<Name>PROMPT</Name>
<Display>true</Display>
<Value/>
<String>NEW BATCH</String>
<FormulaValueLimit Verification="No_Limits">
<LowLowLowValue>0.</LowLowLowValue>
<LowLowValue>0.</LowLowValue>
<LowValue>0.</LowValue>
<HighValue>0.</HighValue>
<HighHighValue>0.</HighHighValue>
<HighHighHighValue>0.</HighHighHighValue>
</FormulaValueLimit>
</FormulaValue>
<FormulaValue>
<Name>RESET</Name>
<Display>false</Display>
<Value/>
<EnumerationSet>YES_NO</EnumerationSet>
<EnumerationMember>YES</EnumerationMember>
<FormulaValueLimit Verification="No_Limits">
<LowLowLowValue>0.</LowLowLowValue>
<LowLowValue>0.</LowLowValue>
<LowValue>0.</LowValue>
<HighValue>0.</HighValue>
<HighHighValue>0.</HighHighValue>
<HighHighHighValue>0.</HighHighHighValue>
</FormulaValueLimit>
</FormulaValue>
<FormulaValue>
<Name>USE_ACCUMULATOR</Name>
<Display>false</Display>
<Value/>
<EnumerationSet>ACCUMULATORS_ENUM</EnumerationSet>
<EnumerationMember>SUB_BATCH</EnumerationMember>
<FormulaValueLimit Verification="No_Limits">
<LowLowLowValue>0.</LowLowLowValue>
<LowLowValue>0.</LowLowValue>
<LowValue>0.</LowValue>
<HighValue>0.</HighValue>
<HighHighValue>0.</HighHighValue>
<HighHighHighValue>0.</HighHighHighValue>
</FormulaValueLimit>
</FormulaValue>
<ReportLimit Verification="No_Limits">
<Name>ACCUMULATOR</Name>
<LowLowLowValue/>
<LowLowValue/>
<LowValue/>
<HighValue/>
<HighHighValue/>
<HighHighHighValue/>
<VerificationLimitCalculation>Absolute</VerificationLimitCalculation>
<TargetParameter/>
</ReportLimit>
</Step>
<Step XPos="600" YPos="1102" AcquireUnit="true" SystemStep="false">
<Name>EP_NEW_BATCH:1</Name>
<StepRecipeID>EP_NEW_BATCH</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
</Step>
</Steps>
<Transition XPos="800" YPos="900">
<Name>T1</Name>
<ConditionalExpression>ACCUMULATOR:2.[21] = [14] [3] CONFIRM_NEW_BATCH = "YES"</ConditionalExpression>
</Transition>
<Transition XPos="800" YPos="1402">
<Name>T3</Name>
<ConditionalExpression>EP_NEW_BATCH:1.[21] = [14]</ConditionalExpression>
</Transition>
<Transition XPos="1900" YPos="1000">
<Name>T4</Name>
<ConditionalExpression>ACCUMULATOR:2.[21] = [14] [3] CONFIRM_NEW_BATCH = "NO"</ConditionalExpression>
</Transition>
<Transition XPos="800" YPos="400">
<Name>T5</Name>
<ConditionalExpression>[4]</ConditionalExpression>
</Transition>
<ElementLink>
<FromStep>ACCUMULATOR:2</FromStep>
<ToTransition>T1</ToTransition>
</ElementLink>
<ElementLink>
<FromStep>ACCUMULATOR:2</FromStep>
<ToTransition>T4</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T5</FromTransition>
<ToStep>ACCUMULATOR:2</ToStep>
</ElementLink>
<ElementLink>
<FromTransition>T1</FromTransition>
<ToStep>EP_NEW_BATCH:1</ToStep>
</ElementLink>
<ElementLink>
<FromStep>EP_NEW_BATCH:1</FromStep>
<ToTransition>T3</ToTransition>
</ElementLink>
<ElementLink>
<FromStep>INITIALSTEP:1</FromStep>
<ToTransition>T5</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T3</FromTransition>
<ToStep>TERMINALSTEP:1</ToStep>
</ElementLink>
<ElementLink>
<FromTransition>T4</FromTransition>
<ToStep>TERMINALSTEP:1</ToStep>
</ElementLink>
<UnitRequirement>
<UnitAlias>UNIT_CLS</UnitAlias>
<ClassInstance>UNIT_CLS</ClassInstance>
<BindingMethod>BatchCreation</BindingMethod>
<MaterialBindingMethod>ByInventory</MaterialBindingMethod>
<ClassBased>true</ClassBased>
<BindRequirement>
<OrderID>1</OrderID>
<BindSpecifierType>BindSpecifierPhase</BindSpecifierType>
<PhaseName>EP_NEW_BATCH</PhaseName>
<AffinitySpecifier>RequirePhase</AffinitySpecifier>
</BindRequirement>
</UnitRequirement>
<Comments/>
<Formulations/>
</RecipeElement>