Emerson Rosemount 5708 3D Solids Scanner DeltaV Series Manual Supplement

Page 1
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Rosemount™ 5708 Series 3D Solids Scanner
2016
Integration with DeltaV
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 1
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 2
Network setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 3
Using direct connection to DeltaV with a serial card . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 14
Configuring byte order for connection via serial card . . . . . . . . . . . . . . . . . . . . . . . . . . . page 15
Workaround procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 16
Configuring serial card in DeltaV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 16
Configuring control strategies to obtain correct process values . . . . . . . . . . . . . . . . . .page 23
Setting up 3DVison in DeltaV operate screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .page 27

1.0 Introduction

This document indicates how to setup and configure Rosemount 5708 3D Solids Scanner with DeltaV using two different methods. Configuration details are included for the physical network, DeltaV
Explorer, 3DMultiVision necessary component for one of the setups which DeltaV communicates with the 3DMultiVision server through. DeltaV Explorer configuration is performed on the DeltaV ProPlus Station; 3DMultiVision and VIMNet configuration is performed on an application station.
Client, and VIMNet. The VIMNet application interfaces with the VIM card - a
1. The scanner is directly connected to DeltaV Serial Card. Using the 3DMultiVision software to view 3D images 3D image from the scanner is not possible in direct connection.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
1
Page 2
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
2. The scanner is connected to the Application station via RS485/USB or RS485/TCP converter. The 3DMultiVision software is installed on the Application station. The DeltaV VIM can read the scanner data from the 3DMultiVision server on the Application station. Visualization of the 3D surface profile on any DeltaV Operator station is possible.
Manual Supplement
00809-0300-4570, Rev BA
After the configuration is complete, DeltaV and Rosemount 5708 3DMultiVision Server/Client will be able to run in parallel when using a VIM card. The level variables will be able to be accessed by the controller for indication and control by DeltaV. The application station will be able to use the 3DMultiVision software to setup the 3D Solids Scanner, show detail curves, and monitor values.

2.0 Specifications

The configuration presented here has been verified with the following specifications:
DeltaV supported version is 12.3 and above Required support of Microsoft .NET Framework 4.0 VIMNet version 9.1.15.1 VIM version 3.10.16 3DMultiVision version 2.5.010 and above
The average update time of the parameters is approximately 15 seconds when using the VIM card setup.
The device can also be directly connected to a DeltaV serial card. The update time through the serial card was approximately 10 seconds. Connection through the serial card prevents the 3DMultiVision software from being used in parallel, and also requires manipulating the byte order manually to display the correct values. When using the VIM card, the byte manipulation is handled automatically.
2
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 3
Manual Supplement
00809-0300-4570, Rev BA

3.0 Network setup

To be able to run 5708 3DMultiVision software simultaneously with DeltaV, set up the network as follows:
1. Setup a network switch connected to the DeltaV controller, the DeltaV ProPlus station, and the DeltaV Application Station. The DeltaV Application Station will be the station running the 3DMultiVision software.
2. Setup another, separate network switch connected to the VIM card, the DeltaV Application Station running 3DMultiVision, and the 3D Solids Scanner.
Note
The 3D Solids Scanner uses a serial communication link to the network. An RS485 to TCP/IP converter is required to connect the device to the network switch. An RS485 to USB converter is required to connect the device to the application station.
Figure 1-1. Network Diagram
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
A. 3DMultiVision B. DeltaV ProPlus C. DeltaV Operator Station D. VIMNet Explorer (Optional) E. Multiple 3D Solids Scanners
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
3
Page 4
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016

3.1 Configuring 3DMultiVision software

1. Launch the 3DVision Client application on the Application Server.
2. If necessary, create a new project and setup the device.
a. Under Connection Type, select TCP/IP or select the COM port in which the RS485 to USB
converter is connected to.
b. In the Server IP Address box, type the IP address of the RS485 to TCP/IP converter connected
to the 3D Solids Scanner.
c. In the Server IP Port box, type the port of the RS485 to TCP/IP converter.
3. Establish communication between the 3DVision and the Scanner.
4. After the device is set up, navigate to Tools > Server Options > SCADA Configuration.
Port: The Port stands for a TCP Port that is available to use in the network, please consult with
local IT for available TCP ports. Make sure that there are no other systems (like firewalls, antivirus and others) that prevent the communication using the selected port.
Type: Type stands for the Modbus communication type, it can be either Modbus TCP or
Modbus RTU, make sure you set the corresponding communication type in the VIM configuration.
3D file path: Local folder on the computer running the 3DVision Server that will hold the
generated file for the 3D image of the vessels configured in the system. If the folder does not exist, create it.
Manual Supplement
00809-0300-4570, Rev BA
5. If a multidrop connection is used, all the devices should be setup in the 3DMultiVision software. Note that each scanner should be configured with a different polling address.
Note
Rosemount 5708 3D Solids Scanner is recommending the CHIYU BF-430 as the RS485 to TCP/IP converter.
4
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 5
Manual Supplement
00809-0300-4570, Rev BA
6. In a multi-scanner system, where a vessel in the 3DVision is configured with multiple scanners it is possible to view the vessel's data on the SCADA, use the vessel ID to set the connection between the DeltaV to the 3DVision. The Vessel ID can be seen in the hardware inventory table: in 3DVision go to Tools > Reports > Hardware Inventory Table. The Vessel ID appears in the right most column under the SCADA ID header.

3.2 Configuring VIMNet

1. Open VIMNet Explorer on the DeltaV Application Station.
2. Right-click on I/O Net and select New Controller. This will open a prompt for the name of the new controller.
3. Type the name of the new controller. The name of the new controller in VIMNet must match the name of the controller in DeltaV.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
4. Right-click the controller that was added to VIMNet in step 2, and select New IO VIM to open the Add Modbus/TCP Virtual I/O Module window and begin commissioning the VIM.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
5
Page 6
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
5. The IP Address of the VIM can be set to any available IP on the network; the availability of an IP can be checked using the Ping function at the bottom left of the pop up window. Select OK when all of the parameters are set correctly. This will create a new VIM connection for the controller emulating four serial I/O cards.
Figure 1-2. Set the VIM Properties
A. Any available IP will work B. Subnet mask set to match network C. Check IP availability here
Manual Supplement
00809-0300-4570, Rev BA
6. Right-click the VIM which was just added and select Commission. A list will populate with Decommissioned VIMs on the network.
7. Select the desired VIM to be commissioned (an Identify VIM function is available in the bottom right of the window).
8. Check that the IP Address field matches the available IP address set in 4, and select OK.
9. Expand the VIM icon to see the emulated serial cards, numbered 57-60. To begin the setup of the VIM, expand one of the cards and right-click on one of the serial ports assigned to the card. Select Add Device to open the Device Properties window.
6
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 7
Manual Supplement
00809-0300-4570, Rev BA
10. Set the Device Address to the 3D Solids Scanner's SCADA ID. This first serial port (P01) can be
Note
The 3DVision is assigning SCADA ID to the vessel regardless to the number of scanners configured in the vessel. this is done to allow the DeltaV to get the complete data from of the vessel and not independent scanner.
11. Enter the IP Address of the DeltaV Application Station - the station running the 3DMultiVision Server.
12. In the Protocol list, select RTU via TCP.
13. In the Port box, type 12345.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
configured to communicate with the 5708 3DMultiVision server. Select Add to add the IP definition of the device.
Figure 1-3. Configure the IP Definition for the Device
A. 3DMultiVision PC goes here
14. If a multidrop connection is desired, then each scanner should be linked with a device instance under the associated virtual serial port. Repeat steps 7 to 10 to add each physical device; choose the appropriate Device Address to match the address of the physical devices.
Note
That each scanner should be configured with a different polling address.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
7
Page 8
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
15. Upload the new configuration. Right-click the desired VIM and select Upload Configuration to VIM. Confirm the upload to the VIM by selecting Yes in the window that will appear, and save the changes. Upon completion, a confirmation message should appear. The VIM configuration is now complete.
Note
Anytime the Upload Configuration to VIM routine is run, the 3DMultiVision server will stop communicating with DeltaV. The server must be restarted or the SCADA Configuration window must be opened and acknowledged to see values on DeltaV. The SCADA Definition can be found in the 3DMultiVision Client application under Tools > Server
Options > SCADA Configuration. Simply open the SCADA Configuration tab and select Apply.
Manual Supplement
00809-0300-4570, Rev BA

