Swap AXES and PROG execution order, allow logic to execute and send commands on the same cycle

This commit is contained in:
SCooper
2022-07-29 14:26:18 +01:00
parent 15bc90833a
commit 60700b1d46
3 changed files with 3 additions and 9 deletions
-4
View File
@@ -17,9 +17,5 @@
<Plc>
<Project File="tc_project_app.xti"/>
</Plc>
<Io/>
</Project>
<Mappings>
<MappingInfo Identifier="{05000010-2041-0850-1000-040340205008}" Id="#x02030010" Watchdog="14000000040000000400000004000000"/>
</Mappings>
</TcSmProject>
+2 -4
View File
@@ -28,9 +28,8 @@ VAR PERSISTENT
END_VAR]]></Declaration>
<Implementation>
<ST><![CDATA[POSITION_RECOVERY();
AXES();
PROG();
AXES_EndOfCycle();]]></ST>
AXES();]]></ST>
</Implementation>
<Folder Name="POSITION_RECOVERY" Id="{3561f6ef-e145-4ed3-9839-f17334bd2d97}" />
<Action Name="AXES" Id="{7eb32732-9b53-4934-8cd9-20ba971dd8ff}">
@@ -231,9 +230,8 @@ END_FOR]]></ST>
</Action>
<LineIds Name="MAIN">
<LineId Id="505" Count="0" />
<LineId Id="593" Count="0" />
<LineId Id="81" Count="0" />
<LineId Id="538" Count="0" />
<LineId Id="568" Count="0" />
</LineIds>
<LineIds Name="MAIN.AXES">
<LineId Id="11" Count="1" />