HART Protocol Stack - TMS-HPS
What is TMS-HPS?
Triangle Micro Solutions HART Protocol Stack (TMS-HPS) was designed to make incorporating HART communications into any micrcontroller based instrument or control product a snap. The stack is written in the C programming language and should be compatable with any ANSI compliant C compiler. The stack is designed with hardware abstraction in mind to support a variety of microcontroller architectures and physical layers (i.e. FSK, RS-485, Wireless, etc.).
What Microcontroller Resources are Required?
Memory requirements are estimates only. The actual values will depend on many factors such as the processor used, features, compiler, actual commands supported.
The following microcontroller resources are required at a minimum:
- Program Memory - About 20K bytes
- EEPROM - Approximately 125 bytes
- System Resources - UART (RX and TX), and two other I/O (RTS and CTS)
- Timers - A 1 ms timer is required (interrupt handler or RTOS periodic task)
What HART Revision is Supported?
HART Version 7.1 is supported.
What HART Commands are Supported?
The basic command set supports all of the commands listed here:
- Universal Command 0 - Read unique identifier
- Universal Command 1 - Read Primary Variable (PV)
- Universal Command 2 - Read PV and percent of range
- Universal Command 3 - Read PV current and four predefined variables
- Universal Command 6 - Write polling address
- Universal Command 7 - Read loop configuration
- Universal Command 8 - Read dynamic variable classification
- Universal Command 9 - Read device variables with status
- Universal Command 11 - Read unique identifier associated with tag
- Universal Command 12 - Read message
- Universal Command 13 - Read Tag, Descriptor and Date
- Universal Command 14 - Read PV sensor information
- Universal Command 15 - Read output information
- Universal Command 16 - Read final assembly number
- Universal Command 17 - Write message
- Universal Command 18 - Write Tag, Descriptor and Date
- Universal Command 19 - Write final assembly number
- Universal Command 20 - Read long tag
- Universal Command 21 - Read unique identifier associated with long tag
- Universal Command 22 - Write long tag
- Common Practice Command 34 - Write (PV) damping value
- Common Practice Command 35 - Write (PV) range values
- Universal Command 38 - Reset configuration changed flag
- Universal Command 48 - Read additional device status
- Common Practice Command 49 - Write (PV) Sensor Serial Number
- Private Command 122 - Read NVM
- Private Command 123 - Write NVM
Can additional HART commands be added?
Additional Common Practice or Private commands may easily be added at to the stack. Examples are provided in the User's Manual. Technical consultation is available at reasonable hourly rates.
Are example applications provided?
Yes, we have provided sample applications for Atmel AVR (ATmega128) and Microchip PIC (PIC18 series) microcontrollers. These examples include source code only (no hardware). And were developed using commercially available microcontroller development boards. These boards are easily obtainable from the links below, and affordable. Tools used to build this project were open source (WinAVR).
Atmel AVR Example
The Atmel example application is running on a AVR-MT-128 development board manufactured by Olimex. This is a nice board with an LCD display and push buttons. It features an RS-232 interface. This board can be purchased directly from the manufacturer or it can also be purchased from MicroController Pros in the US.
Click here to visit the Olimex Website.
Click here to visit MicroController Pros
Click here to get WinAVR.
Microchip PIC18 Example
The Microchip example application is running on a SBC28PC-IR4 development board manufactured by ModTronix Engineering. It has a socket for the microcontroller and supports a variety of 28-pin Microchip microcontrollers. It features an RS-485 interface.
Click here to visit ModTronix
Is this product tested to meet HART conformance?
This product is currently undergoing certification testing for verification of the stack only. It is ultimately up to the product manufacturers responsibility to test their product for compliance with the HART protocol standards. We will assist our clients with certification issues free of charge.
How Much Does it Cost?
We are offering this software package, which includes all source code for the stack and the example applications for the price of $9995.00 (USD). The software is being distributed under a royalty free, non-transferable license for a single product. Additional products may be licensed at a discount rate.
We also offer a consulting service for clients who whish to implement HART slave capibility into new or existing products. We can assist with hardware development, implementation of additional commands, conformance testing, etc. Contact us for hourly rates.
I'm Interested, What Should I Do?
Interested parties should contact sales at Triangle Micro Solutions, Inc. for a free consultation concerning your specific situation.