From 20c07ff66e9a61dacf375a7fe3b8238288e0b36f Mon Sep 17 00:00:00 2001 From: Simon-Cooper <39404307+Simon-Cooper@users.noreply.github.com> Date: Mon, 3 Jun 2019 14:35:25 +0100 Subject: [PATCH] visu links updated to sub-structures Change visualisation property links to variables within ST_AxisStruct sub structures Add a single test axis linked to visualisation for testing and development --- solution/TrialLicense.tclrs | 2 +- solution/solution.tsproj | 89 +------------- solution/tc_project_app/VISUs/MainVisu.TcVIS | 112 +++++++++--------- .../tc_project_app/VISUs/RecipeManager.TcRMO | 44 ------- solution/tc_project_app/tc_mca_std_lib | 2 +- .../tc_project_app/tc_project_app.plcproj | 20 ++-- 6 files changed, 72 insertions(+), 197 deletions(-) delete mode 100644 solution/tc_project_app/VISUs/RecipeManager.TcRMO diff --git a/solution/TrialLicense.tclrs b/solution/TrialLicense.tclrs index 22c783e..35fbe7d 100644 --- a/solution/TrialLicense.tclrs +++ b/solution/TrialLicense.tclrs @@ -1,2 +1,2 @@ -{52C4A619-551C-008A-DE5B-87C2D878314F}2019-05-14T13:08:002019-05-22T00:00:007fb4b4047c0c0233876df9026c1106362df127501e8fc4ebfa2c2b01c4ab2b4f9f1b765d8974d1af6260643139b69e5ae7ad52ba3be25218df7cde630544f0bd6cb1137b38fdb67505e770577256d7fa7f5dbd438d76176734cb8252d2b0a1737832f8aaf3411d263823fcd30320ee3a4d1a4772572ca014c85dac60d064898cfdd03f5069b6ef13927a1a3aa6acaf7558f21949780efdf7e4e5deccb3e763f0b6662d83eac91498422fdbea343d391853d34dd30e1f6681415dd3c26316d5551f7c35a30cd4e7671b35a1e9d5447ab5bf03cfe0f29e2abb4df13b4972ae6254f25456c23650f2f9a2faa9891d2f591ea109ab213f45fbec510fd24f3aa97c17{3EBB9639-5FF3-42B6-8847-35C70DC013C8}TC3 TCP/IPTF6310{4C256767-E6E6-4AF5-BD68-9F7ABAD0C200}TC3 ADSTC1000{A19036CF-A53B-4E3A-99FF-023EF5C4798B}TC3 NC PTP Axis10{66689887-CCBD-452C-AC9A-039D997C6E66}TC3 PLCTC1200{520DE751-9DB6-47CB-8240-BD5C466E7E64}TC3 NC PTPTF5000{3FF18E97-7754-401B-93FB-70544DE28A13}TC3 IOTC1100 +{21469191-0300-E1C0-C3DD-62104774D30F}2019-06-03T12:43:002019-06-11T00:00:005dacefa756b5b013c66d6344cb3a48465bb45514e5c4843f450ae665865ca7f65dd3c43a441f54f73922566091c85994675624132e35c097ba119913df9734d50327dbecad56613840e7e38439426704b79e4a45f0616e6096c1d8ae2594a5af4cd72070b662221015adef28225406c0a0b2aca146def4e9ae8c381fc4a8cbf845f1aa682d50e5d2617f8b6cdada65077ff089d724e93ff3f27bf79e6ca7b0f9be83228413878fb58d6dde3383c68e07fe3341e104beb70d43bdbc744d9d1e3f35e1f99ed2c1d245d424c48efdd6c78f4dded487338a7d8a795a51d622af66aab1a78a6bfe5fcaf4df00a8be43e3739d4aa2ad6c81dc8e668033efed76727ba7{4C256767-E6E6-4AF5-BD68-9F7ABAD0C200}TC3 ADSTC1000{3FF18E97-7754-401B-93FB-70544DE28A13}TC3 IOTC1100{66689887-CCBD-452C-AC9A-039D997C6E66}TC3 PLCTC1200{A19036CF-A53B-4E3A-99FF-023EF5C4798B}TC3 NC PTP Axis10{520DE751-9DB6-47CB-8240-BD5C466E7E64}TC3 NC PTPTF5000{3EBB9639-5FF3-42B6-8847-35C70DC013C8}TC3 TCP/IPTF6310 diff --git a/solution/solution.tsproj b/solution/solution.tsproj index 7a1623e..bba7a7b 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -932,28 +932,28 @@ External Setpoint Generation: PlcTask Inputs - GVL.axes[1].bLimitFwd + GVL.axes[1].inputs.bLimitFwd BOOL - GVL.axes[1].bLimitBwd + GVL.axes[1].inputs.bLimitBwd BOOL - GVL.axes[1].bHomeSensor + GVL.axes[1].inputs.bHomeSensor BOOL - GVL.axes[1].bEncLAtch + GVL.axes[1].inputs.bEncLAtch @@ -1004,83 +1004,6 @@ External Setpoint Generation: 1: axis is a master axis 2: axis is master and slave 3: axis is a slave axis -]]> - - - - - GVL.axes[2].bLimitFwd - - - - BOOL - - - GVL.axes[2].bLimitBwd - - - - BOOL - - - GVL.axes[2].bHomeSensor - - - - BOOL - - - GVL.axes[2].bEncLAtch - - - - BOOL - - - GVL.axes[2].Axis.NcToPlc - NCTOPLC_AXIS_REF - - AxisState - - - - - - HomingState - - - - - - CoupleState - - @@ -1099,10 +1022,6 @@ External Setpoint Generation: GVL.axes[1].Axis.PlcToNc PLCTONC_AXIS_REF - - GVL.axes[2].Axis.PlcToNc - PLCTONC_AXIS_REF - diff --git a/solution/tc_project_app/VISUs/MainVisu.TcVIS b/solution/tc_project_app/VISUs/MainVisu.TcVIS index 077e8cc..8277574 100644 --- a/solution/tc_project_app/VISUs/MainVisu.TcVIS +++ b/solution/tc_project_app/VISUs/MainVisu.TcVIS @@ -274,7 +274,7 @@ 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bEnable" + "GVL.axes[MAIN.hmiAxisSelection].control.bEnable" @@ -542,7 +542,7 @@ 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bLimitFwd" + "GVL.axes[MAIN.hmiAxisSelection].inputs.bLimitFwd" @@ -810,7 +810,7 @@ 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bLimitBwd" + "GVL.axes[MAIN.hmiAxisSelection].inputs.bLimitBwd" @@ -2176,8 +2176,8 @@ OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.MoveAbsolute; -GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.MoveAbsolute; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" @@ -2352,8 +2352,8 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.MoveVelocity; -GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.MoveVelocity; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" @@ -2528,8 +2528,8 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.MoveRelative; -GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.MoveRelative; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" @@ -2704,8 +2704,8 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.MoveModulo; -GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.MoveModulo; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" @@ -2724,7 +2724,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 1186196937L - "GVL.axes[Main.hmiAxisSelection].bStop" + "GVL.axes[Main.hmiAxisSelection].control.bStop" @@ -2775,7 +2775,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 1647042231L - "GVL.axes[Main.hmiAxisSelection].bStop" + "GVL.axes[Main.hmiAxisSelection].control.bStop" 2812299069L @@ -3059,24 +3059,24 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" "GenElemInst_124" - - OnMouseDown + + OnMouseUp - "GVL.axes[Main.hmiAxisSelection].bJogBwd:= TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= FALSE;" OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.Jog; + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.Jog; " - OnMouseUp + OnMouseDown - "GVL.axes[Main.hmiAxisSelection].bJogBwd:= FALSE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= TRUE;" @@ -3248,23 +3248,23 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" - OnMouseDown + OnMouseUp - "GVL.axes[Main.hmiAxisSelection].bJogFwd:= TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= FALSE;" OnMouseClick - "GVL.axes[Main.hmiAxisSelection].eCommand:=MotionFunctions.Jog; + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.Jog; " - OnMouseUp + OnMouseDown - "GVL.axes[Main.hmiAxisSelection].bJogFwd:= FALSE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= TRUE;" @@ -3757,7 +3757,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].nErrorID" + "GVL.axes[MAIN.hmiAxisSelection].status.nErrorID" 2597686782L @@ -3851,7 +3851,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bError" + "GVL.axes[MAIN.hmiAxisSelection].status.bError" 2597686782L @@ -4087,7 +4087,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 1647042231L - "" + "GVL.axes[Main.hmiAxisSelection].control.bReset" 2812299069L @@ -4203,17 +4203,12 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" "GenElemInst_120" - + OnMouseClick - + - "GVL.axes[Main.hmiAxisSelection].bReset:=TRUE;" - - - OnMouseUp - - - "GVL.axes[Main.hmiAxisSelection].bReset:=FALSE;" + "GVL.axes[Main.hmiAxisSelection].control.bReset" + @@ -4644,7 +4639,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bEnabled" + "GVL.axes[MAIN.hmiAxisSelection].status.bEnabled" 2597686782L @@ -4904,7 +4899,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bWarning" + "GVL.axes[MAIN.hmiAxisSelection].status.bWarning" 2597686782L @@ -5164,7 +5159,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bBusy" + "GVL.axes[MAIN.hmiAxisSelection].status.bBusy" 2597686782L @@ -5424,7 +5419,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bDone" + "GVL.axes[MAIN.hmiAxisSelection].status.bDone" 2597686782L @@ -5684,7 +5679,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bResetDone" + "GVL.axes[MAIN.hmiAxisSelection].status.bResetDone" 2597686782L @@ -5774,7 +5769,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bHomed" + "GVL.axes[MAIN.hmiAxisSelection].status.bHomed" 2597686782L @@ -6204,7 +6199,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bFwEnabled" + "GVL.axes[MAIN.hmiAxisSelection].status.bFwEnabled" 2597686782L @@ -6294,7 +6289,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bBwEnabled" + "GVL.axes[MAIN.hmiAxisSelection].status.bBwEnabled" 2597686782L @@ -7134,7 +7129,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fActPosition" + "GVL.axes[MAIN.hmiAxisSelection].status.fActPosition" 2597686782L @@ -7626,7 +7621,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fActVelocity" + "GVL.axes[MAIN.hmiAxisSelection].status.fActVelocity" 2597686782L @@ -8300,7 +8295,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fVelocity" + "GVL.axes[MAIN.hmiAxisSelection].config.fVelocity" 2597686782L @@ -8322,7 +8317,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[MAIN.hmiAxisSelection].fVelocity" + "GVL.axes[MAIN.hmiAxisSelection].config.fVelocity" "Default" "" "" @@ -8638,7 +8633,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fAcceleration" + "GVL.axes[MAIN.hmiAxisSelection].config.fAcceleration" 2597686782L @@ -8660,7 +8655,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[MAIN.hmiAxisSelection].fAcceleration" + "GVL.axes[MAIN.hmiAxisSelection].config.fAcceleration" "Default" "" "" @@ -8976,7 +8971,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fDeceleration" + "GVL.axes[MAIN.hmiAxisSelection].config.fDeceleration" 2597686782L @@ -8998,7 +8993,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[MAIN.hmiAxisSelection].fDeceleration" + "GVL.axes[MAIN.hmiAxisSelection].config.fDeceleration" "Default" "" "" @@ -9314,7 +9309,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 2477733581L - "GVL.axes[MAIN.hmiAxisSelection].fPosition" + "GVL.axes[MAIN.hmiAxisSelection].config.fPosition" 2597686782L @@ -9336,7 +9331,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[MAIN.hmiAxisSelection].fPosition" + "GVL.axes[MAIN.hmiAxisSelection].config.fPosition" "Default" "" "" @@ -9776,7 +9771,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].bExecute" + "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" 2597686782L @@ -10136,7 +10131,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" OnMouseClick - "GVL.axes[MAIN.hmiAxisSelection].bExecute" + "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" @@ -10414,10 +10409,10 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" FB_Init 13be6eec-7fc2-4282-abbf-b24b2da58ba8 - FB_Exit - 95930a16-400d-44f0-9930-76888846236f FB_Reinit 639e5dca-e06b-4c9e-8c1b-9a863c3c34f7 + FB_Exit + 95930a16-400d-44f0-9930-76888846236f "NotImportant" {a9f37f15-844b-497f-805b-d8708d84591d} @@ -10530,6 +10525,7 @@ GVL.axes[Main.hmiAxisSelection].bExecute:=TRUE;" System.Guid System.Collections.Hashtable {6b108d46-58af-4e41-a3f4-174d8f160cc4} + _3S.CoDeSys.VisualElem.IInputAction[], VisualElem, Version=3.5.10.0, Culture=neutral, PublicKeyToken=null {e8e7e747-f76f-4dee-ab1c-b9637e41ac26} _3S.CoDeSys.VisualElem.InputBoxInputAction[], VisualElem.plugin, Version=3.5.10.32, Culture=neutral, PublicKeyToken=null System.Int16 diff --git a/solution/tc_project_app/VISUs/RecipeManager.TcRMO b/solution/tc_project_app/VISUs/RecipeManager.TcRMO deleted file mode 100644 index fcce9bb..0000000 --- a/solution/tc_project_app/VISUs/RecipeManager.TcRMO +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - GVL_RECIPEMANAGEMENT_3300 - 8f0b301a-1479-42c8-8ffd-a38dff637643 - RECIPEFACTORY - a27510d2-2266-40b1-9622-5959c6103cf9 - RECIPEMANAGEMENTINITFB_INIT - 4f75d468-ad7c-44d9-a8fb-1b01547078ae - RECIPEFACTORYFREERECIPE - 835c7ab6-825e-4eb4-87a2-c250ec48e077 - RECIPEFACTORYFB_INIT - ca8b7701-464d-45a1-906c-b0553b019fbc - RECIPEMANAGEMENTINITFB_REINIT - 56b7bd3b-03fc-4f06-8921-da60d23e38c5 - RECIPEMANAGEMENTINIT - 29d93734-f9f2-4d0d-a61b-6a22178e9b6d - RECIPEMANAGEMENTINITINITIALIZE - ec029522-de39-4c7a-9a12-4fc5289fe8e9 - RECIPEFACTORYCREATERECIPE - dc98e06d-642e-4964-9112-a90d1f0bb7f3 - - - - true - false - - - - System.Boolean - System.Guid - System.Collections.Hashtable - {3bce4913-f2c1-4b54-84e8-6d7ec1809176} - {09ecc42e-586d-4a08-932f-5bdcac20bb55} - System.String - - - - \ No newline at end of file diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 936ed0e..5eb56db 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 936ed0e9d0f34f876c91cf857ee389ed8ea4eb61 +Subproject commit 5eb56db806fd52bae29f59bfb59f2a42328fb61d diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index d484150..522bbc5 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -28,6 +28,18 @@ Code + + Code + + + Code + + + Code + + + Code + Code @@ -182,9 +194,6 @@ Code Visualization Manager.TcVMO - - Code - @@ -213,11 +222,6 @@ - - Recipe Management, 3.3.1.0 (System) - Recipe_Management - true - VisuElemMeter, 3.5.10.0 (System) VisuElemMeter