OPC UA協定
於2006年發表的OPC UA協定,加入SOA
(Service-Oriented Architecture) 物件導向模
型,統一各元件介面,備援機制與安全性等特
性與跨平台能力,透過OPC UA 可相容於傳統
OPC 以及其它既有之工業用通訊協定,其架構
圖,如圖。

OPC UA client 架構
使用OPC UA Client API來收送Application
層的Service requests 與responses,經由
Communication Stack層之訊息資料轉換,再對
外與OPC UA Server溝通,如圖。

OPC UA Client
OPC UA server 架構
OPC UA Server 主要面對PLC等實體介
面,並收送來自OPC UA Client 的Request/
Response,另外有subscribe/notification 機制,
如圖5[3] , OPC UA Server 內部使用
AddressSpace Node代表實際的物件,OPC UA
Server Application使用OPC UA Server API來收
送來自OPC UA Client 的Messages , 並處理
subscribe/notification機制,如圖。


工具機OPC UA協定架構
使用OPC UA協定傳輸工具機資料至後台
圖中間最下面那個OPC UA Server呈現其內部架構,最底層是作業系統,在此實作例子是使用微軟視窗作業系統,在作業系統上執行了三個程式, 最左邊的VMX是工研院工具機中心所開發的程式,其作用是取得工具機的資料,然後儲存到中間的SQL Server,SQL Server 是微軟的資料庫,最後由右邊的VMX OPC UA Server程式的DB Proxy模組讀取SQL Server中的資料,最後傳送給OPC UA Client。
