changes made with edmundo

This commit is contained in:
Nicolas Trimborn
2021-08-27 22:05:46 +02:00
parent c00c82e6e6
commit e98d8c5085
48 changed files with 585 additions and 2009 deletions

View File

@@ -80,47 +80,47 @@ Pressure_CH3 AT %I* : INT;
//Read From Ecat Total (XX Bytes)
//QSPI_rx_buffer
// Motor 1 //
M1_Control_mode AT %Q* : BYTE := 0;
M1_Control_set AT %Q* : BYTE := 0;
M1_Desired_pos AT %Q* : INT := 0;
M1_Desired_speed AT %Q* : INT := 0;
M1_Desired_current AT %Q* : INT := 0;
M1_Max_pos AT %Q* : INT := 0;
M1_Max_velocity AT %Q* : INT := 0;
M1_Max_current AT %Q* : INT := 0;
M1_Desired_dc AT %Q* : INT := 0;
M1_Control_mode AT %Q* : BYTE ;
M1_Control_set AT %Q* : BYTE ;
M1_Desired_pos AT %Q* : INT ;
M1_Desired_speed AT %Q* : INT ;
M1_Desired_current AT %Q* : INT ;
M1_Max_pos AT %Q* : INT ;
M1_Max_velocity AT %Q* : INT ;
M1_Max_current AT %Q* : INT ;
M1_Desired_dc AT %Q* : INT ;
///* Motor 2*/
M2_Control_mode AT %Q* : BYTE := 0;
M2_Control_set AT %Q* : BYTE := 0;
M2_Desired_pos AT %Q* : INT := 0;
M2_Desired_speed AT %Q* : INT := 0;
M2_Desired_current AT %Q* : INT := 0;
M2_Max_pos AT %Q* : INT := 0;
M2_Max_velocity AT %Q* : INT := 0;
M2_Max_current AT %Q* : INT := 0;
M2_Desired_dc AT %Q* : INT := 0;
M2_Control_mode AT %Q* : BYTE ;
M2_Control_set AT %Q* : BYTE ;
M2_Desired_pos AT %Q* : INT ;
M2_Desired_speed AT %Q* : INT ;
M2_Desired_current AT %Q* : INT ;
M2_Max_pos AT %Q* : INT ;
M2_Max_velocity AT %Q* : INT ;
M2_Max_current AT %Q* : INT ;
M2_Desired_dc AT %Q* : INT ;
///* Motor 3*/
M3_Control_mode AT %Q* : BYTE := 0;
M3_Control_set AT %Q* : BYTE := 0;
M3_Desired_pos AT %Q* : INT := 0;
M3_Desired_speed AT %Q* : INT := 0;
M3_Desired_current AT %Q* : INT := 0;
M3_Max_pos AT %Q* : INT := 0;
M3_Max_velocity AT %Q* : INT := 0;
M3_Max_current AT %Q* : INT := 0;
M3_Desired_dc AT %Q* : INT := 0;
M3_Control_mode AT %Q* : BYTE ;
M3_Control_set AT %Q* : BYTE ;
M3_Desired_pos AT %Q* : INT ;
M3_Desired_speed AT %Q* : INT ;
M3_Desired_current AT %Q* : INT ;
M3_Max_pos AT %Q* : INT ;
M3_Max_velocity AT %Q* : INT ;
M3_Max_current AT %Q* : INT ;
M3_Desired_dc AT %Q* : INT ;
///* Motor 4*/
M4_Control_mode AT %Q* : BYTE := 0;
M4_Control_set AT %Q* : BYTE := 0;
M4_Desired_pos AT %Q* : INT := 0;
M4_Desired_speed AT %Q* : INT := 0;
M4_Desired_current AT %Q* : INT := 0;
M4_Max_pos AT %Q* : INT := 0;
M4_Max_velocity AT %Q* : INT := 0;
M4_Max_current AT %Q* : INT := 0;
M4_Desired_dc AT %Q* : INT := 0;
M4_Control_mode AT %Q* : BYTE ;
M4_Control_set AT %Q* : BYTE ;
M4_Desired_pos AT %Q* : INT ;
M4_Desired_speed AT %Q* : INT ;
M4_Desired_current AT %Q* : INT ;
M4_Max_pos AT %Q* : INT ;
M4_Max_velocity AT %Q* : INT ;
M4_Max_current AT %Q* : INT ;
M4_Desired_dc AT %Q* : INT ;
END_VAR]]></Declaration>

