Add an 'e' at the beginning of all values of the enum E_MotionFunctions
This commit is contained in:
@@ -37,7 +37,7 @@ END_VAR]]></Declaration>
|
||||
<ST><![CDATA[// Prepare an axis so it is ready to action a move using target defaults when executed.
|
||||
|
||||
GVL.aAxes[iAxisIndex].control.bEnable := TRUE;
|
||||
GVL.aAxes[iAxisIndex].control.eCommand := E_MotionFunctions.MoveAbsolute;
|
||||
GVL.aAxes[iAxisIndex].control.eCommand := E_MotionFunctions.eMoveAbsolute;
|
||||
|
||||
GVL.aAxes[iAxisIndex].inputs.bLimitBwd := TRUE;
|
||||
GVL.aAxes[iAxisIndex].inputs.bLimitFwd := TRUE;
|
||||
@@ -100,7 +100,7 @@ GVL.aAxes[iAxisIndex].control.bReset := FALSE;
|
||||
GVL.aAxes[iAxisIndex].control.bJogFwd := FALSE;
|
||||
GVL.aAxes[iAxisIndex].control.bJogBwd := FALSE;
|
||||
GVL.aAxes[iAxisIndex].control.bStop := FALSE;
|
||||
GVL.aAxes[iAxisIndex].control.eCommand := E_MotionFunctions.MoveAbsolute;
|
||||
GVL.aAxes[iAxisIndex].control.eCommand := E_MotionFunctions.eMoveAbsolute;
|
||||
|
||||
GVL.aAxes[iAxisIndex].config.fVelocity := 0.0;
|
||||
GVL.aAxes[iAxisIndex].config.fAcceleration := 0.0;
|
||||
|
||||
@@ -66,7 +66,7 @@ InitialValue := GVL.aAxes[iTargetAxis].config.fPosition;
|
||||
ExpectedResult := InitialValue + 10;
|
||||
GVL.aAxes[iTargetAxis].config.fPosition := ExpectedResult;
|
||||
|
||||
GVL.aAxes[iTargetAxis].control.eCommand := E_MotionFunctions.MoveAbsolute;
|
||||
GVL.aAxes[iTargetAxis].control.eCommand := E_MotionFunctions.eMoveAbsolute;
|
||||
GVL.aAxes[iTargetAxis].control.bExecute := TRUE;
|
||||
|
||||
Result := GVL.aAxes[iTargetAxis].status.fActPosition;
|
||||
|
||||
Submodule solution/tc_project_app/tc_mca_std_lib updated: 217a5d285e...c58b432be3
Reference in New Issue
Block a user