3.3 Configuring VIM card in DeltaV

1. Open DeltaV Explorer and navigate to the controller connected to the VIM module.
2. Expand the controller and right-click on I/O.
3. Select New Card to add the serial card emulated by the VIM module. The Add card window opens.
4. In the Card class list, select Serial Cards.
8
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 9
Manual Supplement
00809-0300-4570, Rev BA
5. In the Card type list, select 2 Ports, Programmable RS232|RS485.
6. In the Slot position list, select 57.
Figure 1-4. Add a 2 Port Programmable RS232|RS485 Serial Card on Slots 57-60
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
7. Repeat steps 3 and 4 for Slot position 58, 59, and 60. The VIM module emulates four serial cards in slots 57-60.
Note
Cards can also be added via the DeltaV Explorer, using the Auto-sense I/O cards menu option. All four cards must be configured, even if you are not using all of them. In addition, disable all unused serial card ports.
8. Select the same serial card and port which was used during the VIMNet setup to add the 3D Solids Scanner device.
9. Expand the serial card, right-click on the port, and select Properties.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
9
Page 10
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
10. On the Port tab, select the Enabled check box.
11. On the Advanced tab, use the following settings:
Mode: master Retry count: 10 Message timeout (ms): 10000 Transmit delay (ms): 2000
Manual Supplement
00809-0300-4570, Rev BA
10
12. On the Communications tab, use the following settings:
Port type: RS232 Baud rate: 115200 Parity: even Data bits: 8 Stop bits: 1
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 11
Manual Supplement
00809-0300-4570, Rev BA
13. Select OK.
14. Right-click on the port which was just enabled and select New Serial device. This device will
15. In the Properties window, enter any desired Description and the Device Address. The Device Address
16. Expand the port with the newly added device.
17. Right-click on the new device and select New Dataset, see figure below.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
represent the 3D Solids Scanner device. The Properties window opens.
will be the 3D Solids Scanner's SCADA ID. Select OK when finished.
Add a new dataset to the device.
18. In the Dataset properties window, change the following parameters and select OK when finished. See
Table 1- 2 for an example configuration which displays all 13 parameters.
a. On the General tab, in the Data direction list, select input.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
11
Page 12
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
b. On the DeltaV tab, in the DeltaV data type list, select the appropriate data type for the
values which are to be retrieved.
Table 1-1. Registers
Number Register number Parameter Units Typ e
1 40001 and 40002 Avg. distance m Floating point
2 40003 and 40004 Min distance m Floating point
3 40005 and 40006 Max distance m Floating point
4 40007 and 40008 Vol ume % (*1000) Floating point
5 40009 and 40010 4-20mA mA Floating point
6 40011 and 40012 SNR dB Floating point
7 40013 and 40014 Tem pe ra tu re °C Floating point
8 40015 and 40016 Tem pe ra tu re °F Floating point
9 40017 and 40018 Avg. level m Floating point
10 40019 and 40020 Bulk density g/cm^3 Floating point
11 40021 and 40022 Mass customer unit Floating point
12 40023 and 40024 S/N number Long integer
Manual Supplement
00809-0300-4570, Rev BA
13 40025 and 40026 Tag name First 4 chars Integer
14 49990 3D N/A Floating point
i. Select 32-bit unit with status if using the “S/N” parameter in registers 40023-40024. ii. Select Floating point with status if using parameters in registers 40001-40022. iii. Select String with status if using the “Tag Name” parameter in registers 40025-40026. iv. Select 16-bit uint with status if using 3D data in register 49990. This register does not
deliver data, but polling this register is required for creation of the 3D data files.
12
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 13
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
c. On the PLC tab, use the following settings:
Device data type 3
Data start address: enter the start address. For example, if the first value should be 'Avg
Distance', enter 0. If the first value should be Avg Level, enter 16.
Number of values: enter the desired number of values to read. Note that reading the
'Tag Name' requires 2 values.
d. On the Special data tab, use the following settings:
No changes need to be made to Special data 1, Special data 3, Special data 4, or Special
data 5 - the values should all remain 0.
Special data 2 should be set to 1 only on the dataset to retrieve the 'Tag Name'
parameter. For all other datasets the value should remain 0.
For example, to configure all 13 parameters, construct three datasets with the following parameters:
Table 1-2. Example Configurations
Parameter Dataset 1 Dataset 2 Dataset 3 Dataset 4
DeltaV data type
Data start address
Number of values
Special data 2
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Floating point with status
32-bit unit with status
String with status
16- bit uint with status
0 22 24 9989
11 1 2 1
0 0 1 0
13
Page 14
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
19. If a multidrop connection is desired, each scanner should be linked with a device instance under the associated virtual serial port. Additionally, the required Datasets should be created. Repeat steps14 through 17 to add each device; choose the appropriate Device Address to match the addresses of the physical devices.
20. All parameters in DeltaV are now set. To send this configuration to the DeltaV controller, I/O under the expanded controller menu must be right-clicked. Select Download -> I/O to begin the configuration download.
Note
Anytime a download to the controller or any of the cards occurs, the 3DMultiVision server will stop communicating with DeltaV. The server must be restarted or the SCADA Definition window must be opened and OK’d to see values on DeltaV. The SCADA Definition can be found in the 3DVision application under Tools > Server Options > SCADA
Configuration. Open the SCADA Definition and select OK.
Figure 1-5. Download the Configuration
Manual Supplement
00809-0300-4570, Rev BA

