MoveStore (FB)

FUNCTION_BLOCK MoveStore

Short Descritpion

Edge controlled memory of a numerical input value

Typical application: event-dependent saving of a measured value

Portrayal

../_images/MoveStore_FB.png

Interfaces

Inputs

Name

Datatype

Range

Init-Value

Function

xEn BOOL    

Memory signal

rIn REAL    

Input value

Outputs

Name

Datatype

Range

Init-Value

Function

rOut REAL   0.0

Output value

Functional description

Output value rOut

The current value at the input value rIn is stored with each rising edge at the input memory signal xEn and
transmitted directly to the output value rOut. As a result, the value of rOut can only change with an ascending edge
and in all other situations its value does not change.

Visualisation




Information

Element

Authors

Date

Version

Information

Function

Adam Bartod 06.2016 1.0

Initial version

Programming

Adam Bartod 06.2016 1.0

Initial version

Test Jochen Reu 11.2017 1.0

Initial version

Documentation

Jochen Reu 11.2017 1.0

Initial version

Codesys

InOut:
Scope Name Type Initial Comment
Input xEn BOOL  

Memory signal

rIn REAL  

Input value

Output rOut REAL 0

Output value