|
|
|
List of drivers that are included in all the unlimited licenses of TAS-HMITalk 8.04
|
 |
|
 |
Let us know if you need help to create a specific example to test your device with any of our drivers or if you need that we develop a new driver to communicate with your field equipment. In order to test a driver you have to download the TAS-HMITalk activex component. After unzipping the zip file, be sure to register the hmitalk.ocx with regsvr32.exe. There is aditional information about TAS-HMITalk in our support blog. To open any example you will need Visual Basic 6.0. To write new applications we suggest that yo use Visual Studio Express.Net 2008 which is a free programming tool that can be downloaded at http://www.msdn.com.
|
|
|
|
|
XADAM Driver - Advantech Adam Series 4000 Data Acquisition Modules Driver
|
|
|
This driver is included with all unlimited licenses of TAS-HMITalk. It is not sold separately. It can be used to communicate through a physical serial COM port, through a virtual COM port or through an IP port in serial-over-IP configuration.
|
If you think that this driver could talk to your device, you can test it by downloading a trial version of TAS-HMITalk, where you will find examples about how to configure the activex to use it with different drivers. Consider that this driver might also support some devices that are not listed in the Supported Devices list below but that can talk using the same protocol.
You can also hire our services to modify this driver, to expand its current functionallity or to develop a new driver based on it.
If you have any doubt about this driver, do not hesitate to contact us.
|
Driver Manual:
- Download the driver manual in Adobe Acrobat PDF format here: XADAM.pdf 
- Download the driver manual in HTML format here: XADAM.htm 
|
Driver Source Code:
Source-code files for this driver are available in plain-C language for additional USD299 with your purchase of the Unlimited License of TAS-HMITalk for 500 object instances.
|
Driver details:
The XADAM driver allows you to connect with ADVANTECH ADAM 4000 Series Data Acquisition Modules.
An RS-232/485 converter such as ADAM-4520 or a RS-485 PC-bus board such as PCL-743/745 must be used in the PC side.
When using a PC-bus RS-485 board (old models), it may be neccessary to set the property HMITalk1.CommSetRTSWhileTransmitting = True.
Optional Modules ADVANTECH ADAM-4510 Repeater Module ADVANTECH ADAM-4520 Isolated RS-232/RS-485 Converter Module
Supported devices
This driver can communicate with these devices, but is not necessarily limited to this list:
ADVANTECH ADAM 4011 Analog Input Module ADVANTECH ADAM 4011D Analog Input Module ADVANTECH ADAM 4012 Analog Input Module ADVANTECH ADAM 4013 Analog Input Module ADVANTECH ADAM 4014D Analog Input Module ADVANTECH ADAM 4015 Analog Input Module ADVANTECH ADAM 4016 Analog Input/Output Module ADVANTECH ADAM 4017 8-Channel Analog Input Module ADVANTECH ADAM 4017+ 8-Channel Analog Input Module ADVANTECH ADAM 4018 8-Channel Analog Input Module ADVANTECH ADAM 4018M 8-Channel Analog Input Module ADVANTECH ADAM 4018+ 8-Channel Analog Input Module ADVANTECH ADAM 4019 Universal Analog Input Module ADVANTECH ADAM 4021 Analog Output Module ADVANTECH ADAM 4050 Digital I/O Module ADVANTECH ADAM 4051 Digital I/O Module ADVANTECH ADAM 4052 Digital I/O Module ADVANTECH ADAM 4053 Digital I/O Module ADVANTECH ADAM 4055 Digital I/O Module ADVANTECH ADAM 4060 Relay Output Module ADVANTECH ADAM 4068 Relay Output Module ADVANTECH ADAM 4080 Counter/Frequency Input Module ADVANTECH ADAM 4080D Counter/Frequency Input Module
Command list
This driver supports the following commands. If you need to implement some other command that is not included in this list, please let us know.
Analog Input Modules Command Set
Set Configuration (4011/4011D/4012/4013/4015/4016/4017/4018/4018M/4019) Configuration Status (4011/4011D/4012/4013/4015/4016/4017/4018/4018M/4019) Analog Data In (4011/4011D/4012/4013/4015/4016/4017/4018/4018M/4019) Read Analog Input from Channel N (4015/4017/4018/4018M/4019) Enable/Disable Channels for Multiplexing (4015/4017/4018/4018M/4019) Read Enabled/Disabled Channel Status (4015/4017/4018/4018M/4019) Span Calibration (4011/4011D/4012/4013/4016/4017/4018/4018M) Offset Calibration (4011/4011D/4012/4013/4016/4017/4018/4018M) Synchronized Sampling (4011/4011D/4012/4013/4015/4016/4019) Read Synchronized Data (4011/4011D/4012/4013/4015/4016/4019) Read CJC Status (4011/4011D/4018/4018M/4019) CJC Offset Calibration (4011/4011D/4018/4018M/4019) Read Digital I/O and Alarm Status (4011/4011D/4012/4014D/4016) Set Digital Output Values (4011/4011D/4012/4014D/4016) Enable Alarm (4011/4011D/4012/4014D/4016) Set High Alarm Value (4011/4011D/4012/4014D/4016) Set Low Alarm Value (4011/4011D/4012/4014D/4016) Disable Alarm (4011/4011D/4012/4014D/4016) Clear Latched Alarm (4011/4011D/4012/4014D/4016) Read High Alarm Value (4011/4011D/4012/4014D/4016) Read Low Alarm Value (4011/4011D/4012/4014D/4016) Read Event Counter (4011/4011D/4012/4014D) Clear Event Counter (4011/4011D/4012/4014D)
Analog Output Modules Command Set
Set Configuration (4021) Analog Data Out (4021) Start-up Output Current/Voltage Configuration (4021) Trim Calibration (4021) 4 mA Calibration (4021) 20 mA Calibration (4021) Configuration Status (4021) Last Value Readback (4021) Current Readback (4021) Read Reset Status (4021)
Digital I/O and Relay Output Modules Command Set
Set Configuration (4050,4051,4052,4053,4055,4060,4068) Read Digital Data In as Bytes (4050,4051,4052,4053,4055,4060,4068) Read Digital Data In as Bits (4050,4051,4052,4053,4055,4060,4068) Digital Data Out (4050,4055,4060,4068) Synchronized Sampling (4050,4051,4052,4053,4055,4060,4068) Read Synchronized Data (4050,4051,4052,4053,4055,4060,4068) Configuration Status (4050,4051,4052,4053,4055,4060,4068) Read Reset Status
Counter/Frequency Modules Command Set
Read Counter or Frequency Value (4080/4080D) Set Maximum Counter Value (4080/4080D) Read Maximum Counter Value (4080/4080D) Start/Stop Counter (4080/4080D) Clear Counter (4080/4080D)
|
See also:
ActiveX - CPKSoft Engineering - TAS-HMITalk 8.04 Unlimited License for up to 5 object instances ActiveX - CPKSoft Engineering - TAS-HMITalk 8.04 Unlimited License for up to 50 object instances ActiveX - CPKSoft Engineering - TAS-HMITalk 8.04 Unlimited License for up to 500 object instances Utility - CPKSoft Engineering - GetPCId.exe
|
|
| |
|
See all drivers
|
|
|
|
New entries in our support blog
|
 |
