
The Function Block MEM is a simple memory function.
This Function Block can be used to store simple data in the application.
The database stores the data in the background. If the name is changed later in the program, data may be lost.
Defines the data that should be stored. The format does not matter.
On a positive edge, the value at input IN is copied to memory and output at output Q.
On a positive edge, the memory is reset. At output Q, the value NULL is present again.
Returns the database memory. During initialization, this value is NULL.