diff --git a/solution.sln b/solution.sln index 4dccbdf..2694336 100644 --- a/solution.sln +++ b/solution.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# TcXaeShell Solution File, Format Version 11.00 -VisualStudioVersion = 15.0.28010.2050 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{B1E792BE-AA5F-4E3C-8C82-674BF9C0715B}") = "solution", "solution\solution.tsproj", "{9CF97348-B9D3-4938-B1F2-5F0B0B6AA66A}" EndProject @@ -49,21 +49,6 @@ Global {FB261665-FD20-4BF2-97F8-2854C82B752D}.Release|TwinCAT RT (x64).Build.0 = Release|TwinCAT RT (x64) {FB261665-FD20-4BF2-97F8-2854C82B752D}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86) {FB261665-FD20-4BF2-97F8-2854C82B752D}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT CE7 (ARMV7).ActiveCfg = Debug|TwinCAT CE7 (ARMV7) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT CE7 (ARMV7).Build.0 = Debug|TwinCAT CE7 (ARMV7) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT OS (ARMT2).ActiveCfg = Debug|TwinCAT OS (ARMT2) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT OS (ARMT2).Build.0 = Debug|TwinCAT OS (ARMT2) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT RT (x64).ActiveCfg = Debug|TwinCAT RT (x64) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT RT (x64).Build.0 = Debug|TwinCAT RT (x64) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT RT (x86).ActiveCfg = Debug|TwinCAT RT (x86) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Debug|TwinCAT RT (x86).Build.0 = Debug|TwinCAT RT (x86) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT CE7 (ARMV7).ActiveCfg = Release|TwinCAT CE7 (ARMV7) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT CE7 (ARMV7).Build.0 = Release|TwinCAT CE7 (ARMV7) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT OS (ARMT2).ActiveCfg = Release|TwinCAT OS (ARMT2) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT OS (ARMT2).Build.0 = Release|TwinCAT OS (ARMT2) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT RT (x64).ActiveCfg = Release|TwinCAT RT (x64) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT RT (x86).ActiveCfg = Release|TwinCAT RT (x86) - {F935F1DE-0753-4702-B418-1DC0ED040A4D}.Release|TwinCAT RT (x86).Build.0 = Release|TwinCAT RT (x86) EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/solution/solution.tsproj b/solution/solution.tsproj index db9cc25..6650b38 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..14f8d01 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 14f8d0185726c02fbec683577613f64e87485d9c diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 4bbf97c..e5b8cfb 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 @@ -93,10 +99,10 @@ Code - + Code - + Code @@ -137,6 +143,7 @@ + @@ -145,7 +152,6 @@ -