refactoring to clean up whitespace
This commit is contained in:
@@ -6,7 +6,6 @@ VAR
|
||||
sVersion: STRING := '1.0.0';
|
||||
aIAxes : ARRAY [1..GVL_APP.nAXIS_NUM] OF I_Axis;
|
||||
afbAxes: ARRAY [1..GVL_APP.nAXIS_NUM] OF FB_Axis;
|
||||
afbAxesV2: ARRAY [1..GVL_APP.nAXIS_NUM] OF FB_Axis_V2;
|
||||
afbPneumaticAxes: ARRAY [1..GVL_APP.nPNEUMATIC_AXIS_NUM] OF FB_PneumaticAxis;
|
||||
hmiAxisSelection: INT := 1; //Not possible to use local hmi variables for array indexes
|
||||
hmiPneumaticAxisSelection: INT := 1;
|
||||
@@ -22,8 +21,6 @@ VAR
|
||||
afbReadEncRefSys: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_ReadParameter;
|
||||
afbRestorePosition: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_SetPosition;
|
||||
fbGetDeviceIdentification: FB_GetDeviceIdentification;
|
||||
|
||||
counter : BYTE;
|
||||
END_VAR
|
||||
|
||||
VAR PERSISTENT
|
||||
@@ -43,8 +40,8 @@ GVL.fbGetCurTaskIndex();
|
||||
|
||||
IF _TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN
|
||||
FOR GVL.iAxis := 1 TO GVL_APP.nAXIS_NUM DO
|
||||
afbAxesV2[GVL.iAxis].stAxis REF= astAxes[GVL.iAxis];
|
||||
aIAxes[GVL.iAxis] := afbAxesV2[GVL.iAxis];
|
||||
afbAxes[GVL.iAxis].stAxis REF= astAxes[GVL.iAxis];
|
||||
aIAxes[GVL.iAxis] := afbAxes[GVL.iAxis];
|
||||
END_FOR
|
||||
END_IF
|
||||
|
||||
|
||||
15
solution/tc_project_app/tc_project_app.tmcRefac
Normal file
15
solution/tc_project_app/tc_project_app.tmcRefac
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Refactors>
|
||||
<Renames>
|
||||
<RenamedType>
|
||||
<Type guid="ade71f2f-2325-4792-8103-f7cd9c07d44a">FB_AXIS_V2</Type>
|
||||
<From>FB_Axis_V2</From>
|
||||
<To>FB_Axis</To>
|
||||
</RenamedType>
|
||||
<RenamedSymbol>
|
||||
<Type guid="33eb6f49-7781-4211-a70b-87ada6d80cb7">MAIN</Type>
|
||||
<From>afbAxesV2</From>
|
||||
<To>afbAxes</To>
|
||||
</RenamedSymbol>
|
||||
</Renames>
|
||||
</Refactors>
|
||||
Reference in New Issue
Block a user