modbus fb107

32
Quick Reference Guide VEGA Modbus Radar Conguration for Fisher ROC107 Document ID: 48145 Radar

Upload: 1987francisco

Post on 05-Jan-2016

76 views

Category:

Documents


3 download

DESCRIPTION

Utilización de modbus en FB107

TRANSCRIPT

Page 1: Modbus FB107

Quick Reference GuideVEGA Modbus Radar Confi guration for Fisher ROC107

Document ID:48145

Radar

Page 2: Modbus FB107
Page 3: Modbus FB107

Table of Contents

48145-US-140707 3

Revision History Version of manual Description Date

1.0 Initial release 140707 This document contains proprietary information of VEGA Americas, Inc. It shall not be reproduced in whole or in part, in any form, without the expressed written permission of the VEGA Americas, Inc. The material in this document is provided for informational purposes only and is subject to change without notice. ISO 9001 approval by Lloyd's Register Quality Assurance Limited, to these Quality Management System Standards: ISO 9001:2008, ANSI/ASQC Q9001-2008, Approval Certificate No. 107563

Page 4: Modbus FB107

Notes

4 48145-US-140707

NOTES

Page 5: Modbus FB107

Table of Contents

48145-US-140707 5

Table of Contents Revision History ................................................................................. 3 Table of Contents ............................................................................... 5 General Information and Settings ..................................................... 7 

Definitions ................................................................................................................. 7 Background ............................................................................................................... 7 

Electrical Installation ......................................................................... 9 RTU Unit Configuration .................................................................... 11 

Modbus Register Data and Data Byte Order ........................................................... 11 Connect Fisher ROC FB107 ............................................................. 13 Configure Modbus Register Setup and Functions ........................ 17 

Configure Modbus RTU Addresses for Multiple Radars .......................................... 19 Set Function Code to Read Data from each Radar .................................................. 20 Set Slave and Master Registers .............................................................................. 21 Set the Number of Registers ................................................................................... 23 Configure Modbus Registers Data Storage for Multiple Modbus RTU Radars ......... 24 Review .................................................................................................................... 27 

Customer Service ............................................................................. 29 

Page 6: Modbus FB107

Notes

6 48145-US-140707

NOTES

Page 7: Modbus FB107

General Information and Settings

48145-US-140707 7

General Information and Settings Definitions VEGA Modbus VEGA PULS Modbus unit PULS Non-Contact Radar PV Primary Variable RTU Remote Terminal Unit Background The aim and purpose of this document is to provide sufficient information for the VEGA PULS Modbus unit, so that it can be connected to the Fisher ROC107 RTU (FloBoss 809). The level of the information provided shall be such that the installation can be done by personnel without previous experience of the systems used.

Page 8: Modbus FB107

Notes

8 48145-US-140707

NOTES

Page 9: Modbus FB107

Electrical Installation

48145-US-140707 9

Electrical Installation 1

2

3

Figure 1: Electrical Installation

1 Power Supply 2 RS 232 Connection 3 See Figure 2, Detail

A

B

D0 (+)

D1 (-)

Figure 2: Electrical Installation Detail

Page 10: Modbus FB107

Notes

10 48145-US-140707

NOTES

Page 11: Modbus FB107

RTU Unit Configuration

48145-US-140707 11

RTU Unit Configuration The default settings of the VEGA Modbus communication module is 9600, N, 8, 1

9600 Baud rate No parity 8 Data bits 1 Stop bit Modbus address 246 Data Byte order of ABCD or Big Endian

!NOTE

Change the Modbus address to match your application.

Modbus Register Data and Data Byte Order The following information is the recommended Modbus register data and Data Byte order for the Fisher ROC FB107. Register 2000 Series FIXED in Byte order - ABCD (Big Endian)