1.4 Using direct connection to DeltaV with a serial card

If a direct connection to a DeltaV serial card is desired, the byte order will need to be manipulated in DeltaV to see the correct values. The 3D Solids Scanner's byte sending order is high to low; DeltaV assumes the byte sending order is low to high.
The serial card is one of the card types in the DeltaV Explorer and is therefore configured like any other card. Each serial card has two ports, and each port can support as many as 16 serial devices.
14
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 15
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV

2.0 Configuring byte order for connection via serial card

Modbus® is an application layer messaging protocol, positioned at level 7 of the OSI model, which provides client/server communication between devices connected on different types of buses or networks.
Modbus bases its data model on a series of tables that have distinguishing characteristics
http://www.Modbus.org
The four primary tables are:
Table 1-3. Modbus Data Model
Primary tables Object type Typ e of Comments
Discrete Input Single bit Read-On ly Can be provided by an I/O system
Coils Single bit Read-Write Can be alterable by an application program
Input registers 16-bit word Read-Only Can be provided by an I/O system
Holding Registers 16-bit word Read-Write Can be alterable by an application program
2016
Since floating points and long integers (32-bit) are not embedded in Modbus, different methods have been used to send and receive data. The most common used method for the transfer of extended data types (floating point and long integers) is two consecutive 16-bit registers; however, the transmission sequence of the registers is not fixed.
The Rosemount 5708 3DLevel device sends the Most–Significant Bit (MSB) in the first Modbus register and the Less–Significant Bit (LSB) in the following register. Nevertheless, when DeltaV is set to read a 32-bit data register, it assigns the 16-bit world in the first Modbus register to the LSB data and the second register to the MSB.
Figure 1-6. Modbus Word Order in Rosemount 5708 and DeltaV
Rosemount 5708 3D Solids Scanner DeltaV
MSB LSB MSB LSB
16-bit word 16-bit word 16-bit word 16-bit word
Register Low
(4000X)
16-bit word 16-bit word 16-bit word 16-bit word
Modbus Data Modbus Data
Register High
(4000X+1)
Register Low
(4000X)
Register High
(4000X+1)
The discrepancy described above shows that the parameter data is not read correctly by DeltaV.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
15
Page 16
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016

