FB_UnwinderVisController

 

FB_UnwinderVisController - General Information

Overview

Type:

Function block

Available as of:

V1.0.0.0

Task

The FB_UnwinderVisController manages the visualizations of the FB_Unwinder POU.

Description

The VisController determines the data which shall be displayed in the visualization.

Interface

Input

Data type

Description

i_xEnable

BOOL

A rising edge (FALSE -> TRUE) activates the POU, a falling edge (TRUE -> FALSE) deactivates the POU, clearing all errors and resetting the POU to its default state.

A deactivated POU does not execute any actions.

Output

Data type

Description

q_xActive

BOOL

TRUE: The POU is active and has to be executed further.

FALSE: The POU is inactive.

q_xReady

BOOL

TRUE: The POU is ready to operate and can accept user commands.

FALSE: The function block is not ready to accept user commands.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output for the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives additional information on the diagnostic state.

Input/Output

Data type

Description

iq_stUnwinderParameter

ST_Parameter

Parameter for the unwinder function block.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Disabled

1

Disabled.

OK

Working

4

In process.

Disabled

Enumeration name:

Disabled

Enumeration value:

1

Description:

Disabled.

The function block is disabled and executes no actions whatsoever.

Working

Enumeration name:

Working

Enumeration value:

4

Description:

In process.

VisController manages the data for the visualization.