View File

@@ -1103,7 +1103,8 @@ END_VAR
<Implementation>
<ST><![CDATA[GVL_motor_data.M1_Desired_pos := 1000;
GVL_motor_data.M2_Desired_pos := 1000;
GVL_motor_data.M3_Desired_pos := 1000;]]></ST>
GVL_motor_data.M3_Desired_pos := 1000;
GVL_motor_data.M4_Desired_pos := 1000;]]></ST>
</Implementation>
<ObjectProperties>
<XmlArchive>
@@ -1123,7 +1124,8 @@ GVL_motor_data.M3_Desired_pos := 1000;]]></ST>
<Implementation>
<ST><![CDATA[GVL_motor_data.M1_Desired_pos := -500;
GVL_motor_data.M2_Desired_pos := -500;
GVL_motor_data.M3_Desired_pos := -500;]]></ST>
GVL_motor_data.M3_Desired_pos := -500;
GVL_motor_data.M4_Desired_pos := -500;]]></ST>
</Implementation>
<ObjectProperties>
<XmlArchive>
@@ -1143,7 +1145,8 @@ GVL_motor_data.M3_Desired_pos := -500;]]></ST>
<Implementation>
<ST><![CDATA[GVL_motor_data.M1_Desired_pos := 0;
GVL_motor_data.M2_Desired_pos := 0;
GVL_motor_data.M3_Desired_pos := 0;]]></ST>
GVL_motor_data.M3_Desired_pos := 0;
GVL_motor_data.M4_Desired_pos := 0;]]></ST>
</Implementation>
<ObjectProperties>
<XmlArchive>
@@ -1257,17 +1260,17 @@ GVL_motor_data.M3_Desired_pos := 0;]]></ST>
<LineIds Name="POU_Position_Seq._aPOS_1_entry">
<LineId Id="2" Count="0" />
<LineId Id="1" Count="0" />
<LineId Id="3" Count="0" />
<LineId Id="3" Count="1" />
</LineIds>
<LineIds Name="POU_Position_Seq._aPOS_2_entry">
<LineId Id="2" Count="0" />
<LineId Id="1" Count="0" />
<LineId Id="3" Count="0" />
<LineId Id="3" Count="1" />
</LineIds>
<LineIds Name="POU_Position_Seq._aPOS_3_entry">
<LineId Id="2" Count="0" />
<LineId Id="1" Count="0" />
<LineId Id="3" Count="0" />
<LineId Id="3" Count="1" />
</LineIds>
</POU>
</TcPlcObject>

View File

