CPKSoft Engineering

XHART.tlk Driver Reference

Rosemount Hart Revision 4 Field Communications Protocol

This driver requires that you have TAS-HMITalk 8.04 installed.

Driver Overview

XHART driver allows you to connect to any smart transmitter that

supports the Rosemount's HART protocol, revisions 4 or 5.

 

HART is an acronym for "Highway Addressable Remote Transducer".

The HART specification defines the phisical form of transmision,

the transaction procedures, message structure, data forms and

a set of commands.

 

The description "smart" for a field device is used in the sense of

"intelligent", to describe any device which includes a microprocessor.

Typically, this would imply extra functionality, above what had

previously been provided in similar non-microprocessor-based

instruments. In a "smart" field device, the analog signal, digital

communication and (generally) power co-exist on the same pair of wires.

 

Multidrop communication:

 

If the measured variable is going to be read by digital communication,

the analog 4 to 20 mA signal is no longer required. It then becomes

possible to connect multiple field devices to a single pair of wires,

and to communicate with each one in turn to read its measurement (or

other data). To do this, each device must have an "address", to which

it will respond, and each request from the host must include this as

a part of the message.

 

This can significantly reduce the cost of field wiring and of the

host's input interface electronics. Note, however, that the use of a

cyclic scan means that each measurement is only examined at intervals,

and the cycle time for a complete scan may be too long for high-speed

control loops.

 

Commands Supported:

 

The following Universal Commands are implemented in this driver,

both for HART Revision 4 and HART Revision 5 Protocols:

 

- Read Unique Identifier (Code 0)

- Read Primary Variable (Code 1)

- Read Current and Percent of Range (Code 2)

- Read Current and 4 Dynamic Variables (Code 3)

- Read Primary Variable Sensor Information (Code 14)

- Read Output Information (Code 15)

- Write Damping Value (Code 34)

- Write Range Values (Code 35)

- Write TRIM DAC Zero (Code 45)

- Write TRIM DAC Gain (Code 46)

 

In case you don't know which HART Protocol's Revision must be

used, you should send the command Read Unique Identifier to the

transmitter and read in Channel 03 the Universal Command Revision

returned by the field device.

 

- A value less or equal than 4 in Channel 03 means

Universal Command Revision 4 and implies that the Set of

Commands for HART Revision 4 should be used to communicate

with this transmitter.

- A value grater or equal than 5 in Channel 03 means

Universal Command Revision 5 and implies that the Set of

Commands for HART Revision 5 should be used to communicate

with this transmitter.

Supported Equipment Type

Smart Transmitters

Supported Devices List

SMAR LD301 Pressure Transmitter

SMAR TT301 Temperature Transmitter

ROSEMOUNT 1151S Pressure Transmitter

ROSEMOUNT 3001C/L Hydrostatic Pressure/Level Transmitter

ROSEMOUNT 3044 Temperature Transmitter

ROSEMOUNT 3044C Temperature Transmitter

ROSEMOUNT 3051 Pressure Transmitter

ROSEMOUNT 3051C Pressure Transmitter

ROSEMOUNT 3680 Density Transmitter

ROSEMOUNT 8712C Magnetic Flow Meter

ROSEMOUNT 9712 Mass Flow Meter

ROSEMOUNT 9729 Mass Flow Meter

Supported Commands List

Read Unique Identifier

Read Primary Variable (HART Revision 4)

Read Current and Percent of Range (HART Revision 4)

Read Current and 4 Dynamic Variables (HART Revision 4)

Read Primary Variable Sensor Information (HART Revision 4)

Read Output Information (HART Revision 4)

Write Damping Value (HART Revision 4)

Write Range Values (HART Revision 4)

Write TRIM DAC Zero (HART Revision 4)

Write TRIM DAC Gain (HART Revision 4)

Read Primary Variable (HART Revision 5)

Read Current and Percent of Range (HART Revision 5)

Read Current and 4 Dynamic Variables (HART Revision 5)

Read Primary Variable Sensor Information (HART Revision 5)

Read Output Information (HART Revision 5)

Write Damping Value (HART Revision 5)

Write Range Values (HART Revision 5)

