04-30-2006 12:46 PM
05-01-2006 09:57 AM
There was an issue with the 8.0 release and Lookout Protocol
Driver OPC support.
That issue has been fixed in the 8.1 patch, and I would strongly recommend patching
your 8.0 installation.
However, you can also manually enter the address as well. This is best done, by
browsing to one of the status items. Then remove the last part of the text for
the status item and add the last part of the DS URL that represents the PLC
address from the LPD.
Hope this helps.
-Lorenz
05-01-2006 10:04 AM
05-01-2006 10:31 AM
In your first post you mentioned that you
had a few hundred data points you need to access with OPC. The Variable Node
(the node on the block diagram) performance doesn’t scale that high in the 8.0x
release. However, it is true that the OPC I/O Server should be much more efficient
that the Data Socket OPC API. This leaves you with two possible approaches to efficiently
access hundreds of OPC points.
A) If you want logging/scaling/ or configuration on those points:
1) You can use the multiple Variable Editor to create a variable for each point
you are interested in with the desired configuration.
2) Then, use the Shared Variable refnum (the purple wire) with the Data Socket
API (you can wire the refnum right into the read and write primitives).
B) If you just need the raw points:
Use the Data Socket API to bind directly to the points under the OPC I/O Server
you created in the project (the PSP URL).
In both cases you use PSP (with Data Socket) to talk to the Variable Engine,
and the Variable Engine will use OPC to talk to LPD. It seems a little indirect
but you should see significant performance improvement over using Data Socket
with OPC to the LPD.
-Lorenz
Sorry for all of the TLA (Three letter acronyms)