2000 Status DWord - Status 2002 PV DWord - Primary Variable in Byte order selected in DTM-Setup 2004 SV DWord - Secondary Variable in Byte order selected in DTM-Setup 2006 TV DWord - Third Variable in Byte order selected in DTM-Setup 2008 QV DWord - Quaternary Variable in Byte order selected in DTM-Setup

Page 12: Modbus FB107

Notes

12 48145-US-140707

NOTES

Page 13: Modbus FB107

Connect Fisher ROC FB107

48145-US-140707 13

Connect Fisher ROC FB107

1. Right-click the ROCLINK 800 icon to open the software. 2. Right-click the User ID:. The software will automatically complete the User ID: and Password:.

Figure 1: User ID and Password

3. The software will automatically complete the User ID: and Password:. 4. Click Direct Connect.

Figure 2: Direct Connect

Page 14: Modbus FB107

Connect Fisher ROC FB107

14 48145-US-140707

5. From the ROC menu, click Comm Ports.

Figure 3: Comm Ports

Page 15: Modbus FB107

Connect Fisher ROC FB107

48145-US-140707 15

6. In the Com Ports: list, click RS485 Mast.

Figure 5: RS485 Mast

7. Confirm the following settings: Baud Rate: 9600 Parity: None Data Bits: 8 Stop Bits: 1 Port Owner: Modbus Master Idle Time: 30 ms

8. Click Apply. 9. Click OK.

Page 16: Modbus FB107

Notes

16 48145-US-140707

NOTES

Page 17: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 17

Configure Modbus Register Setup and Functions 1. From the Configure menu, click MODBUS.

Figure 6: Configure Menu, Modbus

2. In the Com Ports: list, click 2 – RS485 Mast.

Figure 7: 4 – RS485 Mast

Page 18: Modbus FB107

Configure Modbus Register Setup and Functions

18 48145-US-140707

3. Set up the Fisher ROC107 to read from multiple Modbus radars.

!NOTE

The number of requests is based on the Modbus devices in the commloop. In this example, there are three (3) VEGA Modbus radars.

4. In the Modbus Configuration dialog box, click Least Significant Byte First and RTU.

5. In the Starting Request: box, type 1. 6. In the Number of Requests: box type 3.

Figure 8: Starting and Number Requests

7. Click Apply.

Page 19: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 19

Configure Modbus RTU Addresses for Multiple Radars 1. Click the Master Table tab.

!NOTE

The RTU address changes for each radar, so each radar must have a unique Modbus RTU address.

2. Change the RTU Address in the first three boxes to the following: Index 1 = 2 (VEGA Modbus RTU Radar address set to 2) Index 2 = 1 (VEGA Modbus RTU Radar address set to 1) Index 3 = 3 (VEGA Modbus RTU Radar address set to 3)

Figure 9: RTU Address

Page 20: Modbus FB107

Configure Modbus Register Setup and Functions

20 48145-US-140707

Set Function Code to Read Data from each Radar 1. Change the Function Code to 4 – Read Input Register to communicate with the

VEGA Modbus Radars. 2. Make certain you change the Function Code to this same code in each of the first

three boxes.

Figure 10: Function Codes

Page 21: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 21

Set Slave and Master Registers Set the Slave Register and Master Register for the PV, SV, TV, and QV starting at register address 1900 for 10 registers for either Variable (1300):

Index 1 = (Slave Register = 1300, Master Register = 1900) Index 2 = (Slave Register = 1300, Master Register = 1910) Index 3 = (Slave Register = 1300, Master Register = 1920)

Figure 11: Variable Slave and Master Registers

!NOTE

The address range in the master will change for each radar. The slave will always be the VEGA Modbus register storage location.

OR

Page 22: Modbus FB107

Configure Modbus Register Setup and Functions

22 48145-US-140707

Fixed (2000) ABCD byte sequence. Index 1 = (Slave Register = 2000, Master Register = 1900) Index 2 = (Slave Register = 2000, Master Register = 1910) Index 3 = (Slave Register = 2000, Master Register = 1920)

