MoveStore

MoveStore (FB)

FUNCTION_BLOCK MoveStore

Short description

Edge-controlled storage of a numeric input value Typical application: Event-dependent storage of a measured value\

Representation

Interfaces

Inputs

Name
Data type
Value range
Initial value
Function

xEn

BOOL

Store signal

rIn

REAL

Input value

Outputs

Name
Data type
Value range
Initial value
Function

rOut

REAL

0

Output value

Function description

Output value rOut

The current value at the input value rIn is stored on every rising edge at the input Store signal xEn and transferred directly to the output value rOut . As a result, the value of rOut can only change on a rising edge and remains unchanged in all other situations.

CODESYS

InOut:

Scope
Name
Type
Initial

Input

xEn

BOOL

Input

rIn

REAL

Output

rOut

REAL

0

Last updated