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:

Unit group

Angular unit group

Length

Angular

Velocity

AngularVelocity

Acceleration

AngularAcceleration

Jerk

AngularJerk

Parameter

Name

Type

Description

ContentId

string

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