3.0 Workaround procedure

1. To get the correct values to decode each 16-bit word to individual bits, the words will be swapped to match with the transmission sequence used by the Rosemount 5708 3D Solids Scanner.
2. Once the byte order has been swapped, the floating point parameters are converted from binary to IEEE 754 floating point using the following math equation:
Manual Supplement
00809-0300-4570, Rev BA
IEEE 754 = (-1) * Sign *(1 + Mantissa) * 2
3. Once the byte order has been swapped, the long integer parameters can be retrieved by converting from binary to decimal.
(Exponent-127)

4.0 Configuring serial card in DeltaV

1. Open DeltaV Explorer and navigate to the controller to which the Serial module is connected.
2. Expand the controller and right-click on I/O.
3. Select New Card to add the serial card. The Add Card window opens.
16
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 17
Manual Supplement
00809-0300-4570, Rev BA
4. In the Card class list, select Serial Cards.
5. In the Card type list, select 2-Ports, RS232/RS485.
6. In the Slot position list, select the slot position where the new serial card is attached and select OK.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
In the Card series list, select Series 2 for M series hardware. For S series there is no choice.
Once a serial card has been configured, the serial port properties can be set and serial devices can be added to the ports.
7. Expand the added serial card, right-click the port where 3D Solids Scanner is attached, and select Properties.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
17
Page 18
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
8. On the Port tab, select the Enabled check box.
9. On the Advanced tab, use the following settings:
Protocol type: RTU
Mode: Master
Retry count: 1
Manual Supplement
00809-0300-4570, Rev BA
Message timeout (ms): 1000
Tra nsmi t delay (ms): 0
18
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 19
Manual Supplement
00809-0300-4570, Rev BA
10. On the Communications tab, use the following settings:
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
Port type: RS422/RS485 half duplex
Baud rate: 115200
Parity: even
Data bits: 8
Stop bits: 1
Note
Communication parameters in step 13 were taken from the manual “Different Ways of Connecting to 3D Solids Scanner II Version 3.0”. Refer to the Rosemount 5708 Series 3D Solids Scanner Reference Manual to confirm these parameters.
11. Select the port of the serial card (PO1 or PO2) where the 3D Solids Scanner is connected and where the communication parameters were set in the above steps.
12. Right-click and select New Serial device.
13. Set the device address to match the address of the physical 3D Solids Scanner connected to the serial card. The Device Address will be the 3D Solids Scanner’s Polling Address + 1.
14. If a multidrop connection is desired, each scanner must be linked with a device instance under the associated serial port. Repeat steps 11 through 13 for the second device. Set the address of the devices to match the address of the physical devices connected to the serial card. Note that each scanner should be configured with a different polling address.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
19
Page 20
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
15. Expand the port with the newly added device.
16. Right-click on the new device and select New Dataset.
Manual Supplement
00809-0300-4570, Rev BA
Note
Repeat step 20 to add more Datasets. When a multidrop connection is used, add the desired datasets under each device instance. To configure all 13 variables available for the 3D Solids Scanner, two datasets should be constructed. One dataset will be used to read the first 12 parameters; the other will read the “Tag Name” parameter. In master mode, the serial card exchanges data with the serial device through a dataset. A dataset is a collection of parameters associated with a serial device. The parameters in the dataset hold data values that correspond to registers or data in a serial device. The dataset defines the type and amount of data being sent to or received from the serial device. All the data values for a dataset have the same properties. Properties include the data type and data direction in addition to some other parameters. The data values in a dataset map to a contiguous series of serial device registers or data. As many as 16 datasets for each serial card port can be created. These 16 datasets can be allocated to the serial devices in several ways. For example, one serial device can be configured with 16 datasets, or 16 devices can be on the port, each having one dataset.
17. Right-click in the Create Datasets and select Properties.
18. Change the following parameters (see Tab le 1-2 for an example configuration) and select OK when finished.
a. On the General tab, in the data direction list, select input.
20
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 21
Manual Supplement
DeltaV tab. Setup DeltaV data type as 16 bit unit w/Status.
PLC tab. Setup the PLC data type as holding registers, PLC register offset as 0, and Number of values as 24.
DeltaV tab. Setup DeltaV data type as String w/Status.
PLC tab. Setup the PLC data type as holding registers, PLC register offset as 24, and Number of values as 2.
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
b. On the DeltaV tab, in the DeltaV data type list, select the appropriate data type for the values
which are to be retrieved. See figures on Example setup for dataset constructed to read the
first 12 parameters and Example setup for dataset constructed to read the “Tag Name” parameter below.
DeltaV data type: Enter the appropriate data type for the values which are to be retrieved.
i. Select 16 bit unit with status: use for the first 12 parameters in registers 40001-40024.
It will be referred to as Dataset1.
ii. Select String with status: use for the ‘Tag Name’ parameter in registers 40025-40026. It
will be referred as Dataset2.
c. On the PLC tab use the following settings:
i. PLC data type: holding registers (apply for both Datasets properties) ii. PLC register offset: Enter the start address. For example, if the first value should be ‘Avg
Distance’, enter 0. If the first value should be Avg. Level, enter 16.
iii. Number of values: Enter the desired number of values to read. Note that to read each
parameter (Avg. Distance, Min Distance, Max Distance, etc.), two values are required.
Example setup for dataset constructed to read the first 12 parameters
2016
Example setup for dataset constructed to read the “Tag Name” parameter
Note
The Dataset Tag can be modified to facilitate the data management.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
21
Page 22
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
Table 1-4. Configuration for Two Datasets that Display a 3D Solids Scanner’s 13
Parameters
Parameter Dataset 1 Dataset 2
DeltaV data type 16 bit unit w/Status String w/Status
PLC data type Holding registers Holding registers
PLC register offset 0 24
Number of values 24 2
19. All of the parameters in DeltaV are now set. To send this configuration to the DeltaV controller, I/O under the expanded controller menu must be right-clicked. Select Download -> I/O to begin the configuration download.
20. Right-click on Added device and select Diagnose to verify the communication status. Select a dataset and double-click on StrtRegAddr to verify the values of the registers.
Manual Supplement
00809-0300-4570, Rev BA
22
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 23
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV

5.0 Configuring control strategies to obtain correct process values

1. The parameter “Tag Name” is read correctly by DeltaV. No additional configuration is required with
regard to the value; it can be used directly from its Dataset.
2. For the first 11 parameters (Avg. Distance, Min Distance, Max Distance, Volume, 4-20mA, SNR,
Temperature °C, Temperature °F, Avg. Level, Bulk Density, and Mass), the byte order must be swapped and converted from binary to floating point. A control strategy with the configuration shown below is used.
2016
3. In the control strategy, set up the following parameters in the function blocks and variables (see
Figure 1-7):
a. AI1: For Device Tag use Browse… to add the newly defined Dataset (Dataset1). For Parameter,
assign the first Modbus register.
b. AI2: For Device Tag use Browse… to add the newly defined Dataset (Dataset1). For
Parameter, assign the second Modbus register. c. PV: Parameter type should be defined as Floating point with status. d. SING: Parameter type should be defined as Floating point. e. MANTISSA: Parameter type should be defined as Floating point. f. EXPONENT: Parameter type should be defined as Floating point. g. CALC1: Enter the expression in Figure 1-8 and Figure 1-9.
See “APM 3DLevelScanner Integration with DeltaV 07-24-14.docx”
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
23
Page 24
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
AI2. Set up the Dataset in the filed Device Tag and the second Modbus register in the field Parameter.
SING. Parameter type should be Floating point.
EXPONENT. Parameter type should be Floating point.
AI1. Set up the Dataset in the filed Device Tag and the first Modbus register in the field Parameter.
PV. Parameter type should be Floating point with status.
MANTISSA. Parameter type should be Floating point.
2016
Figure 1-7. Function Block Properties and Variables in the Control Strategy for Floating Points
Manual Supplement
00809-0300-4570, Rev BA
24
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 25
Manual Supplement
00809-0300-4570, Rev BA
Figure 1-8. Expression in CALC Block Control Strategy for Floating Points
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
4. For the parameter SN (Serial Number), the byte order must be swapped and converted from binary to long integer. A control strategy with the configuration shown in Figure 1-9 was used.
Figure 1-9. Control Strategy for Long Integers
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
25
Page 26
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
AI1. Set up the Dataset in the filed Device Tag and the first Modbus register (40023) in the field Parameter.
PV. Parameter type should be 32 bit unsigned integer.
AI1. Set up the Dataset in the filed Device Tag and the first Modbus register (40023) in the field Parameter.
2016
5. In the control strategy, set up the following parameters in the function blocks and variables:
a. AI1: For Device Tag, use Browse… to add the newly defined Dataset (Dataset1). For
Parameter, assign the first Modbus register (40023).
b. AI2: For Device Tag use Browse… to add the newly defined Dataset (Dataset1). For Parameter,
assign the second Modbus register (40024). c. PV: Parameter type should be defined as 32 bit unsigned integer. d. CALC1: Enter the expression as shown in Figure 1-11.
Figure 1-10. Properties for Function Blocks and Variables in the Control Strategy for Long Integers
Manual Supplement
00809-0300-4570, Rev BA
Figure 1-11. Expression in CALC Block Control Strategy for Long Integers
26
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 27
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV

