Parameter Save And Restore; Remanent Variables - Emerson MCi210 User Manual

Table of Contents

Advertisement

Table 5-2 Module's menu 0 and custom menu locations on the drive
Slot number
1
2
3
5.3

Parameter save and restore

Any user-save parameters in the option module's internal menus are stored in non-volatile memory
on the module and not in the drive. Therefore, if the module is moved to a different slot or to a
different drive then any saved parameter values will follow the module. If a module is to be
replaced, ensure that the parameter values for the module have been backed up before replacing
it.
5.4

Remanent variables

The module supports both Retain and Persistent variables. Both of these types of variable allow
values to be retained after a power-cycle or module reset, however there is a difference between
Retain and Persistent variables.
The following table indicates the behaviour of all variable types:
Command
Reset warm
Reset cold
Reset origin
Online change
Reboot module
Key:
X = Value is maintained
- = Value is initialized
RETAIN variables are declared in MC Studio as shown below:
VAR RETAIN
iRem1 : INT; (* 1. Retain variable*)
END_VAR
PERSISTENT variables are declared in MC Studio as shown below:
VAR_GLOBAL PERSISTENT RETAIN
iVarPers1 : DINT; (* 1. Persistent+Retain Variable App1 *)
bVarPers : BOOL;
END_VAR
14
Module's Menu 0 location
15
16
17
VAR
-
-
-
X
-
(* 2. Persistent+Retain Variable App1 *)
Custom / Application
menu location
25
26
27
VAR RETAIN
X
-
-
X
X
VAR PERSISTENT
VAR RETAIN PERSISTENT
VAR PERSISTENT RETAIN
X
X
-
X
X
MCi210 User Guide
Issue Number: 2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents