Diff of /branches/SBSI/Vision_Game_PLC/Plc Logic/Application/Function Blocks/Puzzle/PuzzleTimerStateMachine/svnobj [000000] .. [r42]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/branches/SBSI/Vision_Game_PLC/Plc Logic/Application/Function Blocks/Puzzle/PuzzleTimerStateMachine/svnobj
@@ -0,0 +1,6 @@
+Gx_l`!0…jüo'
+ÚHЗÑε›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}
+TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagText (* Main timer *)rton_PuzzleTimer(IN:= , PT:=tMaxPuzzleTime , Q=> , ET=> );&IF xStartTimer THEN4	ton_PuzzleTimer.IN:=TRUE;END_IF$IF xStopTimer THEN 	TempTime:=T#0S;6	ton_PuzzleTimer.IN:=FALSE;V(* Store actual time in temp when paused *)&IF xPauseTimer THENT	TempTime:= TempTime + ton_PuzzleTimer.ET;R(* Calculate actual and remaining time *)bActualPuzzleTime:= TempTime + ton_PuzzleTimer.ET;dtRemainingTime:=tMaxPuzzleTime - ActualPuzzleTime;(* Process *) ´iProcess:= REAL_TO_INT((TIME_TO_REAL(ActualPuzzleTime)/TIME_TO_REAL(tMaxPuzzleTime))*100);!Interface"L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}#LFUNCTION_BLOCK PuzzleTimerStateMachine$VAR_INPUT%&	xStartTimer: BOOL;&&	xPauseTimer: BOOL;'$	xStopTimer: BOOL;(>	tMaxPuzzleTime: TIME := T#60M;)END_VAR*VAR_OUTPUT+,	tRemainingTime: TIME;,	iProcess: INT;-VAR.,	ton_PuzzleTimer: TON;/ 	TempTime: TIME;00	ActualPuzzleTime: TIME;1"UniqueIdGenerator21123POULevel4L{8e575c5b-1d37-49c6-941b-5c0ec7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