Diff of /project/device_79f8e1cd/plc_logic_767124d7/application_7e7590e8/functionblocks_013cba60/erasewaypointsfromdb_048d8c84/048d8c847b4a479dba366b76f801ea95.object [000000] .. [2f2125]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/project/device_79f8e1cd/plc_logic_767124d7/application_7e7590e8/functionblocks_013cba60/erasewaypointsfromdb_048d8c84/048d8c847b4a479dba366b76f801ea95.object
@@ -0,0 +1 @@
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)048d8c84-7b4a-479d-ba36-6b76f801ea95","ParentGuid":"(Guid)7e7590e8-2622-48eb-a830-e2655887214e","Name":"(string)EraseWaypointsFromDB","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)d9b2b2cc-ea99-4c3b-aa42-1e5c49e65b84","@Value":"(Guid)013cba60-df25-4617-b6d8-e5fedc4680a3"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)mySqlExecDeletePath_(xExecute \t\t  := xDeletePathExec_,\n\t\t             MySQL_Connection := Manip_GVL.dbConnection,\n\t\t  \t\t\t MySQL_Command    := aQueryDeletePath_);\n\t\t\t\t\t \nmySqlExecDeletePath( xExecute         := xDeletePathExec,\n\t\t             MySQL_Connection := Manip_GVL.dbConnection,\n\t\t  \t\t\t MySQL_Command    := aQueryDeletePath);\n\n\t\t\t\t\t \nIF SEXE THEN\n\tcase_step := 10;\nEND_IF\n\t\t\t\t\t \nCASE case_step OF\n0:\n//\tIN_PROGRESS := TRUE;\n\tFINISH := FALSE;\n\tERROR := FALSE;\n\t//case_step := 10;\n\n10: // Kasuje zmienne z pamięci RPI\n\tIN_PROGRESS := TRUE;\n\tFOR i  := 0 TO 99 BY 1 DO\n\t\tManip_GVL.Point[i].ID \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J0 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J1 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J2 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J3 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J4 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].J5 \t\t\t:= 0;\n\t\tManip_GVL.Point[i].X \t\t\t:= 0;\n\t\tManip_GVL.Point[i].Y \t\t\t:= 0;\n\t\tManip_GVL.Point[i].Z \t\t\t:= 0;\n\t\tManip_GVL.Point[i].point_nr \t:= 0;\n\t\tManip_GVL.Point[i].path \t\t:= 0;\n\t\tManip_GVL.Point[i].vel \t\t\t:= 0;\n\t\tManip_GVL.Point[i].Jmove \t\t:= 0;\n\t\tManip_GVL.Point[i].Lmove \t\t:= 0;\n\t\tManip_GVL.Point[i].LocalSpaceID := 0;\n\t\tManip_GVL.Point[i].ToolID \t\t:= 0;\n\t\tManip_GVL.Point[i].UseJ \t\t:= 0;\n\t\tManip_GVL.Point[i].UseQ  \t\t:= 0;\n\t\tManip_GVL.Point[i].M00\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M01\t\t\t:= 0;\t\t\n\t\tManip_GVL.Point[i].M02\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M10\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M11\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M12\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M20\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M21\t\t\t:= 0;\n\t\tManip_GVL.Point[i].M22\t\t\t:= 0;\n\t\t\t\t\n\n\t\t\n\t\n\tEND_FOR;\t\n\tManip_GVL.NrPoint := 0;\n\tcase_step := 20;\n\t\n20:\n\tIF Manip_GVL.dbConnection.xConnected THEN \n    \tcase_step := 30;\n    ELSE\n    \tManip_GVL.xOpenDbConnection := TRUE;\n    END_IF\n30:\n\tManip_GVL.xOpenDbConnection := FALSE;\n\tcase_step := 40;\n\n40:\n\txDeletePathExec := TRUE;\n\taQueryDeletePath[0] := 'DELETE FROM points;';\n\tcase_step := 50;\n\t\n50:\n\tIF xDeletePathExec AND NOT mySqlExecDeletePath.xBusy THEN\n\t\txDeletePathExec := FALSE;\n\tEND_IF\n\tIF mySqlExecDeletePath.xDone THEN\n\t\tcase_step := 60;\n\tEND_IF\n\n60:\n\txDeletePathExec_ := TRUE;\n\taQueryDeletePath_[0] := 'DELETE FROM size;';\n\tcase_step := 70;\n\n70:\n\tIF xDeletePathExec_ AND NOT mySqlExecDeletePath_.xBusy THEN\n\t\txDeletePathExec_ := FALSE;\n\tEND_IF\n\tIF mySqlExecDeletePath_.xDone THEN\n\t\tcase_step := 80;\n\tEND_IF\n80:\n\tIN_PROGRESS := FALSE;\n\tFINISH := TRUE;\n\tcase_step := 0;\n\t\nEND_CASE\n\n\n","LineInfoPersistence":"(string)048d8c84-7b4a-479d-ba36-6b76f801ea95_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)FUNCTION_BLOCK EraseWaypointsFromDB\nVAR_INPUT\nSEXE : BOOL := FALSE;\nEND_VAR\nVAR_OUTPUT\n\tIN_PROGRESS : BOOL := FALSE;\n\tFINISH : BOOL := FALSE;\n\tERROR : BOOL := FALSE;\nEND_VAR\n\n\n\nVAR\n\txDeletePathExec : BOOL := FALSE;\n\taQueryDeletePath : ARRAY [0..gc_MySQL_iStatementMax] OF STRING(gc_MySQL_iStatementLength);\n\tmySqlExecDeletePath : MySQL_Exec;\n\t\n\txDeletePathExec_ : BOOL := FALSE;\n\taQueryDeletePath_ : ARRAY [0..gc_MySQL_iStatementMax] OF STRING(gc_MySQL_iStatementLength);\n\tmySqlExecDeletePath_ : MySQL_Exec;\n\t\n\tcase_step : INT := 0;\n\t\n\ti : INT := 0;\nEND_VAR\n","LineInfoPersistence":"(string)048d8c84-7b4a-479d-ba36-6b76f801ea95_Decl_LineIds"}}}},"UniqueIdGenerator":"(string)223","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file