继续学习配置手册第一章功能和组件,进入第84页。
Variables
变量
Table 5 lists available variables in
Control Builder.
表 5列出 Control Builder中的可用变量
Table 5. Variable types in Control
Builder
表 5. 在 Control Builder中可用的变量类型
Variable type
变量类型 |
Scope
范围 |
Where to declare
在哪儿声明 |
Local variable
本地变量 |
Object level. Can only
be accessed within
the function block, control
module, diagram,
or program in which it is
declared.
对象级别,只能在其声明的功能块、控制模块、
图表或者程序内访问 |
Application editor (for passing
parameters between control
modules) or, Programs
editor
(for access in the
program).
Function block editor (for
access inside the function
block).
Control module editor (for
access inside the control
module).
Diagram editor (for access
inside the diagrams)
应用程序编辑器(传递控制模块
之间参数)、程序编辑器(在
程序内部访问)。
功能块编辑器(在功能块内部
访问)
控制模块编辑器(在控制模块
内部访问)
图标编辑器(在图表内部访问) |
Global variable
全局变量 |
Application
level. Can be accessed
from anywhere in the code within
an
application, except
from diagrams.
An object that intends to use a
global
variable must declare
an external
variable locally that will point
at the
corresponding global
variable.
应用程序级别。可以在应用程序内部任何地方
访问,除了图表。打算使用全局变量的对象
必须在本地声明一个外部变量,该变量指向
全局变量。 |
In the application editor. See
also Communication in an
Application Using Global
Variables on page 100.
在应用程序编辑器。见第100
页上在应用程序中使用全局
变量通讯 |
Access variable
访问变量 |
Network
level. Variable that can
be
accessed by remote systems
for communication between
controllers.
See also Access Variables
on page 97.
and Communication between
Applications Using Access
Variables on page 99.
网络级别。可以从远程系统访问,
作为控制器之间通讯。见第97页上访问变量。
和第99页上应用程序之间通过访问变量通讯。 |
Access Variable editor of
a controller.
从控制器变量编辑器访问 |
Communication
Variable
通讯变量 |
Network Level. Variable
that can
be accessed by remote systems
for
communication between
applications and controllers.
See
Communication Variables on Page 101.
网络级别。 作为应用程序和控制器之间通讯。
见第101页上通讯变量。 |
Editor for top level Diagram,
Program, or top level Single
Control Module.
顶层图表、程序或者顶层单控制
模块 |
加载中,请稍候......