Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

DataSocket+OPC+Siemens=can't add item.

I'm working on different OPC servers and
I'm able to connect to most of them without a problem (using DataSockets
as well as OPC Data Access Automation
Interface v.2.02). So, my DataSocket example works fine for National Instruments
OPC servers,and ICONICS servers,and others but only for Siemen's
"Softing OPC Sample Server" and "OPC.SimanticNET" I get a "can't create item
error" or "cant
add group error" when I OPEN connection.

The connection works fine if I use other
methods then DataSockets or If I use
other server.

Does anybody know why is that?
0 Kudos
Message 1 of 3
(4,203 Views)
Adam,

You didn't mention what version of DataSocket you are using. Upgrading to
DataSocket version 3.0 should fix this problem. (If you are a ComponentWorks
user, check out www.ni.com/mstudio for upgrade information or to download
eval software)

Denise

"Adam Blazowski" wrote:
>>I'm working on different OPC servers and>I'm able to connect to most of
them without a problem (using DataSockets>as well as OPC Data Access Automation>Interface
v.2.02). So, my DataSocket example works fine for National Instruments>OPC
servers,and ICONICS servers,and others but only for Siemen's>"Softing OPC
Sample Server" and "OPC.SimanticNET" I get a "can't create item>error" or
"cant>add group error" when I OPEN connection.>>The connection works f
ine
if I use other>methods then DataSockets or If I use>other server.>>Does anybody
know why is that?>
0 Kudos
Message 2 of 3
(4,203 Views)
Adam,

I'm using OPC.SimaticNET S7 interface. The DS I use is verison 4.0 and works perfectly OK. The only problem could be:
1. PLC MUST be connected on line !!!!, because the server first scans all the available objects within the PLC and then allowa creating items ....
2. The syntax for PLCItem is wrong : you have OPC Scout program to check ...
3. The data type in PLC is wrong. I mean some type like unsigned byte (I'm not sure) don't work : I'm connected, but DS says on dataupdate event that the automation type is wrong or something like that

Vojko
0 Kudos
Message 3 of 3
(4,203 Views)