1.9 Setting up 3DVison in DeltaV operate screen

Assumption
Modbus communications have been established between DeltaV and Rosemount 5708
3DMultiVision Server
Modbus register 49990 in the 5708 3DVision server software is being read via Modbus. Check if .enc
files do exist in the 3D image folder on the Application station (example: c:\3Dvision) and getting updated
The 5708 3DVision server software has been installed and configured.
On the Application station share drive c: to everyone/read.
Microsoft .NET Framework 4.0 has been installed on the DeltaV operator station

Add button in DeltaV operate configure

1. Launch DeltaV Operate (Configure).
2. Open desired operator graphic file.
2016
3. Select Insert, then Push Button.
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
27
Page 28
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016

Configure button

1. Double click the button and type a label.
2. Select and drag on arrows around button to resize.
3. Right click to launch context menu.
4. Select Edit Script.
Manual Supplement
00809-0300-4570, Rev BA
28
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 29
Manual Supplement
00809-0300-4570, Rev BA

Edit script

1. Select Edit Script to open the Microsoft® Visual Basic® program. Place the cursor in the correct
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
position to edit the script which runs when the button is pushed.
The need for a script is to launch the viewer from a remote server so it is not resident on the DeltaV Pro Plus station.
Modbus is used to make a read request for register 49990, which is seen by the 3DVision server software as a request to generate the 3D image from the 5708 transmitter. The script will launch the image viewer software and show the 3D image file from the remote server. The ‘task kill’ command prevents the operator from opening multiple 3D images simultaneously.
When Edit Script is selected, a window will pop open and the cursor will be in the correct position to enter the following format:
SHELL (“\\Server_Name\Path_to_Image_Viewer_Software \\Server_Name\Location_of_3D_Image Name of Image File”), vbNormalFocus
SHELL (“taskkill.exe /im visualvision3dviewer.exe”)
Below is the script command used in the Rosemount Lab:
Shell ("\\usrtc-smartlab1\c\program files (x86)\3DVisionEmrsn\binclient\bin\visualvision3dviewer.exe \\usrtc-smartlab1\c\3dvision 1"), vbNormalFocus
Shell ("taskkill.exe /im visualvision3dviewer.exe")
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
29
Page 30
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
2. Command line breakdown:
Command Line Definition
\\usrtc-smartlab1 Name of server
Manual Supplement
00809-0300-4570, Rev BA
C
\program files (x86)\3DVisionEmrsn\binclient\bin\
visualvision3dviewer .exe Image display program. There must be a space after .exe!
\\usrtc-smartlab1\c\3dvision
1 image file name, same as SCADA ID
vbNormalFocus Causes the image window to display in the foreground.
taskkill.exe /im visualvision3dviewer.exe
Shared drive that contains 3DVision Server software program files
Path to software
Location of image file as entered in 3DVision software server but in the format \\server\share\folder path
Ends the image program when it is called again if the operator does not close it. The prevents multiple windows from being open in the background where the operator cannot get to them to close them.

