04-28-2006 05:19 AM
04-28-2006 01:25 PM
-103 is the default error which is returned when the OPC connection returns a non-success result that the DSC engine does not specifically handle. Once the engine gets this value it sets the quality of the tag to bad status. The tag monitor does not communicate via OPC but, rather, uses logos to communicate with the engine so, once the engine flags the quality of the tags data as bad the tag monitor will reflect that.
04-29-2006 03:07 AM
05-01-2006 08:23 AM
The specific OPC errors that the DSC engine handles are bad direction, bad datatype, unrecognized item, bad value, and value out of range. Any other error condition will give a -103 result.
I will try and investigate your other question.
05-03-2006 11:38 AM
I tried to use the Matrikon OPC Sniffer. But after a short time there appear additional instances of the DSC Engine, the Sniffer is shutdown restarted.
In the Sniffers Manual they say that some clients make multiple connections to an OPC Server which causes the sniffers popup to appear numerous times.
But in my case the Sniffer is shutdown and then restarted and additionally serveral instances of the DSC Engine appear.
Here are the last entries of the sniffers log :
[05/03 17:49:36.66] (6) - CClientDataObjectSniffer:::OnDataChange() - hClientItem=0x0000072d ftTimeStamp=0x01c66ec9-0x2da5cbc0 [03.05.2006 15:49:35] wQuality=0x00c0 vDataValue: vt=0x0005 [205]
[05/03 17:49:36.66] (7) - CClientDataObjectSniffer:::OnDataChange() - Function returning [hr]=[0x00000000] at line [188] in [.\ClientDataObjectSniffer.cpp].
[05/03 17:49:37.37] (6) - CGroupDataObjectSniffer::Unadvise() - dwCookie=0x001b7854
[05/03 17:49:37.38] (7) - CClientDataObjectSniffer::_InternalQueryInterface() - Function returning [hr]=[0x00000000] at line [65] in [.\ClientDataObjectSniffer.cpp].
[05/03 17:49:37.38] (7) - CClientDataObjectSniffer::SetUnadvised() - Function returning [S_OK]=[0x00000000] at line [95] in [.\ClientDataObjectSniffer.cpp].
[05/03 17:49:37.48] (7) - CGroupDataObjectSniffer::Unadvise() - Function returning [hr]=[0x00000000] at line [226] in [.\GroupDataObjectSniffer.cpp].
[05/03 17:49:37.48] (6) - COPCGroupSniffer::IOPCItemMgt::RemoveItems() - dwCount=129
...
...
[05/03 17:49:38.30] (6) - COPCGroupSniffer::IOPCItemMgt::RemoveItems() - [128] - ppErrors=0x00000000
[05/03 17:49:38.32] (7) - COPCGroupSniffer::IOPCItemMgt::RemoveItems() - Function returning [hr]=[0x00000000] at line [469] in [.\OPCGroupSniffer.cpp].
[05/03 17:49:38.32] (7) - CGroupDataObjectSniffer::FinalRelease() - Entering function at line [26] in [.\GroupDataObjectSniffer.cpp].
[05/03 17:49:38.32] (7) - CGroupDataObjectSniffer::FinalRelease() - Function returning at line [28] in [.\GroupDataObjectSniffer.cpp]
[05/03 17:49:38.32] (6) - COPCServerSniffer::RemoveGroup() - hServerGroup=0x00000008, bForce=1
[05/03 17:49:38.32] (7) - COPCGroupSniffer::_InternalQueryInterface() - Function returning [hr]=[0x00000000] at line [64] in [.\OPCGroupSniffer.cpp].
[05/03 17:49:38.32] (7) - COPCGroupSniffer::SetDeleted() - Function returning [S_OK]=[0x00000000] at line [102] in [.\OPCGroupSniffer.cpp].
[05/03 17:49:38.32] (7) - COPCGroupSniffer::FinalRelease() - Entering function at line [31] in [.\OPCGroupSniffer.cpp].
[05/03 17:49:38.32] (7) - COPCGroupSniffer::FinalRelease() - Function returning at line [33] in [.\OPCGroupSniffer.cpp]
[05/03 17:49:38.32] (7) - COPCServerSniffer::RemoveGroup() - Function returning [hr]=[0x00000000] at line [485] in [.\OPCServerSniffer.cpp].
[05/03 17:49:38.32] (6) - CServerShutdownObjectSniffer::Unadvise() - dwCookie=0x001b1d64
[05/03 17:49:38.32] (7) - CClientShutdownObjectSniffer::_InternalQueryInterface() - Function returning [hr]=[0x00000000] at line [65] in [.\ClientShutdownObjectSniffer.cpp].
[05/03 17:49:38.32] (7) - CClientShutdownObjectSniffer::SetUnadvised() - Function returning [S_OK]=[0x00000000] at line [91] in [.\ClientShutdownObjectSniffer.cpp].
[05/03 17:49:38.32] (7) - CServerShutdownObjectSniffer::Unadvise() - Function returning [hr]=[0x00000000] at line [224] in [.\ServerShutdownObjectSniffer.cpp].
[05/03 17:49:38.32] (7) - CServerShutdownObjectSniffer::FinalRelease() - Entering function at line [26] in [.\ServerShutdownObjectSniffer.cpp].
[05/03 17:49:38.32] (7) - CServerShutdownObjectSniffer::FinalRelease() - Function returning at line [28] in [.\ServerShutdownObjectSniffer.cpp]
[05/03 17:49:38.32] (7) - COPCServerSniffer::FinalRelease() - Entering function at line [179] in [.\OPCServerSniffer.cpp].
[05/03 17:49:38.32] (7) - COPCServerSniffer::FinalRelease() - Function returning at line [181] in [.\OPCServerSniffer.cpp]
05-30-2006 01:56 AM