Write TRIM DAC Zero (HART Revision 5)

Write TRIM DAC Gain (HART Revision 5)

Read Unique Identifier

COMMAND DESCRIPTION:

Reads the Transmitter's Unique Identifier.

 

In case you don't know which HART Protocol's Revision

must be used, you should send this command to the transmitter

and read in Channel 03 the Universal Command Revision

returned by the field device.

- A value less or equal than 4 in Channel 03 means

Universal Command Revision 4 and implies that the Set of

Commands HART Revision 4 should be used to communicate

with this transmitter.

- A value grater or equal than 5 in Channel 03 means

Universal Command Revision 5 and implies that the Set of

Commands HART Revision 5 should be used to communicate

with this transmitter.

 

In order to obtain a valid answer from the field device, it

must be the only one connected to the main pair of wires.

For example, if you're trying to configure a 3 transmitters

multidrop the correct procedure is to connect them one at

a time and then send a Command 0 to each one separately.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = 0

HMITalk1.DriverP5 = 0

 

RETURNS:

- HMITalk1.PointValue(0) = Manufacturer information code

(used as HMITalk1.DriverP0 in HART 5 requests)

- HMITalk1.PointValue(1) = Manufacturer's device type code

(used as HMITalk1.DriverP1 in HART 5 requests)

- HMITalk1.PointValue(2) = Number of preambles

- HMITalk1.PointValue(3) = Universal command revision

- HMITalk1.PointValue(4) = Transmitter-specific command revision

- HMITalk1.PointValue(5) = Software revision

- HMITalk1.PointValue(6) = Hardware revision

- HMITalk1.PointValue(7) = Device function flags

- HMITalk1.PointValue(8) = Device ID number

