FAQsHere are some frequently asked questions: ASComm.NET Component - Installation
ActiveX Controls - InstallationActiveX Controls - General
A-B Ethernet ActiveX Control
A-B Serial ActiveX Control OPC Servers - Installation
OPC Servers
KB0020: Receive license exception when attempting to run .NET application hosting Automated Solutions ActiveX Controls SYMPTOMS When you run a .NET application that is hosting one of Automated Solutions' ActiveX Controls, you receive the following error message at run time: An unhandled exception has occurred in your application. You do not have a license to use this ActiveX control. CAUSE This error occurs when one of Automated Solutions ActiveX Controls is hosted in a .NET application, and the control was dynamically created through code rather than placing an instance of the control on a form. Since Automated Solutions ActiveX Controls are licensed, to create the control dynamically you need to perform additional licensing steps. RESOLUTIONRefer to related Microsoft Knowledgebase articles: KB0019: ASComm.NET/OPC Server - During installation, "The system cannot open the device or file specified" error message occurs" SYMPTOMS When you try to install ASComm.NET or an OPC Server, you receive the following error message: The system cannot open the device or file specified CAUSE This behavior occurs because the Temp folder and possibly other folders used during installation are encrypted by using the Encrypted File System. RESOLUTIONRefer to related Microsoft Knowledgebase article: http://support.microsoft.com/kb/318080The following directories need encryption disabled during installation 1. Directory where you saved the downloaded setup.msi file 2. C:\Temp 3. C:\Program Files\Automated Solutions\<Install directory for product that you are installing> After installation, it is okay to enable encryption. KB0018: ASComm.NET/OPC Server - During installation a "Fatal Error" dialog appears with the message "Insallation ended prematurely because of an error." SYMPTOMS During installation of ASComm.NET or an OPC Server a "Fatal Error" dialog appears with the message "Installation ended prematurely because of an error." CAUSE There is a problem with the Visual Basic Script runtime on your system; the vbscript.dll needs to be registered. RESOLUTIONTo register the Visual Basic Script runtime: From a command line: regsvr32 %SystemRoot%\system32\vbscript.dll KB0017: ActiveX Controls - Attempting to run an application built under Windows Vista 64-bit editions results in runtime exception SYMPTOMS Attempting to run an application built under Windows Vista 64-bit editions results in runtime exception: System.Runtime.InteropServices.COMException
was unhandled The application will build successfully, but will throw an exception at runtime. CAUSE ActiveX Controls are 32-bit technology. RESOLUTIONApplications using ActiveX Control must be built for 32-bit targets. 1. Open the 'Properties' page for your project. 2. Select the 'Build' tab. 3. In the 'General' section, click the 'Platform Target' dropdown list down arrow. 4. Select 'x86'. 5. Close the 'Properties' page. 6. Rebuild the application. KB0016: OPC Servers - A COM client application no longer runs as expected on a Windows XP SP2-based computer, and you may receive the following error message: "E_ACCESSDENIED" SYMPTOMS
On a Microsoft Windows XP Service Pack 2 (SP2)-based computer, a
Component Object Model (COM) client application no longer runs
as expected. Specifically, the COM client or server process is
unusable. Additionally, the COM client may receive the following
error message:
E_ACCESSDENIED RESOLUTIONRefer to the following Microsoft knowledgebase article: KB0015: OPC Servers - When you call a method for a remote OPC Server, the RPC_E_DISCONNECTED error code may be returned intermittently. SYMPTOMS
When you call a method for a remote DCOM object or for a
Microsoft COM+ object, the RPC_E_DISCONNECTED error code
may be returned intermittently.
Note The RPC_E_DISCONNECTED error code corresponds to the value 0x80010108. The RPC_E_DISCONNECTED error code contains the following message text: The object invoked has disconnected from its clients. RESOLUTIONRefer to the following Microsoft knowledgebase article: KB0014: ActiveX Controls, Installation - During installation, setup application hangs when using Zone Alarm virus/spy protection products. SYMPTOMSDuring installation, setup application hangs when using Zone Alarm virus/spy protection products. RESOLUTIONZone Alarm must be uninstalled prior to installation. After installation, Zone Alarm can be re-installed. We don't currently know the cause of this problem and will attempt to resolve this with Zone Alarm Technical Support.
KB0013: A-B Ethernet ActiveX Control - When I try to use the A-B Ethernet ActiveX Control with a MicroLogix 1100, I get result code 10061. SYMPTOMSMicroLogix 1100 is the first in the MicroLogix family to use EIP/CIP protocol. You must tell the ActiveX Control that the target device uses EIP/CIP. RESOLUTIONVersion 2.6 and higher: Add 'EIP:' to the NodeAddress property anywhere after the third field. Version 2.5 and below: upgrade to current version, then follow these instructions. Example:To communicate with a MicroLogix 1100 at IP address '192.168.0.11', set the NodeAddress property as follows: Asabtcp1.NodeAddress = "192.168.0.11,,,EIP:" Refer to Help > Properties > NodeAddress for complete details.
KB0012: A-B Ethernet ActiveX Control - When I try to use the A-B Ethernet ActiveX Control with a 1761-NET-ENI module, I get result code 10061. SYMPTOMSWhen I try to use the A-B Ethernet ActiveX Control with a 1761-NET-ENI module, I get result code 10061 CAUSE 1761-NET-ENI module uses a different wrapper protocol than direct PLC connection. RESOLUTIONYou must tell the ActiveX Control that you wish to communicate with the target device through a 1761-NET-ENI module. Version 2.1 and higher: Add 'ENI:' to the NodeAddress property anywhere after the third field. Version 2.0 and below: upgrade to current version, then follow these instructions. Example:To communicate with a MicroLogix through a 1761-NET-ENI module at IP address '192.168.0.61', set the NodeAddress property as follows: Asabtcp1.NodeAddress = "192.168.0.11,,,ENI:" Refer to Help > Properties > NodeAddress for complete details.
KB0011: OPC Servers - I can connect to your OPC Server from an OPC Client on the local PC, but cannot connect to the OPC Server from a remote PC. Error indication is 'Access is Denied.' SYMPTOMSI can connect to your OPC Server from an OPC Client on the local PC, but cannot connect to the OPC Server from a remote PC. Error indication is 'Access is Denied.' CAUSE Default DCOM settings vary from system to system. Generally, default DCOM settings on the server machine restrict OPC Client applications from accessing a remote OPC Server. Windows Firewall can also present problems on Windows XP and higher systems. RESOLUTIONRefer to this technical note for Automated Solutions' recommended settings: DCOM and Windows Firewall Configuration for Automated Solutions OPC Servers
KB0010: A-B Ethernet ActiveX Control - receiving communications timeouts even though TimeoutTrans property is set sufficiently high and network is working properly. SYMPTOMSYou receive communications timeouts even though TimeoutTrans property is set sufficiently high and network is working properly. CAUSE Rockwell Automation processors use overhead time, or background task time, to perform overhead tasks such as responding to a polled communications message request. The overhead part of the scan is executed after inputs are read, ladder code is executed, and outputs are written. RESOLUTIONThe A-B tech note G54059311 outlines how to increase the time or bandwidth in the processor available for communications. 1. Go to
http://www.ab.com
KB0009: ActiveX Controls - How do I use a single control to read/write non-contiguous data areas in sequential transactions? DESCRIPTIONAutomated Solutions' ActiveX Controls can read/write contiguous data areas in a single transaction. The size of the transaction is largely determined by the hardware's capabilities. For non-contiguous data areas, consult the readme.txt file that shipped with your ActiveX Control to determine whether the version that you own supports synchronous operation. SOLUTIONIf your version supports synchronous operation, then you can simply make sequential SyncRefresh calls to read non-contiguous areas. If your version does not support synchronous operation, you have two options: 1. Contact Automated Solutions to purchase an upgrade that supports synchronous operation. See technote for details. Technote: Activex Control synchronous versus asynchronous code comparison 2. Automated Solutions has written sample 'tasking code' for all of its products. The code is very flexible, easy to expand, and easy to incorporate in into your project. Call or to request the VB tasking source code for the product that you are working with.
KB0008: OPC Servers - Using OPC via DCOM with Windows XP Service Pack 2 DESCRIPTIONThe major goal of Windows XP Service Pack 2 is to reduce common available scenarios for malicious attack on Windows XP. The Service Pack will reduce the effect of most common attacks in four ways: 1. Improvement in shielding Windows XP from the network
2. Enhanced memory protection 3. Safer handling of e-mail 4. Internet Explorer security enhancements. Most OPC Clients and Servers use DCOM to communicate over a network and thus will be impacted due to the changes in Service Pack 2. When Service Pack 2 is installed with its default configuration settings, OPC communication via DCOM will cease to work. SOLUTIONView the following OPC Foundation document for a complete description of the problem and configuration steps for workaround. Using OPC via DCOM with XP SP2 v1.10.pdf
KB0007: A-B Serial ActiveX Control - Result property returns 0xf00b (Access denied, improper privelege) when attempting to write to a memory location. SYMPTOMSA-B Serial Control returns error code 0xf00b (Access denied, improper privilege) when attempting to write to an A-B SLC500 or PLC5 memory location. CAUSE Channel or file is write protected. RESOLUTIONTo disable channel write protection, go to the General tab on the Channel properties dialog. To disable file write protection, go to the file properties dialog.
KB0006: A-B Ethernet ActiveX Control - ControlLogix Unsolicited Message Generates error 16#0008 (Unsupported Service Requested) SYMPTOMSWhen using a MSG block from a ControlLogix processor to send unsolicited messages to an ASABTCP ActiveX Control the following error is generated in the MSG block: Error Code: 16#0008 CAUSE RSLinx is running on same PC as A-B Ethernet ActiveX Control. RESOLUTIONShut down RSLinx service on PC running ASABTCP and retry MSG.
KB0005: OPC Servers - Microsoft DCOM bug affects OPC callbacks on Windows 2000 SYMPTOMSOn a few large installations several vendors have seen some strange behavior with ConnectionPoint callbacks over DCOM in both DA2 and AE connections. The symptoms are that after anywhere from a few hours to a few days, some clients on one or more computers connected to OPC servers over DCOM will stop updating. The client still successfully "pings" the server with calls to GetStatus() and DCOM never cleans up any of the established connections, so to our clients it just looks like no new alarms are coming in and all the DA items have stopped changing. Quitting the applications and running them again always corrects the problem. Sometimes it is also sufficient to Unadvise and Advise to the connection point container. All of the installations where this happens run Windows 2000. Local COM clients never have this problem. RESOLUTIONApply one of the following updates: 1. Service Pack 3 for Windows 2000 http://www.microsoft.com/windows2000/downloads/servicepacks/sp3/default.asp. 2. COM+ Rollup Package 18.1 (Q313582) http://www.microsoft.com/Windows2000/downloads/recommended/q313582/download.asp. (This article reprinted from OPC Foundation website)
KB0004: A-B Ethernet ActiveX Control - Accessing a ControlLogix String Variable. DESCRIPTIONHow do I access a ControlLogix string variable? SOLUTIONA string variable is actually a structure composed of two built-in data types. Format:
Example:
To access the string's length, specify '.LEN' at the end of the
tag name. To access the string's data, specify '.DATA' at the end of the tag
name.
KB0003: ActiveX Controls - Missing license file after VB Packaging and Deployment Wizard (or other setup utility) installation is run on development machine. SYMPTOMSAfter I make a project using VB's Packaging and Deployment Wizard (P&DW) and then install it on my development machine, when I go back to VB design I get a 'license not found' error for the ASxxxx.ocx ActiveX control in the project and I have to reinstall ASxxxx.ocx to get the development capability back. (ASxxxx.ocx refers to any Automated Solutions ActiveX controls.) CAUSE The P&DW setup utility installs a copy of the ActiveX control in the system32 directory and registers it. The setup utility assumes that you are redistributing the controls in the project to the end user so the development license file is not copied along with the ActiveX Control. This is the intended operation. RESOLUTIONDo not add the license file to the list of files distributed by P&DW. Instead, manually copy ASxxxx.lic to the windows\system32 directory on your development machine.
|
|||||||||
KB0002: ActiveX Controls - In Visual Basic, how do I pass an integer value greater
than 32767 to the ActiveX controls .Data property?
DESCRIPTIONVisual Basic Integers are in the range –32768..32767. An attempt to load a value above 32767 to the AciveX control’s .Data property will generate an overflow error. For more information and additional conversions, refer to MSDN Article ID: 189323 SOLUTIONThe function shown below will take a value greater
than 32767 and convert it to its signed equivalent. Once converted,
the signed number can be passed to the ActiveX control’s .Data
property. The underlying protocol ignores the sign and simply passes
the 16 bit stream across the wire to the PLC. Example:
|
|||||||||
KB0001: ActiveX Controls - Where do I find the descriptions for the error codes
returned by the control?
DESCRIPTIONWhere do I find the descriptions for the error codes returned by the control? SOLUTIONError descriptions can be accessed via the ActiveX control's ResultString property. |
|||||||||
|
Home / Products / Demos / Support / Customers / FAQ's / Links / Contact Us / Search
Copyright © 1997-2008 Automated Solutions, Inc. All
rights reserved. Information in this document is subject
vs.net vb.net c#.net c++.net .net mmi hmi scada plc ocx activex vbx driver visual basic vb visual C++ delphi, c++ builder opc server opc client communications library c#. allen-bradley a-b ab data highway dh dh+ df1 dh485 1747 1784 1785 1756 1769 kt ktx pktx pcmk ethernet tcp/ip 1747-uic 1761-net-eni enbt enet dhrio ethernet/ip cip csp ethernetip eip. kf2 kf3 ke sst 5136-sd slc500 plc5 plc2 micrologix 1000 1100 1200 1500 rslinx aic aic+ pic controllogix rslogix softlogix 5800 rockwell intouch flexlogix processlogix compactlogix guardlogix 1756-L61 1756-L62 1756-L63 logix5550 logix5555 logix556x. powerflex 160 160z 1305 modicon squared modbus rtu modbus ascii modbus plus modbus/tcp jbus memobus modconnect enron modbus sa-85 sa85 quantum momentum 984 wago schneider alliances altivar carriere inductel masterpact zelio collaborative automation powerlogic. ge fanuc snpx 90/30 90/70 series90 series one srtp versamax pacsystems rx7i rx3i 90-70 90-30 plc direct automation direct directlogic dl05 dl06 dl105 dl205 dl305 dl305 dl240 dl250 dl260 dl330 dl340 dl350 dl430 dl440 dl450 ecom. siemens simatic ti305 koyo sr21 omron toshiba idec. sixnet ethertrak remotetrak sixtrak versatrak sitetrak. automation process visualization wonderware intouch topserver kepserver rsview rsview32 intellution ifix dynamics control dde linx logix iconics enron rslinx cimplicity national instruments citect citecthmi wincc labview labwindows lookout. thermoflow thermo flow automation automate autopilot benchmark flow computer. omni omniflow omni flow computer omni 3000 omni 6000 bristol babcock 3305 acromag busworks 900en 951en 952en 061en 962en 963en 964en 965en 966en 972en 973en 981en 982en 983en 913mb 914mb 917mb 918mb 924mb 932mb 934mb 942mb 901mb 902mb 903mb 904mb 905mb 906mb hms anybus moxa nport niobrara sealevel systems seai/o auma riester aumatic abb totalflow triatek e-link control technology corporation blue fusion prosoft
technology |