@@ -15,8 +15,8 @@
<IsTemplate>false</IsTemplate>
<Layout>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;Layout&gt;
&lt;Window Guid="8766837b-106b-4ca8-84ce-2fbbc3ef10f3" LastFocused="132743765367691913" DockedSize="200" PopupSize="0" FloatingLocation="-1, -1" FloatingSize="550, 400" LastOpenDockSituation="Document" LastFixedDockSituation="Document" LastFixedDockLocation="Right" LastFloatingWindowGuid="00000000-0000-0000-0000-000000000000" LastDockContainerCount="0" LastDockContainerIndex="0" DockedWorkingSize="250, 400" DockedWindowGroupGuid="00000000-0000-0000-0000-000000000000" DockedIndexInWindowGroup="0" DockedSplitPath="0" DocumentWorkingSize="250, 400" DocumentWindowGroupGuid="a5d32a52-1886-4ce8-9970-731db69737a6" DocumentIndexInWindowGroup="0" DocumentSplitPath="0" FloatingWorkingSize="250, 400" FloatingWindowGroupGuid="00000000-0000-0000-0000-000000000000" FloatingIndexInWindowGroup="0" FloatingSplitPath="0" /&gt;
&lt;Window Guid="17812b7c-7d18-4668-ae12-d2633798b279" LastFocused="132743765596671663" DockedSize="200" PopupSize="0" FloatingLocation="-1, -1" FloatingSize="550, 400" LastOpenDockSituation="Document" LastFixedDockSituation="Document" LastFixedDockLocation="Right" LastFloatingWindowGuid="00000000-0000-0000-0000-000000000000" LastDockContainerCount="0" LastDockContainerIndex="0" DockedWorkingSize="250, 400" DockedWindowGroupGuid="00000000-0000-0000-0000-000000000000" DockedIndexInWindowGroup="0" DockedSplitPath="0" DocumentWorkingSize="250, 400" DocumentWindowGroupGuid="a5d32a52-1886-4ce8-9970-731db69737a6" DocumentIndexInWindowGroup="1" DocumentSplitPath="0" FloatingWorkingSize="250, 400" FloatingWindowGroupGuid="00000000-0000-0000-0000-000000000000" FloatingIndexInWindowGroup="0" FloatingSplitPath="0" /&gt;
&lt;Window Guid="8766837b-106b-4ca8-84ce-2fbbc3ef10f3" LastFocused="132744640175318045" DockedSize="200" PopupSize="0" FloatingLocation="-1, -1" FloatingSize="550, 400" LastOpenDockSituation="Document" LastFixedDockSituation="Document" LastFixedDockLocation="Right" LastFloatingWindowGuid="00000000-0000-0000-0000-000000000000" LastDockContainerCount="0" LastDockContainerIndex="0" DockedWorkingSize="250, 400" DockedWindowGroupGuid="00000000-0000-0000-0000-000000000000" DockedIndexInWindowGroup="0" DockedSplitPath="0" DocumentWorkingSize="250, 400" DocumentWindowGroupGuid="a5d32a52-1886-4ce8-9970-731db69737a6" DocumentIndexInWindowGroup="0" DocumentSplitPath="0" FloatingWorkingSize="250, 400" FloatingWindowGroupGuid="00000000-0000-0000-0000-000000000000" FloatingIndexInWindowGroup="0" FloatingSplitPath="0" /&gt;
&lt;Window Guid="17812b7c-7d18-4668-ae12-d2633798b279" LastFocused="132745396376071386" DockedSize="200" PopupSize="0" FloatingLocation="-1, -1" FloatingSize="550, 400" LastOpenDockSituation="Document" LastFixedDockSituation="Document" LastFixedDockLocation="Right" LastFloatingWindowGuid="00000000-0000-0000-0000-000000000000" LastDockContainerCount="0" LastDockContainerIndex="0" DockedWorkingSize="250, 400" DockedWindowGroupGuid="00000000-0000-0000-0000-000000000000" DockedIndexInWindowGroup="0" DockedSplitPath="0" DocumentWorkingSize="250, 400" DocumentWindowGroupGuid="a5d32a52-1886-4ce8-9970-731db69737a6" DocumentIndexInWindowGroup="1" DocumentSplitPath="0" FloatingWorkingSize="250, 400" FloatingWindowGroupGuid="00000000-0000-0000-0000-000000000000" FloatingIndexInWindowGroup="0" FloatingSplitPath="0" /&gt;
&lt;DocumentContainer Dock="5"&gt;
&lt;SplitLayoutSystem WorkingSize="250, 400" SplitMode="0"&gt;
&lt;ControlLayoutSystem WorkingSize="250, 400" Guid="a5d32a52-1886-4ce8-9970-731db69737a6" Collapsed="0" SelectedControl="17812b7c-7d18-4668-ae12-d2633798b279"&gt;