FB_MTP_BinMon

FB_MTP_BinMon 1:

The function block FB_MTP_BinMon provides the binary input value V for manual operation (e. g. via OPC UA). A text can be assigned to the states TRUE and FALSE of the input value via the inputs VState0 and VState1.

Monitoring

The binary input value V can be monitored for flutter (change of input signal). The output VFlutAct goes TRUE if the change in the input signal per time interval VFlutTi exceeds the maximum value VFlutCnt .

The output signal VOut corresponds to the debounced input value V .VOut and follows a change in the input signal V after VFlutLen. The input signal V must retain its value for this time.

Further characteristics

Name of the object

Object description

WQC

OSLevel

Inheritance hierarchy

FB_MTP_BinView

    FB_MTP_BinMon

FB_MTP_BinMon 2: Inputs

Name

Type

Description

OPC UA access

TagName

STRING

Name of the interface

-

TagDescription

STRING

Description of the interface

-

WQC

BYTE

Worst Quality Code

Read

OSLevel

BYTE

Level must be defined for system. Value 0 is reserved for local operation.

Read/write

V

BOOL

Value

Read

VState0

STRING

Text for value FALSE

Read

VState1

STRING

Text for value TRUE

Read

VFlutEn

BOOL

Enable flutter monitoring:

1: Enabled

0: Disabled

Read

VFIutLen

REAL

Bounce time

Read

FB_MTP_BinMon 3: Outputs

Name

Type

Description

OPC UA access

VOut

BOOL

Output value

Read

VFlutAct

BOOL

Input value flutters

Read

Vout

BOOL

Debounced input value

Read

External variables

Name

Type

Description

OPC UA access

VFlutTi

REAL

Duration of the time interval

Read/write

VFlutCnt

INT

Maximum input signal changes per time interval

Read/write