ChangeInputBoxUnit

function ChangeInputBoxUnit(InputBox: TcHmi.Controls.Plastic.InputBox): void

The function ChangeInputBoxUnit changes the unit group of an InputBox-control into 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.

Unit group

Angular unit group

Length

Angular

Velocity

AngularVelocity

Acceleration

AngularAcceleration

Jerk

AngularJerk

By default, this function is only used by the UpdateAxesHomingUnits function.

Parameter

Name

Type

Description

InputBox

TcHmi.Controls.Plastic.InputBox

The control whose UnitGroup is to be changed.

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