(used as HMITalk1.DriverP2 in HART 5 requests; this number

usually coincide with the Serial Number

etched in the transmitter's badge)

Read Primary Variable (HART Revision 4)

COMMAND DESCRIPTION:

This command returns the Transmitter's Primary Variable

and a code representing the phisical units of that variable.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 1

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Primary variable units code

- HMITalk1.PointValue(1) = Primary variable

Read Current and Percent of Range (HART Revision 4)

COMMAND DESCRIPTION:

This command reads the current flowing trough the wires

representing the analog variable in a scale from 4 to 20 mA.

It also reads the corresponding percent of range.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 2

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Current expressed in [mA]

- HMITalk1.PointValue(1) = Percent of range

Read Current and 4 Dynamic Variables (HART Revision 4)

COMMAND DESCRIPTION:

This command reads the current flowing trough the wires

representing the analog primary variable in a scale

from 4 to 20 mA.

It also reads four dynamic variables known as PV (Primary

Variable, SV (Second V.), TV (Third V.) and FV (Fourth V.).

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 3

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Current expressed in [mA]

- HMITalk1.PointValue(1) = PV units code

- HMITalk1.PointValue(2) = Primary Variable

- HMITalk1.PointValue(3) = SV units code

- HMITalk1.PointValue(4) = Second Variable

- HMITalk1.PointValue(5) = TV units code

- HMITalk1.PointValue(6) = Third Variable

- HMITalk1.PointValue(7) = FV units code

- HMITalk1.PointValue(8) = Fourth Variable

Read Primary Variable Sensor Information (HART Revision 4)

COMMAND DESCRIPTION:

This command returns information related to the Primary

Variable Sensor.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 14

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Sensor serial number

- HMITalk1.PointValue(1) = Units code for sensor limits and

minimum span

- HMITalk1.PointValue(2) = Upper sensor limit

- HMITalk1.PointValue(3) = Lower sensor limit

- HMITalk1.PointValue(4) = Minimum span

Read Output Information (HART Revision 4)

COMMAND DESCRIPTION:

This command reads general information related to the

transmitter's output.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 15

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Alarm select code

- HMITalk1.PointValue(1) = Transfer function code

- HMITalk1.PointValue(2) = Primary Variable's range units code

- HMITalk1.PointValue(3) = Upper range value

- HMITalk1.PointValue(4) = Lower range value

- HMITalk1.PointValue(5) = Damping value (expressed in seconds)

- HMITalk1.PointValue(6) = Write-protect code

- HMITalk1.PointValue(7) = Private-label distributor code

Write Damping Value (HART Revision 4)

COMMAND DESCRIPTION:

This command allows you to write the damping value of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 34

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Damping Value (sec)

Write Range Values (HART Revision 4)

COMMAND DESCRIPTION:

This command allows you to write the range values of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 3

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 35

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Range Units Code (0-255)

- HMITalk1.PointValue(1) = Upper Range Value

- HMITalk1.PointValue(2) = Lower Range Value

Write TRIM DAC Zero (HART Revision 4)

COMMAND DESCRIPTION:

This command allows you to write the TRIM DAC Zero of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 45

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Measured Current (mA)

Write TRIM DAC Gain (HART Revision 4)

COMMAND DESCRIPTION:

This command allows you to write the TRIM DAC Gain of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 0

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Smart transmitter's short-frame address (0-15).

HMITalk1.DriverP3 = 46

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Measured Current (mA)

Read Primary Variable (HART Revision 5)

COMMAND DESCRIPTION:

This command returns the Transmitter's Primary Variable

and a code representing the phisical units of that variable.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 1

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Primary variable units code

- HMITalk1.PointValue(1) = Primary variable

Read Current and Percent of Range (HART Revision 5)

COMMAND DESCRIPTION:

This command reads the current flowing trough the wires

representing the analog variable in a scale from 4 to 20 mA.

It also reads the corresponding percent of range.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 2

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Current expressed in [mA]

- HMITalk1.PointValue(1) = Percent of range

Read Current and 4 Dynamic Variables (HART Revision 5)

COMMAND DESCRIPTION:

This command reads the current flowing trough the wires

representing the analog primary variable in a scale

from 4 to 20 mA.

It also reads four dynamic variables known as PV (Primary

Variable, SV (Second V.), TV (Third V.) and FV (Fourth V.).

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 3

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Current expressed in [mA]

- HMITalk1.PointValue(1) = PV units code

- HMITalk1.PointValue(2) = Primary Variable

- HMITalk1.PointValue(3) = SV units code

- HMITalk1.PointValue(4) = Second Variable

- HMITalk1.PointValue(5) = TV units code

- HMITalk1.PointValue(6) = Third Variable

- HMITalk1.PointValue(7) = FV units code

- HMITalk1.PointValue(8) = Fourth Variable

Read Primary Variable Sensor Information (HART Revision 5)

COMMAND DESCRIPTION:

This command returns information related to the Primary

Variable Sensor.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 14

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Sensor serial number

- HMITalk1.PointValue(1) = Units code for sensor limits and

minimum span

- HMITalk1.PointValue(2) = Upper sensor limit

- HMITalk1.PointValue(3) = Lower sensor limit

- HMITalk1.PointValue(4) = Minimum span

Read Output Information (HART Revision 5)

COMMAND DESCRIPTION:

This command reads general information related to the

transmitter's output.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-9

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 15

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

RETURNS:

- HMITalk1.PointValue(0) = Alarm select code

- HMITalk1.PointValue(1) = Transfer function code

- HMITalk1.PointValue(2) = Primary Variable's range units code

- HMITalk1.PointValue(3) = Upper range value

- HMITalk1.PointValue(4) = Lower range value

- HMITalk1.PointValue(5) = Damping value (expressed in seconds)

- HMITalk1.PointValue(6) = Write-protect code

- HMITalk1.PointValue(7) = Private-label distributor code

Write Damping Value (HART Revision 5)

COMMAND DESCRIPTION:

This command allows you to write the damping value of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 34

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Damping Value (sec)

Write Range Values (HART Revision 5)

COMMAND DESCRIPTION:

This command allows you to write the range values of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 3

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 35

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Range Units Code (0-255)

- HMITalk1.PointValue(1) = Upper Range Value

- HMITalk1.PointValue(2) = Lower Range Value

Write TRIM DAC Zero (HART Revision 5)

COMMAND DESCRIPTION:

This command allows you to write the TRIM DAC Zero of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 45

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Measured Current (mA)

Write TRIM DAC Gain (HART Revision 5)

COMMAND DESCRIPTION:

This command allows you to write the TRIM DAC Gain of

the selected transmitter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Manufacturer Identification Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 00.

For example:

- 56 for Rosemount

- 62 for Smar

HMITalk1.DriverP1 = Manufacturer's Device Type Code.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 01.

HMITalk1.DriverP2 = Smart transmitter's long-frame address.

This code can be read from the smart transmitter using

the Command 0 (Read Unique Identifier) that returns the

proper value in Channel 08.

This number usually coincide with the Serial Number

etched in the transmitter's badge.

HMITalk1.DriverP3 = 46

HMITalk1.DriverP4 = Number of synchronism bytes (the default 0 means a 5-bytes Preamble)

HMITalk1.DriverP5 = Master Address

- 0 = Primary Master

- 1 = Secondary Master

 

WHERE:

- HMITalk1.PointValue(0) = Measured Current (mA)

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

[1433] PROTOCOL (Format): Validation error in device response

[2002] CONFIG (DataType): Digital inputs are not supported by this driver

[2003] CONFIG (DataType): Digital outputs are not supported by this driver

[2109] CONFIG (NumValues): Invalid number of channels (must be 3)

[2149] CONFIG (NumValues): Only one value can be written

[2153] CONFIG (NumValues): Too many channels requested (max=64)

[2154] CONFIG (NumValues): Too many channels requested (max=8)

[2155] CONFIG (NumValues): Too many channels requested (max=9)

[2254] CONFIG (NumValues): Too many values requested (max=2)

[2262] CONFIG (NumValues): Too many values requested (max=5)

[3038] CONFIG (P0): Invalid manufacturer id (must be 0 or a positive number)

[3552] CONFIG (P1): Invalid device type (must be 0 or a positive number)

[4113] CONFIG (P2): Invalid transmitter long-frame address (use 0 to 16777215 only)

[4114] CONFIG (P2): Invalid transmitter short-frame address (use 0 to 15 only)

[4521] CONFIG (P3): Invalid command code (valid codes are 0, 1, 2, 3, 14 and 15)

[5028] CONFIG (P4): Invalid number of synchronism characters (0-32)

[5508] CONFIG (P5): Invalid master address (must be 0 or 1)

[8012] CONFIG (Remote): Access restricted error

[8024] CONFIG (Remote): Analog output saturated error

[8046] CONFIG (Remote): Checksum error

[8049] CONFIG (Remote): Cold start error

[8061] CONFIG (Remote): Command not Implemented error

[8065] CONFIG (Remote): Command-specific or an unknown error

[8072] CONFIG (Remote): Configuration changed error

[8104] CONFIG (Remote): Device is busy error

[8108] CONFIG (Remote): Device malfunction error

[8149] CONFIG (Remote): Framing error

[8179] CONFIG (Remote): In write-protect mode error

[8188] CONFIG (Remote): Invalid answer (too few bytes where received)

[8199] CONFIG (Remote): Invalid selection error

[8250] CONFIG (Remote): Output current fixed error

[8256] CONFIG (Remote): Overrun error

[8259] CONFIG (Remote): Parity error

[8260] CONFIG (Remote): Passed parameter too large error

[8261] CONFIG (Remote): Passed parameter too small error

[8269] CONFIG (Remote): Primary variable out of limits error

[8307] CONFIG (Remote): Reserved error

[8313] CONFIG (Remote): Rxbuffer overflow error

[8337] CONFIG (Remote): Too few data bytes received error

[8340] CONFIG (Remote): Transmitter-specific command error

[8343] CONFIG (Remote): Undefined error

[8347] CONFIG (Remote): Unknown error

[8361] CONFIG (Remote): Variable (not primary) out of limits error

About the XHART.tlk driver

This driver requires that you have TAS-HMITalk 8.04 installed.

Driver Source Code Last Update: 03/08/2004 14:07:48

Driver Reference Last Update: 10/30/2008 17:38:54

© 1990-2008, CPKSoft Engineering. All rights reserved.

http://www.cpksoft.com - support@cpksoft.com

http://www.cpksoft.com.ar - soporte@cpksoft.com.ar>