diff --git a/solution/_Config/NC/1.xml b/solution/_Config/NC/1.xml new file mode 100644 index 0000000..02118c9 --- /dev/null +++ b/solution/_Config/NC/1.xml @@ -0,0 +1,2 @@ + +1mm15001500225015000150000130000000303010060020002000true5false0.1false100true2falsefalse000false10.010truefalsefalse5510.0001103600false21677721500.010.1false0false0false000falsetrue0false0false0104857500false005false1-1165535#x000000000.1002200101100000000.01211100001361291330false110111true5false010000.10.1false0.10.50.10000.10.100.50000false0.010112010.001 diff --git a/solution/_Config/NC/Axes/Axis 2.xti b/solution/_Config/NC/Axes/Axis 2.xti new file mode 100644 index 0000000..d44d3a2 --- /dev/null +++ b/solution/_Config/NC/Axes/Axis 2.xti @@ -0,0 +1,1551 @@ + + + + + UINTARR2 + 32 + UINT + + 0 + 2 + + + [%u, %u] + [0] + [1] + + + 0x%08x [%u, %u] + . + [0] + [1] + + + 0x%08x (%u) + . + . + + + + NCENCODERSTRUCT_IN2B + 320 + + nDataIn1 + UINTARR2 + 32 + 0 + + + nDataIn2 + UINTARR2 + 32 + 32 + + + nState1 + USINT + 8 + 64 + + + nState2 + USINT + 8 + 72 + + + nState3 + USINT + 8 + 80 + + + nState4 + USINT + + + + 8 + 88 + + + nDataIn3 + UINTARR2 + 32 + 96 + + + nDataIn4 + UINTARR2 + 32 + 128 + + + nDataIn5 + UINTARR2 + 32 + 160 + + + nDataIn6 + UINTARR2 + 32 + 192 + + + nState5 + USINT + 8 + 224 + + + nState6 + USINT + 8 + 232 + + + nState7 + USINT + 8 + 240 + + + nState8 + USINT + 8 + 248 + + + nDcInputTime + DINT + 32 + 256 + + + nDataIn7 + UINTARR2 + 32 + 288 + + + + NCENCODERSTRUCT_IN + + 96 + + + + + + NCENCODERSTRUCT_OUT2 + 320 + + nDataOut1 + UINTARR2 + 32 + 0 + + + nDataOut2 + UINTARR2 + 32 + 32 + + + nCtrl1 + USINT + 8 + 64 + + + nCtrl2 + USINT + 8 + 72 + + + nCtrl3 + USINT + 8 + 80 + + + nCtrl4 + USINT + 8 + 88 + + + nDataOut3 + UINTARR2 + 32 + 96 + + + nDataOut4 + UINTARR2 + 32 + 128 + + + nDataOut5 + UINTARR2 + 32 + 160 + + + nDataOut6 + UINTARR2 + 32 + 192 + + + nCtrl5 + USINT + 8 + 224 + + + nCtrl6 + USINT + 8 + 232 + + + nCtrl7 + USINT + 8 + 240 + + + nCtrl8 + USINT + 8 + 248 + + + + NCENCODERSTRUCT_OUT + + 96 + + + + + + NCDRIVESTRUCT_IN2 + 320 + + nDataIn1 + UINTARR2 + 32 + 0 + + + nDataIn2 + UINTARR2 + 32 + 32 + + + nState1 + USINT + 8 + 64 + + + nState2 + USINT + 8 + 72 + + + nState3 + USINT + 8 + 80 + + + nState4 + USINT + + + + 8 + 88 + + + nDataIn3 + UINTARR2 + 32 + 96 + + + nDataIn4 + UINTARR2 + 32 + 128 + + + nDataIn5 + UINTARR2 + 32 + 160 + + + nDataIn6 + UINTARR2 + 32 + 192 + + + nState5 + USINT + 8 + 224 + + + nState6 + USINT + 8 + 232 + + + nState7 + USINT + 8 + 240 + + + nState8 + USINT + 8 + 248 + + + nDcOutputTime + DINT + 32 + 256 + + + + NCDRIVESTRUCT_IN + + 96 + + + + + + NCDRIVESTRUCT_OUT2 + 320 + + nDataOut1 + UINTARR2 + 32 + 0 + + + nDataOut2 + UINTARR2 + 32 + 32 + + + nCtrl1 + USINT + 8 + 64 + + + nCtrl2 + USINT + 8 + 72 + + + nCtrl3 + USINT + 8 + 80 + + + nCtrl4 + USINT + 8 + 88 + + + nDataOut3 + UINTARR2 + 32 + 96 + + + nDataOut4 + UINTARR2 + 32 + 128 + + + nDataOut5 + UINTARR2 + 32 + 160 + + + nDataOut6 + UINTARR2 + 32 + 192 + + + nCtrl5 + USINT + 8 + 224 + + + nCtrl6 + USINT + 8 + 232 + + + nCtrl7 + USINT + 8 + 240 + + + nCtrl8 + USINT + 8 + 248 + + + + NCDRIVESTRUCT_OUT + + 96 + + + + + + PLCTONC_AXIS_REF_CTRL + 32 + + Enable + BIT + 1 + 0 + + + FeedEnablePlus + BIT + 1 + 1 + + + FeedEnableMinus + BIT + 1 + 2 + + + HomingSensor + BIT + 1 + 5 + + + AcceptBlockedDrive + BIT + 1 + 8 + + + PlcDebugFlag + BIT + 1 + 30 + + + NcDebugFlag + BIT + 1 + 31 + + + %08x + + + 0x%08x + + + 16#%08X + + + + PLCTONC_AXIS_REF + 1024 + + ControlDWord + PLCTONC_AXIS_REF_CTRL + 32 + 0 + + + Override + UDINT + 32 + 32 + + + AxisModeRequest + UDINT + 32 + 64 + + + AxisModeDWord + UDINT + 32 + 96 + + + AxisModeLReal + LREAL + 64 + 128 + + + PositionCorrection + LREAL + 64 + 192 + + + ExtSetPos + LREAL + 64 + 256 + + + ExtSetVelo + LREAL + 64 + 320 + + + ExtSetAcc + LREAL + 64 + 384 + + + ExtSetDirection + DINT + 32 + 448 + + + ExtControllerOutput + LREAL + 64 + 512 + + + GearRatio1 + LREAL + 64 + 576 + + + GearRatio2 + LREAL + 64 + 640 + + + GearRatio3 + LREAL + 64 + 704 + + + GearRatio4 + LREAL + 64 + 768 + + + MapState + BOOL + 8 + 832 + + + PlcCycleControl + BYTE + 8 + 840 + + + PlcCycleCount + BYTE + 8 + 848 + + + + NcStructType + 1 + + + + + NCAXLESTRUCT_FROMPLC3 + + + + + NCTOPLC_AXIS_REF_STATE + 32 + + Operational + BIT + 1 + 0 + + + Homed + BIT + 1 + 1 + + + NotMoving + BIT + 1 + 2 + + + InPositionArea + BIT + 1 + 3 + + + InTargetPosition + BIT + 1 + 4 + + + Protected + BIT + 1 + 5 + + + ErrorPropagationDelayed + BIT + 1 + 6 + + + HasBeenStopped + BIT + 1 + 7 + + + HasJob + BIT + 1 + 8 + + + PositiveDirection + BIT + 1 + 9 + + + NegativeDirection + BIT + 1 + 10 + + + HomingBusy + BIT + 1 + 11 + + + ConstantVelocity + BIT + 1 + 12 + + + Compensating + BIT + 1 + 13 + + + ExtSetPointGenEnabled + BIT + 1 + 14 + + + PhasingActive + BIT + 1 + 15 + + + ExternalLatchValid + BIT + 1 + 16 + + + NewTargetPos + BIT + 1 + 17 + + + ContinuousMotion + BIT + 1 + 19 + + + ControlLoopClosed + BIT + 1 + 20 + + + CamTableQueued + BIT + 1 + 21 + + + CamDataQueued + BIT + 1 + 22 + + + CamScalingPending + BIT + 1 + 23 + + + CmdBuffered + BIT + 1 + 24 + + + PTPmode + BIT + 1 + 25 + + + SoftLimitMinExceeded + BIT + 1 + 26 + + + SoftLimitMaxExceeded + BIT + 1 + 27 + + + DriveDeviceError + BIT + 1 + 28 + + + MotionCommandsLocked + BIT + 1 + 29 + + + IoDataInvalid + BIT + 1 + 30 + + + Error + BIT + 1 + 31 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_OPMODE + 32 + + OpModePosAreaMonitoring + BIT + 1 + 0 + + + OpModeTargetPosMonitoring + BIT + 1 + 1 + + + OpModeLoop + BIT + 1 + 2 + + + OpModeMotionMonitoring + BIT + 1 + 3 + + + OpModePEHTimeMonitoring + BIT + 1 + 4 + + + OpModeBacklashCompensation + BIT + 1 + 5 + + + OpModeDelayedErrorReaction + BIT + 1 + 6 + + + OpModeModulo + BIT + 1 + 7 + + + OpModeSimulationAxis + BIT + 1 + 8 + + + OpModePosLagMonitoring + BIT + 1 + 16 + + + OpModeVeloLagMonitoring + BIT + 1 + 17 + + + OpModeSoftLimitMinMonitoring + BIT + 1 + 18 + + + OpModeSoftLimitMaxMonitoring + BIT + 1 + 19 + + + OpModePosCorrection + BIT + 1 + 20 + + + OpModeAllowSlaveCommands + BIT + 1 + 21 + + + OpModeAllowExtSetAxisCommands + BIT + 1 + 22 + + + ApplicationRequest + BIT + 1 + 23 + + + + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 + + AvoidingCollision + BIT + 1 + 0 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE2 + 32 + + Value + DWORD + 32 + 0 + + + Flags + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 + 0 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + 8 + + CamActivationPending + BIT + 1 + 0 + + + CamDeactivationPending + BIT + 1 + 1 + + + CamActive + BIT + 1 + 2 + + + CamDataQueued + BIT + 1 + 6 + + + CamScalingPending + BIT + 1 + 7 + + + + UINTARR8 + 128 + UINT + + 0 + 8 + + + + NCTOPLC_AXIS_REF + 2048 + + StateDWord + NCTOPLC_AXIS_REF_STATE + 32 + 0 + + + ErrorCode + UDINT + 32 + 32 + + + AxisState + UDINT + + + + 32 + 64 + + + AxisModeConfirmation + UDINT + 32 + 96 + + + HomingState + UDINT + + + + 32 + 128 + + + CoupleState + UDINT + + + + 32 + 160 + + + SvbEntries + UDINT + 32 + 192 + + + SafEntries + UDINT + 32 + 224 + + + AxisId + UDINT + 32 + 256 + + + OpModeDWord + NCTOPLC_AXIS_REF_OPMODE + 32 + 288 + + + ActPos + LREAL + 64 + 320 + + + ModuloActPos + LREAL + 64 + 384 + + + ActiveControlLoopIndex + UINT + 16 + 448 + + + ControlLoopIndex + UINT + 16 + 464 + + + ModuloActTurns + DINT + 32 + 480 + + + ActVelo + LREAL + 64 + 512 + + + PosDiff + LREAL + 64 + 576 + + + SetPos + LREAL + 64 + 640 + + + SetVelo + LREAL + 64 + 704 + + + SetAcc + LREAL + 64 + 768 + + + TargetPos + LREAL + 64 + 832 + + + ModuloSetPos + LREAL + 64 + 896 + + + ModuloSetTurns + DINT + 32 + 960 + + + CmdNo + UINT + 16 + 992 + + + CmdState + UINT + 16 + 1008 + + + SetJerk + LREAL + 64 + 1024 + + + SetTorque + LREAL + 64 + 1088 + + + ActTorque + LREAL + 64 + 1152 + + + StateDWord2 + NCTOPLC_AXIS_REF_STATE2 + 32 + 1216 + + + StateDWord3 + DWORD + 32 + 1248 + + + TouchProbeState + DWORD + 32 + 1280 + + + TouchProbeCounter + DWORD + 32 + 1312 + + + CamCouplingState + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + + 0 + 8 + + 64 + 1344 + + + CamCouplingTableID + UINTARR8 + 128 + 1408 + + + ActTorqueDerivative + LREAL + 64 + 1536 + + + SetTorqueDerivative + LREAL + 64 + 1600 + + + ActPosWithoutPosCorrection + LREAL + 64 + 1792 + + + ActAcc + LREAL + 64 + 1856 + + + DcTimeStamp + UDINT + 32 + 1920 + + + + NcStructType + 2 + + + + + NCAXLESTRUCT_TOPLC + + + NCAXLESTRUCT_TOPLC2 + + + NCAXLESTRUCT_TOPLC3 + + + NCAXLESTRUCT_TOPLC4 + + + + + + + + + + + + + + + __FILENAME__ + + + + + + Inputs + + In + NCENCODERSTRUCT_IN2B + 2688 + + nDataIn1 + + + nDataIn2 + + + nState4 + + + + + + nDataIn3 + + + nDataIn4 + + + nDataIn5 + + + nDataIn6 + + + nDataIn7 + + + + + Outputs + + Out + NCENCODERSTRUCT_OUT2 + 4736 + + nDataOut1 + + + nDataOut2 + + + nDataOut3 + + + nDataOut4 + + + nDataOut5 + + + nDataOut6 + + + + + + + + + + Inputs + + In + NCDRIVESTRUCT_IN2 + 3008 + + nDataIn1 + + + nDataIn2 + + + nState4 + + + + + + nDataIn3 + + + nDataIn4 + + + nDataIn5 + + + nDataIn6 + + + + + Outputs + + Out + NCDRIVESTRUCT_OUT2 + 5056 + + nDataOut1 + + + nDataOut2 + + + nCtrl2 + + + + + + nCtrl3 + + + + + + nDataOut3 + + + nDataOut4 + + + nDataOut5 + + + nDataOut6 + + + + + + + + + + + Inputs + + FromPlc + PLCTONC_AXIS_REF + 1664 + + + + Outputs + + ToPlc + NCTOPLC_AXIS_REF + 2688 + + AxisState + + + + + + HomingState + + + + + + CoupleState + + + + + + + + diff --git a/solution/solution.tsproj b/solution/solution.tsproj index bba7a7b..1326ba3 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -913,6 +913,7 @@ External Setpoint Generation: NC-Task 1 SVB + @@ -1004,6 +1005,83 @@ External Setpoint Generation: 1: axis is a master axis 2: axis is master and slave 3: axis is a slave axis +]]> + + + + + GVL.axes[2].inputs.bLimitFwd + + + + BOOL + + + GVL.axes[2].inputs.bLimitBwd + + + + BOOL + + + GVL.axes[2].inputs.bHomeSensor + + + + BOOL + + + GVL.axes[2].inputs.bEncLAtch + + + + BOOL + + + GVL.axes[2].Axis.NcToPlc + NCTOPLC_AXIS_REF + + AxisState + + + + + + HomingState + + + + + + CoupleState + + @@ -1022,6 +1100,10 @@ External Setpoint Generation: GVL.axes[1].Axis.PlcToNc PLCTONC_AXIS_REF + + GVL.axes[2].Axis.PlcToNc + PLCTONC_AXIS_REF + @@ -1038,6 +1120,10 @@ External Setpoint Generation: + + + + diff --git a/solution/tc_project_app/GlobalTextList.TcGTLO b/solution/tc_project_app/GlobalTextList.TcGTLO index 8587aeb..5a737ea 100644 --- a/solution/tc_project_app/GlobalTextList.TcGTLO +++ b/solution/tc_project_app/GlobalTextList.TcGTLO @@ -80,6 +80,11 @@ "bFwEnabled" + + "295" + "bGeared" + + "42" "bHomed" @@ -160,6 +165,16 @@ "fVelocity" + + "507" + "gearIn" + + + + "938" + "gearOut" + + "26" "jog+/- reset stop home" @@ -175,6 +190,11 @@ "jogFw" + + "493" + "masterGear" + + "99" "moveAbsolute" @@ -242,9 +262,9 @@ - {d7005498-b4fa-4a56-8593-01efab31a22a} - {eb0543d6-24e5-4c0d-b12a-2b173f65a3e6} - {58c39072-3512-4d2d-9972-e2fb2a30b0d1} + {946c8e6e-0a97-4d14-95ca-e8575d4b5b95} + {156c2383-e9aa-42c6-a12a-29764abb596e} + {cc9acff5-a471-4694-806c-07b8a247c706} diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index ef9925b..7701c98 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -43,8 +43,8 @@ ERROR();]]> "7" + + + + + + + + + + + 571893170L + "" + + + 494569607L + + + -16777216 + "BasicElement-Frame-Color" + + + + + 2812299069L + + + -1 + "BasicElement-Fill-Color" + + + + + 135947015L + + + -65536 + "BasicElement-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "BasicElement-Alarm-Fill-Color" + + + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 0 + + + 357335551L + 0 + + + 2422045748L + 190 + + + 2134141914L + 150 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 550940142L + 95 + + + 1473355128L + 75 + + + 2678395525L + 1U + + + 564465120L + "VISU_ST_RECTANGLE" + + + 390574330L + "" + + + 494542316L + + + -2830136 + "Element-Frame-Color" + + 4292532160U + 0 + 0 + 0 + 0 + 0 + 0 + 4278190080U + + + + 1375557818L + true + + + 1782330054L + "BS_SOLID" + + + 2827249010L + "PS_SOLID" + + + 2597686782L + true + + + + "Rectangle" + "VisuFbElemSimple" + true + "GenElemInst_148" + + + + {8542b7cc-4fae-486a-a4d7-a6201b9dc922} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 149 + + + + + + + + + + 2812299069L + 4294967295U + + + 494569607L + 4278190080U + + + 1649127785L + 10 + + + 357335551L + 10 + + + 2422045748L + 50 + + + 2134141914L + 50 + + + 4062784938L + "Element-Lamp-Lamp1-Green" + + + 493260384L + 4294967295U + + + 135947015L + 4278190080U + + + 2678395525L + 1U + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 296037572L + "" + + + 390574330L + "" + + + 571893170L + "" + + + 743958181L + "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" + + + 2597686782L + false + + + 977183128L + "ANISOTROPIC" + + + + "Lamp1" + "VisuFbElemLamp" + true + "GenElemInst_110" + + + + {5ca86bbe-131c-4be2-917b-3da41977c332} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 111 + + + + + + + + + + 571893170L + "" + + + 494569607L + + + -2830136 + "Element-Frame-Color" + + + + + 2812299069L + + + -1 + "Element-Fill-Color" + + + + + 135947015L + + + -65536 + "Element-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "Element-Alarm-Fill-Color" + + + + + 2340015797L + "LEFT" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 60 + + + 357335551L + 30 + + + 2422045748L + 120 + + + 2134141914L + 30 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 1337389588L + "NONE" + + + 2678395525L + 0 + + + 390574330L + "bExecute" + + + 2597686782L + false + + + 2477733581L + "" + + + 1782330054L + "BS_HOLLOW" + + + 2827249010L + "PS_HOLLOW" + + + 2114174855L + ""languageSupport"" + + + 3774423699L + ""bEexecute"" + + + 823443203L + "572" + + + + "Textfield" + "VisuFbElemTextfield" + true + "GenElemInst_108" + + + + {e66a4cd9-1ca3-449f-8f2d-a8c784bd77ba} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 109 + + + + + + + + + + 571893170L + "" + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1647042231L + "" + + + 2812299069L + 4294967295U + + + 494569607L + 4278190080U + + + 1649127785L + 10 + + + 357335551L + 110 + + + 2422045748L + 170 + + + 2134141914L + 30 + + + 1651471674L + true + + + 2341735680L + + + -2830136 + "Element-Control-Color" + + + + + 438423234L + + + -2830136 + "Element-Alarm-Fill-Color" + + + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Element-Button-FontColor" + + + + + + 550940142L + 95 + + + 1473355128L + 125 + + + 493260384L + 4294967295U + + + 135947015L + 4278190080U + + + 2678395525L + 1U + + + 2478807622L + "" + + + 390574330L + "toggle" + + + 2597686782L + false + + + 2114174855L + ""languageSupport"" + + + 3774423699L + ""toggle"" + + + 823443203L + "239" + + + + "Button" + "VisuFbElemButton" + true + "GenElemInst_112" + + + + OnMouseClick + + + "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" + + + + + {1b3fbbc5-d980-4cfc-bb39-40c7e5f77c3f} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 113 + + + + + + + + 3549563837L + "FIXED" + + + 2341735680L + + + -2830136 + "Element-Frame-Color" + + + + + 438423234L + + + -65536 + "Element-Alarm-Frame-Color" + + + + + 2678395525L + 1 + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 2812299069L + 4294967295U + + + 494569607L + 4278190080U + + + 1649127785L + 210 + + + 357335551L + 270 + + + 2422045748L + 190 + + + 2134141914L + 150 + + + 1165035537L + true + + + 2182350452L + true + + + 394923068L + true + + + 3069297334L + true + + + 390574330L + "" + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 550940142L + 305 + + + 1473355128L + 345 + + + 493260384L + 4294967295U + + + 135947015L + 4278190080U + + + 571893170L + "" + + + 2597686782L + false + + + + "GroupBox" + "VisuFbGroupBox" + true + "GenElemInst_153" + + + + {2d68414c-57c0-49c4-8ab7-94be8062f2b8} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 154 + + + + + + + + + + 571893170L + "" + + + 494569607L + + + -16777216 + "BasicElement-Frame-Color" + + + + + 2812299069L + + + -1 + "BasicElement-Fill-Color" + + + + + 135947015L + + + -65536 + "BasicElement-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "BasicElement-Alarm-Fill-Color" + + + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 410 + + + 357335551L + 270 + + + 2422045748L + 190 + + + 2134141914L + 220 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 550940142L + 505 + + + 1473355128L + 380 + + + 2678395525L + 1U + + + 564465120L + "VISU_ST_RECTANGLE" + + + 390574330L + "" + + + 494542316L + + + -2830136 + "Element-Frame-Color" + + 4292532160U + 0 + 0 + 0 + 0 + 0 + 0 + 4278190080U + + + + 1375557818L + true + + + 1782330054L + "BS_SOLID" + + + 2827249010L + "PS_SOLID" + + + 2597686782L + true + + + + "Rectangle" + "VisuFbElemSimple" + true + "GenElemInst_156" + + + + {cd744e23-d2f2-4fcf-8cf6-016748f787f0} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 157 + + @@ -2160,6 +3135,10 @@ 3774423699L ""moveAbsolute"" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + 823443203L "99" @@ -2172,7 +3151,7 @@ "GenElemInst_106" - + OnMouseClick @@ -2340,6 +3319,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "453" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -2516,6 +3499,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "50" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -2692,6 +3679,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "935" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -2883,6 +3874,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "293" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -3051,6 +4046,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "331" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -3060,10 +4059,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" - OnMouseUp + OnMouseDown - "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= FALSE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= TRUE;" OnMouseClick @@ -3073,10 +4072,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" " - OnMouseDown + OnMouseUp - "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogBwd:= FALSE;" @@ -3239,6 +4238,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 823443203L "468" + + 2496894244L + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" + "Button" @@ -3248,10 +4251,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" - OnMouseUp + OnMouseDown - "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= FALSE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= TRUE;" OnMouseClick @@ -3261,10 +4264,10 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" " - OnMouseDown + OnMouseUp - "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= TRUE;" + "GVL.axes[Main.hmiAxisSelection].control.bJogFwd:= FALSE;" @@ -9520,189 +10523,6 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" - - - - - - - - 571893170L - "" - - - 494569607L - - - -16777216 - "BasicElement-Frame-Color" - - - - - 2812299069L - - - -1 - "BasicElement-Fill-Color" - - - - - 135947015L - - - -65536 - "BasicElement-Alarm-Frame-Color" - - - - - 493260384L - - - -12337 - "BasicElement-Alarm-Fill-Color" - - - - - 2340015797L - "HCENTER" - - - 2565699834L - "VCENTER" - - - 4134387352L - "NONE" - - - 1603690730L - "Arial" - - - 4253639993L - 12 - - - 2729990903L - 0U - - - 1213979116L - 0U - - - 3488306084L - 4278190080U - - - 1999528970L - "<toggle/tap variable>" - - - 1649127785L - 0 - - - 357335551L - 0 - - - 2422045748L - 190 - - - 2134141914L - 150 - - - 3729828405L - - - 0 - -16777216 - "Font-Standard" - "Arial" - 12 - - -16777216 - "Font-Default-Color" - - - - - - 550940142L - 95 - - - 1473355128L - 75 - - - 2678395525L - 1U - - - 564465120L - "VISU_ST_RECTANGLE" - - - 390574330L - "" - - - 494542316L - - - -2830136 - "Element-Frame-Color" - - 4292532160U - 0 - 0 - 0 - 0 - 0 - 0 - 4278190080U - - - - 1375557818L - true - - - 1782330054L - "BS_SOLID" - - - 2827249010L - "PS_SOLID" - - - 2597686782L - true - - - - "Rectangle" - "VisuFbElemSimple" - true - "GenElemInst_148" - - - - {8542b7cc-4fae-486a-a4d7-a6201b9dc922} - {98c8ae72-e756-4d11-b6a5-5914882e2424} - - - 149 - - @@ -9719,11 +10539,11 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 1649127785L - 10 + 12 357335551L - 10 + 7 2422045748L @@ -9735,7 +10555,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 4062784938L - "Element-Lamp-Lamp1-Green" + "Element-Lamp-Lamp1-Yellow" 493260384L @@ -9771,30 +10591,26 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 743958181L - "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" + "GVL.axes[MAIN.hmiAxisSelection].status.bGeared" 2597686782L false - - 977183128L - "ANISOTROPIC" - "Lamp1" "VisuFbElemLamp" true - "GenElemInst_110" + "GenElemInst_167" - {5ca86bbe-131c-4be2-917b-3da41977c332} + {0ad28627-1d99-477d-9317-b8e519cb3369} {98c8ae72-e756-4d11-b6a5-5914882e2424} - 111 + 169 @@ -9881,11 +10697,11 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 1649127785L - 60 + 72 357335551L - 30 + 27 2422045748L @@ -9921,7 +10737,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 390574330L - "bExecute" + "bGeared" 2597686782L @@ -9945,26 +10761,884 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 3774423699L - ""bEexecute"" + ""bGeared"" 823443203L - "572" + "295" "Textfield" "VisuFbElemTextfield" true - "GenElemInst_108" + "GenElemInst_169" - {e66a4cd9-1ca3-449f-8f2d-a8c784bd77ba} + {d9442ced-bcdd-4745-a242-cf870ece81ed} {98c8ae72-e756-4d11-b6a5-5914882e2424} - 109 + 171 + + + + + + + + + + 571893170L + "" + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 686910351L + "STYLE" + + + 2028009121L + "HCENTER" + + + 3191134607L + "VCENTER" + + + 3218484809L + "NONE" + + + 2919971128L + "Arial" + + + 1546705513L + 12 + + + 3398726742L + 0U + + + 596717991L + 0U + + + 2814868741L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 2812299069L + 4294967295U + + + 494569607L + 4278190080U + + + 1649127785L + 120 + + + 357335551L + 60 + + + 2422045748L + 60 + + + 2134141914L + 30 + + + 1653691745L + "1" + + + 2703123772L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 493260384L + 4294967295U + + + 135947015L + 4278190080U + + + 2678395525L + 1U + + + 390574330L + "" + + + 2597686782L + false + + + 397264524L + "GVL.axes[MAIN.hmiAxisSelection].masterAxis.index" + + + 576042468L + "1" + + + 651134158L + "GVL.axisNum" + + + + "SpinControl" + "VisuFbElemSpinControl" + true + "GenElemInst_160" + + + + {15553245-1a3a-4dcb-8b59-f78f367c0041} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 161 + + + + + + + + + + 571893170L + "" + + + 494569607L + + + -2830136 + "Element-Frame-Color" + + + + + 2812299069L + + + -1 + "Element-Fill-Color" + + + + + 135947015L + + + -65536 + "Element-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "Element-Alarm-Fill-Color" + + + + + 2340015797L + "RIGHT" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 10 + + + 357335551L + 60 + + + 2422045748L + 100 + + + 2134141914L + 30 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 1337389588L + "NONE" + + + 2678395525L + 0 + + + 390574330L + "masterGear" + + + 2597686782L + false + + + 2477733581L + "" + + + 1782330054L + "BS_HOLLOW" + + + 2827249010L + "PS_HOLLOW" + + + 2114174855L + ""languageSupport"" + + + 3774423699L + ""masterGear"" + + + 823443203L + "493" + + + + "Textfield" + "VisuFbElemTextfield" + true + "GenElemInst_173" + + + + {351e8801-f68a-4d68-826a-cee85e35ddf7} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 176 + + + + + + + + + + 571893170L + "" + + + 494569607L + + -2830136 + "Element-Frame-Color" + + + + 2812299069L + + + -1 + "Element-Fill-Color" + + + + + 135947015L + + + -65536 + "Element-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "Element-Alarm-Fill-Color" + + + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 120 + + + 357335551L + 100 + + + 2422045748L + 60 + + + 2134141914L + 30 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 1337389588L + "RAISED" + + + 2678395525L + 1U + + + 390574330L + "%2.2f" + + + 2477733581L + "GVL.axes[MAIN.hmiAxisSelection].masterAxis.ratio" + + + 2597686782L + false + + + 823443203L + "377" + + + + "Textfield" + "VisuFbElemTextfield" + true + "GenElemInst_162" + + + + OnMouseClick + + + "GVL.axes[MAIN.hmiAxisSelection].masterAxis.ratio" + "Default" + "" + "" + "" + false + false + true + "" + "" + + + + {0c8e4ca6-4bfd-45f3-9a1a-765d6a403216} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 163 + + + + + + + + + + 571893170L + "" + + + 494569607L + + + -2830136 + "Element-Frame-Color" + + + + + 2812299069L + + + -1 + "Element-Fill-Color" + + + + + 135947015L + + + -65536 + "Element-Alarm-Frame-Color" + + + + + 493260384L + + + -12337 + "Element-Alarm-Fill-Color" + + + + + 2340015797L + "RIGHT" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1999528970L + "<toggle/tap variable>" + + + 1649127785L + 10 + + + 357335551L + 100 + + + 2422045748L + 100 + + + 2134141914L + 30 + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Font-Default-Color" + + + + + + 1337389588L + "NONE" + + + 2678395525L + 0 + + + 390574330L + "masterGear" + + + 2597686782L + false + + + 2477733581L + "" + + + 1782330054L + "BS_HOLLOW" + + + 2827249010L + "PS_HOLLOW" + + + 2114174855L + ""languageSupport"" + + + 3774423699L + ""gearRatio"" + + + 823443203L + "493" + + + + "Textfield" + "VisuFbElemTextfield" + true + "GenElemInst_175" + + + + {685611c6-229b-4a01-916a-e8579ff1b4fe} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 178 + + + + + + + + + + 571893170L + "" + + + 2340015797L + "HCENTER" + + + 2565699834L + "VCENTER" + + + 4134387352L + "NONE" + + + 1603690730L + "Arial" + + + 4253639993L + 12 + + + 2729990903L + 0U + + + 1213979116L + 0U + + + 3488306084L + 4278190080U + + + 1647042231L + "" + + + 2812299069L + 4294967295U + + + 494569607L + 4278190080U + + + 1649127785L + 12 + + + 357335551L + 137 + + + 2422045748L + 168 + + + 2134141914L + 30 + + + 1651471674L + true + + + 2341735680L + + + -2830136 + "Element-Control-Color" + + + + + 438423234L + + + -2830136 + "Element-Alarm-Fill-Color" + + + + + 3729828405L + + + 0 + -16777216 + "Font-Standard" + "Arial" + 12 + + -16777216 + "Element-Button-FontColor" + + + + + + 550940142L + 96 + + + 1473355128L + 152 + + + 493260384L + 4294967295U + + + 135947015L + 4278190080U + + + 2678395525L + 1U + + + 2478807622L + "" + + + 390574330L + "gearIn" + + + 2597686782L + false + + + 2114174855L + ""languageSupport"" + + + 3774423699L + ""gearIn"" + + + 823443203L + "507" + + + + "Button" + "VisuFbElemButton" + true + "GenElemInst_164" + + + + OnMouseClick + + + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.GearIn; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" + + + + {cbfdfda9-57cc-43c6-8c09-3f11790d9f6e} + {98c8ae72-e756-4d11-b6a5-5914882e2424} + + + 165 @@ -10027,7 +11701,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 357335551L - 110 + 180 2422045748L @@ -10081,7 +11755,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 1473355128L - 125 + 195 493260384L @@ -10101,7 +11775,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 390574330L - "toggle" + "gearOut" 2597686782L @@ -10113,34 +11787,34 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 3774423699L - ""toggle"" + ""gearOut"" 823443203L - "239" + "938" "Button" "VisuFbElemButton" true - "GenElemInst_112" + "GenElemInst_166" - + OnMouseClick - + - "GVL.axes[MAIN.hmiAxisSelection].control.bExecute" - + "GVL.axes[Main.hmiAxisSelection].control.eCommand:=MotionFunctions.GearOut; +GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" - {1b3fbbc5-d980-4cfc-bb39-40c7e5f77c3f} + {d76b21fc-04e0-460b-80d1-5bd9479c1d70} {98c8ae72-e756-4d11-b6a5-5914882e2424} - 113 + 167 @@ -10219,7 +11893,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 1649127785L - 210 + 410 357335551L @@ -10231,7 +11905,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 2134141914L - 150 + 220 1165035537L @@ -10271,11 +11945,11 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" 550940142L - 305 + 505 1473355128L - 345 + 380 493260384L @@ -10298,15 +11972,15 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" "GroupBox" "VisuFbGroupBox" true - "GenElemInst_153" + "GenElemInst_176" - {2d68414c-57c0-49c4-8ab7-94be8062f2b8} + {e09f47a7-1337-489e-9ad6-85e505f66a88} {98c8ae72-e756-4d11-b6a5-5914882e2424} - 154 + 179 @@ -10456,7 +12130,7 @@ GVL.axes[Main.hmiAxisSelection].control.bExecute:=TRUE;" {922df0df-545b-4a6e-ab04-d027f2e1dfa1} - 154 + 176 diff --git a/solution/tc_project_app/VISUs/languageSupport.TcTLO b/solution/tc_project_app/VISUs/languageSupport.TcTLO index cda35a6..f9dfe09 100644 --- a/solution/tc_project_app/VISUs/languageSupport.TcTLO +++ b/solution/tc_project_app/VISUs/languageSupport.TcTLO @@ -230,6 +230,41 @@ + + "bGeared" + "In Gear" + + + + + + "masterGear" + "Master Axis" + + + + + + "gearRatio" + "Gear Ratio" + + + + + + "gearIn" + "Gear In" + + + + + + "gearOut" + "Gear Out" + + + + "" "" @@ -241,9 +276,9 @@ Test - {962e4813-aef8-4dae-aeb7-04077d21434b} - {82ace71d-e165-4acf-b153-7a4cf4328067} - {a31774a9-92e9-4b2c-85d2-e107f62daa07} + {6ee01c9c-bade-4561-8f8f-51a016e36b74} + {39936094-7e9a-4d1a-be25-5739d90e11d1} + {ed0a015c-01b4-4db1-a63c-fa53488b2ddf} diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 5eb56db..fe55ce8 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 5eb56db806fd52bae29f59bfb59f2a42328fb61d +Subproject commit fe55ce8af8ae32471e1031b6d089e9497ac5f69e diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 522bbc5..bb8afcd 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -37,6 +37,9 @@ Code + + Code + Code