Logic Blocks; Sav_Tr Save Fb For Nov_Ram - Siemens FM 458-1 DP Manual

Function blocks
Hide thumbs Also See for FM 458-1 DP:
Table of Contents

Advertisement

3

Logic blocks

3.1

SAV_TR Save FB for NOV_RAM

Symbol
input variable ― R
mode of operation ― BO
Brief description
Mode of operation
Write operating
mode (M = 1)
Read operating
mode (M = 0)
INIT Operating
mode
I/O
X
Input quantity
M
Operating mode
Y
Output quantity
QF
No free memory
Function Blocks - FM 458-1 DP
Edition 03.2003
SAV_TR
X
M
A REAL type quantity is saved in the NOV-RAM of a technology module.
The function block is a read/write memory for a REAL value. It is only
active, if a 0 at output QF indicates that the memory space in the
NOVRAM is available. The function block operating mode is selected at
input M:
• The quantity to be saved is entered at input X. It is transferred to
output Y.
• Further, input quantity X is entered in the NOV-RAM of the module. In
this case, a value, already contained in the NOV-RAM is overwritten.
• The last input quantity, saved in the write operating mode, is output
at Y.
• The NOV-RAM is deleted from the operating system each time the
configured software changes (even when the system is configured for
the first time), i.e. zeros are written into it. If the NOV-RAM is then
read, without having previously written a value into the NOV RAM,
then the initialization value of the NOV RAM (zero) is output at Y.
In the INIT operating mode of the function block, memory is made
available to accept a REAL value. Output QF is set to 1 if this is not (no
longer) possible. The function block is then inactive in the RUN operating
mode.
Y
R ― output variable
QF
BO ― no available memory
(default: 0.0)
(default: 0)
(default: 0.0)
(default: 0)
3-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents