Hello..
I want to test opc hda read / write.. I do now have much experience about opc..
So, i tried to create project for testing opc hda. but client is not connected.
if you have any sample project of it . could you send me it ?
and i have another question, is it possible that opc hda client can write data to opchda server ?
[OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
- dongil
- Posts:49
- Joined: Mon Oct 07, 2013 3:42 am
[OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
- doberger
- Posts:3
- Joined: Wed Apr 27, 2016 12:53 pm
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
Hello,
please look at the project attached (Version 3.14).
Make sure you registered the right OPC HDA Server.
Open an administrator command prompt and enter the following command. It makes sure that the WinCC OA OPC HDA Server is found by OPC HDA Clients:
C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\WCCOAopchdasrv.exe /RegServer
The .zip also contains an screenshot of the demo opc hda client panel where you can query data.
For further information please open the WinCC OA online help -> Drivers -> OPC Historical Data Access -> OPC Historical Data Access Client
It is not possible to write historical data to the WinCC OA OPC HDA Server.
BR David https://www.winccoa.com/fileadmin/image ... Server.zip
please look at the project attached (Version 3.14).
Make sure you registered the right OPC HDA Server.
Open an administrator command prompt and enter the following command. It makes sure that the WinCC OA OPC HDA Server is found by OPC HDA Clients:
C:\\Siemens\\Automation\\WinCC_OA\\3.14\\bin\\WCCOAopchdasrv.exe /RegServer
The .zip also contains an screenshot of the demo opc hda client panel where you can query data.
For further information please open the WinCC OA online help -> Drivers -> OPC Historical Data Access -> OPC Historical Data Access Client
It is not possible to write historical data to the WinCC OA OPC HDA Server.
BR David https://www.winccoa.com/fileadmin/image ... Server.zip
- Attachments
-
- OpcHdaClient_Server.zip
- (2.3 MiB) Downloaded 285 times
- dongil
- Posts:49
- Joined: Mon Oct 07, 2013 3:42 am
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
Thanks, your sample project..
by the way, If I use HDA server, do i need Archive Manger ?? there is Archive Manager in your sample project.
and, if WinCC OA get some data from opc client, WinCC OA must run OPC DA or UA server ?
is it possible to run OPC HDA and OPC DA at the same time??
is it possible to get opchda data from opc hda client of another machine ?
when i started your sample project, and read online help, but i do not understand how to test.
Could you let me know how to test your sample project??
i think that client cannot find server.
how can i know the opc hda progID when i set opc hda client ?
i just do put data on DP Group, but i do not set progID for opchda server.
Error message when opchda client is run.........................................
WCCOAopchda (2), 2016.09.06 19:59:11.343, PARAM,SEVERE, 54, Unexpected state, OpcHDAClientServer, OpcHDAClientServer, Error when creating instance for server WINCC_OA.OPCHDA.1. hr = 524306, -2147467262, -2147467262, 0
WCCILdata (0), 2016.09.06 19:59:11.445, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Device -num 1 CONN: 1), Connection reset by peer (10054)
WCCILevent (0), 2016.09.06 19:59:11.445, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Device -num 1 CONN: 1), Connection reset by peer (10054)
by the way, If I use HDA server, do i need Archive Manger ?? there is Archive Manager in your sample project.
and, if WinCC OA get some data from opc client, WinCC OA must run OPC DA or UA server ?
is it possible to run OPC HDA and OPC DA at the same time??
is it possible to get opchda data from opc hda client of another machine ?
when i started your sample project, and read online help, but i do not understand how to test.
Could you let me know how to test your sample project??
i think that client cannot find server.
how can i know the opc hda progID when i set opc hda client ?
i just do put data on DP Group, but i do not set progID for opchda server.
Error message when opchda client is run.........................................
WCCOAopchda (2), 2016.09.06 19:59:11.343, PARAM,SEVERE, 54, Unexpected state, OpcHDAClientServer, OpcHDAClientServer, Error when creating instance for server WINCC_OA.OPCHDA.1. hr = 524306, -2147467262, -2147467262, 0
WCCILdata (0), 2016.09.06 19:59:11.445, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Device -num 1 CONN: 1), Connection reset by peer (10054)
WCCILevent (0), 2016.09.06 19:59:11.445, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Device -num 1 CONN: 1), Connection reset by peer (10054)
- dongil
- Posts:49
- Joined: Mon Oct 07, 2013 3:42 am
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
Do i have to config on server to connect opc hda ? like DCOM ?
i run your sample project on my desktop. it is not connected between server and client.
if client is run, server task is shutdown with error message.
I have one more question..
if I set opchda server on one machine and I want to run opchda client on another machine . is it possible?
I cannot find to write server information on opchda client popup. opchda client popup for setting only has progID .
I think that client need server's ip address.
i run your sample project on my desktop. it is not connected between server and client.
if client is run, server task is shutdown with error message.
I have one more question..
if I set opchda server on one machine and I want to run opchda client on another machine . is it possible?
I cannot find to write server information on opchda client popup. opchda client popup for setting only has progID .
I think that client need server's ip address.
- doberger
- Posts:3
- Joined: Wed Apr 27, 2016 12:53 pm
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
Hello,
by the way, If I use HDA server, do i need Archive Manger ?? there is Archive Manager in your sample project.
yes you need an Archive Manager, because the HDA Server queries the historical data from the archive.
You also have to put an _archive config on your datapoint elements (in the sample project the DP ExampleDP_Arg1 has an archive config).
and, if WinCC OA get some data from opc client, WinCC OA must run OPC DA or UA server ?
If you want to get data via the OPC DA client, WinCC OA must run the OPC DA server.
If you want to get data via the OPC UA client, WinCC OA must run the OPC UA server.
is it possible to run OPC HDA and OPC DA at the same time??
Yes, of course!
is it possible to get opchda data from opc hda client of another machine ?
Yes, but you have to configure DCOM on both machines.
how can i know the opc hda progID when i set opc hda client ?
i just do put data on DP Group, but i do not set progID for opchda server.
The progID for the WinCC OA HDA server is always "WINCC_OA.OPCHDA.1". Because of this only one WinCC OA OPC HDA server can be run on one machine.
Do i have to config on server to connect opc hda ? like DCOM ?
Only if the client and the server are running on different machines.
i run your sample project on my desktop. it is not connected between server and client.
if client is run, server task is shutdown with error message.
Please deinstall the OPC Core Components 106 and install them again. This should fix the problem (see .zip attached).
if I set opchda server on one machine and I want to run opchda client on another machine . is it possible?
Yes, but you have to configure DCOM on both machines.
I cannot find to write server information on opchda client popup. opchda client popup for setting only has progID .
I think that client need server's ip address.
If client and server are running on the same machine you don't neet to specify an IP address. Your progID looks like "WINCC_OA.OPCHDA.1".
If client and server are running on different machines, DCOM must be configured and you have to specify an IP address. Your progID looks like "192.168.1.1/WINCC_OA.OPCHDA.1".
BR David https://www.winccoa.com/fileadmin/image ... 64_106.zip
by the way, If I use HDA server, do i need Archive Manger ?? there is Archive Manager in your sample project.
yes you need an Archive Manager, because the HDA Server queries the historical data from the archive.
You also have to put an _archive config on your datapoint elements (in the sample project the DP ExampleDP_Arg1 has an archive config).
and, if WinCC OA get some data from opc client, WinCC OA must run OPC DA or UA server ?
If you want to get data via the OPC DA client, WinCC OA must run the OPC DA server.
If you want to get data via the OPC UA client, WinCC OA must run the OPC UA server.
is it possible to run OPC HDA and OPC DA at the same time??
Yes, of course!
is it possible to get opchda data from opc hda client of another machine ?
Yes, but you have to configure DCOM on both machines.
how can i know the opc hda progID when i set opc hda client ?
i just do put data on DP Group, but i do not set progID for opchda server.
The progID for the WinCC OA HDA server is always "WINCC_OA.OPCHDA.1". Because of this only one WinCC OA OPC HDA server can be run on one machine.
Do i have to config on server to connect opc hda ? like DCOM ?
Only if the client and the server are running on different machines.
i run your sample project on my desktop. it is not connected between server and client.
if client is run, server task is shutdown with error message.
Please deinstall the OPC Core Components 106 and install them again. This should fix the problem (see .zip attached).
if I set opchda server on one machine and I want to run opchda client on another machine . is it possible?
Yes, but you have to configure DCOM on both machines.
I cannot find to write server information on opchda client popup. opchda client popup for setting only has progID .
I think that client need server's ip address.
If client and server are running on the same machine you don't neet to specify an IP address. Your progID looks like "WINCC_OA.OPCHDA.1".
If client and server are running on different machines, DCOM must be configured and you have to specify an IP address. Your progID looks like "192.168.1.1/WINCC_OA.OPCHDA.1".
BR David https://www.winccoa.com/fileadmin/image ... 64_106.zip
- Attachments
-
- opc_core_components_redistributable_x64_106.zip
- (3.6 MiB) Downloaded 267 times
- dongil
- Posts:49
- Joined: Mon Oct 07, 2013 3:42 am
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
thanks BR David..
I have no idea how to deinstall the OPC Core Components 106. Could you let me know how to deinstall it?
I am using WinCC OA 3.14 P005. that is latest version. even though i am using latest version, should i reinstall 106 component for OPC ?
Is it expected to include modified 106 component at P006 later ?
Dongil Park
I have no idea how to deinstall the OPC Core Components 106. Could you let me know how to deinstall it?
I am using WinCC OA 3.14 P005. that is latest version. even though i am using latest version, should i reinstall 106 component for OPC ?
Is it expected to include modified 106 component at P006 later ?
Dongil Park
- dongil
- Posts:49
- Joined: Mon Oct 07, 2013 3:42 am
Re: [OPC HDA] WinCC OA 3.14 ... is there sample program for OPC HDA Server / Client ?
I found how to uninstall it.
it works..
thanks..
it works..
thanks..