OperateWtcWithHardware

function OperateWtcWithHardware(FB_CP22xx_1025Hmi: Symbol, CurveEditor: TcHmi.Controls.Plastic.CurveEditorControl): void

The function OperateWtcWithHardware allows you to set the fix points of the CurveEditor control using a rotary encoder. The function changes the setting mode by pressing the rotary encoder.

Mode

Behavior when turning the rotary encoder

Index

Selection of the fix points already created.

Value

Changes the value of the selected fix point.

Base

Changes the base value of the selected fix point.

Parameter

Name

Type

Description

FB_CP22xx_1025Hmi

TcHmi.Symbol

The symbol of data type FB_CP22xx_1025Hmi.

CurveEditor

TcHmi.Controls.Plastic.CurveEditorControl

The CurveEditor control that is to be edited using the rotary encoder.

Return value

Type

Description

void

No return value.

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available: from version 12.12.0

Usage: TC3 Plastic Application HMI projects