Académique Documents
Professionnel Documents
Culture Documents
Modbus Configuration for Communications to 3808-30A Transmitter. Configuring the ROC800 for Modbus Communications to the 3808-30A Transmitter.
Required Equipment: ROC800 3808-30A Multivariable Transmitter Flathead Screwdriver ROCLINK 800 (1.88 or above) Recommended Documentation: CI 3808 (3808 Multivariable Transmitter) Setup:
Note: The Modbus configuration in this document is based on the 3808-30A being set to RTU mode. The 3808-30A may be shipped in ASCII mode. The user will need to change this setting in the Serial Port setup of the 3808-30A with the Tech View tool. Please see document WP110006 3808 Tech View on how to make these changes.
Wiring Below is a wiring diagram that shows how to wire power and RS485 communications between the ROC800 and 3808-30A transmitter.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-1-
Modbus Configuration: On pages 105 through 110 of the CI-3808 manual you will find the Modbus registers that are used in the 3808-30A transmitter. We will focus on the following registers.
These are the three input values needed for an AGA 3 meter run. These 32-bit floating points can be acquired with a single register and can be placed directly into a soft point floating point.
These are the same three input values, only they are 16-bit floating points. It will take two registers and an IEEE conversion code of 67 to acquire these values. I decided to create both incase the end user has a preference on how they want to setup the registers.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-2-
Register 0009 is the only coil that will be requested. This coil will be saved in a soft point byte field and will indicate if the transmitter has failed. A value of 0 indicates normal operation of the transmitter. ROC800 Modbus Configuration With ROCLINK 800 (RL800) connect to the ROC800 and go into Configure > Modbus
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-3-
This will open the Modbus configuration screen. In the Comm Port field click the drop-down arrow and select the comm port you will be configuring Modbus on. For this paper I will be using the Comm 3 port that has an RS485 Card.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-4-
Registers 7401, 7402, and 7403 are the 32-bit floating point values for DP, SP, and Temperature that are found in the 3808-30A transmitter. Only a single register is needed per value from the 3808-30A transmitter. The values from these requests can be saved in a floating point field. (See example below) Registers 401, 403, and 405 are the 16-bit floating point values for DP, SP, and Temperature that are found in the 3808-30A transmitter. Two registers are needed per value and an IEEE conversion code of 67 is needed. The values from these requests can be saved in a floating point field. Once again both of these sets of registers point to the same values in the 3808-30A sensor. Im just giving you options on which ones you can use. You do not need to use both. Register 009 displays a transmitter failure bit. This is a coil and is saved in the Soft Points byte field. A value of 0 indicates normal operation of the transmitter. The value from this request can be saved in a byte field. (See example below)
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com -5(c) Remote Automation Solutions 2009
In the Device Parameter column of the register table, I have selected the Soft Point Parameters of the ROC800 to save the incoming values to. For this paper I used Soft Point 32.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-6-
Master Table Tab: The configuration for the Modbus Master table is shown below.
For registers 7401, 7402, and 7403 you will see that there is an offset of -1. This means you must offset the slave registers by -1. So for register 7401 in the 3808-30A transmitter, you will input register 7400 in the Slave Register column. Below shows the break down for the register request needed.
3808-30A Registers 7401 7402 7403 401 403 405 09 = = = = = = = ROC800 Registers 7400 7401 7402 400 402 404 08
Function code 3 is used for the 7400 and 400 registers. Function code 1 is used for the 09 register.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-7-
RTU address in this paper is set to 1. This is the default address of the 3808-30A transmitter. To change the address you will need to use the Tech View tool. Please see white paper (110006) 3808 Tech View on instructions for doing this.
General Tab: Below you will see the settings for the General tab.
The following settings are what I used for this paper. Byte Order: Most Significant Byte First Comm Mode: RTU Starting Request: 1 Number of Requests: 7 (This would normally be set to 4. It is only set to 7 due to the two sets of registers for the same values I included in this paper) Time out: 30 Seconds (This is the default and can be change. Recommend changing to 1 second while establishing communications) Retries: 2 Continuous Polling: Enabled Request Delay: .5 Seconds. Event Logging: Disabled.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com -8(c) Remote Automation Solutions 2009
Comm Port Settings: Below are the comm port settings for the RS 485 port on the ROC800.
Baud Rate: 9600 (This is the default baud rate for the 3808-30A transmitter) Parity, Data Bits, Stop Bits: None, 8, 1, (For RTU) Port Owner: Modbus Master Key On / Key Off Delay: .01. (This setting may need to be adjusted depending on site conditions)
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
-9-
Following the settings in this paper the user should see DP, SP, and Temp values in Soft Point 32.
7400 Registers
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
- 10 -
Meter Run Setup: In the Meter Run Setup, you will point the AGA input fields to the soft point parameters the 380830A transmitter values are saved to.
http://www.emersonprocess.com/remote SupportNet@EmersonProcess.com
- 11 -