ABB_800xA学习笔记195:System_800xA_Control_6.0_AC_800M_Getting_Started_35第五章连接控制器在线6
2023-11-30 18:02阅读:
开始学习第六章
Section 6 View Live Data in Plant
Explorer
第六章 在工厂浏览器看实时数据
This section is intended to introduce you to the Plant
Explorer interface. It is the last and final section
with the example MyDoors. You have learned how to test an
application locally in Control Builder.
Furthermore after configuring an AC 800M
controller with S800 IO units you have
downloaded the application to the controller
and then study how to control the motors online
via I/O. Finally this section will help you
studying how the variable values from MyDoors project appears as
live data from the controller. This is
especially interesting since these values will
illustrating the same variables that otherwise
would be connected to faceplates in an
Operators Workplace.
本章向你介绍工厂浏览器界面。这是
MyDoors例子的最终章。你已经学习了如何在Control
Builder测试应用程序。此外,配置有S800
IO的控制器后,你下载应用到控制器,学习了如何通过IO在线控制电机。最后本章将帮助你学习如何从控制器将MyDoors项目的变量值实时显示。这尤其有趣,因为这些值将说明与操作员工作场所中面板相同的变量。
OPC Server
OPC服务器
Setting up Variable
Communication
设置变量通讯
Normally, before you create a project you should setup
a control network and connect an OPC Server to
communicate between the controller and the Operator's
Workplace. However, because of the project
(MyDoor) that you created previously in Project
Explorer, Control Builder has already made a control network for
you in Plant Explorer. Thus, the only thing
left is configure the OPC Data Source
Definition aspect and then connecting the OPC
Server to the controller before subscribing
live data from the controller.
通常,在你创建项目之前,设置控制网络,连接OPC服务器到控制器和操作员工作区的网络。
This subsection assumes that the OPC Server has already been
installed and that you have the MyDoors project downloaded and
running in a controller. For information on how to configure an OPC
Server, see the System 800xA Getting Started (2PAA111708*)
manual.
本小节假设OPC服务器已经安装,你已经将MyDoors
项目下载,在控制器运行起来。关于如何配置OPC 服务器,见《system 800xA
入门(2PAA111708*)》手册
If the OPC Server has been installed properly and activated,
you should be able to see the OPC Server icon in the
Windows Notification Area.
OPC服务器已经正常安装激活,你能够在windiws 通知区域看见OPC服务器图标。
Connecting the OPC Server to a Controller
连接OPC服务器到控制器
From the Windows Start menu:
从windows开始菜单:
1.
Select ABB Start Menu > ABB Industrial IT 800xA >
Control and IO > OPC Server for AC 800M > OPC Server for AC
800M
选择ABB开始菜单>
ABB Industrial IT 800xA > Control
and IO > OPC Server for AC 800M > OPC Server for AC
800M
2.
In the Data Access tab, enter the controller IP address
and click Connect.
在数据访问选项卡,输入控制器IP地址,点击连接
If your controller is a SoftController, the IP address is the IP
address of your PC, with the suffix ':2'. For example, if the PC
has the IP address 172.16.37.35, the IP address of the
SoftController will be 172.16.37.35:2
如果你的控制器是软控制器,IP地址是你的计算机IP地址,以':2'结束。例如,如果你的计算机有IP地址172.16.37.35,软控制器的IP地址是172.16.37.35:2
To retrieve the computer IP address:
要检索计算机IP地址:
a.
In the Windows Search, type cmd and select Command Prompt
from the list.
在windows查找,输入cmd,从列表选择命令提示行
b.
A DOS window is displayed.
显示DOS窗口
c.
Type ipconfig and press Enter. The IP address is
displayed.
输入ipconfig,按下回车键。显示IP地址。
d.
Write down the IP address and close the DOS window.
记下IP地址关闭DOS窗口
3.
In the Alarm and Event tab, enter the controller IP
address and click Connect. The OPC Server
should be up and running according to Figure 54.
在报警和事件选项卡,输入IP地址,点击连接。OPC服务器将如图54运行。
Figure 54. OPC Server menu
图 54. OPC服务器菜单
Plant Explorer
工厂浏览器
Starting the Plant Explorer
运行工厂浏览器
From the ABB Start Menu select ABB Industrial IT 800xA >
System > Workplace. The ABB Workplace Login window
opens.
从ABB 开始菜单选择ABB Industrial IT 800xA > System >
Workplace。打开ABB工作区登录窗口。
Figure 55. ABB Workplace Login window
图 55. ABB 工作区登录窗口
1. Select Plant Explorer Workplace and click Open. The Plant
Explorer opens.
选择工厂浏览器工作区,点击打开。打开工厂浏览器。
To access the Plant Explorer Workplace from the desktop,
select Plant Explorer Workplace and click Create Desktop Shortcut
(see Figure 55).
为了从桌面访问工厂浏览器工作区,选择工厂浏览器工作区,点击创建桌面快捷方式(见图55)
2. Select Control Structure from the drop-down
menu.
从下来菜单选择控制结构。
Figure 56. Control Structure view. Note that Control Network and
MyDoors project have been added to the Control Structure by Control
Builder.
图 56. 控制结构视图。注意控制网络和MyDoors项目已经被
Control
Builder添加进控制结构。
Configure OPC Server in 800xA System
在800xA系统配置OPC服务器
OPC Server for AC 800M must also be configured in the 800xA
System:
AC 800M的OPC服务器必须在800xA系统同时配置。
1. In the Control Structure, select the
Control Network icon. An aspect list opens.
在控制结构,选择控制网络图标,打开aspect列表
2. In the aspect list, click the OPC Data
Source Definition aspect. The Aspect preview pane
opens.
在aspect列表,点击OPC数据源定义aspect。打开aspect预览面板。
3. Click New. A ‘New Service Group’
window opens.
点击新建,打开'新建服务组'窗口。
4. Click Add. An ‘Add Service Provider’
window opens and lists the PC network names.
点击添加。打开'添加服务提供方'窗口,列出计算机网络名字。
5. Click OK.
点击OK
Subscribing Controller Data
订阅控制器数据
Make sure you are in the Control Structure, see Figure
56.
确认你在控制网络,见图 56
1. Expand MyDoors > Applications > Application_1 >
Diagrams until you see Diagram2.
展开MyDoors > Applications > Application_1
> Diagrams 知道你看见图表2
2. Select the control aspect for
Diagram2. It is the aspect Diagram in the aspect pane. The aspect
preview pane will open.
选择图表2的控制aspect。它是aspect面板的aspect图表。将打开aspect预览面板
Figure 57. Diagram1 and the control aspect Diagram
图 57. 图表1和控制aspect图表
3.
Select the Property View tab in the Aspect preview
pane.
在aspect预览面板选择属性视图选项卡
4.
Check Subscribe for live data. Live controller data is
now presented in the Aspect preview pane, see Figure 58.
点击订阅实时数据。实时控制器数据显示在aspect预览面板中,如图 58.
Figure 58. Aspect preview pane with live controller data.
图 58. 有控制器数据的aspect预览面板
第六章学习完毕