Upload
thao-le
View
204
Download
0
Embed Size (px)
Citation preview
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
TRUY XUẤT B&R PLC/POWERPANEL QUA OPC SERVER
Số tham chiếu: DPTA-DOC014-140314 Phiên bản: rev0 Cập nhật lần cuối: 14/03/2014 1/ Yêu cầu phần mềm
Cho phép các chương trình OPC Client truy xuất ñến các biến bên trong B&R PLC/Powerpanel
Các phần mềm yêu cầu:
� Phần mềm B&R Automation Studio (ñề nghị version 3.0.90.18) � PVI version 3.0.2.3019 (Nâng cấp nếu cần � MobileOPCExplorer(MatrikonOPC OPC Explorer phiên bản chạy không cần cài ñặt)
2/ Các bước thực hiện
Tạo project mới
Trong Tab logic view nhấp chuột phải chọn Add object
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Soạn một ñoạn mã ñơn giản
Khai báo 3 biến a, b, c ñể dùng
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Nhấp chuột phải ñể Add object
Chọn New OPC Tag Declaration
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Chọn và kéo các biến a, b, c vào cửa sổ OPCtest declaration
Trở qua tab Configuration View, nhấp chuột phải chọn Add object
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Chọn và kéo các tag a,b c vào cửa sổ OPC Windows Mapping
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Build project
Nếu build không bị lỗi
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Nhấp Transfer ñể chuyển chương trình bào ARsim
Mở folder chủa OPCtest
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Vào folder Temp
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Copy file OPCtestWinOpcMap.opcs Vào chép vào folder C:\Program Files\BrAutomation\PVI\V3.00.02\Bin
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
ðổi tên thành BR.OPC.Server_OPCtestWinOpcMap.opcs Mở file BR.OPC.Server.ini Sửa ñổi hàng sau thành CfgFile0 = BR.OPC.Server_OPCtestWinOpcMap.opcs
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Chạy MobileOPCExplorer lên
Chọn BR.OPC.Server_3.0_V1.14.13 chọn connect
Vấn ñề này là do chưa có Key
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Chọn Add tags
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Trở lại AS
Chọn Monitor ñể giám sát biến a, b, c
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Duc Phong Technology and Automation Corporation 02 Duy Tan street, Hiep Phu ward, Disctrict 9, Ho Chi Minh city, Vietnam Tel: +84 8 3736 0166 Fax: +84 8 3736 0166 Contact: [email protected] Website: http://www.dpta.com
Lê ðức Thảo Phong kỹ thuật, DPTA Corporation Email: [email protected] 14/03/2014