Skip to content

Commit

Permalink
Bug fix in ST_BacklashConfig.TcDUT
Browse files Browse the repository at this point in the history
As a result of a merge and not a proper build check and review, the variables in ST_BacklashConfig were doubled.
Delete the doubled variables.
  • Loading branch information
federrg authored Jan 22, 2025
1 parent 992566f commit 653f493
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions DUTs/Axis_Structures/ST_BacklashConfig.TcDUT
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,13 @@
<DUT Name="ST_BacklashConfig" Id="{5c3ebcfe-07e6-4771-b971-6dab1384f7be}">
<Declaration><![CDATA[TYPE ST_BacklashConfig :
STRUCT
bEnabledInNC : BOOL; //Indicates if the backlash compensation is enabled in the NC
bEnableCompensation : BOOL := FALSE; //Enables or disables the backlash compensation functionality
bCompensationInPositiveDirection : BOOL := TRUE; //Determines the direction for compensation :TRUE for positive, False for negative
eDisableMode : E_DisableMode := E_DisableMode.DisableModeReset; //Specifies the mode to disable compensation: (0)=HOLD, (1)=RESET
fCorrectionSetting : LREAL := 0.0; //Sets the magnitude of the backlash correction in engineering units
fRampVelocity : LREAL; //Velocity used to perform the backlash compensation
bEnabledInNC : BOOL;
bEnableCompensation : BOOL := FALSE;
bCompensationInPositiveDirection : BOOL := TRUE;
eDisableMode : E_DisableMode := E_DisableMode.DisableModeReset;
fCorrectionSetting : LREAL := 0.0;
END_STRUCT
END_TYPE
]]></Declaration>
</DUT>
</TcPlcObject>
</TcPlcObject>

0 comments on commit 653f493

Please sign in to comment.