TABLE OF CONTENTS INTRODUCTION ..........................5 QUICK START PROCEDURE ......................8 SETUP PROCEDURES ........................9 1. CONFIGURING COMMUNICATIONS SETTINGS IN THE HMA ............9 2. READING AND WRITING REGISTERS IN THE HMA ............... 12 3. USING A DTM WITH THE HMA ....................16 4.
Page 4
M. MODEL 705 3X MODBUS REGISTERS ..................113 N. MODEL R82 R2 MODBUS REGISTERS..................114 O. MODEL RX5 MODBUS REGISTERS .................... 115 MODEL 355 MODBUS REGISTERS .................... 116 Q. ENHANCED JUPITER MODBUS REGISTERS ................117 E3 MODULEVEL MODBUS REGISTERS ..................118 MODEL R96 MODBUS REGISTERS ....................
INTRODUCTION This document is intended to provide a guide for utilizing the various features of the Magnetrol HART to Modbus Adaptor (HMA). For each feature, a step-by-step procedure is provided to demonstrate how to set up the HMA and attached HART devices for a particular configuration. Other configurations are possible with various combinations of the number of HART to Modbus Adapters on a single RS-485 line and the number and type of Magnetrol HART devices attached to those HMAs.
Page 6
Operating Modes Modbus RTU and Modbus ASCII When using the Modbus RTU and ASCII protocols, the HMA can be used in several ways: HMA with a single transmitter (HMA mode) – The Modbus host addresses the HMA directly, using the address of the HMA. The registers in the HMA for the attached device follow the numbers listed for Slave 1 in the device register appendices L through S.
Page 7
Supported Device Parameters Not all of the parameters for a particular Magnetrol HART transmitter are supported by the HMA using Modbus communication. For each device type, the parameters that are available have been chosen to represent the most commonly for optimization and troubleshooting. The available parameters are listed in Appendices L through S.
QUICK START PROCEDURE The following procedure demonstrates basic steps for configuring a Magnetrol transmitter containing a HART to Modbus Adaptor (HMA) for use with a Modbus system. The example given is for an installation where a single HART transmitter is attached to the HMA.
SETUP PROCEDURES Configuring communications settings in the HMA Purpose 1.1. This procedure instructs how to configure HART to Modbus Adaptor (HMA) communications using a basic Modbus master simulator application. The procedure can also be performed using any Modbus master that permits reading and writing of the appropriate registers in the HMA. To ensure that there is a known communication configuration for the HMA, position 1 of the DIP switch is used to select between a fixed communication setting and a user-configurable setting.
Page 10
Select Connection\Connect from the menu bar, ensure that the connection settings are as 1.4.3 follows, and then click OK. Note that the USB Serial Port setting needs to match the port number for the communication cable that is being used. Open or click on an Mbpoll window, select Setup\Read\Write Definition from the menu 1.4.4 bar, ensure that the settings are as follows, and then click OK:...
Page 11
Verify that the values in the registers listed in the Mbpoll window match the values for the 1.4.5 desired Modbus protocol settings. Refer to Appendix F for the HMA Communication settings. If the settings do not match, double-click on a value that needs to be changed in order to open the Write Single Register dialog, enter the new value, and then click on Send.
Reading and writing registers in the HMA Purpose 2.1. This procedure instructs how to read and write HART to Modbus Adaptor (HMA) registers using a basic Modbus master simulator application. The procedure can also be performed using any Modbus master that permits reading and writing of the appropriate registers in the HMA.
Page 13
Select Connection\Connect from the menu bar, ensure that the connection settings are as 2.4.3 follows, and then click OK. Note that the USB Serial Port setting needs to match the port number for the communication cable that is being used. 41-621.1 HART ®...
Page 14
To read an input register, open or click on an Mbpoll window, and select 2.4.4 Setup\Read\Write Definition from the menu bar. Set the Slave ID to match the Modbus Poll Address of the HMA. Set the Function to ’04 Read Input Registers (3x)’. Using Appendices L through S, set the Address, Quantity and Display type in the pop-up dialog as required.
Page 15
To read a holding register, open or click on an Mbpoll window, and select 2.4.5 Setup\Read\Write Definition from the menu bar. Set the Slave ID to match the Modbus Poll Address of the HMA. Set the Function to ’03 Read Holding Registers (4x)’. Using Appendices L through S, set the Address, Quantity and Display type in the pop-up dialog as required.
Using a DTM with the HMA Purpose 3.1. This procedure instructs how to connect a HART DTM to the HMA to configure or troubleshoot an attached HART transmitter. Equipment 3.2. Item Manufacturer Model HART to Modbus Adaptor 031-2859-001 Power Supply 20-24V, 0.5A PACTware PACTware Consortium...
Using a Handheld Field Communicator with the HMA Purpose 4.1. This procedure instructs how to connect a handheld communicator, such as the Emerson 475, to the HMA to configure or troubleshoot an attached HART transmitter. Equipment 4.2. Item Manufacturer Model HART to Modbus Adaptor 031-2859-001 Power Supply...
Basic Modbus RTU Communication over RS-485 Purpose 5.1. This procedure instructs how to configure the HART to Modbus Adaptor (HMA) to support the Modbus RTU protocol over RS-485. Equipment 5.2. Item Manufacturer Model HART to Modbus Adaptor 031-2859-001 RS485 Communications cable FDTIchip USB-RS485-WE Termination resistor...
Basic Modbus RTU Communication over RS-232 Purpose 6.1. This procedure instructs how to configure the HART to Modbus Adaptor (HMA) to support the Modbus protocol over RS-232. Equipment 6.2. Item Manufacturer Model HART to Modbus Adaptor 031-2859-001 RS485 Communications cable FDTIchip USB-RS485-WE RS232 Communications cable...
Basic Modbus ASCII Communication over RS-485 Purpose 7.1. This procedure instructs how to configure the HART to Modbus Adaptor (HMA) to support the Modbus ASCII protocol. Equipment 7.2. Item Manufacturer Model HART to Modbus Adaptor 031-2859-001 RS485 Communications cable FDTIchip USB-RS485-WE Termination resistor 120...
Page 21
Select Connection\Connect from the menu bar, ensure that the connection settings are as 7.4.5 follows, and then click OK. Note that the USB Serial Port setting needs to match the port number for the communication cable that is being used. Verify that the Modbus Poll application is receiving responses from the HMA (Tx is 7.4.6 increasing) and that there are no communication errors being reported.
RS-485 terminal block of the HMA1. Connect a 120 resistor between the two RS-485 terminal block positions. Connect additional supported Magnetrol HART devices to the HART loop terminal block of the HMA. There can be any combination of devices including the Model 706, Model 705 3x, Model 355, Model R82 R2, Model RX5, Enhanced Jupiter and E3 Modulevel.
Page 23
be set to the range of 1 to 5 so that they correspond to the slave numbers shown in the registers tables of Sections L through S. Multiple HMAs 8.3.2 Install jumper wires connecting the positive terminal of the RS-485 terminal block of HMA1 and the positive terminal of the RS-485 terminal block of HMA2 as well as the negative terminal of the two terminal blocks.
Page 24
Check that the Device Type (1251 – 1255) and Polling Address (1256 – 1260) registers 8.4.11 display the correct values for the attached devices. All eight registers along with register 1250 can be displayed in one Mbpoll window if the Display parameter is set to ‘Hex’ in the Read/Write Definition dialog.
Page 25
The supported parameters for the HART devices are listed in Appendices L through S. For 8.4.16 each device, use the appropriate table and the Modbus Register number column labeled with the Slave ID number of the device. Read the registers for each parameter. Note that the Slave ID number for the Mbpoll window must match the Slave ID of the HMA, not the attached HART device(s).
RS-485 terminal block of the HMA1. Connect a 120 resistor between the two RS-485 terminal block positions. Connect additional supported Magnetrol HART devices to the HART loop terminal block of the HMA. There can be any combination of devices listed in Appendices L through S.
Page 27
Using Procedure 2, verify that parameters of the HART devices can be read through the 9.4.9 appropriate registers. The supported parameters of the Magnetrol HART transmitters are listed in Appendices L through S. Use the Modbus Register number column labeled ‘Device Mode’...
Page 28
Verify that the values displayed match the values shown on the device’s local user 9.4.10 interface. For parameters that are defined as Holding registers in Appendix L, use Procedure 2 to 9.4.11 verify that a value can be written to the device and that the new value appears on the local display of the device.
Modbus RTU Communication in Single Modbus Device Mode Purpose 10.1. This procedure instructs how to configure the HART to Modbus Adaptor (HMA), when in the Single Modbus Device mode, to support the various parameter registers defined for the attached device. In the Single Modbus Device mode (register 3012 set to 2), the HMA and attached HART device will appear to be a single native Modbus device to the Modbus RTU/master.
Page 30
The HMA / HART device can be communicated with using the Modbus address and the 10.4.6 registers for Slave 1 as shown in Appendices L through S. 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
HART devices to the HART loop terminal block of the HMA. Set the HART Poll Address of the internal Model 706 device to 2. Set the HART Poll Address of the other attached devices to different, unique values. Note that other Magnetrol HART transmitters and HART poll addresses can be used.
Page 32
Procedure 11.4. Using Procedure 1, ensure that registers 3002 through 3007 of the HMA match the values 11.4.1 shown for the Modbus LevelMaster protocol default settings. Refer to Appendix H for the HMA Communication settings. If the settings do not match, double-click on a value that needs to be changed in order to open the Write Single Register dialog, enter the new value, and then click on Send.
Page 33
Change DIP switch 1 to ON and then back to OFF. 11.4.3 Set up a window to read 11 registers starting at address 1250. 11.4.4 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 34
Verify that register 1251 shows the correct device type and register 1256 shows the HART 11.4.5 Poll Address of the attached transmitter. Change DIP switch 1 to ON. 11.4.6 Select Connection\Disconnect from the menu bar. 11.4.7 Start the Terminal v1.9b application. Note that any similar application that supports 11.4.8 transmission/reception of ASCII characters over the RS-485 connection may be used.
Page 35
The Terminal application settings should be as below. 11.4.11 Click Connect. 11.4.12 Create a Transmit Macro that will send U02?$0D and check the checkbox to the right of 11.4.13 the macro definition. Note that the 02 in the macro represents the Poll Address of the Model 706 device.
Page 36
Verify that the value after the U in the response matches the Poll Address of the Model 11.4.15 706 device. Verify that the value after the first D in the response matches the PV value shown on the 11.4.16 local display of the Model 706 device. Verify that the value after the second D in the response matches the SV value shown on 11.4.17 the local display of the Model 706 device.
PC which has a Modbus host application. Connect a Model 706 level transmitter to the HART loop terminal block of the HMA. Set the HART Poll Address of the Model 706 device to 3. Note that other Magnetrol HART transmitters and HART poll addresses can be used. Procedure 12.4.
Page 38
Change register 3012 to a value of 0. This will cause the HMA to scan the attached 12.4.2 devices at start-up, and record the poll address and other information for each device. Change DIP switch 1 to ON. 12.4.3 Select Connection\Disconnect from the Modbus Poll menu bar. 12.4.4 Start the Terminal v1.9b application.
Page 39
Create a Transmit Macro that will send U03F?$0D and click on the Mx button to the right 12.4.9 of the macro definition. This command requests the number of floating point numbers that the attached device will return when responding to the Uxx? command. For the HMA implementation, there will always be two floating point numbers returned so ‘2’...
Page 40
Create a Transmit Macro that will send U03OL?$0D and click on the Mx button to the 12.4.12 right of the macro definition. This command requests the value for Level Offset in the attached device. Note that the 03 in the macro represents the Poll Address of the Model 706 device.
Page 41
Create a Transmit Macro that will send U03OL0020$0D and click on the Mx button to the 12.4.15 right of the macro definition. This command requests that the sent value be saved for Level Offset in the attached device. The value is in terms of Level Units. Verify that the Terminal application receives a response from the HMA each time the Mx 12.4.16 button is clicked, and that there are no communication errors being reported.
This procedure instructs how to configure the HART to Modbus Adaptor (HMA) to automatically switch between Modbus RTU and HART over RS-485 communication when it receives the appropriate commands. This procedure uses a Model 706 as the attached device as an example; other Magnetrol HART devices can also be used with this procedure.
Page 43
Note that when the HMA is in the Single Device Mode (register 3012 set to 2), the HMA 13.4.2 address shown in register 3001 will match the HART Poll Address of the attached HART device. Change DIP switch 1 to ON. 13.4.3 Click on the Mbpoll window, select Setup\Read\Write Definition from the menu bar, 13.4.4...
Page 44
Right-click on the Comm DTM Project item and select Connect. 13.4.23 Right-click on the Comm DTM Project item and select Additional functions\Scan list. The 13.4.24 DTM will scan for attached device, sending a HART Command 0 with an address of 63. Receipt of that command by the HMA will cause it to reboot into the Normal operating mode.
Page 45
Open or click on an Mbpoll window, select Setup\Read\Write Definition from the menu 13.4.28 bar, ensure that the settings are as follows (the Slave ID should match the address entered into register 3001 in step 13.4.1), and then click OK: Verify that the Tx count in the Mbpoll window is increasing, the Err count is not increasing 13.4.29 and there are no reported communication errors.
This procedure instructs how to configure the HART to Modbus Adaptor (HMA) to automatically switch between Modbus and HART over RS-485 communication when it receives the appropriate commands. This procedure uses a Model 706 as the attached device as an example; other Magnetrol HART devices can also be used with this procedure.
Page 47
Set the Baud rate, Data bits, Parity, Stop Bits and Handshaking parameters to match the 14.4.7 settings made in the HMA for LevelMaster communication. The Terminal application settings should be as below. 14.4.8 Click Connect. 14.4.9 Create a Transmit Macro that will send U02?$0D and check the checkbox to the right of 14.4.10 the macro definition.
Page 48
Uncheck the checkbox to stop the macro from repeating. 14.4.12 Create another Transmit Macro that will send U63?$0D and click on the Mx button to the 14.4.13 right of the macro definition. This causes the HMA to automatically reboot into the HART over RS-485 mode.
Page 49
Right-click on the Comm DTM Project item and select Additional functions\Change dtm 14.4.21 address. Click on the Change address button. Select the address number corresponding to the attached Model 706 device, then click Close. Right-click on the Comm DTM Project item and select Connect. 14.4.22 Right-click on the Comm DTM Project item and select Additional functions\Change device 14.4.23...
Page 50
Ensure that the Terminal application is receiving responses from the HMA and that there 14.4.37 are no communication errors being reported. The Receive buffer section should have the same number of responses as the Transmit buffer section. If unable to establish communication in the HART over RS-485 mode, the HMA can be 14.4.38 reset to the default Modbus RTU operating mode by switching DIP switch 1 to OFF.
Connect a 120 resistor between the two RS-485 terminal block positions. Connect the other end of the cable to a PC which has a Modbus host application. Connect up to five Magnetrol HART level transmitters (including the transmitter in the housing containing the HMA) to the HART loop terminal block of the HMA.
Page 52
To check the slave malfunction diagnostics, open or click on an Mbpoll window, select 15.4.4 Setup\Read\Write Definition from the menu bar, ensure that the settings are as follows, and then click OK: Remove one of the attached HART devices. 15.4.5 Verify that the corresponding slave malfunction bit (see Appendix J) changes to 1.
Page 53
To check the types and poll addresses of the attached HART devices, open or click on an 15.4.9 Mbpoll window, select Setup\Read\Write Definition from the menu bar, ensure that the settings are as follows, and then click OK: Verify that register 1250 indicates the correct number of attached devices. 15.4.10 Verify that registers 1251 through 1255 show the correct Device Types of the attached 15.4.11...
Page 54
To check the device information for the attached HART devices, open or click on an 15.4.13 Mbpoll window, select Setup\Read\Write Definition from the menu bar, ensure that the settings are as follows, and then click OK: Verify that registers 1000 through 1017 show the correct information for the attached 15.4.14 device as listed in Appendix K.
16. Emerson ROC 800 Initial HMA Configuration 16.1. Using Procedure 1, ensure that registers 3000 through 3007 of the HMA match the values 16.1.1 desired for communication with the ROC 800. Refer to Appendix F for the HMA RTU Communication settings. If the settings do not match, double-click on a value that needs to be changed in order to open the Write Single Register dialog, enter the new value, and then click on Send.
Page 56
Click on ROC \ Comm Ports in the ROCLINK 800 Menu bar. 16.3.4 Ensure that the communication settings for 1 – Local Port are as follows. 16.3.5 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 57
For Comm Ports, select the port number displayed in step 16.3.3. 16.3.6 Ensure that the communications settings match the settings of the HMA performed in 16.3.7 step 16.1.1, then click OK. Ensure that the Port Owner is set to Modbus Master. For example, Reading registers from the HMA 16.4.
Page 58
For the General tab, 16.4.4 Ensure that the Byte Order and Comm Mode match the selections made in step 16.1.1. 16.4.5 Check ‘Start Polling’. Set the Starting Request to 1 and the Number of Requests to match 16.4.6 the total number of separate rows defined in the Master Table tab below. Select the Enabled radio button in the Continuous Polling group box.
Page 59
For the Master Table tab, 16.4.8 Set the Logical Point to 13 – MastTbl 13 (COMM5). 16.4.9 Enter into the table the sets of registers to be read from the device. Set the RTU Address 16.4.10 to that of the HMA when it is in the ‘HMA’ mode. Set the RTU Address to that of the individual attached HART device to be queried when the HMA is in the ‘Device’...
Page 60
For the Registers tab, 16.4.12 Set the Table to 1, and for each variable to be read, 16.4.13 Enter the Start and End Register numbers. Refer to Appendices F through S for register 16.4.14 numbers of the HMA and attached HART devices. Create a Soft Point and Data number in the Device Parameter(s) column.
Page 61
Select 98 – Soft Point Parameters for the Point Type, SFP 1 – Soft Point 01 for the Logical 16.4.16 Number, and 1 – Float 1 for the Parameter. Note the name for the point, for example, SPF 1, DATA 1. By checking ‘Show Current Value’, one can confirm that the desired parameter is being read correctly.
Page 62
To display the values, 16.4.21 Open the Soft Point dialog by selecting I/O \ Soft Point in the Configuration Tree window, 16.4.22 then double-clicking on #1, Soft Pt 01. Click on Update to read a single set of values from the device, or Auto Scan to repeatedly 16.4.23 update the displayed values.
Page 63
Writing registers to the HMA 16.5. Configure the ROC 800 to access a register in the HMA or attached HART device as for 16.5.1 reading a register from the HMA (section 16.4). When setting up the row in the Configure \ MODBUS \ Master Table tab, use Function 16.5.2 Code 16 –...
17. ABB Totalflow XRC – Modbus RTU / ASCII The following procedure applies to operation with both RTU and ASCII communication. The choice of communication protocol is made in step 17.1.1 for the HMA settings and in step 17.3.10 for the ABB Totalflow XRC.
Page 65
Select the COM port number corresponding to the XRC. The proper COM port number 17.3.3 can be identified by navigating to the Device Manager in Windows and expanding the Ports entry. Click Close. 17.3.4 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 66
Select on Operate \ Connect to Totalflow in the PCCU32 Menu bar. 17.3.5 Select Entry Setup from the Local Connect initial dialog. 17.3.6 Select View \ Advanced from the PCCU32 menu bar. 17.3.7 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 67
Click on Communications in the tree-view window. 17.3.8 Click on the Port name associated with Modbus RTU. 17.3.9 Ensure that the communications settings match the settings of the HMA performed in 17.3.10 step 17.1.1. For example, Click on ‘Send changes to device’ after all settings are changed and verified. 17.3.11 41-621.1 HART ®...
Page 68
The terminal block connections on the XRC can be verified by clicking on the View wiring 17.3.12 radio button. Note that the RS485+ terminal of the HMA should be connected to the CTS/BUS+ position of the TotalFlow terminal block. The – terminals should be connected to the DCD/BUS- position of the TotalFlow terminal block.
Page 69
Reading registers from the HMA 17.4. The followings steps demonstrate how to read the PV, SV, TV and QV from a HART device 17.4.1 attached to the HMA. When making any changes to the settings, click on Send at the bottom of the window to write them to the XRC.
Page 70
Select the Dynamic Variables tab. 17.4.6 Change the description of the four registers to ‘PV’ through ‘QV’. 17.4.7 Note the Register numbers displayed in the first column of the table. They will be used 17.4.8 when setting the Request Blocks in a later step. 41-621.1 HART ®...
Page 71
Select Communications \ Modbus RTU in the tree-view window. 17.4.9 For the Setup tab, 17.4.10 Ensure that the Protocol and Baud Rate match the selections made in step 17.1.1. 17.4.11 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 72
For the Advanced tab, 17.4.12 Ensure that the Data Bits, Parity and Stop Bits match the selections made in step 17.1.1. 17.4.13 Ensure that the Unkey Delay is less than 7 milliseconds as the HMA typically responds 17.4.14 within about 8 milliseconds. If the Unkey Delay time is too long, the XRC will start listening for a response after the HMA has already started transmitting.
Page 73
For the Request Blocks tab, 17.4.15 Set the Slave Address to match the address of the HMA (if in HMA mode), or an attached 17.4.16 device (if in Device mode). Select ‘4 – Read Input Registers’ from the Modbus function drop-down. 17.4.17 Set the Starting Register to a value 1 greater than the desired starting Modbus register.
Page 74
To check if transmissions and responses are being made, select View \ Expert from the 17.4.24 PCCU32 Menu bar. This mode displays a Packet Log tab when selecting Communications \ Modbus RTU from the tree-view window. Set the Log Size to 25, and check the Monitor checkbox. The log should start updating 17.4.25 with the XRC commands being sent out and the responses from the HMA.
Page 75
Writing registers to the HMA 17.5. The followings steps demonstrate how to change a parameter in a HART device attached 17.5.1 to the HMA. The Blocking Distance parameter is used as the example. When making any changes to the settings, click on Send at the bottom of the window to write them to the XRC.
Page 76
Select the Blocking Distance tab. 17.5.6 Change the description of the register to ‘Blocking Distance’. 17.5.7 Note the Register number displayed in the first column of the table. It will be used when 17.5.8 setting the Request Block in a later step. 41-621.1 HART ®...
Page 77
Select Communications \ Modbus RTU in the tree-view window. 17.5.9 For the Setup tab, 17.5.10 Ensure that the Protocol and Baud Rate match the selections made in step 17.1.1. 17.5.11 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 78
For the Advanced tab, 17.5.12 Ensure that the Data Bits, Parity and Stop Bits match the selections made in step 17.1.1. 17.5.13 Ensure that the Unkey Delay is less than 7 milliseconds as the HMA typically responds 17.5.14 within about 8 milliseconds. If the Unkey Delay time is too long, the XRC will start listening for a response after the HMA has already started transmitting.
Page 79
For the Request Blocks tab, 17.5.15 Select ‘6 – Write Single Register’ from the Modbus function drop-down. 17.5.16 Set the Slave Address to match the address of the HMA (if in HMA mode), or an attached 17.5.17 device (if in Device mode). Set the Starting Register to a value 1 greater than the desired starting Modbus register.
Page 80
Select Holding Registers from the tree-view window of the PCCU32. 17.5.24 Select the Blocking Distance tab. 17.5.25 Change the Value to the desired distance. 17.5.26 Click on Send at the bottom of the window. 17.5.27 To check if the value has been accepted, follow the steps in section 17.4 changing 17.5.28 selections as needed to create a request block to read the Blocking Distance parameter from the HMA or attached HART device.
HART device’s Poll Address rather than that of the HMA. The XRC displays the first float value returned by Command Uxx? as Level 1 (the Upper Level for Magnetrol Devices) and the second float value as Level 2 (typically the Interface Level for Magnetrol devices).
Page 82
Initial XRC Configuration 18.3. Start the PCCU32 application. 18.3.1 Select on Operate \ Setup \ System Setup in the PCCU32 Menu bar. A dialog will appear 18.3.2 allowing for communication settings between the PCCU32 application and the XRC. Select the COM port number corresponding to the XRC. The proper COM port number 18.3.3 can be identified by navigating to the Device Manager in Windows and expanding the Ports entry.
Page 83
Select on Operate \ Connect to Totalflow in the PCCU32 Menu bar. 18.3.5 Select Entry Setup from the Local Connect initial dialog. 18.3.6 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 84
Select View \ Advanced from the PCCU32 menu bar. 18.3.7 Click on Communications in the tree-view window. 18.3.8 Click on the Port name associated with Modbus RTU. 18.3.9 Select ‘Tank Gauge’ for the Protocol. 18.3.10 Set the Unkey delay to 3 ms. 18.3.11 Ensure that the communications settings match the settings of the HMA performed in 18.3.12...
Page 85
The terminal block connections on the XRC can be verified by clicking on the View Wiring 18.3.14 radio button. Note that the RS485+ terminal of the HMA should be connected to the CTS/BUS+ position of the TotalFlow terminal block. The – terminals should be connected to the DCD/BUS- position of the TotalFlow terminal block.
Page 86
Reading registers from the HMA 18.4. The followings steps demonstrate how to read the PV, SV, Echo Strength, Errors and 18.4.1 Warnings from a HART device attached to the HMA. When making any changes to the settings, click on Send at the bottom of the window to write them to the XRC. Select Communications \ LevelMaster \ Setup in the tree-view window of the PCCU32.
Page 87
For the Communications tab, 18.4.6 Ensure that the communication settings match the selections made in steps 18.1.1 and 18.4.7 18.3.12. 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
Page 88
For the Request Blocks tab, 18.4.8 In the Auto Config group menu, set the Application to 51, the Tank Num. to the 18.4.9 appropriate value for the attached HART device, and the Sensor to ‘Dual Level’. The HMA always returns a Dual Level response to Command Uxx? to provide data for the SV output of the attached HART device.
Page 89
To check if transmissions and responses are being made, select View \ Expert from the 18.4.12 PCCU32 Menu bar. This mode displays a Packet Log tab when selecting Communications \ Modbus RTU from the tree-view window. Set the Log Size to 25 and check the Monitor checkbox. The log should start updating 18.4.13 with the XRC commands being sent out and the responses from the HMA.
Page 90
To display the values, 18.4.15 Select Communications \ LevelMaster \ Tank Calibrate \ Tank x from the tree-view 18.4.16 window of the PCCU32. Set the number of Tank Sections in row 51.108.x. 18.4.17 For each tank section, set the height of that section in rows 51.109.x 18.4.18 For each tank section, enter the Factor in rows 51.110.x.
Page 91
Select Communications \ LevelMaster from the tree-view window of the PCCU32. 18.4.20 Click on Re-read to obtain a single set of readings from the HMA, or check the Monitor 18.4.21 checkbox to repeatedly read values from the HMA at the Interval specified in the Request Blocks tabs in step 18.4.9.
Page 92
Writing registers to the HMA 18.5. The ABB Totalflow XRC has no provisions for sending commands to LevelMaster devices other than the Uxx? command. Therefore, it is not possible to write registers in the attached HART devices. 41-621.1 HART ® to Modbus ®...
19. ThermoScientific AutoPILOT PRO – Modbus RTU / ASCII The following procedure applies to operation with both RTU and ASCII communication. The choice of communication protocol is made in step 19.1.1 for the HMA settings, and step 19.4.5. The Modbus RTU protocol is used for the following.
Page 94
Initial AutoPILOT PRO Configuration 19.3. Start the AutoCONFIG application. 19.3.1 A dialog will appear allowing for communication settings between the AutoCONFIG 19.3.2 application and the AutoPILOT PRO. This example uses ‘Local Connection’ as the connection profile name. Select the COM port number corresponding to the CHIT cable. 19.3.3 Ensure that the other communication settings are set as desired.
Page 95
Reading registers from the HMA 19.4. The followings steps demonstrate how to read the PV, SV, TV and QV from a HART device 19.4.1 attached to the HMA. When making any changes to the settings, click on Apply at the top of the window to write them to the AutoPILOT PRO.
Page 96
In the Navigation Bar, click on Communication(s), expand the 98-Modbus Master item, 19.4.8 and then double-click on Entry#1. Set Master Comm. to Enable. 19.4.9 Set Comm. Type to Read. 19.4.10 Set the Address to the Modbus address of the HMA. 19.4.11 Set the Start Register to 1302 (the start of the PV register for Slave 1 in the HMA).
Page 97
In the Navigation Bar, click on Physical Data Point(s), and expand the 1-Floating Point 19.4.19 Value item. Double click on the Table 1 Item 1 entry, change Descriptor #1 to ‘PV’, and Engineering 19.4.20 Unit to correspond to the level units in use by the HART transmitter to be read. Click on Apply to send the settings to the AutoPILOT PRO.
Page 98
Double click on the Entry #1 listing in the Communication(s) \ 98-Modbus Master section 19.4.23 of the Navigation Bar. Right click on the Register number 1302 cell and select Paste. 19.4.24 To set up the SV, TV and QV readings, repeat steps 19.4.19 through 19.4.24 using Table 1 19.4.25 items 2 to 4.
Page 99
Writing registers to the HMA 19.5. The followings steps demonstrate how to write the Blocking Distance to a HART device 19.5.1 attached to the HMA. When making any changes to the settings, click on Apply at the top of the window to write them to the AutoPILOT PRO. In the Navigation Bar, click on Communication(s), expand the 96-Communication Port(s) 19.5.2 item, and then double-click on Host Comm Port.
Page 100
In the Navigation Bar, click on Communication(s), expand the 98-Modbus Master item, and then double-click on Entry#1. Set Master Comm. to Enable. 19.5.8 Set Comm. Type to Write. 19.5.9 Set the Address to the Modbus address of the HMA. 19.5.10 Set the Start Register to 3100 (the start of the Blocking Distance register for Slave 1 in the 19.5.11 HMA).
Page 101
In the Navigation Bar, click on Physical Data Point(s), and expand the 1-Floating Point 19.5.18 Value item. Double click on the Table 1 Item 5 entry, and change Descriptor #1 to ‘Blk Dist’ and 19.5.19 Engineering Unit to correspond to the level units in use by the HART transmitter to be read.
Page 102
Double click on the Entry #1 listing in the Communication(s) \ 98-Modbus Master section 19.5.23 of the Navigation Bar. Right click on the Register number 3100 cell and select Paste. 19.5.24 Click on Apply to send the settings to the AutoPILOT PRO. 19.5.25 Click on Refresh to command the AutoPILOT PRO to send the value to the device.
APPENDICES A. HMA Terminal Block Layout Notes: A. For Modbus devices using ‘A’ and ‘B’ for the RS-485 connection, connect ‘A’ to the ‘+‘ position of the RS-485 terminal block, and ‘B’ to the ‘-’ position. B. The RS-485 terminal block is used as the RS-232 terminal block when the positions 3 and 4 DIP switches are set to the RS-232 mode.
B. HMA DIP Switch Settings Normal mode Position 1 Default configuration mode Program mode Position 2 Run mode Position 3 RS485 mode Position 4 Position 3 RS232 mode Position 4 C. HMA LED Indicators LED D5 Green: Indicates Power ON LED D4 Red: Indicates Error (indicated by HMA status bits) After power on, check the LED status.
D. HMA System Connection Diagram E. Nomenclature Table HMA Nomenclature Modbus Poll Nomenclature Data Type Display Number of Registers Quantity Modbus Register Type Function Modbus Register Number Address 41-621.1 HART ® to Modbus ® Adaptor Operating Manual...
F. Modbus RTU Communication Registers Modbus Values Default Number of Modbus Register Register Parameter Data Type Registers type number 0 - AB CD Floating Point Format 1 - CD AB UINT8 Holding 3000 Code 2 - DC BA 3 - BA DC Slave address UINT8 Holding...
G. Modbus ASCII Communication Registers Modbus Values Default Number of Modbus Register Register Parameter Data Type Registers type number 0 - AB CD Floating Point Format 1 - CD AB UINT8 Holding 3000 Code 2 - DC BA 3 - BA DC Slave address UINT8 Holding...
H. LevelMaster Communication Registers Modbus Values Default Number of Modbus Register Register Parameter Data Type Registers type number 0 - AB CD Floating Point Format 1 - CD AB UINT8 Holding 3000 Code 2 - DC BA 3 - BA DC Slave address UINT8 Holding...
I. HART over RS485 Communication Registers Modbus Values Default Number of Modbus Register Register Parameter Data Type Registers type number 0 - AB CD Floating Point Format 1 - CD AB UINT8 Holding 3000 Code 2 - DC BA 3 - BA DC Slave address UINT8 Holding...
J. HMA Diagnostics Modbus Registers Parameter Modbus Register Info Modbus Register Data type Number Type Number Configuration data error No HART communications Communication Mode (0 == RS232, 1 == RS485) EEPROM failure UINT8 Input HMA Ready Reserved/Unused Reserved/Unused Configured & connected Slaves mismatch (mismatch in number or mismatch in 1200 device identification)
L. Model 706, Model JM4 Modbus Registers Modbus Register Info Modbus Register Number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter Type Number Type Mode PV value Float Input 1302 1302 1312 1322 1332 1342 SV value Float Input 1304...
M. Model 705 3x Modbus Registers HART parameter Modbus Register Info Modbus Register Number HMA Mode Data Number Type Device Slave Slave Slave Slave Type Mode Slave 1 PV value Float Input 1302 1302 1312 1322 1332 1342 SV value Float Input 1304...
N. Model R82 R2 Modbus Registers Modbus Register Info Modbus Register Number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter Type Number Type Mode PV value 1302 1302 1312 1322 1332 1342 SV value Float Input 1304 1304 1314 1324...
O. Model RX5 Modbus Registers Modbus Register Info Modbus Register Number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter Type Number Type Mode PV value 1302 1302 1312 1322 1332 1342 PV units code UINT8 Input Command 48 status bytes UINT8 Input 1101...
P. Model 355 Modbus Registers Modbus Register Info Modbus Register Number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter Type Number Type Mode PV value Float Input 1302 1302 1312 1322 1332 1342 SV value Float Input 1304 1304 1314...
Q. Enhanced Jupiter Modbus Registers Modbus Register Info Modbus Register number Data Slave Slave Slave Slave Slave HART parameter type Number Type PV value Float Input 1302 1302 1312 1322 1332 1342 SV value Float Input 1304 1304 1314 1324 1334 1344 PV units code...
R. E3 Modulevel Modbus Registers Modbus Register Info Modbus Register number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter type Number Type Mode PV value Float Input 1302 1302 1312 1322 1332 1342 PV units code UINT8 Input 1101- 1101-...
S. Model R96 Modbus Registers Modbus Register Info Modbus Register Number HMA Mode Data Device Slave Slave Slave Slave Slave HART parameter Type Number Type Mode PV value Float Input 1302 1302 1312 1322 1332 1342 SV value Float Input 1304 1304 1314...
U. Level Unit Codes Code Unit feet meters inches centimeters millimeters V. Parameter Codes Model 705 3x SV Code Model 706 Model JM4 Model R82 R2 Model 355 E3 Modulevel Level Level Level Level Level Level Ifc Level Ifc Level Volume Volume Flow...
Page 123
Threshold Model 705 3x Model 706 Model JM4 Code Auto Largest Auto Largest Fixed Fixed Fixed Auto Upper Sloped Sloped Dielectric Range Model R82 R2 Model RX5 Model R96 Code 1.7 - 3 1.7 - 3 Below 1.7 3 - 10 3 - 10 1.7 - 3 10 - 100...