Testing

1. Once the script is entered, close Microsoft Visual Basic, save and close the graphic file.
2. Press the Run button in DeltaV Operate Configure and open the desired operator graphic.
3. Select the new button and the 3D image window will open and the image will load. You will be able to maneuver the image with the mouse.
30
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
Page 31
Manual Supplement
00809-0300-4570, Rev BA
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
2016
Rosemount 5708 Series 3D Solids Scanner Integration with DeltaV
31
Page 32
Global Headquarters
Emerson Automation Solutions
6021 Innovation Blvd. Shakopee, MN 55379, USA
+1 800 999 9307 or +1 952 906 8888 +1 952 949 7001 RFQ.RMD-RCC@Emerson.com
North America Regional Office
Emerson Automation Solutions
8200 Market Blvd. Chanhassen, MN 55317, USA
+1 800 999 9307 or +1 952 906 8888 +1 952 949 7001 RMT-NA.RCCRFQ@Emerson.com
Latin America Regional Office
Emerson Automation Solutions
1300 Concord Terrace, Suite 400 Sunrise, FL 33323, USA
+1 954 846 5030 +1 954 846 5121 RFQ.RMD-RCC@Emerson.com
Manual Supplement
00809-0300-4570, Rev BA
2016
Europe Regional Office
Emerson Automation Solutions Europe GmbH
Neuhofstrasse 19a P.O. Box 1046 CH 6340 Baar Switzerland
+41 (0) 41 768 6111 +41 (0) 41 768 6300 RFQ.RMD-RCC@Emerson.com
Asia Pacific Regional Office
Emerson Automation Solutions Asia Pacific Pte Ltd
1 Pandan Crescent Singapore 128461
+65 6777 8211 +65 6777 0947 Enquiries@AP.Emerson.com
Middle East and Africa Regional Office
Emerson Automation Solutions
Emerson FZE P.O. Box 17033 Jebel Ali Free Zone - South 2 Dubai, United Arab Emirates
+971 4 8118100 +971 4 8865465 RFQ.RMTMEA@Emerson.com
Linkedin.com/company/Emerson-Automation-Solutions
Twitter.com/Rosemount_News
Facebook.com/Rosemount
Youtube.com/user/RosemountMeasurement
Google.com/+RosemountMeasurement
Standard Terms and Conditions of Sale can be found on the Term s an d
Conditions of Sale page.
The Emerson logo is a trademark and service mark of Emerson Electric Co. Rosemount and Rosemount logotype are trademarks of Emerson. All other marks are the property of their respective owners.
© 2016 Emerson. All rights reserved.
Loading...