PLCopen OPC UAワーキング
www.PLCopen-japan.jp
Agenda
TC4の活動
なぜOPC UAと接続するか
今まで本部で実施してきたことのご紹介
今後の本部での活動計画
日本支部の活動計画
TC4の活動
概要
www.PLCopen-japan.jp
PLCopen 本部の組織:委員会構成
TECHNICAL (技術委員会)
PROMOTIONAL(普及委員会)
PLCopen
Stand ar diza tion in I nd ust rial C ont rol pr og ra mmi ng
TC1
TC2
TC3
TC4
TC5
PC1
PC2
PC3
PC5
General Meeting
XML
Japan
FB
TC6
PC4
モーション用FBの標準化
PLCプログラムのXML化
規格適合の認証(準備中)他
OPC UA
OPC UAジョイントWG
TC4の活動
なぜOPC UAと接続するか
OPC UA s Story
www.PLCopen-japan.jp
オープン化技術で
オープン化技術で
実現する
実現する
ものづくりシステム
ものづくりシステム
現場管理層
(製造管理システム)
実行・制御層
(生産現場システム)
計画層
(経営計画
システム)
リアルタイム層
生産現場と情報系が連携
段取り替え
レイアウト替え
品質管理
設備稼働管理
仕がかり品・中間在庫削減
生産プロセスの組み替え
経営と連携した見える化
見える化
視える化
診える化
看える化
観える化
レシピの入れ替え管理
制御の入れ替え管理
文書連携
モデル、シミュレーションの活用
Custom Integration
Technology Platform
Technology Platform
Technology Platform
OPC Unified Architectureの必要性
PAM LIMS CPM/Automation Data TMS WMS Equipment
Operations Apps
Platform
PDM P&IDs Models Equipment Specs DrawingsDesign & Eng. Apps
Platform
Enterprise Apps Platform
CRM SCM FIN ERP EAM Content Standards Standards Standards Standards Standards Partners Customers
www.PLCopen-japan.jp
Industry-Standard
interoperability, Productivity & Collaboration
Batch
Batch
OPC Unified Architecture
OPC Unified Architecture
Manufacturing, Production and Maintenance
Manufacturing, Production and Maintenance
OP
C
OP
C
Adv.
Adv.
Control
Control
OP
C
OP
C
HMI
HMI
SCADA
SCADA
PC
PC
-
-
Based Control
Based Control
MES
MES
OPC
OPC
OPC
OPC
Industrial Networks
Industrial Networks
Data
Acquisition
Data
Acquisition
PLC
DCS
PLC
DCS
??...??
??...??
Corporate Enterprise
Corporate Enterprise
OPC Unified Architecture
図1 OPC UAに求められていること
OPC
広く採用
OPC
共通インターフェース
として使用
分散システム間
通信
Security
Access control
Internet
Firewalls
Robustness
Fault tolerant
Platform
independent
Redundancy
Performance
スケーラビリティ
MES
ERP
Embedded
devices
SCADA
データ
モデル
Common
model for all
OPC data
Complex
data
Method
calls
Meta information
Base for other
standard data
models
Type system
www.PLCopen-japan.jp
なぜOPC UAと接続するか
情報モデルの概念
サービスの概念
スタックの概念
セキュリティの概念
バリデーションの概念
データを情報化
オブジェクト対応
通信対応
情報系ネットワーク/インターネット
制御システムを護る。情報を護る。
妥当性の証明を要求される市場
図2 OPC-UA仕様
アクセスタイプ仕様パート
コア仕様パート
Part2 ‒ Security Model
Part3 ‒ Address Space Model
Part4 ‒ Service
Part5 ‒ Information Model
Part6 ‒ Service Mappings
Part7 ‒ Profiles
Part8 ‒ Data Access
Part9 ‒ Alarms and Conditions
Part10 ‒ Programs
Part11 ‒ Historical Access
情報モデル
情報モデル
サービス
サービス
スタック
スタック
SDK
Part1 ‒ Concepts
セキュリティ
セキュリティ
www.PLCopen-japan.jp
図3 インターフェース・レイヤの構成
全ての必要なサービス
OPC 情報モデル
OPC UA Base Services
Vendor Information Model
DA
A&C
HA
Progs
Information Model Specifications
IEC, ISA, MIMOSA …
UAベースで書かれているクライアントは
すべてのデータにアクセスできる!
情報モデルのアドレス空間
ノード
アトリビュート リファレンスノード
アトリビュート リファレンスオブジェクト
変数 メソッド ______() ______() ______() リファレンス 変化通知 読み書き 実行 イベント通知アドレス空間の概念
図4 コミュニケーション・レイヤ
Abstract UA Model
Specification
WSDL / SOAP
or TCP / Binary
Services Binding
Proxy /
Stubs
ツール
または
言語依存
(e.g. .NET)
API
スケーラブルプラットフォーム非依存
メッセージモデル
.NET (WCF) Version
Portable C/C++ Version
Java Version
ビジネスモデル,
プラットフォーム非依存
メッセージモデル
(e.g. WSDL)
www.PLCopen-japan.jp
図6 UAオブジェクト・モデル
OPC UA オブジェクト
変数
___
___
___
メソッド
___()
___()
___()
イベント
OPC DA and HDA
OPC A&E
OPC
Commands
Reference
Reference
Object Instance
変数
___
___
___
メソッド
___()
___()
___()
イベント
他のノード 特徴 特徴 構成要素 構成要素 サービス サービス 現実・仮想世 界 オブジェクト (ノード) リファレンス 変数 ___ ___ ___ メソッド ___() ___() ___() イベントOPC Commands
OPC DA and HDA
OPC A&E
www.PLCopen-japan.jp
図6-1 UAモデリング事例 −
ボイラ制御事例
データの関係
FT1001.Data Item ⇒ FC1001.Measurement
構成要素の関係
Pipe1001 ⇒ Drum1001 ⇒ Pipe1002
↓計装図
↓アドレス・スペースの表記
↓ブロック図
図6-2 UAモデル化事例
現
実
の
シ
ステ
ム
UAア
ドレ
ス
スペ
ー
ス
モデル化
www.PLCopen-japan.jp
今まで本部で実施してきたことのご紹介
概要
IEC 61131-3
Standardizes programming languages for industrial
automation
産業オートメーションのためにプログラミング言語を標準化
Describes the Common Elements and Programming
Languages
共通の要素について説明して、言語をプログラムする
www.PLCopen-japan.jp
IEC 61131-3 Code
Use cases for OPC UA mapping
Observation
•
Reading and monitoring of online data from PLC program
•
Type information for rapid engineering
•
Data from function blocks and program variables
Operation
•
Includes Observation
•
Writing data from function blocks and program variables
Engineering
•
Includes Observation
•
Modification of programs and configurations
•
Download of programs and configurations
Service
•
Includes Engineering
www.PLCopen-japan.jp
Scope joined working group
Types
CtrlFun cti on BlockTyp e
HasSubt ype
C TU_INT
HasI nputVars HasOutputVars
PV DataType = I nt 16 Value = 0 CV DataType = I nt 16 Value = 0 Q
Dat aType = Bool ean Value = FALSE
CU
Dat aType = Boolean Val ue = FALS E
R
Dat aType = Boolean Val ue = FALS E
PVm ax
DataType = Int16 V alue = 32767 HasLocalV ars
► Joined working group PLCopen and OPC Foundation
► Main scope for V1.0 is mapping of IEC 61131-3 to OPC UA
■ Focus on content of IEC 61131-3 specification
■ IEC 61131-3 software model Æ UA object types
■ IEC 61131-3 data types Æ UA data types
■ IEC 61131-3 variable qualifiers Æ UA properties
► UA properties and attributes Æ PLCopen XML export
■ OPC UA base concepts like Access Level not covered by IEC 61131-3
System Architecture PLCopen
Gateway / SCADA
OPC UA Client
Controller
Vendor
Specific
Controller
OPC UA
Server
Controller
OPC UA
Server
HMI
OPC UA
Client
► Enterprise systems
► Plant engineering
► Asset management
► PC bases Systems
■ PLC Programming
Tools – access to
configuration
■ SCADA
► Embedded Devices
■ Access to FB and
Variables
■ RTOS
EthernetOPC UA Server
Controller ProgrammingMES System
OPC UA Client
Controller ConfigurationOPC UA Server
Plant Engineering
OPC UA Client
Ethernet Vendor Specific UA ClientDI
PLCope nFD
I
www.PLCopen-japan.jp
Status Companion Specification
Started in December 2008
Meetings
•
Three Face to Face meetings
•
Eight phone conferences / web meetings
Specification
•
Information model stable after release of DI (Device Integration)
•
Release candidate finished
•
Review process started in both organizations (PLCopen / OPC)
•
Release planned for March 2010
Implementation / Adoption
•
Evaluation implementations are started
Adoption
Demo at SPS/IPC/Drives show November 2009
•
HMI / SCADA as OPC UA client
•
Allmendinger – OPC UA Client Channel for SIMATIC WinCC
•
Certec – atvise
•
ICONICS – Genesis 64
•
INOSOFT – VisiW inNET
•
OPC UA servers
•
Beckhoff – Embedded into controller
•
ifak – PC based
•
KW Software / Phoenix Contact – Embedded into controller
•
logi.cals / HIMA – Embedded into controller
•
Unified Automation – Offline server loading address space from XML export
Plug fest for demo preparation October 2009
•
Six Servers / five for embedded use
•
3S/Codesys, Beckhoff, Bosch Rexroth, ifak, KW Software, logi.cals
www.PLCopen-japan.jp
今後の本部での活動計画
Scope joined working group
► Scope for additional standardization PLCopen and OPC
■ Focus on additional features
■ Mapping of Sequential Function Charts (SFC)
■ Standard UA communication function blocks for PLC to PLC communication
■ Standard function blocks for Alarm handling and mapping to
OPC UA Alarms and Conditions
■ Best practice guidelines for OPC UA concepts like Methods, Events,
Historical Access and Programs
www.PLCopen-japan.jp