batch-example-2/recipes/ALL_CHECK_EMPTY.OXML

269 lines
9.1 KiB
Plaintext
Raw Permalink Normal View History

2023-11-20 21:08:07 +00:00
<?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_CHECK_EMPTY</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-10-16T14:46:48</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>MAX_EMPTY_WEIGHT</Name>
<ERPAlias/>
<PLCReference>1</PLCReference>
<Real>0</Real>
<High>10000</High>
<Low>0</Low>
<EngineeringUnits>kg</EngineeringUnits>
<Scale>false</Scale>
</Parameter>
<Report>
<Name>TARE</Name>
<Real/>
<EngineeringUnits>kg</EngineeringUnits>
<Source>EMPTY:2.TARE</Source>
</Report>
<Steps>
<InitialStep XPos="700" YPos="100">
<Name>INITIALSTEP:1</Name>
</InitialStep>
<TerminalStep XPos="800" YPos="2300">
<Name>TERMINALSTEP:1</Name>
</TerminalStep>
<Step XPos="600" YPos="600" AcquireUnit="true" SystemStep="false">
<Name>EMPTY:1</Name>
<StepRecipeID>EMPTY</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
<ReportLimit Verification="No_Limits">
<Name>TARE</Name>
<LowLowLowValue/>
<LowLowValue/>
<LowValue/>
<HighValue/>
<HighHighValue/>
<HighHighHighValue/>
<VerificationLimitCalculation>Absolute</VerificationLimitCalculation>
<TargetParameter/>
</ReportLimit>
</Step>
<Step XPos="600" YPos="1800" AcquireUnit="true" SystemStep="false">
<Name>EMPTY:2</Name>
<StepRecipeID>EMPTY</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
<ReportLimit Verification="No_Limits">
<Name>TARE</Name>
<LowLowLowValue/>
<LowLowValue/>
<LowValue/>
<HighValue/>
<HighHighValue/>
<HighHighHighValue/>
<VerificationLimitCalculation>Absolute</VerificationLimitCalculation>
<TargetParameter/>
</ReportLimit>
</Step>
<Step XPos="600" YPos="1200" AcquireUnit="true" SystemStep="false">
<Name>EP_CONFIRM_EMPTY:1</Name>
<StepRecipeID>EP_CONFIRM_EMPTY</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
<FormulaValue>
<Name>CURRENT_WEIGHT</Name>
<Display>false</Display>
<ParamExpression/>
<Real>[54]( (EMPTY:1.TARE*100))/100</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>MAX_EMPTY_WEIGHT</Name>
<Display>false</Display>
<Defer>MAX_EMPTY_WEIGHT</Defer>
<Real>0.0</Real>
<EngineeringUnits>kg</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>
</Step>
<Step XPos="1400" YPos="1200" AcquireUnit="true" SystemStep="false">
<Name>EP_OVERIDE_MAX_WEIGHT:1</Name>
<StepRecipeID>EP_OVERIDE_MAX_WEIGHT</StepRecipeID>
<PackedFlags>1</PackedFlags>
<UnitAlias>UNIT_CLS</UnitAlias>
<FormulaValue>
<Name>CURRENT_WEIGHT</Name>
<Display>false</Display>
<ParamExpression/>
<Real>[54]( (EMPTY:1.TARE*100))/100</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>MAX_EMPTY_WEIGHT</Name>
<Display>false</Display>
<Defer>MAX_EMPTY_WEIGHT</Defer>
<Real>0.0</Real>
<EngineeringUnits>kg</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>
</Step>
</Steps>
<Transition XPos="800" YPos="398">
<Name>T1</Name>
<ConditionalExpression>[4]</ConditionalExpression>
</Transition>
<Transition XPos="800" YPos="1000">
<Name>T2</Name>
<ConditionalExpression>EMPTY:1.[21] = [14] [3] EMPTY:1.TARE &lt;= MAX_EMPTY_WEIGHT</ConditionalExpression>
</Transition>
<Transition XPos="800" YPos="1588">
<Name>T3</Name>
<ConditionalExpression>EP_CONFIRM_EMPTY:1.[21] = [14]</ConditionalExpression>
</Transition>
<Transition XPos="1600" YPos="1100">
<Name>T4</Name>
<ConditionalExpression>EMPTY:1.[21] = [14] [3] EMPTY:1.TARE &gt; MAX_EMPTY_WEIGHT</ConditionalExpression>
</Transition>
<Transition XPos="1600" YPos="1494">
<Name>T5</Name>
<ConditionalExpression>EP_OVERIDE_MAX_WEIGHT:1.[21] = [14]</ConditionalExpression>
</Transition>
<Transition XPos="800" YPos="2100">
<Name>T6</Name>
<ConditionalExpression>EMPTY:2.[21] = [14]</ConditionalExpression>
</Transition>
<ElementLink>
<FromTransition>T1</FromTransition>
<ToStep>EMPTY:1</ToStep>
</ElementLink>
<ElementLink>
<FromStep>EMPTY:1</FromStep>
<ToTransition>T2</ToTransition>
</ElementLink>
<ElementLink>
<FromStep>EMPTY:1</FromStep>
<ToTransition>T4</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T3</FromTransition>
<ToStep>EMPTY:2</ToStep>
</ElementLink>
<ElementLink>
<FromTransition>T5</FromTransition>
<ToStep>EMPTY:2</ToStep>
</ElementLink>
<ElementLink>
<FromStep>EMPTY:2</FromStep>
<ToTransition>T6</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T2</FromTransition>
<ToStep>EP_CONFIRM_EMPTY:1</ToStep>
</ElementLink>
<ElementLink>
<FromStep>EP_CONFIRM_EMPTY:1</FromStep>
<ToTransition>T3</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T4</FromTransition>
<ToStep>EP_OVERIDE_MAX_WEIGHT:1</ToStep>
</ElementLink>
<ElementLink>
<FromStep>EP_OVERIDE_MAX_WEIGHT:1</FromStep>
<ToTransition>T5</ToTransition>
</ElementLink>
<ElementLink>
<FromStep>INITIALSTEP:1</FromStep>
<ToTransition>T1</ToTransition>
</ElementLink>
<ElementLink>
<FromTransition>T6</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>EMPTY</PhaseName>
<AffinitySpecifier>RequirePhase</AffinitySpecifier>
</BindRequirement>
<BindRequirement>
<OrderID>2</OrderID>
<BindSpecifierType>BindSpecifierPhase</BindSpecifierType>
<PhaseName>EP_CONFIRM_EMPTY</PhaseName>
<AffinitySpecifier>RequirePhase</AffinitySpecifier>
</BindRequirement>
<BindRequirement>
<OrderID>3</OrderID>
<BindSpecifierType>BindSpecifierPhase</BindSpecifierType>
<PhaseName>EP_OVERIDE_MAX_WEIGHT</PhaseName>
<AffinitySpecifier>RequirePhase</AffinitySpecifier>
</BindRequirement>
</UnitRequirement>
<Comments/>
<Formulations/>
</RecipeElement>