PDA

View Full Version : WinnCC Flex OPC problem


Jack Schit
January 11th, 2011, 01:20 PM
Hi,

I have added an OPC client to an existing WinCC Flex project.

Although I can see all the variables from the OPC Server it won't let me assign them to a tag. I suspect that this is because WinCC can't recognise what type of data each variable is. In the data type column for the OPC variables, it says data type unknown (at least I think it does as it's in German!). The data type from the OPC server is "Float" which should be compatible.

Any advice much appreciated as I'm out of ideas now!

Thanks

Jack

JesperMP
January 11th, 2011, 01:45 PM
I cannot test it right now.
But try set the data type to REAL in stead of FLOAT.

Jack Schit
January 11th, 2011, 01:48 PM
Thanks JesperMP,

I shall try this in the morning.

Jack

Jack Schit
January 11th, 2011, 02:14 PM
JesperMP,

Just a thought, does the fact that I can see the variables indicate that the DCOM settings etc are ok?

I'm using a Simatic Panel PC 677 and both the Server OPC and Client OPC (Wincc Flex) are running on this PC.

Thanks

Jack

JesperMP
January 11th, 2011, 02:53 PM
As far as I know, DCOM does not have to be setup when OPC server and client are both on the same PC.