<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="786242588" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="tlcd_tracabilite_securise_kwp2000">
</FileName>
<Modif date="08/03/2019" user="ssahlaou" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.5.0.1" exedate="29/03/2018">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=5 posl=1 destc=7 destl=2 ident=10>
<Comment>Gamme de procédure
</Comment>
<Comment>$Rev: $
</Comment>
</Start>
<Act posc=5 posl=35 destc=5 destl=37 ident=234>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_DEFAUTF303_SECURISE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ReadDTC ShowUnknown="YES">
</ReadDTC>
</ECUCommunication>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<Partact>
<Appl>
<For>
<ECUDTCs>
<DTCCode>F303
</DTCCode>
</ECUDTCs>
</For>
</Appl>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>1.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Partact>
</Act>
<Test posc=5 posl=39 destyesc=7 destyesl=39 destnoc=5 destnol=41 ident=235>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="V0">
</FloatVar>
</Source>
<Source>
<FloatVar name="V1">
</FloatVar>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=5 posl=41 destyesc=7 destyesl=41 destnoc=5 destnol=43 ident=237>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="SUP">
<Source>
<FloatVar name="V12">
</FloatVar>
</Source>
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=43 destc=11 destl=43 ident=239>
<MathAndLogic>
<Addition>
<Source>
<FloatVar name="V11">
</FloatVar>
</Source>
<Destination>
<FloatVar name="V12">
</FloatVar>
</Destination>
</Addition>
</MathAndLogic>
</Act>
<Act posc=5 posl=19 destc=5 destl=21 ident=249>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_DEFAUTF303_SECURISE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<FloatVar name="V12">
</FloatVar>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V11">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=7 posl=39 destc=9 destl=41 ident=254>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DEFAUT_NON_PRESENT">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="TLCD_DEFAUTF303_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=37 destyesc=5 destyesl=39 destnoc=7 destnol=37 ident=258>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=37 destc=9 destl=41 ident=260>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FNC_ERROR">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="TLCD_DEFAUTF303_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=7 posl=41 destc=9 destl=41 ident=261>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DEFAUT_PRESENT">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="TLCD_DEFAUTF303_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=5 posl=43 destc=7 destl=43 ident=263>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DEFAUT_PRESENT">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="TLCD_DEFAUTF303_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<End posc=15 posl=29 ident=279>
</End>
<Act posc=5 posl=3 destc=5 destl=5 ident=282>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$SDS$SERVICEUNIT$DEFAULT">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=5 posl=5 destyesc=5 destyesl=7 destnoc=7 destnol=5 ident=283>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=5 destc=15 destl=23 ident=284>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ERREUR_DIAG_MODE_82">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=5 posl=9 destc=5 destl=13 ident=285>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$SDS$SERVICEUNIT$DIAG">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=5 posl=13 destyesc=5 destyesl=15 destnoc=7 destnol=13 ident=286>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=13 destc=15 destl=23 ident=287>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ERREUR_DIAG_MODE">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<End posc=15 posl=23 ident=289>
</End>
<Act posc=7 posl=5 destc=9 destl=5 ident=311>
<ECUCommunication>
<StopComm>
</StopComm>
</ECUCommunication>
</Act>
<Act posc=9 posl=9 destc=11 destl=9 ident=312>
<MathAndLogic>
<Waitms val="1500">
</Waitms>
</MathAndLogic>
</Act>
<Act posc=11 posl=9 destc=11 destl=11 ident=313>
<ECUCommunication>
<StartComm>
</StartComm>
</ECUCommunication>
</Act>
<Test posc=9 posl=5 destyesc=9 destyesl=9 destnoc=13 destnol=5 ident=314>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=11 posl=11 destyesc=5 destyesl=15 destnoc=13 destnol=11 ident=316>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=11 destc=15 destl=23 ident=318>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ERREUR_DIAG_MODE_81">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<End posc=9 posl=41 ident=324>
</End>
<SubTree posc=5 posl=15 destc=5 destl=17 ident=328 FileName="TLCD_TRACABILITE_SECURISE_IS_SECURE.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=5 posl=17 destyesc=5 destyesl=19 destnoc=15 destnol=23 ident=329>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE_IS_SECURE">
</TextBuffer>
</Source>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=5 posl=21 destc=5 destl=23 ident=330 FileName="TLCD_TRACABILITE_SECURISE_UNLOCK.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=5 posl=23 destyesc=5 destyesl=25 destnoc=15 destnol=23 ident=331>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE_UNLOCK">
</TextBuffer>
</Source>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=5 posl=25 destc=5 destl=27 ident=332 FileName="TLCD_TRACABILITE_SECURISE_TRACEABILITY.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=5 posl=27 destyesc=5 destyesl=29 destnoc=9 destnol=41 ident=333>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="RESULT_TLCD_TRACABILITE_TRACEABILITY">
</TextBuffer>
</Source>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=5 posl=29 destc=5 destl=31 ident=334 FileName="TLCD_TRACABILITE_SECURISE_LOCK.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=5 posl=31 destyesc=5 destyesl=33 destnoc=9 destnol=41 ident=335>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="RESULT_TLCD_TRACABILITE_LOCK">
</TextBuffer>
</Source>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=11 posl=43 destc=13 destl=25 ident=336 FileName="TLCD_TRACABILITE_SECURISE_UNLOCK.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=13 posl=25 destyesc=5 destyesl=25 destnoc=15 destnol=25 ident=337>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="RESULT_TLCD_TRACABILITE_SECURISE_UNLOCK">
</TextBuffer>
</Source>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=15 posl=25 destc=15 destl=27 ident=339>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FNC_ERROR">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="TLCD_OPENCOMM_SECURISE">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=15 posl=27 destc=15 destl=29 ident=340 FileName="TLCD_TRACABILITE_SECURISE_LOCK.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=5 posl=7 destc=5 destl=9 ident=341>
<MathAndLogic>
<Waitms val="1500">
</Waitms>
</MathAndLogic>
</Act>
<Act posc=7 posl=2 destc=9 destl=2 ident=342>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DESCRIPTOR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="INPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="ECU_DESCRIPTOR">
<TextBuffer name="INPUT_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
<Execution>
</Execution>
</Act>
<Test posc=9 posl=2 destyesc=13 destyesl=2 destnoc=5 destnol=3 ident=343>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>3
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="DAE">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=2 destc=15 destl=2 ident=358>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STOP_START_USE_CASE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<FloatNumber>5
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="StopStartTimeOut">
</NamedFloatVar>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="STOP_START_COUPURE_REMISE_TEMPO">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="STOP_START_USE_CASE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=15 posl=2 destc=5 destl=15 ident=359 FileName="stop_start_comm_gen.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=7 posl=35 destc=5 destl=37 ident=360>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_DEFAUTF303_SECURISE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ReadDTC ShowUnknown="YES">
</ReadDTC>
</ECUCommunication>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<Partact>
<Appl>
<For>
<ECUDTCs>
<DTCCode>B1003
</DTCCode>
</ECUDTCs>
</For>
</Appl>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>1.0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Partact>
</Act>
<Switch posc=5 posl=33 ident=361>
<Source>
<ECUData ParamName="C">
</ECUData>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="ARTIV">
</ASCIIString>
</Source>
<TargetCell destc=7 destl=35>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=5 destl=35>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
</cel>
</Tree>
