两台wincc服务器通过OPC互联,服务器测试能通过,OPC条目管理器中远程电脑上有红色的斜杠。不知道什么原因:
按照说明帮助文件上的做法做了还是联不上。
1. OPCServer.WinCC属性--常规——身份验证级别--无
2. 位置--勾选“在数据所在位置的计算机上运行应用程序."
"在此计算机上运行应用程序” 成灰色,不能选
不选 “在以下计算机上运行应用程序”
3.安全——权限都是按照帮助添加了用户。
4.终结点——默认系统协议
5.标识——单选项选择“交互式用户”
OPC_01.log内容如下:
O2009-09-17 14:06:41,421 INFO DLL_PROCESS_DETACH called...
2009-09-17 14:06:41,421 INFO Process (PID: 4852) detached at 2009-09-17 06:06:41,421 UTC
2009-09-17 14:26:31,625 INFO Log starting ...
2009-09-17 14:26:31,640 INFO LogFileName : D:\Program Files\Siemens\WinCC\Diagnose\OPC_01.LOG
2009-09-17 14:26:31,640 INFO LogFileCount : 3
2009-09-17 14:26:31,640 INFO LogFileSize : 1400000
2009-09-17 14:26:31,640 INFO TraceFlags : fa00000f
2009-09-17 14:26:31,640 INFO Process (PID: 264) attached at 2009-09-17 06:26:31,625 UTC
2009-09-17 14:26:31,656 INFO D:\Program Files\Siemens\WinCC\bin\OPC.chn built Jul 18 2005 03:16:03
2009-09-17 14:26:40,125 ERROR ..FOPCData::InitOPC QueryInterface(IID_IOPCServer)- ERROR 80070005
2009-09-17 14:26:40,156 ERROR - ChannelUnit::SysMessage("[OPC Groups (OPCHN Unit #1)]![PURSUE]: QueryInterface IOPCServer for \\PURSUE\OPCServer.WinCC failed, Error=80070005 (HRESULT = 80070005 - E_ACCESSDENIED (拒绝访问。))")
2009-09-17 14:26:50,406 ERROR ..FOPCData::InitOPC QueryInterface(IID_IOPCServer)- ERROR 80070005
2009-09-17 14:26:50,406 ERROR - ChannelUnit::SysMessage("[OPC Groups (OPCHN Unit #1)]![PURSUE]: QueryInterface IOPCServer for \\PURSUE\OPCServer.WinCC failed, Error=80070005 (HRESULT = 80070005 - E_ACCESSDENIED (拒绝访问。))")
License.log内容如下:
09/17/2009 14:24:41 InitLicense CS AppName = AppCS:Mcp CycleCheck = yes NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:24:41 InitLicense ED AppName = AppEd:Mcp CycleCheck = own NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:24:48 InitLicense RT AppName = OptRT:CHIPCARD CycleCheck = no NameForMessageBox = Name of License = SIFLA1WPC40600 Text of License = WinCC Chipcard
09/17/2009 14:24:48 ExitLicense RT AppName = OptRT:CHIPCARD CycleCheck = no Name of License = SIFLA1WPC40600 Text of License = WinCC Chipcard
09/17/2009 14:24:50 InitLicense CS AppName = AppCS:TlgASO CycleCheck = yes NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:25:06 InitLicense ED AppName = AppEd:Graphics Designer CycleCheck = own NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:26:00 InitLicense CS AppName = DMAso:Mcp CycleCheck = yes NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:26:31 InitLicense RT AppName = AppRT:Mcp CycleCheck = yes NameForMessageBox = Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
09/17/2009 14:26:31 InitLicense RT AppName = AppRT:TlgASO CycleCheck = yes NameForMessageBox = Name of License = A9WRT860 Text of License = SIK/SIMATIC WINCC-V6 RT 150K PTg 512 ATg
09/17/2009 14:26:38 ExitLicense ED AppName = AppEd:Graphics Designer CycleCheck = own Name of License = A9WRC860 Text of License = SIK/SIMATIC WINCC-V6 RC 150K PTg 512 ATg
OPC.RTC内容如下:
18:20:08,453 000011c0 STARTUP Trace started at : 2009-09-17 18:19:30,375 (unknown Timezone) (GMT 0 Min.)
18:20:08,453 000011c0 STARTUP TraceFileName : D:\Program Files\Siemens\WinCC\Diagnose\OPC.TRC
18:20:08,453 000011c0 STARTUP TraceFileCount : 1
18:20:08,453 000011c0 STARTUP TraceFileSize : 1400000
18:20:08,453 000011c0 STARTUP TraceFlags : fa00000f
18:20:08,453 000011c0 INFO Trace enabled !
18:20:13,140 0000172c INFO > FOPCData::InitOPC "DELL" (Machine="DELL", OPC-Server="OPCServer.WinCC")
18:20:13,140 0000172c INFO ..FOPCData::InitOPC 02555ee0 CoInitializeEx - ok
18:20:13,140 0000172c INFO > FOPCData::GetServerClassID
18:20:13,140 0000172c INFO < FOPCData::GetServerClassID ("OPCServer.WinCC") S_OK -- CLSID is still valid
18:20:13,140 0000172c SUCCESS > FOPCData::InitOPC - ClassID successfully set (hr=0x00000000)
18:20:13,375 0000172c INFO ..FOPCData::InitOPC CoCreateInstanceEx- ok
18:20:13,375 0000172c ERROR ..FOPCData::InitOPC QueryInterface(IID_IOPCServer)- ERROR 80070005
18:20:13,375 0000172c ERROR - ChannelUnit::SysMessage("[OPC Groups (OPCHN Unit #1)]![DELL]: QueryInterface IOPCServer for \\DELL\OPCServer.WinCC failed, Error=80070005 (HRESULT = 80070005 - E_ACCESSDENIED (拒绝访问。))")
18:20:13,375 0000172c INFO > FOPCData::InitOPC - Calling TerminateOPC after calling QueryInterface(IOPCServer)
18:20:13,375 0000172c INFO - COPCConnection::IsNotEstablished(00000001)
18:20:13,375 0000172c INFO > FOPCData::TerminateOPC ( Cleanup)
18:20:13,375 0000172c INFO ..FOPCData: TerminateOPC() releasing interfaces...
18:20:13,375 0000172c INFO ..FOPCData::TerminateOPC m_dpOPCUnk released, Ref=00000000
18:20:13,375 0000172c INFO ..FOPCData::TerminateOPC CoUninitialize
18:20:13,375 0000172c INFO < FOPCData::TerminateOPC
18:20:13,375 0000172c INFO < FOPCData::InitOPC - FAILED
帮忙看看是不是DCOM的问题?
怎么解决服务器通过OPC互联的问题?