Function Block MEM

The Function Block MEM is a simple memory function.

This Function Block can be used to store simple data in the application.

Database

The database stores the data in the background. If the name is changed later in the program, data may be lost.

Input IN

Defines the data that should be stored. The format does not matter.

Input SAVE

On a positive edge, the value at input IN is copied to memory and output at output Q.

Input RESET

On a positive edge, the memory is reset. At output Q, the value NULL is present again.

Output Q

Returns the database memory. During initialization, this value is NULL.