Closed MuckersMate closed 7 years ago
I'm reading from Kepware V6 right now. Need more info
Kepware v5, run h-opc-cli with connection params supplied as command line arguments, read [node] and value returned.
Exactly the same, but specifying a Kepware v6 server, read [node], "Invalid response from the server (Response Status : BadNodeIdUnknown)
Sorry, misleading information given. Exception is raised by UaClient.CheckReturnvalue
private void CheckReturnValue(StatusCode status) { if (!StatusCode.IsGood(status)) **throw new OpcException(string.Format("Invalid response from the server. (Response Status: {0})",** status), status); }
The status is BadNodeIdUnknown.
The Kepware v6 is running in a virtualised environment if this is relevant?
Is this a simulation server?
No, it's using Allen Bradley drivers with actual PLCs connected. It is running in Demo Mode though...
Let's continue this here: https://gitter.im/H-Opc/H-Opc-CLI
Actually, this is a false alarm - our client had assured us the Kepware server was actually out of its demonstration mode and activated (they couldn't see a countdown in the caption). It wasn't activated and the demo period had expired. Looks like Kepware 6 doesn't maintain the countdown in its caption... Sorry, but thanks for your help!
No problem. Glad you got it fixed
Can Monitor a tag from a Kepware v5 server fine using the h-opc-cli.
Trying to do the same from a Kepware v6 server, the "Sub.ApplyChanges(), UaClient.Monitor method" raises a BadSubscriptionIdInvalidServiceResultException.