UpdateAxesHomingUnits
function UpdateAxesHomingUnits(ContentId: string): voidDie Funktion UpdateAxesHomingUnits wechselt die Einheitengruppen von InputBox-Controls in eine Winkel-Einheitengruppe um, wenn es sich bei dem Symbol im TextVal-Property des InputBox-Controls um einen Wert aus einem FB_Axis Baustein der Tc3_PlasticBaseApplication Bibliothek handelt und die Achse eine Transformationsachse ist. Die Funktion ist für die Verwendung auf einer TwinCAT HMI Seite gedacht, auf der die Referenzfahrt-Parameter einer Achse mit InputBox-Controls verbunden sind. Die verwendeten Symbole sind im FB_Homing Baustein der Tc3_PlasticBaseApplication Bibliothek zu finden.
InputBox-Controls mit den folgenden IDs werden durch die Funktion bearbeitet, dabei ist ContentId der Eingabeparameter der Funktion:
ContentId+ _HomingBlock_Velocity_InputBoxContentId+ _HomingBlock_Acceleration_InputBoxContentId+ _HomingBlock_Deceleration_InputBoxContentId+ _HomingBlock_Jerk_InputBoxContentId+ _HomingBlock_DistanceLimit_InputBoxContentId+ _HomingBlock_SetPosition_InputBoxContentId+ _HomingBlockDetect_Velocity_InputBoxContentId+ _HomingBlock_DetectionVelocityLimit_InputBoxContentId+ _HomingBlockDetect_Acceleration_InputBoxContentId+ _HomingBlockDetect_Deceleration_InputBoxContentId+ _HomingBlockDetect_Jerk_InputBoxContentId+ _HomingBlockDetect_DistanceLimit_InputBoxContentId+ _HomingBlockDetect_RecordedPosition_InputBoxContentId+ _HomingBlockDetect_DetectionVelocityLimit_InputBoxContentId+ _HomingFinish_Distance_InputBoxContentId+ _HomingFinish_Velocity_InputBoxContentId+ _HomingFinish_Acceleration_InputBoxContentId+ _HomingFinish_Deceleration_InputBox
Einheitengruppe | Winkel-Einheitengruppe |
|---|---|
Length | Angular |
Velocity | AngularVelocity |
Acceleration | AngularAcceleration |
Jerk | AngularJerk |
Parameter
Name | Typ | Beschreibung |
|---|---|---|
ContentId | Der Text mit denen die IDs der InputBox-Controls beginnen. |
Rückgabewert
Typ | Beschreibung |
|---|---|
void | kein Rückgabewert |
NuGet Paket: Beckhoff.TwinCAT.HMI.Plastic.Functions
Verfügbar: seit Version 12.6.0
Verwendung: TC3 Plastic Application HMI Projekte