matrikon opc server for allen-bradley User Manual
Matrikon OPC Server for Allen Bradley
Page 32 of 49
Solution: Either set the identity for the OPC server to the interactive user, or else consider
run the server as an NT service. See the section on DCOM for more information.
run the server as an NT service. See the section on DCOM for more information.
•
Problem: After installing an older OPC server, DA 2.0 asynchronous I/O no longer
works.
works.
Solution: The old installation program installed and registered its own (older) version of the
OPC proxy/stub DLL. Reinstall the standard OPC proxy/stub DLL's using an up-to-date
installation program or re-register them using the REGSVR32 command- line utility. See the
section on server installation for more information.
OPC proxy/stub DLL. Reinstall the standard OPC proxy/stub DLL's using an up-to-date
installation program or re-register them using the REGSVR32 command- line utility. See the
section on server installation for more information.
•
Problem: How can I get OPC data into Microsoft Excel, Microsoft Word, or another
application with support for Visual Basic, VBA, or VB Script?
application with support for Visual Basic, VBA, or VB Script?
Solution: Use the Matrikon OPC Automation Component to create a Visual Basic script that
connects to a server, creates groups and items, and receives data change updates. See the
installed files for examples of how to do this in Excel, Visual Basic, or an HTML document.
connects to a server, creates groups and items, and receives data change updates. See the
installed files for examples of how to do this in Excel, Visual Basic, or an HTML document.
•
Problem: How can I access individual bits from an integer item?
Solution: Create an alias that references the desired item and configure scaling for the alias to
use expression evaluation. Edit the input expression to use binary math to access a particular
bit (i.e. “IF((INPUT AND 4)=4, 1, 0)” to access bit 2). This method allows read access only.
use expression evaluation. Edit the input expression to use binary math to access a particular
bit (i.e. “IF((INPUT AND 4)=4, 1, 0)” to access bit 2). This method allows read access only.
Contact: support@matrikon.com