<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1966330934" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="A58_ABRASR_ESPMK100_VARIANTE_CALCULATEUR">
</FileName>
<Modif date="30/06/2017" site="Actia" user="E484052">
</Modif>
</IFile>
<ITool exedate="26/04/2017" name="fr.actia.flowchart.editor.model.engineID" revision="6.5.0.201703031105">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=3 posl=2 destc=3 destl=3 ident=32>
<Comment>Menu Variante calculateur ESPMK100
</Comment>
<Comment>$Rev: $
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="ESP_MK100_MESS">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
</Start>
<Act posc=11 posl=5 destc=11 destl=7 ident=1259>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RDBLID$SERVICEUNIT$RDBLID_C4">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="INPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="INPUT_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
<Execution>
</Execution>
</Act>
<Test posc=13 posl=5 destyesc=13 destyesl=7 destnoc=15 destnol=5 ident=1261>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>25
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="01">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=5 destc=11 destl=5 ident=1262>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TLCDBR1">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TLCDTYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=9 posl=6 destc=11 destl=5 ident=1263>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TLCDBR2">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TLCDTYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<End posc=25 posl=2 ident=1270>
</End>
<Act posc=15 posl=11 destc=21 destl=11 ident=1281>
<Comment>TLCD ESP  BR2
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_A58_TLCDBR2">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=3 posl=5 destc=5 destl=5 ident=1286>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RDBLID$SERVICEUNIT$RDBLID_LID_A0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Act posc=17 posl=5 destc=17 destl=9 ident=1287>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="B">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=15 posl=7 destc=17 destl=9 ident=1288>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="C">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=3 posl=3 destyesc=3 destyesl=4 destnoc=5 destnol=3 ident=1289>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ECUData ParamName="STATE">
</ECUData>
</Source>
<Source>
<ASCIIString value="OK">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<MsgScreen posc=7 posl=3 destc=25 destl=2 ident=1290 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="YES" OkBtn="NO" MsgType="INFO" WindowStyle="POPUP">
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P9735-POLUXDATA
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<Test posc=5 posl=5 destyesc=7 destyesl=5 destnoc=7 destnol=3 ident=1294>
<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="OUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=7 posl=5 destyesc=9 destyesl=5 destnoc=9 destnol=6 ident=1295>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="INFEQUAL">
<Source>
<TextBuffer name="OUT_DIAG_MODE">
<Position>
<ValPos>19
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="12">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=5 posl=3 destyesc=5 destyesl=7 destnoc=7 destnol=3 ident=1298>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ECUData ParamName="STATE">
</ECUData>
</Source>
<Source>
<ASCIIString value="Degraded">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=5 posl=7 destc=7 destl=7 ident=1299>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RDBLID$SERVICEUNIT$RDBLID_C6">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="INPUT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="INPUT">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Act posc=7 posl=7 destc=9 destl=7 ident=1300>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="RAWDATA">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=9 posl=7 destc=9 destl=8 ident=1301 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=9 posl=8 destc=7 destl=8 ident=1302>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
<Position>
<ValPos>5
</ValPos>
</Position>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=7 posl=8 destyesc=7 destyesl=9 destnoc=5 destnol=8 ident=1303>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="INFEQUAL">
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<Source>
<FloatNumber>14
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=9 destc=3 destl=5 ident=1304>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_VAR_BC">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=5 posl=8 destc=3 destl=5 ident=1305>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_VAR_DE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=15 posl=5 destyesc=17 destyesl=5 destnoc=15 destnol=6 ident=1306>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>15
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ESPMK100_VAR_BC">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=13 posl=7 destyesc=15 destyesl=7 destnoc=15 destnol=8 ident=1307>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>15
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ESPMK100_VAR_BC">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=15 posl=6 destc=17 destl=9 ident=1308>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="D">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=15 posl=8 destc=17 destl=9 ident=1309>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=11 destc=23 destl=11 ident=1310>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OPEN_MESS_RES">
<RestoreAllowance Active="NO">
</RestoreAllowance>
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<TextBuffer name="IN">
</TextBuffer>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Switch posc=17 posl=9 ident=1314>
<Source>
<TextBuffer name="TLCDTYPE">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="TLCDBR1">
</ASCIIString>
</Source>
<TargetCell destc="19" destl="8">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="17" destl="10">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Switch posc=19 posl=8 ident=1315>
<Source>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="B">
</ASCIIString>
</Source>
<TargetCell destc="21" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="C">
</ASCIIString>
</Source>
<TargetCell destc="21" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="D">
</ASCIIString>
</Source>
<TargetCell destc="19" destl="10">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="E">
</ASCIIString>
</Source>
<TargetCell destc="19" destl="10">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="G">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="10">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="21" destl="9">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Switch posc=17 posl=10 ident=1316>
<Source>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="B">
</ASCIIString>
</Source>
<TargetCell destc="15" destl="11">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="C">
</ASCIIString>
</Source>
<TargetCell destc="15" destl="11">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="D">
</ASCIIString>
</Source>
<TargetCell destc="15" destl="13">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="E">
</ASCIIString>
</Source>
<TargetCell destc="15" destl="13">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="15" destl="11">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=15 posl=13 destc=21 destl=11 ident=1317>
<Comment>TLCD ESP  BR2
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_A58_TLCDBR2_V2">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=9 destc=21 destl=11 ident=1318>
<Comment>TLCD ESP  BR1
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_A58_V1">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=19 posl=10 destc=21 destl=11 ident=1319>
<Comment>TLCD ESP  BR1
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_A58_V16">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=3 posl=4 destc=3 destl=5 ident=1320>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DESCRIPTOR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="INPUT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="ECU_DESCRIPTOR">
<TextBuffer name="INPUT">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
<Execution>
</Execution>
</Act>
<Test posc=23 posl=11 destyesc=25 destyesl=11 destnoc=25 destnol=12 ident=1321>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>03
</HexaInt>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<Source>
<HexaInt>00
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=25 posl=11 destc=25 destl=2 ident=1322>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="OK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="OPEN_MESS_RES">
<RestoreAllowance Active="NO">
</RestoreAllowance>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=25 posl=12 destc=25 destl=2 ident=1323>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="NOK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="OPEN_MESS_RES">
<RestoreAllowance Active="NO">
</RestoreAllowance>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=11 posl=7 destyesc=13 destyesl=5 destnoc=11 destnol=9 ident=10>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>16
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|RAWDATA|61">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=11 posl=9 destyesc=12 destyesl=10 destnoc=10 destnol=10 ident=11>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>16
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|02|RAWDATA|7F">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=12 posl=10 destc=17 destl=9 ident=12>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="G">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<MsgScreen posc=10 posl=10 destc=10 destl=11 ident=13 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="YES" OkBtn="NO" MsgType="INFO" WindowStyle="POPUP">
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P9735-POLUXDATA
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<End posc=10 posl=11 ident=14>
</End>
<Act posc=22 posl=10 destc=21 destl=11 ident=15>
<Comment>TLCD ESP  BR1
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="IN">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ESPMK100_A58_G_920848_V17">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
