Diff of /branches/VTEM_game1_1/Main_Escape_PLC/Plc Logic/Application/Function Blocks/Puzzle/VTEM_FBs/Druk_PD/svnobj [r23] .. [r24]  Maximize  Restore

Switch to unified view

a/branches/VTEM_game1_1/Main_Escape_PLC/Plc Logic/Application/Function Blocks/Puzzle/VTEM_FBs/Druk_PD/svnobj b/branches/VTEM_game1_1/Main_Escape_PLC/Plc Logic/Application/Function Blocks/Puzzle/VTEM_FBs/Druk_PD/svnobj
1
Gx_l*!0…jüo£ËD|_½g…System.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument    L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
1
Gx_lÂ!0…jüoQÂU[—I ׳ÇSystem.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument    L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
2
TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagTextJ difference := target-actualPressure;F IF difference < difference*-1 THEN>    differencePos:=difference*-1;,      differenceNeg:=TRUE;
2
TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagText(IF target < 100 THEN   target:=0;END_IFJ   difference := target-actualPressure;F IF difference < difference*-1 THEN>    differencePos:=difference*-1;,      differenceNeg:=TRUE;
3
    ELSE8    differencePos:=difference;.    differenceNeg:=FALSE;   END_IF´    IF differencePos > 10 AND xAllValvesRunning AND Vtem_PRG.puzzle.bySetAppControlAll=3 THENN      IF differencePos> factorA *speed THEN`         speed := LIMIT(1,speed+(speed*0.1),maxspeed);      ELSE²          speed := LIMIT(1,speed-(speed*0.1),LIMIT(1,speed*factorA-differencePos/factorB,50));      €       END_IF //;MIN(MAX(1;F8-(F8*0,1));MIN(MAX(F8*$G$22-D8/10);50)))6    IF NOT differenceNeg THEN V         setpoint := setpoint+REAL_TO_INT(speed);!V       setpoint := setpoint-REAL_TO_INT(speed);"    END_IF#T    setpoint:=LIMIT(0,setpoint,maxPressure);$    speed:=0;%://  *LIMIT(0.0,rIntgCoef,1.0)&Interface'L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}(,FUNCTION_BLOCK Druk_PD)VAR_INPUT*   target:INT;+(   actualPressure:INT;,0   xAllValvesRunning:BOOL;-2   bySetAppControlAll:BYTE;.END_VAR/VAR_OUTPUT0   setpoint:INT;1VAR2.   maxPressure:INT:=4000;3 speed:REAL:=0;4$ maxspeed:INT:=50;5difference:INT;6$differencePos:INT;7&differenceNeg:BOOL;8 factorA:INT:=20;9 factorB:INT:=20;:"UniqueIdGenerator;63<POULevel=L{8e575c5b-1d37-49c6-941b-5c0ec7874787}>Standard? ChildObjectGuids@8System.Collections.ArrayListA,AddAttributeSubsequentBboolÐÐ-ÐÐ  E
3
    ELSE8    differencePos:=difference;.    differenceNeg:=FALSE;   END_IF´    IF differencePos > 10 AND xAllValvesRunning AND Vtem_PRG.puzzle.bySetAppControlAll=3 THENN      IF differencePos> factorA *speed THEN`         speed := LIMIT(1,speed+(speed*0.1),maxspeed);      ELSE ²          speed := LIMIT(1,speed-(speed*0.1),LIMIT(1,speed*factorA-differencePos/factorB,50));      !€       END_IF //;MIN(MAX(1;F8-(F8*0,1));MIN(MAX(F8*$G$22-D8/10);50)))"6    IF NOT differenceNeg THEN#V         setpoint := setpoint+REAL_TO_INT(speed);$V       setpoint := setpoint-REAL_TO_INT(speed);%    END_IF&T    setpoint:=LIMIT(0,setpoint,maxPressure);'    speed:=0;(://  *LIMIT(0.0,rIntgCoef,1.0))Interface*L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}+,FUNCTION_BLOCK Druk_PD,VAR_INPUT-   target:INT;.(   actualPressure:INT;/0   xAllValvesRunning:BOOL;02   bySetAppControlAll:BYTE;1END_VAR2VAR_OUTPUT3   setpoint:INT;4VAR5.   maxPressure:INT:=4000;6 speed:REAL:=0;7$ maxspeed:INT:=50;8difference:INT;9$differencePos:INT;:&differenceNeg:BOOL;; factorA:INT:=20;< factorB:INT:=20;="UniqueIdGenerator>67?POULevel@L{8e575c5b-1d37-49c6-941b-5c0ec7874787}AStandardB ChildObjectGuidsC8System.Collections.ArrayListD,AddAttributeSubsequentEboolÐÐ-ÐÐ  E
4
ÐÐ
­=ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ ÚÐ-ÐÐ
­!ÚÐ-ÐÐ
­"ÚÐ-ÐÐ
­#ÚÐ-ÐÐ
­$ÚÐ- ÐÐ
­%ÚÐ-ÐÐ
­&ÚÐ-!ÐÐ
­'ÚÐ-"ÐÐ
­.ÚÐ-#ÐÐ
­(ÚÐ-ÐÐ
­)ÚÐ-$ÐÐ
­/ÚÐ-#ÐÐ
­*ÚÐ-ÐÐ
­   ÚÐ-%ÐÐ
­7ÚÐ-ÐÐ
­6ÚÐ-Ð&'Ð E
4
ÐÐ
­@ÚÐ-ÐÐ
­=ÚÐ-ÐÐ
­CÚÐ-ÐÐ
­BÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ ÚÐ-ÐÐ
­!ÚÐ- ÐÐ
­"ÚÐ-!ÐÐ
­#ÚÐ-"ÐÐ
­$ÚÐ-#ÐÐ
­%ÚÐ-ÐÐ
­&ÚÐ-$ÐÐ
­'ÚÐ-%ÐÐ
­.ÚÐ-&ÐÐ
­(ÚÐ-ÐÐ
­)ÚÐ-'ÐÐ
­/ÚÐ-&ÐÐ
­*ÚÐ-ÐÐ
­   ÚÐ-(ÐÐ
­7ÚÐ-ÐÐ
­6ÚÐ-Ð)*Ð E
5
ÐÐ
­ÚÐ-(ÐÐ
­ÚÐ-)ÐÐ
­
5
ÐÐ
­ÚÐ-+ÐÐ
­ÚÐ-,ÐÐ
­
6
ÚÐ-*ÐÐ
­ÚÐ-+ÐÐ
­>ÚÐ-,ÐÐ
­?ÚÐ--ÐÐ
­ÚÐ-.ÐÐ
­ÚÐ-/ÐÐ
­ÚÐ-0ÐÐ
­ÚÐ-.ÐÐ
­ÚÐ-1ÐÐ
­-ÚÐ-2ÐÐ
­ÚÐ-3ÐÐ
­ÚÐ-4ÐÐ
­5ÚÐ-ÐÐ
­ÚÐ-5ÐÐ
­ÚÐ-6ÐÐ
­ÚÐ-7ÐÐ
­;ÚÐ-ÐÐ
­:ÚÐ-8ÐÐ
­<ÚÐ-9ÐÐ
­ÚÐ-.ÐÐ
­ÚÐ-Ð:-;Ð<=->?@ÐAB­
6
ÚÐ--ÐÐ
­ÚÐ-.ÐÐ
­>ÚÐ-/ÐÐ
­?ÚÐ-0ÐÐ
­ÚÐ-1ÐÐ
­ÚÐ-2ÐÐ
­ÚÐ-3ÐÐ
­ÚÐ-1ÐÐ
­ÚÐ-4ÐÐ
­-ÚÐ-5ÐÐ
­ÚÐ-6ÐÐ
­ÚÐ-7ÐÐ
­5ÚÐ-ÐÐ
­ÚÐ-8ÐÐ
­ÚÐ-9ÐÐ
­ÚÐ-:ÐÐ
­;ÚÐ-ÐÐ
­:ÚÐ-;ÐÐ
­<ÚÐ-<ÐÐ
­ÚÐ-1ÐÐ
­ÚÐ-Ð=->Ð?@-ABCÐDE­