Figure 12: Fixed Slave and Master Registers

Page 23: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 23

Set the Number of Registers 1. Set the Number of Registers for each RTU device to 10.

Index 1 = (Number of Registers = 10) Index 2 = (Number of Registers = 10) Index 3 = (Number of Registers = 10)

Figure 13: Number of Registers

2. Click Apply to accept all the changes.

Page 24: Modbus FB107

Configure Modbus Register Setup and Functions

24 48145-US-140707

Configure Modbus Registers Data Storage for Multiple Modbus RTU Radars 1. Click the Registers tab. 2. Change the Start Register and End Register range for each VEGA Modbus radar

to the following: Index 1 = (Start Register = 1900, End Register = 1909) Index 2 = (Start Register = 1910, End Register = 1919) Index 3 = (Start Register = 1920, End Register = 1929)

Figure 14: Start Register and End Register

!NOTE

The Start and End Registers will be unique for each radar. They are assigned by the customer programmers and not VEGA.

Page 25: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 25

3. Click each of the Device Parameters index boxes you wish to change.

Figure 15: Device Parameters

4. Click the Device Parameter Submenu icon .

Page 26: Modbus FB107

Configure Modbus Register Setup and Functions

26 48145-US-140707

5. From the Device Parameter submenu, click the following data storage locations inside the Fisher ROC107 for each of the Modbus radars. Index 1 = (SFP 1, DATA1) Index 2 = (SFP 2, DATA1) Index 3 = (SFP 3, DATA1)

Figure 15: Device Parameter Submenu

6. Click OK. 7. Change the Indexing for each connected VEGA Modbus radar in the first three

boxes to the following: Index 1 = Indexing = (Parameter) Index 2 = Indexing = (Parameter) Index 3 = Indexing = (Parameter)

8. Change the Conversion for each connected VEGA Modbus radar in the first three boxes to the following: Index 1 = Conversion = (65) Index 2 = Conversion = (65) Index 3 = Conversion = (65)

9. Change the Comm Port for each connected VEGA Modbus radar in the first three boxes to the following: Index 1 = Comm Port = (RS485 Mast) Index 2 = Comm Port = (RS485 Mast) Index 3 = Comm Port = (RS485 Mast)

10. Click Apply. 11. Click OK.

Page 27: Modbus FB107

Configure Modbus Register Setup and Functions

48145-US-140707 27

Review 1. Click the plus (+) sign next to the On Line – Com – FB107 – FB107 to expand the

menu. 2. Click the plus (+) sign next to the I/O submenu. 3. Click plus (+) sign next to the Soft Point submenu. 4. Double-click #1, RADAR-1.

Figure 16: #1, RADAR-1

5. Click Update to refresh the data once. 6. Click Auto Scan for a continuous refresh of the data.

Page 28: Modbus FB107

Notes

28 48145-US-140707

NOTES

Page 29: Modbus FB107

Customer Service

48145-US-140707 29

Customer Service VEGA has Field Service Engineers or Radiation Safety Officers available for onsite service, emergency services, or equipment start up.

Contact Information Telephone Number

Monday through Friday 8:00 A.M. - 5:00 P.M. EST (Eastern Standard Time)

1-513-272-0131

Emergencies: Follow the voice mail instructions 1-513-272-0131

Fax 1-513-272-0133

Page 30: Modbus FB107

Notes

30 48145-US-140707

NOTES

Page 31: Modbus FB107
Page 32: Modbus FB107

VEGA Americas, Inc.4170 Rosslyn DriveCincinnati, Ohio 45209 USAPhone: 1.513.272.0131Fax: 1.513.272.0133E-mail: [email protected]

48145-US-140707Subject to change without prior notice

©2014 VEGA Americas, Inc. Cincinnati, Ohio, USA

All statements concerning scope of delivery, application, practical use, and operating conditions of the sensors and processing systems correspond to the information

available at the time of printing.