Industrial Communication toolbox を使用してもOPC UAサーバーからExtensionObject(振動データ)は取得できないのでしょうか。
Show older comments
'BakerHuges'の'System1'を使いOPC UAサーバーを構築し、各種センサーから振動データを取得しています。
クライアントとしてUA_Expertを使用すると、例えば振動データの格納されているあるnodeのデータから'Float Array[3200]'として振動データを取得できるのですが、同じnodeからreadValueでデータを取得すると、以下のようになります。
>> [val,ts,qual] = readValue(uaClient,targetNodes{1})
Warning: Unsupported OPC UA server data type ID: 0. For a list of supported data types, see OPC UA Server Data Types.
val =
[]
ts =
datetime
2025/03/13 11:02:14
qual =
OPC UA Quality ID:
Good
同様にして軸受温度や加速度実効値(Accl O/All)などのデータは取得できています。
軸受温度:[val,ts,qual] = 38.875, '2025/03/12 18:27:03', 0
Accl O/All(加速度実効値):[val,ts,qual] = 2.00563263893127, '2025/03/12 17:37:20', 0
MATLAB-Industrial Communication toolboxからは振動データは読み出しできないのでしょうか。
それとも、何か方法があるのでしょうか。
ご教示いただけたら幸甚に存じます。
2025/7/3追記
OPC UAのデータのうち、振動データは"ExtensionObject"という形式で出力されており、どうやら現状では
Industrial Communication toolboxでは読み出しできないようです。
pythonや他のやり方でExtensionObjectを読み出してMATLABにデータを移行することはできないのでしょうか。
ご教示いただけたら幸甚に存じます。
Answers (0)
Categories
Find more on Industrial Communication Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!