UpdateAxesHomingUnits
function UpdateAxesHomingUnits(ContentId: string): void
The function UpdateAxesHomingUnits changes the unit groups of InputBox controls to an angular unit group if the symbol in the TextVal property of the InputBox control is a value from a FB_Axis function block of the Tc3_PlasticBaseApplication
library and the axis is a transformation axis. The function is intended for use on a TwinCAT HMI page where the homing parameters of an axis are connected to InputBox controls. The symbols used can be found in the FB_Homing function block of the Tc3_PlasticBaseApplication
library.
InputBox controls with the following IDs are processed by the function, where ContentId
is the input parameter of the function:
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
Unit group | Angular unit group |
---|---|
Length | Angular |
Velocity | AngularVelocity |
Acceleration | AngularAcceleration |
Jerk | AngularJerk |
Parameter
Name | Type | Description |
---|---|---|
ContentId | The text with which the IDs of the InputBox controls begin. |
Return value
Type | Description |
---|---|
void | no return value |
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions
Available from version 12.6.0
Usage: TC3 Plastic Application HMI projects