Can\'t get data from OPC driver

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Can\'t get data from OPC driver

Post by mhargreaves »

I am trying to get the OPC DA Client working with my server. I have managed to see my server and browse the Items, but when I add the periphery config, nothing happens - no value is shown.

One observation (but not sure if this is the problem)
My startup option for the manager is -num 0.

The help file for the OPC DA says for the periphery confguration Driver Number:

The allocation to a driver occurs here. The number given here must be equal to the command line option with which the driver was started.

If the driver to which the peripheral address is to be allocated was started with

WCCOAopc -num 2

then 2 must be entered here.


But I cannot enter 0 as the driver number. The lowest I can enter is 1, but when I use WCCOAopc -num 1 on the manager options, it fails to start.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Can\'t get data from OPC driver

Post by leoknipp »

Hello,

every driver in a WinCC OA system must be started with a unique manager number.
If you have already started another driver or the simulation driver WCCILsim with number 1 you have to use another number for the OPC driver.
When you have defined the manager number -num 0 for the driver the system will assign the next free number automatically. In case of a driver it is recommended to define the manager number, otherwise is cannot be guaranteed that the same number is used every time when the driver is started.

After defining a fixed manager number please check if the _address configs are defined with the correct driver number. If the number does not fit please modify the configuration of the _address config.

Best Regards
Leopold Knipp
Senior Support Specialist

mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Re: Can\'t get data from OPC driver

Post by mhargreaves »

Thank you!

This was definitely my issue and I now am receiving data OK.

3 posts • Page 1 of 1