5/16/2009 11:58 AM | |
Posts: 6 Rating:
|
Hi everybody again, FIrst of all sorry for my late reply I was trying to solve the problem but I haven't solved this yet. I forgot to say that the client OPC access remotely to server OPC (PC with Winac). I think the problem is that I have different versions of SIMATIC NET Software in both PCs. Following I tell us the versions of software installed in both pcs: ----------------------------------------------------------- Software installed in PC with client OPC: ----------------------------------------------------------- Automation License Manager V2.0+HF2 SIMATIC COMPUTING V3.1+SERVICEPACK 2 SIMATIC HMI TOUCHINPUT FOR SIMATIC PANEL PC SIMATIC NCM PC V5.3+SP2+HF1 SIMATIC NET PC/SOFTUWARE EDITION 2005 V6.3 HF1 B3234 SIMATIC WINAC CPU 41x-2 PCI V4.0 SIMATIC WINAC TimeSync V4.0 + SP1 ------------------------------------------------------------ Software installed in PC with server OPC: ------------------------------------------------------------ Automation license manager v3.0+hf3 simatic step7 v5.4+sp1 simatic authorsw v2.4+servicepack 2 simatic computing v3.1+servicepack 2 simatic net/pc software edition 2006 simatic winac controls v2.2 simatic winac cpu 41x-2 pci v4.0 simatic winac timesync v4.0 + sp1 simatic wincc flexible 2007 simatic wincc flexible runtime 2007 Could it be the problem (different versions of SIMATIC NET Sofware installed)? Another thing... I have another problem but I forgot to tell us. The problem appears when trying to connect remotely from client OPC to server OPC. To connect to server OPC from client OPC I call the method connect from Siemens DA Automation 2.0 library with parameters, server OPC and node (the host PC with winac and opc server configured). Then when trying to connect (client OPC to server OPC remotely) the client OPC crashes and show the following message error (I show us the following message that it is generated from my vb.net application): The object exporter specified was not found. (Exception from HRESULT: 0x80070776) Stack Trace: at OPCSiemensDAAutomation.OPCServerClass.Connect(String ProgID, Object Node) at Scada_Repair.cPLC_OPC.connect(String strOPC_Server_Name) in C:\Proj_Scada_PQ35GP\Scada_PQ35GP_Repair\Classes\cPLC_OPC.vb:line 140 Also I attach you the trace files generated by the OPC. Could it be the problem due to different versions of SIMATIC NET Software installed in both PCs? or could it be the problem due to DCOM configuration? I have checked that sometimes it connects and sometimes not. Thanks very much, Toni. Attachmentopc_trace_error.zip (103 Downloads) |
5/19/2009 5:13 PM | |
Posts: 5822 Rating:
|
Dear Toni, I have to admit, I have no idea. |
5/20/2009 2:41 PM | |
Posts: 5822 Rating:
|
Dear Toni, do you already know this Document? Using OPC via DCOM with Windows XP Service Pack 2 I guess this is the way to go for you. Be aware that both PCs need to be configured. Best regards J_Bell |
Follow us on