Hi,
I couldn’t get history access with kepware UA working. I have same impression
that it is just not supported (yet, I hope). I switched to use unified automation
UaAnsiCServer demo for my testing, it seems to work well.
Ari S.
From: Kevin Herron [mailto:kevinherron@xxxxxxxxx]
Sent: 6. huhtikuuta 2017 17:43
To: george.ray <george.ray@xxxxxxxxxx>
Cc: milo developer discussions <milo-dev@xxxxxxxxxxx>; Ari Suutari <Ari.Suutari@xxxxxxxxxxxxxxx>
Subject: Re: [milo-dev] 回复: Does client/server SDK of Eclipse Milo support
Security/AE/HDA function
I may be wrong about this, but I don't think Kepware supports UA historical access. I think their historian only supports OPC Classic/DCOM history. You may want to check with them.
On Thu, Apr 6, 2017 at 7:41 AM, george.ray <george.ray@xxxxxxxxxx> wrote:
I am a new comer of OPC and KEP Server.
About OPC HDA function, have encountered a new problem: "The server does not support the requested service". (Access OPC UA URL: opc.tcp://192.168.0.4:49320).
Does KEP Server use a different URL or port for HDA? In KEP Server (V6.0.2107.0), the HDA function is enabled, how to access HDA server?
In KEPServerEX Settings, find Local Historian default port: 57012, but the LISTENING address in windows is
127.0.0.1:57012. The IP is local, Can't be connected by another PC.
Does anyone know the config and access method for HDA?
------------------------------------------------------------------
发送时间:2017年4月6日(星期四)
13:21
主 题:RE: [milo-dev]
回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA function
Hi,
I think that you need to use suitable derived HistoryReadDetails class, for example
ReadRawModifiedDetails. I have something like this In my (working code):
HistoryReadDetails hrd = new ReadRawModifiedDetails(false, begin, end, uint(0), false);
CompletableFuture<HistoryReadResponse> resp = client.historyRead(hrd, TimestampsToReturn.Server, false, readIds);
Ari S.
From:
milo-dev-bounces@xxxxxxxxxxx [mailto:milo-dev-bounces@xxxxxxxxxxx]On Behalf Of
george.ray
Sent: 6. huhtikuuta 2017 6:40
To: milo developer discussions <milo-dev@xxxxxxxxxxx>; Kevin Herron <kevinherron@xxxxxxxxx>
Subject: [milo-dev] 回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA
function
About HDA question, tesing code:
List<NodeId> nodeIds = ImmutableList.of(new NodeId(2, "ChannelTest.DeviceTest.Tag190")); List<HistoryReadValueId> nodesToRead = new ArrayList<HistoryReadValueId>(); HistoryReadValueId valueId = new HistoryReadValueId(nodeIds.get(0), null, null, null); nodesToRead.add(valueId); CompletableFuture<HistoryReadResponse> historyResp = client.historyRead(new HistoryReadDetails(), TimestampsToReturn.Both, true, nodesToRead);
But can't read history data.
------------------------------------------------------------------
发送时间:2017年4月6日(星期四)
11:09
主 题:回复:[milo-dev]
Does client/server SDK of Eclipse Milo support Security/AE/HDA function
I want to test AE with Milo client and KEP Server, and have some API questions.
For example, How to write the 4th parameter "_continuationPoint" of HistoryReadValueID constructor?
Does "client.historyRead" method need a monitor? The invoke will be block when reading?
------------------------------------------------------------------
发送时间:2017年4月1日(星期六)
06:15
主 题:Re: [milo-dev]
Does client/server SDK of Eclipse Milo support Security/AE/HDA function
The client supports everything. There's no examples for subscribing to alarms or calling history, but it's really just a matter of putting together the right request objects and
invoking the service. Part 4 of the spec can help with this.
The server does not yet support events (so no AE). It does have stubs for implementing the history service calls (as of a few days ago), but that's up to your implementation to
fulfill if you choose to support it.
|