|
| Author: |
CPKSoft Engineering Support |
Created: |
5/26/2008 11:10 AM |
 |
| Answers to technical questions about TAS-HMITalk made by customers and registered users. |
|
Quick steps to install TAS-HMITalk |
|
By CPKSoft Engineering Support on
11/22/2008 6:34 PM
|
To install TAS-HMITalk in your machine follow these steps:
- Download the TAS-HMITalk distribution .zip file from http://www.cpksoft.com.
- Extract the .zip file contents to a local folder.
- Locate the hmitalk.ocx file, right-click over it and select "Open with...".
- Browse to 'C:\Windows\System32' and select 'regsvr32.exe' and Accept.
- The ocx file should now be registered by Windows in your machine.
- Repeat the same steps with linechrt.ocx and grid32.ocx.
- Now you can add TAS-HMITalk to your Visual Basic toolbox and/or open the examples.
|
|
Comments (0)
|
|
|
|
|
New TriggerAndWait method |
|
By CPKSoft Engineering Support on
10/2/2008 6:46 PM
|
A new method called TriggerAndWait has been added to the TAS-HMITalk activex. This method triggers a new communication and then blocks the execution of the application thread until the communication has finished. This way it is easier to implement a communication strategy where several TAS-HMITalk objects must be cascaded in a particular order.
Following is an example of a routine to handle a button event in an application written in C# with Visual Studio 2005 that reads data from a relay:
private void button1_Click(object sender, EventArgs e)
{
|
|
Comments (0)
|
|
|
|
|
|
How can I get connected to my devices with TAS-HMITalk? |
|
By CPKSoft Engineering Support on
7/21/2008 7:23 PM
|
TAS-HMITalk and any of its drivers can be used in any of the following configurations, with direct RS-232 connections, connections through RS-232/485 converters, connections through ethernet/serial converters, connections through virtual serial ports, etc.:

|
|
Comments (0)
|
|
|
|
|
MOXA Serial-to-Ethernet NPort 6150 module tested wiith TAS-HMITalk |
|
By CPKSoft Engineering Support on
6/1/2008 6:06 PM
|
Last week we had the chance to test the Moxa NPort 6150 Secure Serial Port Server Module with TAS-HMITalk to communicate with the serial port of a DanLoad 6000 electronic preset through the ethernet LAN at a fertilizer plant from Petrobras in Campana, Argentina.

The Moxa device was provided by RCL Systems, a company specialized in integrating InTouch factory suite applications for oil&gas industries.
The loopback tests worked great, showing that TAS-HMITalk could talk to the MOXA module directly, without the need of installing any COM port redirector software. TAS-HMITalk could properly recover from our intentionally-caused communication errors, such as cable disconnections and module power-off and on.
The DanLoad 6000 didn ...
Read More »
|
|
Comments (0)
|
|
|
|
|
Comments about sending outputs |
|
By CPKSoft Engineering Support on
5/26/2008 8:59 PM
|
- Configure your HMITalk object properties according to what the driver help file says for the chosen driver and command. Leave default values for properties not mentioned in the help file.
- Leave the ScanActive=False and uncheck the ScanAutoTrigger property.
- Create a Button to send the data
- In the Button_Click event, place this code:
HMITalkxxx.PointValue(0) = <the value to be sent>
HMITalkxxx.Trigger ' To dispatch the writing action
- Then just listen to the OnSuccessfullySent event or the OnErrorSending event.
|
|
Comments (0)
|
|
|
|
|
Example configuring a Modbus RTU communication |
|
By CPKSoft Engineering Support on
5/26/2008 8:50 PM
|
All drivers are configured using the same set of properties DriverP0 to DriverP9 and the meaning of these properties changes from one driver to other.
For example, to read a register value at address D0000 from a device supporting Modbus RTU, you should configure one TAS-HMITalk object as follows:
DriverName = “XModbusb”
DriverDataType = Analog_Input (because you will be reading words this time)
DriverNumPoints = 1 or whatever number ob registers you want to read (up to 125)
DriverP0 = PLC station number (project1.exe uses 1, which seemed to work OK)
DriverP1 = 3 or 4, depending on what your PLC supports.
DriverP2 = the starting address to be read (32768 for D0000)
DriverP3 to DriverP9 are not used for this case.
If you want the HMITalk object to periodically read your device, you don't need to call the .Trigger method each time. Y ...
Read More »
|
|
Comments (0)
|
|
|
|
|
Periodic reading vs. On-demand reading |
|
By CPKSoft Engineering Support on
5/26/2008 8:38 PM
|
The best approach to read data on a periodic basis is:
- Set the ScanActive to True
- Let the OnSuccessfullyReceived event or the OnPointValueChanged events do the work for you.
The best approach for on-demand reading is:
- Call the Trigger method
- Again, let the OnSuccessfullyReceived event or the OnPointValueChanged events do the work for you.
|
|
Comments (0)
|
|
|
|
|
Comments about configuring a PID loop |
|
By CPKSoft Engineering Support on
5/26/2008 8:33 PM
|
- To build a closed PID loop, you will need two TAS objects. One to read the process variable and the other to send the control signal back to the plant.
- Only the TAS object that is reading the process variable needs to have its PID properties set. The TAS object which sends the output is configured as you do with any other normal TAS object.
- The EnablePIDs TAS general property must be True for PIDs to operate.
- You will need to devote one PointValue for each PID loop you need.
- The PointPIDEnable property of that point must be set to True
- As a minimun, the PointPIDSetpoint, PointPIDKp, PointPIDKi and PointPIDKd must be set to appropriate values.
- The PointPIDLowPhysic and PointPIDHighPhysic properties will scale the control signal between 0% and 100%.
- The value of the control signal generated by the PID algor ...
Read More »
|
|
Comments (0)
|
|
|
|
|
Understanding how the CommTimeout property works |
|
By CPKSoft Engineering Support on
5/26/2008 8:27 PM
|
The "timeout threshold", the "CommTimeout property" or the "timeout value", which are all the same thing, is an amount of time that you configure and that the driver uses to know when it is time to abandon a communication if no response was received. If a timeout value is too big, an HMITalk object could remain waiting for an answer for a long time. The only reason a timeout exists is to prevent the driver to stay waiting forever. So it is important to define how long you want to wait in order to be sure that the device will not respond anyway after that time.
The timeout is a software setting at the driver side and it does not affect the device behaviour, but the driver behaviour. It does have nothing to do with some physical or electrical thing. It is just a maximum time period and the driver checks what happens first: a reply arrival or the timeout period expiration.
A timeout cannot be too short either. If you set a timeout to ...
Read More »
|
|
Comments (0)
|
|
|
|
|
|
|
|
|
|
New entries in our support blog
|
 |
|
|
|
|
|
|
|
|
|
Available licenses
|
 |
|
|
|
 |
399.00 USD
|
|
Unlimited license to build applications with Visual Basic that...See more...
|
|
|
|
|
|
 |
899.00 USD
|
|
Unlimited license to build applications with Visual Basic that...See more...
|
|
|
|
|
|
 |
1,399.00 USD
|
|
Unlimited license to build applications with Visual Basic that...See more...
|
|
|
|
|
|
|
|
|
|
|
|
|
Available drivers
|
 |
|
XABF Allen Bradley Full Duplex...
|
|
|
XABH Allen Bradley Half Duplex...
|
|
|
|
|
|
|
XADAM Advantech Adam Series...
|
|
|
XAFEISA Afeisa Industrial Microcomputers...
|
|
|
XALGODUE Algodue UPM Series Universal...
|
|
|
|
|
XAND4325 AND AD-4325V Weight Indicator...
|
|
|
|
|
XARCOMB Arcom M1 Modbus RTU Protocol...
|
|
|
|
|
XCATM5X Caterpillar CCM/M5X Protocol...
|
|
|
XCEWE Cewe Instruments Using...
|
|
|
XCONDENS System Electric Condensomatic...
|
|
|
|
|
|
|
|
|
|
|
XCVMITF Circutor CVM-ITF/CVM-R8C...
|
|
|
|
|
XCVMMOD Circutor CVM-BD-M Modbus...
|
|
|
|
|
|
|
|
|
|
|
XDUCATI Ducati Mach-Smart Analyzer...
|
|
|
XDX9100 Johnson Controls Metasys...
|
|
|
|
|
|
|
XEXEMYS Exemys SSE232 Serial/Ethernet...
|
|
|
|
|
|
|
XFOX762 Foxboro 762C/762CSA/743CB...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XHART Rosemount Hart Revision...
|
|
|
|
|
XHITACHH Hitachi PLC Serie H Protocol...
|
|
|
|
|
XIDECM3 Idec Izumi Micro3 Programmable...
|
|
|
|
|
|
|
| | | |