diff --git a/solution/solution.tsproj b/solution/solution.tsproj index b3869ae..233216c 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -17,7 +17,23 @@ - + + + tc_project_app Instance + {08500001-0000-0000-F000-000000000064} + + PlcTask Outputs + + MAIN.bOutput1 + + BOOL + + + + + + + diff --git a/solution/tc_project_app/GlobalTextList.TcGTLO b/solution/tc_project_app/GlobalTextList.TcGTLO index fd8f331..192d2f6 100644 --- a/solution/tc_project_app/GlobalTextList.TcGTLO +++ b/solution/tc_project_app/GlobalTextList.TcGTLO @@ -10,31 +10,11 @@ "%2.2f" - - "165" - "%2.3f" - - "543" "%2.4f" - - "878" - "%d" - - - - "294" - "%f" - - - - "706" - "%i" - - "821" "%s" @@ -45,16 +25,6 @@ "%x" - - "703" - "Acknowledge" - - - - "710" - "Active:" - - "952" "actPos" @@ -85,6 +55,16 @@ "bBwEnabled" + + "633" + "bCoammandAborted" + + + + "225" + "bCommandAborted" + + "946" "bDone" @@ -120,74 +100,9 @@ "bHomed" - - "947" - "bResetDone" - - - - "693" - "bSet" - - "944" - "bWarning" - - - - "704" - "Clear All" - - - - "712" - "eHomeBwdLimit" - - - - "530" - "eHomeBwdToEncRef" - - - - "386" - "eHomeBwdToEncRef2speed" - - - - "341" - "eHomeBwdToEncRef2speeds" - - - - "387" - "eHomeBwdToLimit2speeds" - - - - "964" - "eHomeBwdToRef" - - - - "35" - "eHomeBwdToRef2speeds" - - - - "650" - "eHomeBwdToReference" - - - - "480" - "eHomeBwdToReference2speed" - - - - "339" - "eHomeBwdToReference2speeds" + "bCommandAborted" @@ -195,56 +110,6 @@ "ehomeDirect" - - "328" - "eHomeFwdToEncRef" - - - - "125" - "eHomeFwdToEncRef2speeds" - - - - "484" - "eHomeFwdToEncRef_viaFwdLimit" - - - - "374" - "eHomeFwdToLimit" - - - - "851" - "eHomeFwdToLimit2speeds" - - - - "693" - "eHomeBwdToLimit" - - - - "489" - "eHomeBwdToLimit2speeds" - - - - "445" - "eHomeBwdToLimitspeeds" - - - - "637" - "eHomeFwdToLimit" - - - - "351" - "eHomeFwdToLimit2speeds" - - "198" "eHomeToEncPulse_Bwd" @@ -265,36 +130,6 @@ "eHomeToEncPulse_viaFwdLimit" - - "535" - "eHomeToEncRefBwd" - - - - "367" - "eHomeToEncRefFwd" - - - - "358" - "eHomeToEncRef_viaBwdLimi" - - - - "740" - "eHomeToEncRef_viaBwdLimit" - - - - "689" - "eHomeToLimitBwd" - - - - "504" - "eHomeToLimitFwd" - - "312" "eHomeToLimit_Bwd" @@ -305,16 +140,6 @@ "eHomeToLimit_Fwd" - - "432" - "eHomeToRefBwd" - - - - "285" - "eHomeToRefFwd" - - "150" "eHomeToRef_Bwd" @@ -351,23 +176,8 @@ - "701" - "Error #" - - - - "705" - "Error #:" - - - - "702" - "Error Log" - - - - "707" - "Errors:" + "768" + "eWriteParameter" @@ -415,11 +225,6 @@ "fReadAxisParameter" - - "708" - "Free Entries:" - - "954" "fVelocity" @@ -460,11 +265,6 @@ "homeSensorPos" - - "711" - "Inactive:" - - "116" "jogBw" @@ -505,16 +305,6 @@ "nIndex" - - "709" - "Overflows:" - - - - "993" - "Read" - - "942" "reset" @@ -566,4 +356,4 @@ - \ No newline at end of file + diff --git a/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU b/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU index 5c7c306..29730bc 100644 --- a/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU +++ b/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU @@ -13,37 +13,37 @@ END_VAR]]> - + - + - + - + @@ -60,28 +60,28 @@ END_VAR +GVL.astAxes[nAxisIndex].stConfig.fVelocity := tcUNIT_GVL.fDEFAULT_TARGET_VELOCITY; +GVL.astAxes[nAxisIndex].stConfig.fAcceleration := tcUNIT_GVL.fDEFAULT_TARGET_ACCELERATION; +GVL.astAxes[nAxisIndex].stConfig.fDeceleration := tcUNIT_GVL.fDEFAULT_TARGET_DECCELERATION; +GVL.astAxes[nAxisIndex].stConfig.fOverride := tcUNIT_GVL.fDEFAULT_TARGET_OVERRIDE; +GVL.astAxes[nAxisIndex].stConfig.fPosition := tcUNIT_GVL.fDEFAULT_POSITION;]]> - + +GVL.astAxes[nAxisIndex].stConfig.fVelocity := fTargetVelocity; +GVL.astAxes[nAxisIndex].stConfig.fAcceleration := fTargetAcceleration; +GVL.astAxes[nAxisIndex].stConfig.fDeceleration := fTargetDeceleration; +GVL.astAxes[nAxisIndex].stConfig.fPosition := fTargetPosition;]]> - @@ -158,39 +158,39 @@ END_FOR]]> +GVL.astAxes[nAxisIndex].stInputs.bLimitBwd := FALSE; +GVL.astAxes[nAxisIndex].stInputs.bLimitFwd := FALSE; +GVL.astAxes[nAxisIndex].stInputs.bHomeSensor := FALSE;]]> diff --git a/solution/tc_project_app/Visualization Manager.TcVMO b/solution/tc_project_app/Visualization Manager.TcVMO index e63f527..c8abbf3 100644 --- a/solution/tc_project_app/Visualization Manager.TcVMO +++ b/solution/tc_project_app/Visualization Manager.TcVMO @@ -37,6 +37,7 @@ {00000000-0000-0000-0000-000000000000} true true + false "" @@ -511,6 +512,7 @@ + {925c2b24-84d1-469a-954d-7af8b99219ef} {f905b871-af16-47c5-a6ef-0a0918a8b009} {d3706fa7-8257-48b3-af0a-cab0afb4dc49} diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 8589564..8b967a8 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 85895649602f3d59104d07ceda240aeb6ca47227 +Subproject commit 8b967a89167617173e16ab9a6a9b0b3e47608ab2 diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 4bbf97c..58fbb44 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -30,6 +30,9 @@ Code + + Code + Code @@ -60,6 +63,9 @@ Code + + Code + Code @@ -78,24 +84,9 @@ Code - - Code - - - Code - - - Code - - - Code - Code - - Code - Code @@ -137,15 +128,14 @@ + - -