ICP DAS HART User Manual

HDS
HART Device Simulator
User’s Manual
(v1.09)
Warranty
All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, or for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright 2015 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks
of their respective companies.
HDS (HART Device Simulator) User’s Manual (Ver 1.09, 2020/11/19) ------------- 1
Table of Contents
1. Introduction .......................................................................... 3
1.1 HDS Features .................................................................................... 3
1.2 HDS Information ................................................................................ 4
2. HDS Tool ............................................................................... 5
2.1 HDS Operation ................................................................................... 5
2.1.1 ComPort ........................................................................................... 5
2.1.2 Parameter of HART Simulation Device ................................ ............ 5
2.1.3 System Function .............................................................................. 7
2.1.4 I-7547 Function .............................................................................. 10
2.2 HDS Other Function .......................................................................... 11
2.2.1 HART Supported Command............................................................ 11
3. FAQ ...................................................................................... 12
Q01. Run the HDS tool step by step? .................................................................. 12
Q02. How to modify the parameters for HART simulated device? ....................... 14
Q03. How to use HDS to virtually transfer Modbus device to HART device? ...... 18
Q04. How to use HART Device-Specific commands ........................................... 21
Q05. How to change CMD48 parameters setting ................................................ 25
Q06. How to simulate HART 7.0 device by HDS ................................................. 26
Q07. How to use Modbus to communicate with HDS ? ....................................... 28
Q08. How to response HART specific command 158 in HDS ? ........................... 29
Q09. How to simulate the abnormal status of HDS ?........................................... 31
Q10. How to enable/disable the burst mode of HDS ? ........................................ 34
Q11. How to set HART burst command number of HDS ? .................................. 35
4. Version History ................................................................... 38
HDS (HART Device Simulator) User’s Manual (Ver 1.09, 2020/11/19) ------------- 2
1. Introduction
HART Device Simulator (called HDS) is the HART device simulation software developed by ICP DAS. It can be used to simulate multi HART slave devices simultaneously to exchange data with HART master device by using ICP DAS HART converter (like: I-7567 / I-7570 / I-7547) connected to any COM port (USB / 232 / 485 / Ethernet). By this way, users can develop or verify the HART master program without any HART slave device. The below figure is the application of HDS.
Figure 1-1 : HDS Application
1.1 HDS Features
Free HART slave device simulation software
(Must work with one of ICP DAS HART converter: I-7567/ I-7570/ I-7547)
Support a lot of HART commands (like: CMD0 / 1 / 2 / 3 …) Provide the setting for the long frame address of HART device.
Provide the setting for the value and unit of HART command 3. Support 16 HART devices simulation simultaneously (address 0 ~ 15). Exchange data with HART master device by using ICP DAS HART
converter (like: I-7567 / I-7570 / I-7547)
Support HART communication data log. Provide the “adjustable” HART device status bit
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 3
1.2 HDS Information
Compatible with command revision 5, 6, 7 of HART protocol. When the COM port is open, the HDS will listen for the incoming
requests and response data.
Only the HART simulation device with the Enabled option checked will
response data.
The field of the Short Frame Address is fixed. The field of the Long Frame Address with 5 bytes can be set to
simulate the different HART manufacturers slave device.
All the HART communication data can be logged to file. The four main values and units of PV / SV / TV /QV of HART command
3 can be set for every HART simulation device.
Figure 1-2 : HDS Tool
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 4
2. HDS Tool
The HDS software includes the below files. (1) HDS.exe => The main program. (2) HDS.ini => The record file for parameters. => Users can execute the HDS.exe to run HDS program. => HDS software can be downloaded from :
http://ftp.icpdas.com/pub/cd/fieldbus_cd/hart/converter/hds/software/.
2.1 HDS Operation
Execute the HDS tool.
Figure 2-1: HDS Main Screen
2.1.1 ComPort
Choose the “ComPort” number and click the “Open” button.
Figure 2-2: Open the “ComPort”
2.1.2 Parameter of HART Simulation Device
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 5
(1) HART v7.0 option : (Available after version v1.06) => If checked, MfrID field will be enabled
(2) GetCMD3Param option : (Available after version v1.06) => If checked, HDS will load CMD3 parameters settings from INI file
(3) Enable” option :
=> If checked, the corresponding HART simulation device will be enabled.
(4) Short Addr” field : (fixed, decimal) => The Short Frame Address of HART simulation device.
(5) Long Addr (HEX)” field : (can be set, hex) => The Long Frame Address of HART simulation device.
(6) MfrID field : (can be set, hex) => Enabled if HART v7.0 checked, the manufacturer ID for HART v7.0
(7) PV_Value / PV_Unit field : (can be set) => The PV value and unit of HART simulation device.
(8) SV_Value / SV_Unit field : (can be set) => The SV value and unit of HART simulation device.
(9) TV_Value / TV_Unit field : (can be set) => The TV value and unit of HART simulation device.
(10) QV_Value / QV_Unit field : (can be set) => The QV value and unit of HART simulation device.
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 6
2.1.3 System Function
(1) SetParam button :
=> Set the current parameters of HART simulation device and save to the
HDS.ini file. When executing the HDS tool next time, it will load the new settings.
(2) DataLog button :
=> It will open the HART communication screen.
<1> <== : HDS receive HART command. <2> ==> : HDS send(response) HART command.
[1] “Auto Scroll” option : => If checked, it will show the latest HART communication data. [2] “RecvCnt” field : => Show the total number of received HART command of HDS not including the response command. [3] “Save” button : => Save all the HART communication data to file. [4] “Clear” button : => Clear all the HART communication data.
(3) DevStatus button : (Supported in v1.02)
The DevSta Return Mode option :
=> It is used to set the return mode of HART device status. (All the simulated HART devices use the same settings)
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 7
[1] Auto Mode :
The HART device status is decided by HDS software according to the current HART comm. status.
[2] Manual Mode :
The HART device status is decided by users according to the below check options.
(4) Dev-Specific button : (Supported in v1.05.1)
[1] It is used to set the parameters of the device-specific command. (All the simulated HART devices use the same settings) [2] It supports 64 parameters for every device-specific command. [3] It supports device-specific command from 128 ~ 253.
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 8
[1] HART CMD No option : => Choose HART device-specific command no.
[2] CMD Param Num field : => Choose the amount of parameters for the chosen HART device­specific command no.
[3] CMD Param Value (Hex) field :
=> Set the parameter value with Hexadecimal format.
[4] Set button :
=> Save the settings of the screen to the HDS.ini file.
[5] Get button :
=> Get the settings from the HDS.ini file and show them to the screen.
[6] Clear button :
=> Set all the parameter value to be zero.
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 9
2.1.4 I-7547 Function
(1) Enable checkbox :
=> When checked, the HART channel setting of I-7547 will be enabled.
(2) ChNo combox :
=> It is used to choose the HART channel no. of I-7547.
(3) SetCh button :
=> It is used to set the HART communication channel of I-7547.
(4) GetCh button :
=> It is used to get the current HART communication channel of I-7547.
[ Note ]
1. When using I-7547, the timeout value should be more than 1000ms in the HART master program for stable HART communication.
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 10
2.2 HDS Other Function
2.2.1 HART Supported Command
HDS supports a lot of HART commands as below:
1. Universal command :
00, 01, 02, 03, 07, 08, 09, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
2. Common-Practice command :
[1] 33 ~ 38 [2] 40 ~ 44 [3] 47 ~ 51 [4] 59, 71, 76, 89, 90, 95, 108, 109
3. Device-Specific command :
128 ~ 253
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 11
3. FAQ
Q01. Run the HDS tool step by step?
A01 : (2015/12/17)
Example (1) Hardware required:
[1] I-7567 or I-7570 or I-7547 * 1 (as Slave) [2] I-7567 or I-7570 or I-7547 * 1 (as Master) [3] PC
(2) Software required:
[1] HDS (for Slave) [2] HC_Tool (for Master)
(3) Application structure:
(4) Procedure:
[1] Simulate HART Slave Device
<1> Connect 1 ICP DAS HART converter to PC <2> Run HDS tool <3> Choose the ComPort number and click the Open button <4> If using I-7547, please do the following 2 steps
i. Use VxComm Utility to create virtual ComPort for I-7547,
detailed instruction refer to Chapter 4.1 of I-7547 manual
ftp://ftp.icpdas.com.tw/pub/cd/fieldbus_cd/hart/converter/i-7547/manual/
ii. After Opened the virtual ComPort, tick Enable box as below
and choose channel number and Set Ch
HDS (HART Device Simulator) User Manual (Ver 1.09, 2020/11/19) ------------- 12
Loading...
+ 26 hidden pages