StateCurrent

Attribute for retrieving the current status from the PLC. Please create a binding with the property "StateCurrent" in the PackTags (ST_PMLs > StateCurrent).

Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiPackML.TcHmiStateMachineV2.State

Attribute getter

public getStateCurrent(): State keyof typeof State | null | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

State as keyof typeof State, null, undefined

The current value of the attribute.

Attribute setter

public setStateCurrent(valueNew: State | keyof typeof State | null): void;

Parameter

Name

Type

Description

valueNew

State, State keyof typeof State, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

StateCurrent 1:

Available since version 1.12.760.37