ABB_800xA学习笔记250:System_800xA_Control_6.0_AC_800M_Configuration40
(2023-12-13 18:20:23)
标签:
abbsystem_800xa_ac800m配置手册功能和组件 |
分类: ABBDCS |
继续学习配置手册第一章功能和组件,进入第106页。
Source and Sink for Communication
Variables
通讯变量源和接收器
The term ‘source’ is used for the POU
that declares a communication output variable. The term ‘sink’ is used for the POU
that declares a communication
input variable.
术语“源”用于为程序组织单元POU声明通讯输出变量。术语“输出”用于为程序组织单元声明通讯输入变量。
If a sink is located in one
application, a source can be located in any of
the following:
如果接收器位于一个应用程序中,则源可以位于任何以后:
- In the same application as the
sink.
作为接收器在同一应用程序 - In another application but in
the same controller as the sink.
作为接收器在同一控制器上另一个应用程序中 - In another application and in another controller 在另一个控制器的另一个应用程序中
Multiple sinks can be linked to the
same source.
多个接收器可以连接到同一个源
For example, for every communication
output variable with a unique name,
there can be
multiple communication input variables with the same name as
the communication output variable. The
communication input variables can reside in
a different
POU, in a different application, or in a different
controller.
比如,对每一个有独特名字的输出变量,可以有多个和通讯输出变量相同名字的通讯输入变量。通信输入变量可以驻留在不同的
POU、不同的应用程序或不同的控制器中。
There
is no need to declare the location of the source (communication
output variable)
while configuring the sink (communication input variable). This is
because the
binding between them is based on the name of the communication
variable.
无需声明源的位置(通信输出变量),同时配置接收器(通信输入变量)。这是因为它们之间的绑定基于通信变量的名称。
The
Control Builder checks whether the name of a communication output
variable is unique
in the 800xA System, only during the download of the application.
The download is aborted if the variable name is not
unique.
Control Builder 仅在下载应用程序期间检查通信输出变量的名称在 800xA
系统中是否唯一。如果变量名称不唯一,则下载将中止。
Unresolved Communication
Variable
未解析的通信变量
A
communication input variable is unresolved if there is no
communication output variable (source) with the same name, during
compilation.
如果在编译期间没有同名的通信输出变量(源),则无法解析通信输入变量。
The Control Builder allows the
execution of an application that contains unresolved communication
variable. When a re-configuration of the system is done (for
example, at a warm restart), the source can be created and the
unresolved communication variable becomes resolved.
Control
Builder 允许执行包含未解析通信变量的应用程序。当系统重新配置完成时(例如,在热重启时),可以创建源并解析未解析的通信变量。
A resolved communication variable
does not become unresolved if the source
is removed. It
gets unresolved the next time, when that particular application
is reconfigured.
如果删除源,已解析的通信变量不会变得未解析。下次重新配置该特定应用程序时,它无法解决。
Bidirectional Communication
Variable
双向通讯变量
Bidirectional communication variables
have communication in both directions
and can be
configured for one-to-one connections only. These variables can be
created for
structured data types only.
双向通信变量具有双向通信,并且只能配置为一对一连接。这些变量只能为结构化数据类型创建。
The
configuration parameters that are used for the in variables can
also be specified for the out variables, if bidirectional. This
allows the configuration of a communication variable with a different
communication setup in either
directions (for example, different interval
times).
如果是双向的,也可以为 out 变量指定用于 in
变量的配置参数。这允许在任一方向(例如,不同的间隔时间)上配置具有不同通信设置的通信变量。
Reverse attribute
反向属性
For bidirectional communication using
structured data types, a reverse
attribute must be
set to indicate which components communicate in the opposite
direction to the in/out declaration of the communication
variable.
如果是双向的,也可以为 out 变量指定用于 in
变量的配置参数。这允许在任一方向(例如,不同的间隔时间)上配置具有不同通信设置的通信变量。
The
reverse attribute is configured in the data type
editor.
reverse 属性在数据类型编辑器中配置。
The
reverse attribute can only be set such that all in variables are
located consecutively and also all out variables are
located consecutively in
memory. Hence, it is not possible to configure reverse
for every other component in a
data type.
只能设置
reverse 属性,以便所有 in 变量连续定位,并且所有 out
变量都连续位于内存中。因此,不可能为数据类型中的所有其他组件配置反向配置。
The
reverse attribute can be set in both top level and sublevel of a
structured data type, but cannot be
nested.
反向属性可以在结构化数据类型的顶层和子层中设置,但不能嵌套。
This
means, the reverse attribute cannot be set for a structured data
type component Struct2 inside a structured data type Struct1.
But, Struct2 can have reverse components inside it.
这意味着,不能在结构化数据类型 Struct1 中为结构化数据类型组件 Struct2 设置
reverse 属性。但是,Struct2 内部可以有反向组件。
For
example, for a ControlConnection data type, which consists of one
forward structure
and one backward structure, the reverse attribute is set on the
whole backward structure. All components in the
backward structure inherits the
reverse attribute automatically.
例如,对于由一个前向结构和一个后向结构组成的 ControlConnection
数据类型,反向属性是在整个向后结构上设置的。后向结构中的所有组件都会自动继承 reverse 属性。
Interval Time
间隔时间
Out
of the five different cyclic categories (VerySlow, Slow, Normal,
Fast, VeryFast), the default interval time for a communication
variable is Normal.
在五个不同的循环类别(VerySlow、Slow、Normal、Fast、VeryFast)中,通信变量的默认间隔时间为
Normal
The
interval time for a communication variable can be changed only when
the Control
Builder is offline. The changes takes effect during the
download.
仅当 Control Builder处于脱机状态时,才能更改通信变量的间隔时间。更改将在下载期间生效。
The
time interval (in milliseconds) for each cyclic category is defined
using the hardware
editor for IAC MMS. The IAC MMS object is available at position
0.5.1 under
the controller object. Position 5 contains the IP
object.
每个循环类别的时间间隔(以毫秒为单位)是使用 IAC MMS 的硬件编辑器定义的。IAC
MMS 对象位于控制器对象下的位置 0.5.1。位置 5 包含 IP 对象。
Hardware Simulation with Communication
Variables
使用通信变量进行硬件仿真
It is
possible to use hardware simulation for IAC, except when the client
is a real (non-simulated) HI
controller.
可以将硬件模拟用于 IAC,除非客户端是真实(非模拟)HI 控制器。
A HI
controller, which is a non-simulated IAC client, only accepts data
from a non-simulated server and that is not a soft
controller. If a server is found to
be simulated, ISP is set for the communication
variable. In a PA controller, which is an IAC client, the
data from a simulated server is
copied in
to the application, but the status of the communication variable
shows that the server is simulated.
HI
控制器是非模拟的 IAC 客户端,它只接受来自非模拟服务器的数据,而不是软控制器。如果发现服务器是模拟的,则为通信变量设置 ISP。在
PA 控制器(即 IAC
客户端)中,来自模拟服务器的数据被复制到应用程序中,但通信变量的状态显示服务器是模拟的。
When
using hardware simulation, the communication variables use
real communication
and real copying of input variables. This is also the case
when downloading a simulated AC 800M to a Soft
Controller.
使用硬件仿真时,通信变量使用真实通信和输入变量的真实复制。将模拟 AC 800M
下载到软控制器时也是如此。
Application Download
应用程序下载
The
communication variable configuration is downloaded when the
application is downloaded to the controller. It is possible to
download an unresolved In (or bidirectional) communication variable, even
though the communication will
not happen.
To resolve an unresolved communication variable that already exists
in a controller, the new configuration with the Out
variable must be downloaded.
当应用程序下载到控制器时,将下载通信变量配置。可以下载未解析的
输入(或双向)通信变量,即使通信不会发生。要解析控制器中已存在的未解析通信变量,必须下载带有 Out
变量的新配置。
When
an out variable is removed, only in variables that are defined in
applications which
are downloaded, shows communication variables as unresolved.
Other communication variables (in other applications)
will timeout.
删除
out
变量时,仅在应用程序定义的一下载的变量中,将通信变量显示为未解析。其他通信变量(在其他应用程序中)将超时。
To
support multi user engineering, all the affected controllers are
reserved during last step of the communication variable
analysis, until the configuration
is downloaded.
要支持多用户工程,在通信变量分析的最后一步中,所有受影响的控制器都将保留,直到下载配置为止。

加载中…