Important Information Warning The data and examples in this manual cannot be copied without authorization. SST Automation reserves the right to upgrade the product without notifying users. The product has many applications. The users must make sure that all operations and results are in accordance with the safety of relevant fields, and the safety includes laws, rules, codes and standards.
1.1 Product Function GT200-HT-RS is a gateway that can provide a seamless connection between HART and Modbus. At HART side it can be configured as a primary master or the secondary master, and acts as slave at the Modbus side. In configuration mode, it can be used as a HART communicator and connect to configuration software.
[9] Supports an internal or external HART sampling resistor. [10] Supports serial RS-232 and RS-485, baud rate supports:600, 1200, 2400, 4800, 9600, 19.2K, 38.4K, 57.6K, 115.2Kbps. [11] The serial port can be configured as Modbus slave, supports modbus function code: 03H, 04H, 06H, 10H. [12] The Modbus side supports optional reading of data with function codes 03 and 04.
2 Hardware Descriptions 2.1 Product Appearance DIP Switch Modbus Address Setting Power Interface Button Serial State Indicator HART State Indicator Resistor Switch LED Display HART Interface RS-232 Interface RS-485 Interface Note: This picture is for reference only. The product appearance is subject to the actual product. www.SSTAutomation.com...
5.3. Note: After re-configuring the switch, you have to restart the GT200-HT-RS to make the settings take effect! (Power off then Power On) Set to the debug mode, it will be compulsory to appoint RS-485 interface as communication interface, RS-232/USB interface as debugging interface.
Modbus address. At last, long-press the button again for 3 seconds, the address flashing three times shows that the address is set successfully. If no button action within ten seconds, GT200-HT-RS exits the status of setting address and continue to display the original address. The configurable range of Modbus address is 0 to 99 (Decimal).
24V+, DC Positive 24V 24V+ 2.6.2 RS-485 Interface The RS-485 interface of GT200-HT-RS is a standard one, and the RS-485 characteristics of the product are shown as follows: The basic characteristics of RS-485 transmission technology Network topology: Linear bus, there are active bus terminal resistors at both sides.
Function B(+), RS-485 A(-), RS-485 2.6.3 RS-232 Interface RS-232 interface uses one 3-pin pluggable open terminal, and its pin description is shown as follows: Function RX, Connect RS-232's RX of user device TX, Connect RS-232's TX of user device GND, Connect RS-232's GND of user device 2.6.4 HART Interface Function Connect HART signal positive...
2.6.5 Mini B Type USB Mini B type USB interface is defined as below: Name Function VBUS Data negative Data positive Signal Ground www.SSTAutomation.com...
2.6.6 Topology of GT200-HT-RS and Fieldbus Devices www.SSTAutomation.com...
Page 14
Note: Some HART slave instrument need to perform self-test and other internal work when power is on, they may not start HART communication, then gateway cannot receive the response data of the instrument right now. It is recommended the HART slave instrument and gateway uses separate power supply so that the gateway can immediately establish communication with instrument.
3 Hardware Installation 3.1 Mechanical Dimensions Size: 1.0 in (width)*4.0 in (height)*3.6 in (depth) 3.2 Installation Method Using 1.4 in (35mm) DIN RAIL www.SSTAutomation.com...
Page 16
Install the gateway Uninstall the gateway www.SSTAutomation.com...
4 Quick Start Guide 4.1 Gateway Configuration 4.1.1 Connection Turn gateway’s configuration bit of DIP switch(refer to chapter 2.3) to “ON”. Connect the Gateway’s RS-232/USB interface and the serial port of the computer with a serial cable, wiring methods see chapter 2.6.3 of this manual.
Page 18
Note: HART protocol specifies that the slave device which address is 0 must work in point to point mode. In point to point mode the digital communication and analog communication is allowed to exist at the same time. The Slave with address 1~63 works in multi-drop mode. In multi-drop mode the analog output of the device is the minimum value (e.g.
Page 19
Click the tool , in the pop-up dialog box, select the serial port that gateway is connected to the computer, click OK and then click Download data: www.SSTAutomation.com...
4.1.3 Function Demo HART interface of the gateway connects with a 2-wire pressure transmitter with slave address 0, RS-485 interface is connected to the computer through RS-485/RS-232 converter, and computer with configured Modbus POLL software can simulate to work as a Modbus master, then in data exchange window you can see the main variable value of the pressure transmitter: www.SSTAutomation.com...
SST-HT-CFG is configuring software based on Windows platform, and used to configure HART series products. The following describes how to use the software SST-HT-CFG to configure the product GT200-HT-RS. You may also check the software user manual to get detailed usage.
Save: Save the current configuration. Open: Open a configuration project. Add Node: Add a HART node. Delete Node: Delete a HART node. Add Command: Add a HART command. Delete Command: Delete a HART command. Upload: Upload the configuration from the gateway. Download: Download the configuration to the gateway.
LED display displaying “CF” indicates it is in the configuration mode. 5.2.2 Configure the Fieldbus 5.2.2.1 Configure the fieldbus as Modbus slave If you want to use the functionality of Modbus slave, click the “Fieldbus” in the tree view, select mode as “Modbus slave”...
Function Code of Modbus Master Reading Data:Modbus Master equipment can choose to use 04 or 03 function code to read the HART device data (input data) collected through the gateway. 5.2.2.2 Configure the fieldbus as universal mode The universal mode (transparent transmission mode) means that we can send HART frame directly through serial port (RS-232/RS-485), meantime gateway also will send out the data received from HART bus through serial port.
Page 25
only communicate with the slave device whose address is 0. Number of retries: 0~5. Polling : Enable, Disable. Delay between polls: 256~65535ms. Response timeout: 256~65535ms. 5.2.3.2 Add Slave Nodes Select the”HART Channel”, Right click the mouse and click “Add Node”. Click the added node, set slave address in the right configuration plate, and please notice that HART channel can only be equipped with one slave node when configured in the single point mode.
Page 26
5.2.3.3 Add HART Commands Select the “Node (x)”, Right click the mouse and click “Add Command”. Choose the command you want in the popup menu, and then click “OK” to exit: Note: the same command can only be configured once in one node. 5.2.3.4 Configure HART Commands Click the command number in the tree view.
Page 27
Configuration Mode: Basic and advanced optional, “basic” is shown as above, “advanced” configuration can refer to chapter 5.2.3.7. Command output mode: You can use the execution way of the command, change-of-state output, polling output, Initialization output and disable output optional: Change-of-state output: Execute this command once s data buffer of HART changes.
Page 28
Command index: The property is automatically calculated by the configuration software, it indicates the index in the configured command list this command belongs to. 5.2.3.5 Delete Commands Select the command need to be deleted, Right click the mouse and click “Delete Command”. Through the menu command can also be the same action.
Page 29
First to explain the “Mapped Address”: Bytes: Response bytes of “Response Data”. Memory Address: Assigned memory address which this byte is located in memory buffer area of GT200-HT-RS. Modbus register address: The relevant Modbus register address of “Memory Address”. Note: this address is not a single address, that is the same memory area which it occupied.
5.2.4 Conflict Detection Conflict detection is used to check the distribution condition of the input and output data of all commands stored in the memory. Click icon will show the conflict detection interface as follow: The left side is configuration commands, the right side is data memory address including receive data storage address and send data storage.
users’ commands. You should set the correct input/output bytes for each commands, then click label, select “OK” in the popup menu. 5.2.6 Upload configuration Open the software “SST-HT-CFG”, Click on the icon , Select the computer port connected to the gateway and then click “upload data”, If it shows “upload successfully”, which indicates that configuration file had been uploaded to the SST-HT-CFG.
Set the DIP switch’s debug bit to ON state and the configuration bit to OFF state, restart the gateway. GT200-HT-RS is in the debug mode. Use a serial port line to connect the GT200-HT-RS’s RS-232 port and computer RS-232 serial port or use USB way to connect it, open the software “SST-HT-CFG”, Click “Config—Serial Connection”, Select the correct serial port Click “Tool—Show Memory Data”...
Set the DIP switch’s debug bit to ON state and the configuration bit to OFF state, back online. GT200-HT-RS is in the debug mode. Use a serial port line to connect the GT200-HT-RS’s RS-232 port and computer RS-232 serial port or use USB way to connect it, open the software “SST-HT-CFG”, Click “Config—Serial Connection”, Select the correct serial port Click “Tool—Diagnose”...
Page 34
Click “Upload data” will see a picture as below: Click “OK” button to get in the interface of diagnose: Click on “HART Channel” in this interface, it will show the status of HART fieldbus part in the right place, press “Refresh”...
Page 35
Click Node(x), it is shown as below: It shows the response status of configured commands. Click “Refresh” will fresh these command status, “Periodically refresh” will fresh command status once. Double click command 0, 1, 2, 3, 6, 11, 12, 13, 14, 15, 16, 17, 18, 19 will show their command information, command 6, 17, 18 and 19 can start data input.
The 'Scan' function allows users to easily view the address of the HART slave device and modify the slave address. To use this feature, follow these steps: (1) Set the DIP switch on the GT200-HT-RS to '1ON2OFF', then power it up again. The GT200-HT-RS will now operate in debug mode.
Set the DIP switch’s debug bit to ON state and the configuration bit to OFF state, restart the gateway. Now GT200-HT-RS is in the debug mode. Use a serial port line to connect the GT200-HT-RS’s RS-232 port and computer RS-232 serial port or use USB way to connect it, open the software “SST-HT-CFG”, Click “Config—Serial Connection”, Select the...
Page 38
correct serial port. Click “Tool—Serial Debugging Assistant” or click on the icon , Interface is as follows: In this interface, click “Auto-send” or “Send” will combine data head, data, and check code into one frame and send out it. The data that the gateway received from HART fieldbus will be shown in the blank place below. The “Checksum”...
In this example, command ID0 is composed of data head, data and check code. It uses short address. when you click “Send”, you will get the response data. Note: Under this function, gateway will stop to execute the configured command. Turn off this function, gateway will return to execute the configured command.
After installing USB driver, this USB driver will generate a virtual COM port on PC, GT200-HT-RS can communicate with PC through this virtual COM port. Please ensure that this USB driver is installed before using this function.
Page 42
Click “Finish”, to finish the installation of USB driver. How to find this virtual COM port? Use USB cable line to connect GT200-HT-RS and PC, set bit 2 of DIP switch to ON, and power on the product. Open the “Computer Management” of PC, you will find there is one new COM port under “Port (COM&LPT), as shown “STMicroelectronics Virtual COM Port (COM3), that is the virtual...
Page 43
Noted: Different computer, the serial number will be different. Open SST-HT-CFG software, click “Config” and choose Serial port, here choose COM3, as shown below: After choosing serial port, click “Upload” on the toolbar: www.SSTAutomation.com...
After clicking Upload data, it will show uploading succeeded: 5.3 HART Communicator Description When the gateway is in configuration mode, the LED digital tube displays "CF". Press and hold the button for 3 seconds, and the digital tube will display "HC". At this time, the gateway enters the HART communicator mode. In the HART communicator mode, it can be connected to the configuration software to configure the HART devices on the line.
Page 45
Note: 1. When the GT200-HT-RS product is used as a HART communicator, please pay attention to whether there is a sampling resistor on the line. If not, you can use the sampling resistor built in the device. Otherwise, turn the sampling resistor DIP switch to the off position.
6 Working Principle Inside the gateway it opens up a length of 5000 bytes of memory as the data exchange of input and output buffers. Memory of 0 to 2999 acts as the storage area of the HARTHART input data and device status. Memory of 3000 to 4999 acts as storage area of the HARTHART output data and control variables.
Page 47
4002 0501H Trigger label 4003 0501L Trigger command number 4004-4269 0502-0634 Reserved 4270 0635H Universal send label 4271 0635L Universal mode enabled 4272-4273 0636 Universal send data length 4274-4573 0637-0786 Universal to send data The HART data input area: Store the data that HART slave device sends to gateway. ...
Page 48
indicates that HART end receives a HART frame. Universal receive data length: Indicating the received data length under the universal mode. Universal Receive Error Counter: Indicate the universal receive error number. Universal receive data: Store the received data at HART side under the universal mode. ...
6.1 Flow chart of Executing One HART Command Current command Initialization Input Data Output Data output Data State Data Execute Satisfy the Quit command polling output Slave's Sent to the slave response command frame Satisfy Change of Field instruments The next Meet the command trigger...
through Modbus command, here is an example: 06H command "common mode enable" bit is 1 10H command will write the data to a continuous region which address begins from “Universal mode send data” The length of the data written to "The universal send data length"...
6.4 Data Exchange with Modbus When fieldbus is configured as "Modbus slave", user can exchange data, inquire about the status of gateway and manage according to the corresponding address of gateway in the internal input and output buffer. Also you can do some trigger operation and transmission of common frame.
7 Modbus Master Communication GT200-HT-RS Gateway provides a solution for HART instruments to communicate with Modbus master through RS-485 or RS-232 interface, the gateway acts as slave, the following example illustrates how the gateway communicates with Modbus Poll (Modbus RTU/ASCII master emulation software).
Page 53
(2) When configuring HART command ID3, use the advanced function to configure the primary variable (PV), the secondary variable (SV), and the tertiary variable (TV). Command ID3: Reads four (predefined) dynamic variables and the primary variable current Reads the primary variable current and 4 (at most) pre-defined dynamic variables, the primary variable current always matches the device's AO output current.
Page 54
(3) The configuration of HART Command ID6 is used to modify the address of the HART device. Command ID6: Write POLLING address This is the data link layer management command. This command writes the Polling address and loop current mode to the field device. Request: Bytes Description...
Page 55
primary variable of HART Command ID1 corresponds to gateway input buffer 0-3, Command ID3 corresponds to 4-15, Command ID6 request corresponds to output buffer 3000-3001, and response corresponds to 16-19. as follows: Modbus RTU/ASCII Master uses 04 function code, using 3x0001-3x0002 corresponding to the primary variable of HART Command ID1, 3x0003-3x0008 corresponding to the primary variable of HART Command ID3, the secondary and tertiary variables.
Page 56
4. Use Modbus POLL to read data (3x0001-3x0010) and write data via 4x0001. The data in the gateway buffer can be viewed in ) and the actual floating-point data of the HART device can be viewed via www.SSTAutomation.com...
Need help?
Do you have a question about the GT200-HT-RS and is the answer not in the manual?
Questions and answers