changes made with edmundo
This commit is contained in:
Binary file not shown.
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
Binary file not shown.
@@ -15,8 +15,8 @@
|
||||
<IsTemplate>false</IsTemplate>
|
||||
<Layout><?xml version="1.0" encoding="utf-16"?>
|
||||
<Layout>
|
||||
<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" />
|
||||
<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" />
|
||||
<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" />
|
||||
<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" />
|
||||
<DocumentContainer Dock="5">
|
||||
<SplitLayoutSystem WorkingSize="250, 400" SplitMode="0">
|
||||
<ControlLayoutSystem WorkingSize="250, 400" Guid="a5d32a52-1886-4ce8-9970-731db69737a6" Collapsed="0" SelectedControl="17812b7c-7d18-4668-ae12-d2633798b279">
|
||||
|
||||
Reference in New Issue
Block a user