AbsB (FB)

FUNCTION_BLOCK AbsB

Short Descritpion

Anti-blocking protection for an binary signal


Portrayal

../_images/AbsB_FB.png

Interfaces

Inputs

Name

Datatype

Range

Init-Value

Function

xFb BOOL    

Operating message

Outputs

Name

Datatype

Range

Init-Value

Function

xOut BOOL    

Enable - output

xAbsOn BOOL    

Display - blocking protection process

dtAbsLastOn DATE_AND_TIME    

Startdate / -Timepoint of the last blocking protection process

Setpoints / Parameters

Name

Datatype

Range

Init-Value

Function

tMinFbTime TIME   T#30s

Minimum operating time

tTime TIME   120s

Time duration of the blocking protection process

eDay eDoW  

eDoW.Monday

Weekday of blocking protection process

todStartTime TOD   08:00:00 Uhr

Time point of the blocking protection process

Functional Description

General

This function block is used to monitor the operating message xFb to activity. The test period covers 168 hours (= 1 week).
The operating message xFb is active if it is active once in the test period during the minimum operating time tMinFbTime.
The blocking protection process is thus stopped and the test time restarts.
If there is no operating message, the request/enablement can be connected alternatively.

If no activity has been recorded during the test period, the blocking protection process (“Enable - Output xOut = TRUE”)
is activated with the duration tTime on the day of the week eDay at the time todStartTime. At the same time, the test duration starts again.
The initial triggering of the blocking protection process can be delayed
depending on the relevant settings (weekday eDay and todStartTime).

Example

Testing period completed on Tuesday morning, start of the blocking protection process not until next Monday.
At the dtAbsLastOn output, the start date and the start time of the last blocking protection process are available.

Prerequisite for the use of the AbsB functional component

For correct function, the use of the function block TimeRead with xEn = TRUE is mandatory.

Enable - Output xOut

xFb

Blocking protection process

xOut

Notes

X FALSE FALSE

Blocking protection process inactive

X TRUE TRUE

Blocking protection process active

Legend: X = any

Display of the blocking protection process xAbsOn

xFb

Blocking protection process

xAbsOn

Notes

X FALSE FALSE

Blocking protection process inactive

X TRUE TRUE

Blocking protection process active

Legend: X = any

Setpoint / Parameter eDay

The blocking protection function can be disabled by set the setting to eDay = eDoW.Inactive.

Sollwert / Parameter tTime

The blocking protection function can be disabled by set the setting to tTime = 0s.

Visualization




Information

Element

Authors

Date

Version

Notes

Function

Adam Bartod 04.2016 1.0

Initial version

Programming

Adam Bartod 04.2016 1.0

Initial version

Test Jochen Reu 02.2017 1.0

Initial version

Documentation

Jochen Reu 11.2017 1.0

Initial version

Codesys

InOut:
Scope Name Type Initial Comment
Input xFb BOOL  

Operating message

tMinFbTime TIME TIME#30s0ms

Minimum operating time

tTime TIME TIME#2m0s0ms

Time duration of the blocking protection process

eDay eDoW eDow.Monday

Weekday of blocking protection process

todStartTime TOD TIME_OF_DAY#8:0

Time point of the blocking protection process

Output xOut BOOL  

Enable - output

xAbsOn BOOL  

Display - blocking protection process

dtAbsLastOn DT  

Startdate / -Timepoint of the last blocking protection process