ABB AC 900F学习笔记105:Freelance_Engineering_Process_Stations-11
继续学习,3.10 AC 900F用户变量存储
3.10 Permanent storage of user variables on AC 900F
AC 900F用户变量永久存储
In a Freelance controller all user data (e.g. IEC1131 global variables) is stored together with the configuration in battery buffered RAM. This memory gets initialized on configuration replacement (“Load whole station”), at cold start, firmware update or on power down with empty or removed battery.
在Freelan控制器中,所有的用户数据(例如IEC1131全局变量)与配置一起存储在电池缓冲随机存储器中。此内存在配置更换(加载整个站)、冷启动、固件更新,或者无电池和取掉电池时断电情况下初始化。
For certain applications it is desirable that values can be stored permanently. With the function “Non-volatile Data Storage” 24 REAL variables, 24 DINT variables and 6 DWORD variables can be stored permanently.
对某些程序功能来讲,值永久存储是合乎心意的。伴随“非易失性存储数据存储”功能,24个实数变量,24个双整形变量和6个双字变量可以永久存储。
![]() |
The non-volatile data storage (NVDATA) feature is only available for AC 900F
controllers.
非易失性数据存储功能仅在AC 900F控制器上可用。
|
The current values of the variables configured for permanent storage are written cyclically into the permanent memory. The cycle time is configurable in the range of 3min to 20min. In addition, these variables are also written to permanent memory during a scheduled cold start of the controller. For example, when loading (whole station), cold start via the display menu or during cold start by means of a function block (FCS). Updating the permanent memory is not possible during hardware controlled restarts (e.g. pressing reset button >4s). However, the last actual values
are still available when the controller performs a warm start.
为永久存储配置的变量的当前值被循环地写入永久内存。循环时间可配置在3分钟到20分钟之间。此外,在控制器的预定冷启动期间,这些变量也被写入永久内存。例如,当加载整个站,通过显示菜单冷启动,或者通过功能块冷启动期间。在硬件控制的重启期间不可能更新永久内存(例如按复位按钮>4s)。但是,当控制器执行热启动时,最后的实际值仍然可用。
3.10.1 Inserting non-volatile storage function block NVDATA
插入非易失性数据存储块NVDATA
![]() |
> Select AC 900F controller object in the tree view (Hardware structure)
> 在树形视图(硬件结构)选择AC 900F控制器对象
> Edit > Insert > select NVDTA > OK
> 编辑 > 插入 > 选择NVDATA > OK
or
或者
> Select AC 900F controller object in the tree view (Hardware structure)
> 在树形视图(硬件结构)选择AC 900F控制器对象
> right mouse click > Insert > select NVDATA > OK
> 鼠标右键 > 插入 > 选择NVDATA > OK
|
After inserting, the object appears in the tree view.
插入后,对象显示在树形视图
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829192232988-595863100.png)
3.10.2 Configuration of Non-Volatile Data Storage (NVDATA)
非易失性数据存储配置
The NVDATA function parameters can be called up for display via the parameter setting masks. The current values can also be read in commissioning mode.
非易失性数据存储功能参数可以通过参数设置蒙板调用显示。当前值可以在调试模式读取。
![]() |
Select the NVDATA object in the tree view > Right-click > Select Parameters...
在树形视图选择NVDATA对象 > 右键 > 选择参数
or
或者
> Double-click the NVDATA object in the hardware structure
> 双击硬件结构上的NVDATA对象
|
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829192710571-513861346.png)
General data
通用数据
|
|
Name
名字
|
Name of the NVDATA object. The name is taken over from the tree
structure and can be edited.
NVDATA对象的名字。名字来自于树形结构,可以编辑
|
Short text
短注释
|
Free text of up to 12 characters
最多12个任意字符的文本
|
Long text
长文本
|
Free text of up to 30 characters
最多30个任意字符的文本
|
Setting
组态
|
|
Identifier
标识符
|
To avoid using data from another application (for example, in the
case of a controller replacement), a user-configurable name is
provided as an identifier. If the configured name does not match the
identifier present in the controller at startup, the memory contents
are reset to the configured initial values. The minimum length of the
name is 5 characters.
为了避免使用来自另外一个应用的数据(比如,更换控制器的情况),
提供一个用户可配置的名称作为标识符。如果配置的名称与启动时控制器中
出现的标识符不匹配,则内存内容被重置为配置的初始值。名称最小长度为
5个字符。
|
write 写周期 |
Cycle time in which the data is written (3 - 20 min)
数据写入的周期时间(3-20分钟)
|
![]() |
Due to the technically limited lifetime of the permanent memory, the cycle time
should be set as high as possible. With a write cycle of 10 min (default value), a
life time of min. 35 years can be expected.
由于永久存储在技术上的限制,循环时间应该设置的尽可能的高。写周期默认为10分钟,
寿命可达35年。
|
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829195405699-1653552864.png)
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829195533261-979670497.png)
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829195604693-78750429.png)
Real Values, Integer Values, DWord Values
实数值,整数值,双字值
Initial data Real_1 - Real_24
初始化实数1-实数24
Initial data Int_1 - Int_24
初始化整数1-整数24
Initial data DWord_1 - DWord_6
初始化双字1-双字6
The user can configure an initial value for each of these variables. These initial values are written to permanent memory when valid data is not available in the controller or in case of a
manual reset.
用户可以为这些变量配置初始化值。当控制器中没有有效数据或在手动复位的情况下,这些初始值被写入永久内存。
![]() |
The I/O Editor can be used to assign variable names to the NVDATA variables of
the project (variable list). This makes it possible to write and read the values via
variable names in the same way as with standard I/O.
可以使用I/O编辑器为的NVDATA变量指定变量名项目(变量列表).这使得通过变量名写入
和读取值成为可能,就像使用标准I/O一样。
|
Commissioning
调试
因为我没有连实际PLC,所以不能显示中文版的截图
Settings
设置
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829211809435-545617772.png)
Reset to initial values
重置为初始值
By clicking the button Write, all Real, Integer and DWord variables are reset to the configured initial values. (The button Correct has no function here)
通过点击此按钮,所有的实数、整数和双字变量写入初始值。(此处正确按钮没有功能)
Write to CSV file
写入CSV文件
Writes the current variables to a CSV file.将当前值写入csv文件。
The wear level of the permanent memory is displayed in the parameter screen. If one of the values reaches 100%, a replacement of the controller should be considered.
永久内存的磨损程度将在参数界面显示。如果其中一个值达到100%,则应考虑更换控制器。
On redundant systems, the wear level is displayed for the primary controller only。
在冗余系统中,只显示主控制器的磨损程度。
Real values, Integer values, DWord values - current values
实数值,整数值,双字值-当前值
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829212655246-1118696462.png)
Current values
当前值
|
When the parameter setting mask is called in commissioning mode,
the current values are displayed. If these differ from the initial
values, these are highlighted in yellow.
调试模式调出参数设置蒙板,当前值显示出来。如果不同于初始值,会黄色高亮显示。
|
Config. values
设置值
|
The initial values are displayed.
初始值显示
|
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829213035670-1273104673.png)
Write
写值
|
Changes the currently edited variables, but not the initial values.
改变当前编辑变量,但不是初始值。
|
Correct
正确
|
Changes the currently edited variables and the initial values in the
controller and in the project database.
改变控制器和项目数据库中当前编辑变量和初始值。
|
![]() |
The current values can be copied to the initial values using the load parameter
function and transferred to the project database. See also Engineering Manual
System Configuration, Uploading the Current Block Parameters.
使用导入参数功能可以将当前值拷贝到初始值,并传输到项目数据库。
详见工程手册系统配置,更新当前参数块。
|
3.10.3 Functional overview
功能概述
![](https://img2020.cnblogs.com/blog/2292137/202108/2292137-20210829213838015-1627222219.png)