s

Operating Manual

SITRANS F 1015N-5M ModBus/N2 Protocol Converter Module

CQO:1015N-5FM-1 Revision 02 Printing January 2012

THIS PAGE INTENTIONALLY LEFT BLANK

Errata

1010FMA-56 January 2012

Errata ModBus Register Map Additions and Fault Bit Decoding List Update The following applies to the 1015N-5M ModBus manual (Revision 1) and Modscan32 Quick Start Guide. 1. Update the front cover of the 1015N-5M ModBus manual: a. From: CQO:1015N-5FM-1 Revision 01 Printing July 2008 b. To: CQO:1015N-5FM-1 Revision 02 Printing January 2012 2. Add the following tables to the Table of Contents (page 2) and Appendix A (page 30): a. Table 10 - 2 Channel Energy System - Reflexor – N2 b. Table 11 - FUS1010 Gross Vol. 1 Channel – MB 16 Bit Word Normal c. Table 12 - FUS1010 Gross Vol. Dual Channel Doppler – MB 16 Bit Word Normal 3. Add the following ModBus Register maps to the 1015N-5M ModBus manual and insert after page 34. See attached sheets. a. 1010EDN3 2 Channel Reflexor b. 1010N1 1 Channel c. 1010DN1 Dual Channel Doppler 4. Replace the Fault Bit Decoding list in the 15N-5M ModBus manual (pages 29 and 49) and in the Modscan32 Quick Start Guide (page 3) with the following: Status 7FF 3xx 6xx 5xx xEx xCx xAx xxE xxC xxB xx7

Bytes b1 b2 b3 37 46 46 33 xx xx 36 xx xx 35 xx xx xx 45 xx xx 43 xx xx 41 xx xx xx 45 xx xx 43 xx xx 42 xx xx 37

b4 20 - Good 20 - Channel disable (x = don’t care) 20 - Interface 20 - Pig Detect 20 - Fault indicated 20 - Fault, aeration indicated 20 - Memory 20 - Spacing indicator 20 - ZeroMatic channel fault 20 - Empty Pipe 20 – hi/lo flowrate

E1

METER TYPE: Op System: Configuration File Parsing File Data Description Site Name Date Time Avg Energy Energy Rate Eng Rate Units Energy Total Eng Tot Units Flow Average Flow Flow Units Liq Total Liq Total Units Supply Temp Ts Units Return Temp Tr Units Temp Difference Td Units Alarms Alarm Units Analog Inputs A. I. Units Dev Dev Units Chiller Effeciency 1 Chiller Effeciency 2 Chiller Effeciency 3 Chiller Effeciency Units

1010EDN3 2 CHANNEL REFLEXOR 5EN04-5.04.04 5DCER3-C.S19 5DCER3-P.S19 Sample Data 9D0001789 3783, 268, -0.01 , -0.01 , KBTU/HR , -0.00 , KBTU , 0.08748, 0.08745, GAL/MIN, 0.95, GAL, 31.77, TSF, 31.96, TRF, -0.19, TDF, 7FF, S, 0 Aux 31.90, DevB1 1000.000 0.012 0.004 CEBB

,

s Data Type Site ID Date Time Float Float Units Float Units Float Float Units Float Units Float Units Float Units Float Units Bitfield Units Float Units Float Units Float Float Float Units EOF EOF

Register Type Input Register Input Register Input Register Holding Register Holding Register Not Used Holding Register Not Used Holding Register Holding Register Not Used Holding Register Not Used Holding Register Not Used Holding Register Not Used Holding Register Not Used Input Register Not Used Holding Register Not Used Holding Register Not Used Holding Register Holding Register Holding Register Not Used

SIEMENS REGISTER MAP FOR 1015N-5M N2/MODBUS COMMUNICATION BOARD.

MB

9600/8/N/1

16

ASCII

N 2

Report CH 1 REFLEXOR 30001-30004 30005-30006 30007-30008 41001-41002 41003-41004

Report CH 2 REFLEXOR 30011-30014 30015-30016 30017-30018 41029-41030 41031-41032

41005-41006

41033-41034

41007-41008 41009-41010

41035-41036 41037-41038

41011-41012

41039-41040

41013-41014

41041-41042

41015-41016

41043-41044

41017-41018

41045-41046

30009-30010

30019-30020

41019-41020

41047-41048

41021-41022

41049-41050

41023-41024 41025-41026 41027-41028

41051-41052 41053-41054 41055-41056

METER TYPE:

Op System: 5N01-5.04.04 Configuration File 10N1-C.S19 Parsing File 10N1-P.S19 Data Description SiteName Date Time AvLiqFlwRate Instant LiqFlwRate LiqFlowRateUnits Raw Flow Raw Flow Units Liq Total Liq Total Units Liq Sonic Vel Sonic Vel Units Singal Strength Units Aeration Aeration Units Status/Alarms Status Indicator Delta Time Time Units

1010N1 1 CHANNEL

Data Sample Data Type 820001A , Site ID 3171, Date 388, Time 50.086, Float 50.092, Float GAL/MIN, Units 2.047970e2, Float I3/S, Units 0.98, 0.98, 0.98, Float KGAL, Units 1490.02, Float VS, Units 55, Integer S, Units 2, Integer A, Units 7FF, Character S, Units 0.07460, Float dt(uS)16 Units EOF EOF

MB 16 N 1

Register Type INPUT REG INPUT REG INPUT REG HOLDING REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED INPUT REG NOT USED INPUT REG NOT USED INPUT REG NOT USED HOLDING REG NOT USED

Report CH1 30001--30004 30005--30006 30007--30008 41001--41002 41003--41004

ModBus REGISTERS 16 BIT FORMAT WORD NORMAL 1 CHANNEL

9600/8/N/1

41005--41006 41007--41008 41009--41010 30009 30010 30011--30012 41011--41012

SIEMENS REGISTER MAP FOR 1015N-5M N2/MODBUS COMMUNICATION BOARD.

APPENDIX A

1010DN1 DUAL CHANNEL DOPPLER

METER TYPE: Op System: Configuration File Parsing File

5N03-5.04.05 5DCR1-C.S19 5DCR1-P.S19

Data Description SiteName Date Time Flow Average Flow Average Flow Units Total Total Units Alarms Alarm Units Deviation Deviation Units

Sample Data 540001363 3CF5, 29A, 0.09995, 0.06969, GAL/MIN, 0.16, GAL, 7FF, S, 12.08, DevC8

s Data Type Register Type , SITE ID INPUT REG DATE INPUT REG TIME INPUT REG FLOAT HOLDING REG FLOAT HOLDING REG UNITS NOT USED FLOAT HOLDING REG UNITS NOT USED CHARACTE INPUT REG UNITS NOT USED FLOAT HOLDING REG UNITS NOT USED EOF EOF

MB

ModBus REGISTERS

16

16 BIT FORMAT WORD NORMAL 2 Channel 9600/8/N/1

N 1

Report CH 1 Report CH 2 30001--30004 30011-30014 30005--30006 30015-30016 30007--30008 30017-30018 41001--41002 41009-41010 41003--41004 41011--41012 41005--41006

41013-41014

30009--30010

30019-30020

41007--41008

41015-41016

THIS PAGE INTENTIONALLY LEFT BLANK

ModBus 1015N-5M

CONTENTS

1. 2. 3. 4. 5. 5.1 5.2 6. 6.1 6.2 7. 8. 9. 10. 11. 11.1 11.2 12. 12.1 12.2 12.3 13. 14.

Introduction ............................................................................................................ 3 Data Information Available ...................................................................................... 4 Quick Start Instructions .......................................................................................... 5 ModBus/N2 Device ID Setting ................................................................................. 6 Flowmeter Setup .................................................................................................... 7 Configure Datalogger .............................................................................................. 7 Configure RS-232 Port of the FUS 1010 Flowmeter ............................................... 8 Uploading Configuration File to the 1015N-5M ...................................................... 9 Using Omnitalk.exe ................................................................................................ 9 Download Instructions ............................................................................................ 9 J2 Electrical RS-232 or RS-485 Jumper Settings ...................................................... 1 0 Status Indicators ..................................................................................................... 11 Data Access ............................................................................................................ 12 Connections and Wiring .......................................................................................... 13 ModBus Configuration and Protocol Discussion ..................................................... 1 9 ModBus Configuration Form Instructions .............................................................. 1 9 ModBus Protocol .................................................................................................... 2 0 Protocol Card Operation .......................................................................................... 23 LED Indicators ......................................................................................................... 23 Switch Functions .................................................................................................... 23 Jumper Functions ................................................................................................... 23 Troubleshooting Tips ............................................................................................... 24 Modscan32 Quick Start Guide ................................................................................ 25

TABLES Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9

LED Status Indicators ........................................................................................ 11 J2 Pin Definitions .............................................................................................. 17 Jumper Settings Revision A3 Boards ................................................................ 1 8 Jumper Settings Revision A4 Boards ................................................................. 1 8 ModBus Configuration Form ............................................................................. 22 Dual Beam Gas System--MB 32 Bit Word Normal .............................................. 31 FUH 1010DVDN Dual Beam—MB 16 Bit Word Normal .................................... 32 Dual Channel Energy System—MB 16 Bit Word Normal ................................... 33 Single Channel Energy System—N2 ................................................................. 34

FIGURES Figure 1 Figure 2A Figure 2B Figure 3 Figure 4 Figure 5

Device ID Switch Settings ................................................................................ 6 1015N-5M Assembly for Revision A3 Boards .................................................. 14 1015N-5M Assembly for Revision A4 Boards .................................................. 15 J2 Pin Definitions ............................................................................................ 1 6 RS-232 and RS-422/485 Connections .............................................................. 1 6 N2 Connections .............................................................................................. 17

APPENDIX A - ModBus/N2 Protocol Converter Module & N2 Point Maps .......................... 3 0 APPENDIX B - Installation Drawings ................................................................................... 35 APPENDIX C - FM Intrinsically Safe Wiring Diagrams .......................................................... 3 9 APPENDIX D - Date Time/Field Decoding & Fault Bit Decoding ......................................... 49 Metasys Compatibility Status ............................................................................................ 5 0

2

1015N-5FM-1

ModBus 1015N-5M

1.

1. Introduction

The 1015N-5M is a protocol converter module designed for use with the Siemens 1010 family of flow computers. It allows communication to take place between the Siemens flow computer’s RS-232 port and RS-232, RS-485 or RS-422 ModBus or N2 Masters. This manual describes the configuration procedures and operating procedures based on the ModBus and N2 protocol.

Introduction

The converter allows the ability to configure the onboard connector for Protocol Type, baud rate, stop bits, data bits and parity. This connector is used to communicate to the ModBus or N2 network. The converter can be configured for use as an N2 slave, or ModBus slave; in ModBus mode, either in ASCII or RTU mode, Gould or Daniels protocol. For ModBus both 16 and 32 bit floating point data can be configured. The card is preconfigured at the factory per the parameters chosen on the ModBus configuration form, which is part of the sales process. The card received is customized to the end users application, and therefore plug and play installation is standard.

3

1015N-5FM-1

ModBus 1015N-5M

2.

2. Data Information Available

Data available from the ModBus/N2 card includes all data that is accessible from the flow computer’s datalogger function. In other words, all flow data that is present on the flow computer’s RS-232 port is available through the protocol converter card. (See Siemens flowmeter field manual for list.) The user then has the ability to poll the ModBus/N2 card for any data points of interest.

4

Data Information Available

1015N-5FM-1

ModBus 1015N-5M

3.

Quick Start Instructions

3. Quick Start Instructions

3.1 Using the supplied Field Upgrade kit, install the 1015N-5M card into the flowmeter per installation instructions in Appendix-B. 3.2 Wire J2 connector per your network. Refer to figures 4 & 5. 3.3 Set the Device ID, using SW1 through SW3. Press SW4 reset for changes to take effect. Reference Paragraph 4 for details. 3.4 Install Top cover. 3.5 Setup RS-232 and Datalogger functions of the FUS 1010 per Paragraph 5. 3.6 Configure your data acquisition system for the flowmeter type point map. Note: The point map applicable to your flowmeter is included with the ModBus/N2 card. Appendix-A shows standard point maps examples.

5

1015N-5FM-1

ModBus 1015N-5M

4.

ModBus/N2 Device ID Setting

4. ModBus/N2 Device ID Setting

The ModBus/N2 Device ID is an identifier of the particular flow computer on a multi-drop network. Each card on a Network must have a unique device ID in order for contention free communication to occur. Available Addresses (ID’s) for each protocol are listed below: ModBus: N2:

001 to 247 decimal. 001 to 256 decimal.

To set a device ID, refer to Figure 1, as follows: There are 3 switches that define the address, located on the top of the 1015N-5M. The Example ID shown below is 005. The MSB is on the left, the LSB is on the right. After setting the switches to the proper value, make sure that Jumper JP-2 is between Pins 2 & 3 (factory default, away from board edge) and press SW4 once. This will reset the 1015N-5M card with the new device address.

9

1

9

0

1

0

1

2

8

2

8

2

7

3

7

3

7

3

5 MSB

4

6

5

4

SW2

1015N-5FM-1

6 SW3

FIGURE 1

6

9

8

6 SW1

0

5 LSB

4

ModBus 1015N-5M

5.

Flowmeter Setup

5. Flowmeter Setup

[Setup must be done to every channel of the meter] In order for the 1015N-5M to work properly, all of the possible Datalogger and RS-232 parameters and configuration choices in the site setup must be correct.

5.1 Configure DataLogger

NOTE: This must be done for both channels if configured as a dual channel unit; or all channels, if a multi-channel unit. Refer to the manual for the FUS 1010 flowmeter for menu details, if required. 5.1.1 On the FUS 1010 flowmeter keypad, press the key. 5.1.2 Use the UP/DN arrows and scroll to Meter Type. If this does not appear as a choice, the previous menu access was to a nested menu level deeper than the top menu. Use the Left arrow key to return. 5.1.3 With Meter Type shown use the right arrow to access the sub menu of how your flowmeter is configured. 5.1.4 Select Channel 1 and the appropriate transducer type; we are setting up within the context of the site setup that was created for this installation. 5.1.5 Use the UP/DN arrows and scroll to Datalogger Setup. Use the Right arrow key to access the submenu. 5.1.6 Five menu choices will be shown. Since we have to check each one, the order in which you change these is not important. Use the UP/DN arrows to select the main choices. Use the Right arrow key to access the choices. Using the UP/DN arrows, select the item desired as defined below. Pressing the key will select that choice. Datalogger MODE: Log Interval Set: Event Selected: Data Selected:

Set to RS-232 Output. Set to DEMAND. Set to NONE. Select All Items.

Press Right arrow to access. Highlight each Datalogger item using the UP/DN arrows, and then press the ENTER key, to set EVERY choice on. Each item will have [+] sign to left of item when selected. Use the Left arrow key to back out of the nested menu to the top menu. Use of the Left arrow key intermediately saves the configuration information permanently. You also must then Re-Save the site.

7

1015N-5FM-1

ModBus 1015N-5M

5: Flowmeter Setup

5.2 Configure RS-232 Port of the FUS 1010 Flowmeter

This sets up the communication parameters between the FUS 1010 and the 1015N-5M card. Note: These are not the ModBus or N2 parameters 5.2.1 Use the UP/DN arrows and scroll to Meter Facilities. 5.2.2 With Meter Facilities shown use the Right arrow to access the sub menu. 5.2.3 Use the UP/DN arrows and scroll to RS-232 Setup. 5.2.4 Use the Right arrow to access the RS-232 setup parameters. Use the right arrow to choose the parameters shown below. Use UP/DN arrow to scroll to desired choice. Press the key to select. Baud Rate = 9600 Parity = Odd Databits = 7 Linefeed = No Network ID = 1 (Note: This is not the MODBUS ID.) RTS Key Time = 0.2 At this point you are ready to start communicating over ModBus or N2. Using the register or point maps supplied with the card, access to the data registers of the 1015N-5M card should occur.

8

1015N-5FM-1

ModBus 1015N-5M

6.

6.

[NOTE: Section 6 is usually NOT Required]

Uploading Configuration Files to the 1015N-5M

Uploading Configuration Files to the 1015N-5M

There are those cases where the requirements of the end user has changed, such as differing parity or baud rate for the ModBus connection. In cases such as these, new configuration files must be uploaded to the 1015N-5M card. The configuration files can be obtained by contacting Siemens TSG department. Call (800) 275-8480 for these purposes. Please have all pertinent information required on the configuration form available to expedite this process. Upon receipt of the new configuration and parsing files, the following must be performed to upload these new files into the 1015N-5M card. The Omnitalk.exe program is a DOS based program that enables communication between a PC and the configuration port of the 1015N-5M. These configuration files may be uploaded to the ModBus card without disconnecting the ModBus network cabling, or ceasing ModBus network communications.

6.1 Using Omnitalk.exe

This supplied program is required to install the necessary files into the Protocol Converter. To install the data files into the Protocol Converter, it will be necessary to connect to the Converter card with a laptop or computer. The supplied 1015-59 cable will connect the J-1 port of the Converter card to the COM port of the computer. NOTE: Omnitalk is a DOS program and will not run under the Windows operating system. It may be necessary to reboot the computer into MS-DOS mode before attempting to use Omnitalk.

6.2 Download Instructions The following will provide step-by-step instructions to upload the necessary files into the Protocol Converter card. 6.2.1 Note (write down) the names of the two required files and . The configuration file always ends in “-C.S19 and the par-sing file always ends in “-P.S19”. These 2 files, along with Omnitalk.exe should be located in the same directory. 6.2.2 Make the current directory of the PC equal to where these three files are located. 6.2.3 Invoke the Omnitalk.exe program 6.2.4 Upon invoking the program, key ; you should see the Omnitalk> prompt at the bottom of your screen. If this does not occur, exit the program by pressing the key, and restart the program. On some machines, in DOS mode, the COM1 port is not seen initially. After this exit restart sequence, failure to see this prompt will require a rechecking of the cable connections. Make sure no other programs are running such as HyperTerminal, that steal the COM1 port. 6.2.5 On the 1015N-5M board, insure that Jumper JP2-1 is between Pins 1 & 2. Refer to Figure 2A or 2B for location of Jumpers and switches. Press SW4 once. This will bring the 1015N-5M card into configuration mode. 6.2.6 Key ; a message will appear which states “send ~worksht.dba”; key “N” and type in the proper configuration file filename. Key ; a proper data transfer will place you back at the Omnitalk> prompt with no stated errors. 6.2.7 Key to send the parsing file, a message will appear which states “send ~worksht.dba”; key “N” and type in the proper parsing filename. Key ; a proper data transfer will place you back at the Omnitalk> prompt with no stated errors. 6.2.8 Key W 6000 – 0000 – 2000 to move the parsing file from RAM to EEPROM. Note: Spaces and dashes will be inserted automatically. The Omnitalk> prompt will then reappear. 6.2.9 Key to reset with new settings. Press to exit Omnitalk. 6.2.10 Return Jumper JP2 to Pins 2 & 3. 9

1015N-5FM-1

ModBus 1015N-5M

7.

J2 Electrical RS-232 or RS-485 Jumper Settings

7. J2 Electrical RS-232 or Applicable to: Revision A3 of the 1015N-5M: RS-485 Jumper Settings The jumper [JP1] located on the converter card is used to set connector [J2] to either RS232 or RS-485/422. Refer to Figure 2A for location of Jumpers and switches. Note: Jumpers JP3 and JP4 are factory set and must not be changed. Applicable to Revision A4 of the 1015N-5M: Jumpers JP1, JP3 & JP4 have been eliminated. The J2 connector is configured to receive data from either the RS232 or RS422/485 connections automatically, eliminating the need for the jumper. Refer to Figure 2B for location of Jumpers and switches.

10

1015N-5FM-1

ModBus 1015N-5M

8.

8. Status Indicators

The protocol converter card has eight LED’s onboard. These LED’s are status and indicator lights that inform of the following:

Status Indicators

LED ACTIVE ERROR TXD1 RXD1 TXD2 RXD2 TXD3 RXD3

REF D6 D2 D1 D3 D4 D5 D7 D8

PORT All All J2 J2 J3 J3 J1 J1

FUNCTION Flashing @ 0.5 Second interval indicates Operation. Error Indicator. If Flashing, Communication Not Possible. Indicates ModBus/N2 Response to Data Request. Indicates ModBus/N2 Network Traffic. Indicates Protocol Card to 1010 Request for data. Indicates 1010 Response for request for data. Indicates Configuration Port Transmission of Data Indicates Configuration Port Reception of Data Table 1. LED Status Indicators

Note 1: All ModBus/N2 Communication is via Port J2. Note 2: TX/RX LED’s will flash during Port communication activity.

11

1015N-5FM-1

ModBus 1015N-5M

9.

Data Access

9. Data Access

Flow computer data is stored in registers within the Modbus/N2 protocol converter. This data is updated approximately every 20 seconds and can be accessed within milliseconds, if necessary. However, since the data is updated every 20 seconds, requesting data faster than this time will result in repeat data until the registers are again updated. Each data item is stored either as a floating point number or an integer and must be accessed as such. For ModBus, 32 bit floating point data are stored in the 45,000 address range. 16 bit floating point data are stored in sequential pairs in the 41,000 address range. All integers are stored in the 30,000 range. See Appendix-A for differences between 16 and 32 bit ModBus. For Example: To retrieve “flow rate” (flow rate is a float) the address may be 45007. The Modbus Master must request address 45007 in order to retrieve the proper information. For Integers such as 30018, the Modbus Master must request address 30018 to receive the corresponding data for address 30018. Exact data type definitions are specific to each flowmeter variant. For N2, data is stored as either Analog Inputs AI’s or ADI’s.

12

1015N-5FM-1

ModBus 1015N-5M

10. Connections and Wiring

10. Connections and Wiring

Figures 2A (Rev A3 boards) & 2B (Rev A4 Boards) details the card’s connectors, jumpers, switches and LED’s. Figure 3 shows the connections for implementing various electrical specifications. Figure 4 shows Connections for an RS232 and RS422/485 connection. Figure 5 details the N2 connection setup. Table 2 Details the pin connection usage for each specification. Table 3 shows Jumper Settings Revision A3 Boards. Table 4 shows Jumper Settings Revision A4 Boards.

13

1015N-5FM-1

ModBus 1015N-5M

10. Connections and Wiring

CONFIGURATION PORT

JP2 JP3 JP4

SEE MANUAL FOR JP2 USAGE

J1

1 2 3

SW1

1 2 3

1 2 3

SW3

SW2

SW4

ADDRESS J3

ERROR

JP1

TXD3 RXD3

CFG

TXD2 RXD2

TXD1 RXD1

MB/N2 1010

1 2 3

1015-146-1

RS232 RS485

VER 5.0 03-03-08

1EDBh

SELECT FOR RS232 OR RS485

UPGRADE TO VER 5.0, ALL PCB REVISION LEVELS. CALL TSG FOR UPGRADE EPROM

1015N-5M-5 R/M A3

ACTIVE

1 2 3 4 5 6 7 8 9 10 11 12 J2 RX-

RX+

TX-

TX+

CTS

RTS

N/C

GND

DTR

TX

RX

DCD

MODBUS/N2 USER CONNECTIONS JUMP J2-5 TO J2-6

FIGURE 2A 1015N-5M ASSEMBLY FOR REVISION A3 BOARDS

14

1015N-5FM-1

10. Connections and Wiring

CONFIGURATION PORT

SEE MANUAL FOR JP2 USAGE

SW1

J1

SW2

SW3 LOAD CONFIG RESET

MSB

JP2

ModBus 1015N-5M

1 2 3

SW4

ADDRESS

J3

1015-146-1

1EDBh

VER 5.0 03-03-08

UPGRADE TO VER 5.0, ALL PCB REVISION LEVELS. CALL TSG FOR UPGRADE EPROM

ERROR

TXD3 RXD3

TXD2 RXD2

TXD1 RXD1

MB/N2 1010 CFG

1015N-5M-5 R/M A4

ACTIVE

1 2 3 4 5 6 7 8 9 10 11 12 J2 RX-

RX+

TX-

TX+

CTS

RTS

N/C

GND

DTR

TX

RX

DCD

NOTE: PIN 7 [RTS] & PIN 8 [CTS] ARE CONNECTED VIA JUMPER ON BOTTOM OF BOARD.

MODBUS/N2 USER CONNECTIONS JUMP J2-5 TO J2-6

FIGURE 2B 1015N-5M ASSEMBLY FOR REVISION A4 BOARDS

15

1015N-5FM-1

ModBus 1015N-5M

10. Connections and Wiring

J2 J2-12 J2-11 J2-10 J2-9 J2-8 J2-7 J2-6 J2-5 J2-4 J2-3 J2-2 J2-1

RS422/485--RXRS422/485--RX+ RS422/485--TXRS422/485--TX+ CTS RTS JUMP TO J2-5 GROUND RS232-DTR RS232--TX RS232--RX RS232--DCD

RS422/485 SIGNALS

COMMON SIGNALS

RS232 SIGNALS

FIGURE 3 J2 PIN DEFINITIONS

J2

J2 J2-12 J2-11 J2-10 J2-9 J2-8 J2-7 J2-6 J2-5 J2-4 J2-3 J2-2 J2-1

N/C RS232 SIGNALS N/C N/C N/C JUMP CTS TO RTS CTS NOT REQ'D ON R/M A4 BOARDS RTS JUMP TO J2-5 GROUND RS232-DTR RS232--TX RS232--RX RS232--DCD

J2-12 J2-11 J2-10 J2-9 J2-8 J2-7 J2-6 J2-5 J2-4 J2-3 J2-2 J2-1

RS422/485--RXRS422/485--RX+ RS422/485--TXRS422/485--TX+ JUMP CTS TO RTS CTS NOT REQ'D ON R/M RTS A4 BOARDS JUMP TO J2-5 GROUND N/C N/C RS422/485 N/C SIGNALS N/C

FIGURE 4 RS232 AND RS422/485 CONNECTIONS

16

1015N-5FM-1

TERMINATIONS RESISTOR IS NETWORK DEPENDENT

ModBus 1015N-5M

10. Connections and Wiring

J2 J2-12 J2-11 J2-10 J2-9 J2-8 J2-7 J2-6 J2-5 J2-4 J2-3 J2-2 J2-1

N2N2+ N2N2+ JUMP CTS TO RTS CTS NOT REQ'D ON R/M A4 BOARDS RTS JUMP TO J2-5 GROUND N/C N/C N/C N/C

TERMINATIONS RESISTOR IS NETWORK DEPENDENT

FIGURE 5 N2 CONNECTIONS

J2 Pin Number RS232 RS422/485 J2-1 DCD NOT USED J2-2 RX NOT USED J2-3 TX NOT USED J2-4 DTR NOT USED J2-5 GROUND GROUND J2-6 JUMP TO J2-5 JUMP TO J2-5 J2-7 RTS RTS J2-8 CTS CTS J2-9 NOT USED TX+ J2-10 NOT USED TXJ2-11 NOT USED RX+ J2-12 NOT USED RXTABLE 2. J2 Pin Definitions

17

1015N-5FM-1

N2 NOT USED NOT USED NOT USED NOT USED GROUND JUMP TO J2-5 JUMP TO J2-8 JUMP TO J2-7 N2+ N2JUMP TO J2-9 JUMP TO J2-10

ModBus 1015N-5M

10. Connections and Wiring

JP1 SETTINGS JP2 SETTINGS JP3 SETTINGS JP4 SETTINGS

RS232 RS422/485 or N2 [DEFAULT] CONFIGURATION MODE RESET ADDRESS [DEFAULT] FACTORY DEFAULT FACTORY DEFAULT

CONNECT CONNECT CONNECT CONNECT CONNECT CONNECT

1-2 2-3 1-2 2-3 1-2 1-2

TABLE 3. Jumper Settings Revision A3 Boards

JP2 SETTINGS

CONFIGURATION MODE RESET ADDRESS [DEFAULT]

CONNECT CONNECT

TABLE 4. Jumper Settings Revision A4 Boards

18

1015N-5FM-1

1-2 2-3

ModBus 1015N-5M

11. ModBus Configuration and Protocol Discussion

11. ModBus Configuration This information is designed for the end user of the Siemens ModBus card, the 1015N-5M & Protocol Discussion protocol converter, to properly select the operating parameters of the ModBus card for their specific application. Due to the numerous versions of the ModBus protocol deployed in end applications, the need for a flexible interface is apparent. Controlotron’s 1015N-5M supplies this flexibility, requiring only knowledge of the end users data acquisition system. 11.1

ModBus Refer to Table 5. ModBus Configuration Form in this section. Configuration Form Instructions 11.1.1 Customer & Date Please fill in with end customer name or a unique name identifying the project. 11.1.2 Unit PN

This is the part number of the Siemens Flowmeter that will receive the ModBus card. This needs to be specified especially for retrofitting existing installed FUS 1010 family flowmeters.

11.1.3 Op System PN & This is required for field retrofits. The Op System must be specified as the latest installed Unit Serial Number operating system into the referenced flowmeter. The form details how to determine the operating systems. 11.1.4 Configuration

In this section, one type of unit configuration must be chosen.

11.1.5 ModBus Communication Parameters

Refer to the following discussion for an explanation of all the differing communication parameters and the restrictions therein. Generally the end user or integrator has responsibility for proper selection of these parameters. Note that on receipt of the ModBus card and Flowmeters, the ModBus card is identified for installation into the flowmeter for which it is intended. On multiple flowmeter orders, or varying flowmeter types within the same order, or field retrofits, unique identification information will be provided for each ModBus card identifying the end flowmeter. You will also receive a “point map” that defines the registers and associated data information. All ModBus cards shipped from Siemens are preconfigured for the end flowmeter. No uploading of configuration or parsing files is required. Almost 90% of all field problems associated with ModBus cards are caused by incorrect specifications of the communication parameters. It is therefore essential that due diligence be performed prior to filling out the configuration form to insure proper information is provided.

19

1015N-5FM-1

ModBus 1015N-5M

11. ModBus Configuration and Protocol Discussion

11.2

ModBus Protocol

The Siemens communications card for ModBus protocol concerns itself with two data types: Integer and Floating Point. Integers are whole numbers in the range of -32768 to 32767 inclusive and may be represented with a single 16-bit register.

11.2.1 Integer Registers

Known as “Input Registers” all have an address beginning at 30001 and are sequentially numbered 30001, 30002, 30003, etc. Some registers may contain two “packed” 8-bit ASCII bytes of data. For example, a typical register map may store the flowmeter’s site name in Input Registers 30001 through 30004 as 8 bytes of ASCII data.

30001 ModBus Input Register – 16-bit Integer

30002 ModBus Input Register – 16-bit Integer

30003 ModBus Input Register – 16-bit Integer The number 15 is represented as 0000000000001111b or 000Fh. The number –15 is represented as 111111111110001b or FFF1h. The ASCII value of “ST” is stored as a “packed” integer of 5354h. 11.2.2 Floating Point Registers

Known as “Holding Registers” all have an address beginning at 40001 and are referenced in pairs. Like Integer registers, each register in the 4x address range contains 16 bits of data. These register pairs are combined to form a single 32-bit IEEE format floating point number with a range of ±10±38 and a precision of approximately 7 decimal digits. The number 123.456 is represented as 42F6E979h (32 bits). Half of these bits are stored in the odd numbered address in the 4x range and half in the even numbered address. Two sequential Holding Register addresses will contain the values of 42F6h and E979h.

41001 ModBus Holding Register containing 42F6h

41002 ModBus Holding Register containing E979h These two registers are read by a ModBus controller and combined to form a single 32-bit value of 42F6E979h, which represents 123.456 decimal. If the high-order byte is contained in the smaller (odd-numbered) address, the format is known as “Word Reversed.” If the loworder byte is contained in the smaller, odd-numbered address, the format is known as “Word Normal.” We can configure these registers for either format. The format required is dependent on the customer’s ModBus controller and how it is configured. This covers the most basic ModBus protocol format, also known as “Gould” or “Modicon.” Nearly every ModBus controller may be configured to read registers in 16-bit “Gould” format, also known as “Modicon Compatible.” 20

1015N-5FM-1

ModBus 1015N-5M

11. ModBus Configuration and Protocol Discussion

11.2.3 Daniel Protocol

This is a type of ModBus controller which adds many extensions and options to this basic communication protocol. Some Daniel controllers may be configured to read Modicon compatible format. We can support the Daniel controller and provide one protocol extension, which is the addition of 32-bit registers. We typically place our 32-bit floating point registers in the 45x address range. This eliminates the need for combining register pairs and eliminates the decision of “Word Normal” or “Word Reversed.”

45001

45001

This 32-bit Holding Register can contain a single value of 42F6E979h, which represents 123.456 decimal. “Daniel” extensions need to be enabled. Register addresses typically begin at 45000 and are sequential: 45000, 45001, 45002, etc. Daniel format meters cannot be read with a Gould controller. 11.2.4

Line Rate and Format

At the bit level, the backbone communications is typically provided by an RS-485 multidrop, differential driver network. Similar to RS-232, baud rate, data bits, stop bits, and parity must be specified for each installation. This data format is not specified by the Modbus protocol, with the following caveat. If RTU mode is specified, the number of data bits must be at least 8.

11.2.5 RTU Mode

This mode is often favored since data may be transmitted nearly twice as quickly as ASCII mode. In RTU mode, each single byte of data is sent over the wire in 8 bits, 1 for 1. The disadvantage of RTU mode is that an internal timer must be used to determine the start and end of each message on the bus. This timing is critical and may be affected in high noise environments.

11.2.6 ASCII Mode

In contrast to RTU mode, it encodes each byte of data into an ASCII-encoded format. For example, the 8-bit value of B9h is encoded as the ASCII value for “B” followed by the ASCII value of “9”, or 42h followed by 39h. ModBus ASCII only uses 7 bits of data per byte, which facilitates a line format of as few as 7 data bits. The advantage of ASCII format is that every ModBus message terminates with a Carriage Return . Timing is less critical and is generally more reliable. The disadvantage of ASCII mode is that twice the number of bytes is required to send the same information, compared to RTU. ASCII and RTU modes are available to be used in either Gould or Daniel format.

21

1015N-5FM-1

ModBus 1015N-5M

11. ModBus Configuration and Protocol Discussion

MODBUS CONFIGURATION SHEET

CUSTOMER:[Click here & type name]

DATE: 4/9/2008

Siemens WO#:

[Click here & type WO#]

Sales Person:

[Click here & type name]

UNIT P/N:

[Click here & type Unit P/N]

Siemens Rep:

[Click here & type name]

[Click here & type opSystem P/N]

Integrator:

[Click here & type name]

[Click here & Unit S/N]

Contact Name:

[Click here & type name]

[ALWAYS REQUIRED]

OP SYSTEM P/N: [FIELD UPGRADES ONLY] FULL OP SYSTEM TYPE AND REVISION LEVEL SEE NOTE 1

UNIT S/N: [FIELD UPGRADES ONLY] LOCATED ON LABEL

CONFIGURATION: [CHECK AS REQ’D] [ALWAYS REQUIRED] SEE NOTE 2

SINGLE CHANNEL

DUAL CHANNEL DUAL BEAM MULTI CHANNEL FOUR BEAM

BAUD RATE Check one

Contact: Phone

[Click here & type Contact Phone]

Fax

[Click here & type Contact FAX]

Email

[Click here & type Contact Email]

300

4800

600

COMMUNICATION

9600

1200

19200

PARAMETERS

2400

MODBUS

ALL PARAMETERS MUST BE SPECIFIED SEE NOTE 3

STOP BITS Check one

1

DEFAULT = 9600

DEFAULT = 1

2 DATA BITS Check one

7

DEFAULT = 8

8 PARITY CHECK Check one

NONE

DEFAULT = NONE

ODD EVEN MODBUS DATA Check one

16 BIT

DEFAULT = 16 BIT

32 BIT DATA FORMAT Check one

WORD NORMAL

DEFAULT = WORD NORMAL

WORD REVERSED MODBUS MODE Check one

ASCII

DEFAULT = RTU

RTU

MODBUS FORMAT Check one

GOULD

DEFAULT = GOULD

DANIEL NOTES: 1) Full operating system part number is located under “Meter Facilities” –> System Info –> OpSystem PN. 2)

The configuration is how the meter is setup on a pipe. Please refer to the front display, under any of the flow display screens. The top line will tell you how the meter is configured.

3) If not sure of the parameters, consult your system integrator.

Table 5. ModBus Configuration Form

22

1015N-5FM-1

ModBus 1015N-5M

12. Protocol Card Operation

12. Protocol Card Operation 12.1 LED Indicators

Active LED [D6] Blinking = Run Mode Constant On = Configuration Mode Error Light [D2] Off = No Errors On = ModBus Communcation Not Possible. In 95% of all cases, the error light indicates it is not receiving properly formatted data from the FUS 1010 Flowmeter. The flowmeter Datalogger must be set up properly, along with the RS-232 parameters that define the FUS 1010 RS-232 port setting. The Datalogger can only be enabled after at least 1 flow path has been set up. MODBUS LED’s [D1 & D3] TXD1 = Tranmitting Data onto ModBus Network RXD1 = Receiving Data from ModBus Network. (Note the card receives all ModBus traffic and responds only to proper address) FUS 1010 LED’s [D4 & D5] TXD2 = Requesting data from the Flowmeter. RXD2 = Receiving Data from the Flowmeter. CONFIG LED’s [D7 & D8] TXD3 = Transmitting data to the connected PC. RXD3 = Receiving Data from the connected PC.

12.2 Switch Functions

SW1 SW2 & SW3 Sets ModBus/N2 Network Address. SW4 Reset Switch. Function depends on Jumper JP2-1.

12.3 Jumper Functions

With Jumper JP2-1 between Pins 2 & 3, SW4 will reset the ModBus card and read the new address set on switches SW1 to SW3. With Jumper JP2-1 between Pins 1 & 2, SW4 will place card into configuration mode. Configuration mode is exited by pressing in Omnitalk, recycling power or placing jumper JP2 between pins 2 & 3 & again pressing SW4.

23

1015N-5FM-1

ModBus 1015N-5M

13. Troubleshooting Tips

13. Troubleshooting Tips

The following are ommon problems encountered when integrating the 1015N-5M equipped flowmeter into the end user’s data acquisition system. Symptom: Error Light Flashing: Possible Causes: Datalogger System on FUS 1010 Flowmeter not set up properly. All Datalogger functions for each channel must be set up correctly in a dual or multi-channel unit, or at least one path set up on a dual beam or multi-beam unit. All FUS 1010 RS-232 parameters must be set correctly. Note that these setting are not the Mod-Bus settings, but rather the connection between the FUS 1010 Flowmeter and the 1015N-5M card. Hint: For an “X” channel unit where “X” is either 1,2 or 4 the TXD2 LED should illuminate once every 20 seconds. This is a request from the 1015N-5M card to the FUS 1010 Flowmeter for the latest Datalogger information. Subsequently, the RXD2 should illuminate “X” times, depending on the number of channels the operating system supports. So for a dual channel unit, the RXD2 should illuminate twice in sequence. If this does not occur, then the FUS 1010 Flowmeter has not been set up properly. All channels must be setup correctly. For any given dual beam or 4-beam system, there will be only 1 response from the FUS 1010N. In dual beam or 4-beam mode, all channels are measuring the same pipe, hence there is only 1 Datalogger message available. Symptom: ModBus Card RXD1 LED indicates Card is receiving data, but no response from ModBus Card. Possible Causes: Wrong Device ID set on SW1 – SW3. Baud Rate, Parity, etc. Incorrect from Data Acquisition system. CTS to RTS Jumper not installed. Note this jumper is installed on Rev A4 cards. Symptom: ModBus Card RXD1 LED indicates Card is receiving data, RXD2 illuminates to the request, but the data acquisition system does not acknowlede the message. Possible Causes: This is most likely a problem in the data acquisition setup. Verify proper card operation using ModScan. Symptom: Omnitalk.exe shows continuous message “No response.” Possible Causes: 1015N-5M not in configuration mode. Move JP2 to pins 1 & 2 and press SW4.

24

1015N-5FM-1

ModBus 1015N-5M

Modscan32 Quick-Start Guide

14. Modscan32 Quick-Start This is a brief “quick start” guide to using Modscan32 to communicate with the Siemens Guide FUS 1010 flowmeter using the ModBus protocol. Modscan32 is distributed by Win-Tech, http://www.win-tech.com/ as a trial version and it functions for a limited time. If you find this software useful, it may be purchased directly from them. Note the device address of the ModBus card and the communication parameters of the ModBus network. This differs from the serial communications of the flowmeter as selected from the front panel. When Modscan32 starts, the following screen is displayed:

Step 1 – Establish a connection. Select ‘Connection’ from the pull-down menu and choose the COM port which has been wired to the ModBus network or directly to the flowmeter.

25

1015N-5FM-1

ModBus 1015N-5M

Modscan32 Quick-Start Guide

For this example, we have chosen COM1 at 9600 baud, 8 data bits, no parity and 1 stop bit. Step 2 – Select the Device ID, Address (of the first ModBus register), and Length (number of registers to query). Note: The default length of 100 will almost always produce a communications error. The length parameter must be set to no more than the number of registers available. Once Modscan32 is put on-line, the status message “Device NOT CONNECTED!” will no longer be displayed. These messages appear just above the displayed registers. If the status message is “Exception Response” or “Invalid Response,” this indicates that the flowmeter does not understand the read command. Double-check the address range, length, and type of registers being examined. There are four types of ModBus registers available from the pull-down menu, “01: Coil Status,” “02: Input Status,” “03: Holding Register,” and “04: Input Register.” We are concerned with the last two types: Holding Registers for values such as flow rate and temperature, and Input Registers for Date, Time, Signal Strength, Aeration, and Alarms. Other data may be examined by referring to the ModBus Register Map for each individual flowmeter. Each one may reflect a unique configuration.

26

1015N-5FM-1

ModBus 1015N-5M

Modscan32 Quick-Start Guide To examine Holding Registers, select either “Floating Pt. or “Swapped FP” depending if your flowmeter is configured for “Word Normal” or “Word Reversed.” ModScan32 will then combine two adjacent 16-bit registers to form a single 32-bit IEEE format floating point number.

Corresponding values for Flow Rate, Raw Flow, etc will appear as odd-numbered register pairs:

The other set of registers we concern ourselves with is Input Registers for Date, Time, Signal Strength, Aeration, and Alarms. Select “04: Input Register” from the pull-down menu. Click on “Hex” from the data format selection:

Next, reduce the number of registers to no more than the number of available Input Registers for your flowmeter. If the length specified exceeds the number of actual registers, no data will be displayed. 27

1015N-5FM-1

ModBus 1015N-5M

Modscan32 Quick-Start Guide

ASCII values are packed in adjacent bytes. In this example, “SiteName” is shown in registers 30001 thru 30004, which is 48 42 31 20 20 20 20 20 or “HB1 “. The alarms are returned as ASCII hex digits. In this example, the alarms are at 30011 thru 30012, which is 37 46 46 20, or “7FF “. This hex value indicates status alarms (inverted), bit encoded as follows: 0x001 - spacing 0x002 - Zeromatic channel fault 0x004 - empty 0x008 - hi/lo flowrate 0x010 - fault 0x020 - aeration or turbulence (GAS) 0x040 - memory 0x080 - makeup 0x100 - interface 0x200 - pig detect 0x400 - channel/path enable

28

1015N-5FM-1

ModBus 1015N-5M

Modscan32 Quick-Start Guide A condition of 7FF indicates no alarms. These four bytes of “3746 4620” may also be examined for decoding of alarms as follows: 1 2 3 4 7FF - 37 46 46 20 - Good 6xx 36 xx xx 20 - Channel disabled (x = don’t care) xEx xx 45 xx 20 - Fault indicated xCx xx 43 xx 20 - Fault, aeration indicated xxE xx xx 45 20 - Spacing indicator xxC xx xx 43 20 - Zeromatc channel fault xxB xx xx 42 20 - Empty Pipe xx7 xx xx 37 20 - hi/lo flowrate The date in this example is contained in registers 30005 thru 30006, which is 33 30 43 34; 30C4 hex is encoded as follows: date_of_month + (month * 32) + ((year - 1980) * 512). In this example, 30C4 or 12484 represents June 4th, 2004. The time field is the number of minutes past midnight, contained in registers 30007 thru 30008 (first three bytes only). In this example, 33 43 33, 3C3 hex is 963 minutes past the hour, or 16:03 (4:03pm).

29

1015N-5FM-1

ModBus 1015N-5M

APPENDIX A

APPENDIX A

1015N-5M ModBus/N2 Protocol Converter Module Sample ModBus Register Maps and N2 Point Maps Appendix A shows available data items and its corresponding register addresses for specific types flow computers. The supplied card will include the Register or point map specific to the configuration specified on the configuration form. The following tables are included as samples: Table 6: Dual Beam Gas System—MB 32 Bit Word Normal Table 7: FUH 1010DVDN Dual Beam—MB 16 Bit Word Normal Table 8: Dual Channel Energy System—MB 16 Bit Word Normal Table 9: Single Channel Energy System—N2.

30

1015N-5FM-1

ModBus 1015N-5M

METER TYPE:

APPENDIX A

1010GCCDN DUAL BEAM

s

Op System: 1010GN12 Configuration File 10GN12-C.S19 Parsing File 10GN12-P.S19 Data Description Sample Data SiteName 39000233 , Date 2F73, Time 443, Flow Rate Path 1 20.00238, Flow Rate Path 2 20.00257, Inst Liq Flow Rate 20.00247, Avg Liq Flow Rate 20.00241, Flow Rate Units KCU FT/H, Raw Flow Path 1 1.009714e4, Raw Flow Path 2 1.009724e4, Raw Flow Units I3/S, Gas Velocity 5030.70, Velocity Units F/S, Totalizer, Flow 2.95, Totalizer Units KCU FT, Sonic Vel Path 1 550.00, Sonic Vel Path 2 550.00, Sonic Vel Average 550.00, Sonic Vel Units VS, Singal Strength P1 56, Singal Strength P2 54, Singal Strength AVG 55, Units S, Aeration 22, Aeration Units A, Specific Gravity 0.356, Specific Gravity /UN SG, Base Specific Gravit 0.473, Units BSG, Status/Alarms P1 7FE, Status/Alarms P2 7FE, Status/Alarms Site 7FE, Alarm Unit S, Temperature RTD 1 230.72, Temperature RTD 2 418.94, Temp Units F, Delta Time Path 1 18.45167, Delta Time Path 2 18.45186, Time Units dt(uS), Analog Input 1 0.000, Units Off, Analog Input 2 0.000, Units Off, Analog Input 3 0.000, Units Off, Analog Input 4 0.000, Units Off13

Data Type Register Type SITE ID INPUT REG DATE INPUT REG TIME INPUT REG Float HOLDING REG Float HOLDING REG Float HOLDING REG Float HOLDING REG Units NOT USED Float HOLDING REG Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Float HOLDING REG Float HOLDING REG Units NOT USED Integer INPUT REG Integer INPUT REG Integer INPUT REG Units NOT USED Integer INPUT REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED CHARACT INPUT REG CHARACT INPUT REG CHARACT INPUT REG Units NOT USED Float HOLDING REG Float HOLDING REG Units NOT USED Float HOLDING REG Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED Float HOLDING REG Units NOT USED EOF EOF

Report CH1 30001--30004 30005--30006 30007--30008 45001 45002 45003 45004

MB

ModBus REGISTERS

32 N 1

32 BIT FORMAT WORD NORMAL 1 CHANNEL

Report CH2

Report CH3

45005 45006 45007 45008 45009 45010 45011 30009 30010 30011 30012 45012 45013 30013--30014 30015--30016 30017--30018 45014 45015 45016 45017 45018 45019 45020 45021

Table 6. Dual Beam Gas System--MB 32 Bit Word Normal

31

1015N-5FM-1

Report CH4

ModBus 1015N-5M

METER TYPE:

APPENDIX A

1010DVDN DUAL BEAM

s

Op System: 1010DVN02 Configuration File 10DVDN-C.S19 Parsing File 10DVDN-P.S19 Data Data Description Sample Data Type SiteName B000014615 , SITE ID Date 307A, DATE Time 368, TIME Flow Rate Path 1 15.02605, Float Flow Rate Path 2 15.01587, Float Inst Liq Flow Rate 15.02043, Float Avg Liq Flow Rate 14.85797, Float Flow Rate Units GAL/MIN, Units Raw Flow Path 1 6.111632e1, Float Raw Flow Path 2 6.104782e1, Float Raw Flow Units I3/S, Units Totalizer, Flow 2259.40, Float Totalizer Units GAL, Units Sonic Vel Path 1 982.02, Float Sonic Vel Path 2 982.02, Float Sonic Vel Average 980.51, Float Sonic Vel Units VS, Units Singal Strength P1 53, Integer Singal Strength P2 55, Integer Singal Strength AVG 54, Integer Units S, Units Aeration 3, Integer Aeration Units A, Units Liquident ID Type --------, Character Liquident 1359.677, Float Liquident ID LI, Units Specific Gravity 1.000, Float Specific Gravity /UN SG, Units API 10.000, Float API Units API, Units Density 999.012, Float Kg/Meter[3] KGM3, Units Base Specific Gravit 1.000, Float Base Specific Gravit BSG, Units Base API 10.000, Float Base API Units BAPI, Units Base Density 999.012, Float Kg/Meter[3] BKGM3, Units Status/Alarms P1 7FE, Bitfield Status/Alarms P2 7FE, Bitfield Status/Alarms Site 7FE, Bitfield Alarm Unit S, Units Temperature RTD 1 224.20, Float Temperature RTD 2 420.39, Float Temp Units F, Units Delta Time Path 1 0.06444, Float Delta Time Path 2 0.06439, Float Time Units dt(uS), Units Analog Input 1 0.000, Float Units Off, Units Analog Input 2 0.000, Float Units Off, Units Analog Input 3 0.000, Float Units Off, Units Analog Input 4 0.000, Float Units Off, Units EOF EOF

Register Type INPUT REG INPUT REG INPUT REG HOLDING REG HOLDING REG HOLDING REG HOLDING REG NOT USED HOLDING REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG HOLDING REG HOLDING REG NOT USED INPUT REG INPUT REG INPUT REG NOT USED INPUT REG NOT USED INPUT REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED INPUT REG INPUT REG INPUT REG NOT USED HOLDING REG HOLDING REG NOT USED HOLDING REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED

Report CH1 30001--30004 30005--30006 30007--30008 41001--41002 41003--41004 41005--41006 41007--41008

MB

ModBus REGISTERS

16 N 1

16 BIT FORMAT WORD NORMAL 1 CHANNEL

Report CH2

41013--41014 41015--41016 41017--41018 41019--41020 30009 30010 30011 30012 30012--30016 41021--41022 41023--41024 41025--41026 41027--41028 41029--41030 41031--41032 41033--41034 30017--30018 30019--30020 30021--30022 41035--41036 41037--41038 41039--41040 41041--41042 41043--41044 41045--41046 41047--41048 41049--41050

1

NOT USED

1015N-5FM-1

Report CH4

41009--41010 41011--41012

Table 7. 1010DVDN Dual Beam--MB 16 Bit Word Normal

32

Report CH3

2

3

ModBus 1015N-5M

METER TYPE:

APPENDIX A

1010EDN1 2 CHANNEL

s

Op System: 1010EN04 Configuration File 10DCE1-C.S19 Parsing File 10DCE1-P.S19 Data Description SiteName Date Time AvNRGFlo NRG Flo NRG Units Energy Totalizer TotUnits AvLiqFlwRate Instant LiqFlwRate LiqFlowRateUnits Raw Flow Raw Flow Units Liq Total Liq Total Units Liq Sonic Vel Sonic Vel Units Supply Temp Temp Units Return Temp Temp Units Temp Difference Temp Units Singal Strength Units Aeration Aeration Units Status/Alarms Status Indicator Delta Time Time Units

Sample Data CE000105H CH 3294, 208, 905.6, 906.7, KBTU/HR , 914.57 , KBTU , 19.179, 19.131, GAL/MIN, 7.856044e1, I3/S, 1.18, KGAL, 1498.39, VS, 126.81, TSF, 32.40, TRF, 94.40, TDF, 55, S, 2, A, 7F7, S, 0.02864, dt(uS)79

Data Type Site ID Date Time Float Float Units Float Units Float Float Units Float Units Float Units Float Units Float Units Float Units Float Units Integer Units Integer Units Character Units Float Units EOF EOF

Register Type INPUT REG INPUT REG INPUT REG HOLDING REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED HOLDING REG NOT USED INPUT REG NOT USED INPUT REG NOT USED INPUT REG NOT USED HOLDING REG NOT USED

Report CH1 30001--30004 30005--30006 30007--30008 41001--41002 41003--41004

MB

ModBus REGISTERS

16 N 2

16 BIT FORMAT WORD NORMAL 2 CHANNEL

Report CH2 Report CH3 30013-30016 30017--30018 30019--30020 41025--41026 41027--41028

41005--41006 41029--41030 41007--41008 41031--41032 41009--41010 41033--41034 41011--41012 41035--41036 41013--41014 41037--41038 41015--41016 41039--41040 41017--41018 41041--41042 41019--41020 41043--41044 41021--41022 41045--41046 30009

30021

30010

30022

30011--30012 30023--30024 41023--41024 41047--41048

Table 8. Dual Channel Energy System--MB 16 Bit Word Normal

33

1015N-5FM-1

Report CH4

ModBus 1015N-5M

METER TYPE: Op System: Configuration File Parsing File Data Description SiteName Date Time Singal Strength Aeration Status/Alarms AvNRGFlo NRG Flo Energy Totalizer AvLiqFlwRate Instant LiqFlwRate Raw Flow Liq Total Liq Sonic Vel Supply Temp Return Temp Temp Difference Delta Time

APPENDIX A

1010EN1 1 CHANNEL 1010EN01-3.01.06B N2SE1-C.S19 N2SE1-P.S19 Sample Data Type D80001EN01 27 Site ID 2AF8, Date 55C, Time 56, Integer 3, Integer 7F7, Bitfield 4757.9, Float 5602.9, Float 126.29 , Float 120.023, Float 101.956, Float 4.159972e2, Float 166.30, Float 1609.75, Float 125.27, Float 32.09, Float 93.18, Float 0.16776, Float

s Register Type ADI ADI ADI ADI ADI ADI AI AI AI AI AI AI AI AI AI AI AI AI

Report CH1 ADI-1--4 ADI-5--6 ADI-7--8 ADI-9 ADI-10 ADI-11--12 AI-1 AI-2 AI-3 AI-4 AI-5 AI-6 AI-7 AI-8 AI-9 AI-10 AI-11 AI-12

N2 16 R 1

Report CH2

N2 POINT MAP 1 CHANNEL Report CH3

Report CH4

NOTES: UNITS ARE METER SETUP SPECIFIC. PLEASE REFER TO THE INSTALLED METER FOR ACTUAL UNITS DEFINED. REFER TO APPENDIX FOR DATE/TIME /ALARM WORD DECODING AND BIT DEFINITIONS

Table 9. Single Channel Energy System--N2

34

1015N-5FM-1

ModBus 1015N-5M

APPENDIX B

APPENDIX B

1015N-5FM-1 ModBus/N2 Protocol Converter Module Installation Drawings

35

1015N-5FM-1

THIS PAGE INTENTIONALLY LEFT BLANK

START VIEW

FINISH VIEW

POWER

DISASSEMBLY/ASSEMBLY PROCEDURE

MODULE LOADING OPTION I : 1010N-5* WITH 1010N-2* IN 1010N/DN TYPE SYSTEM

ASSEMBLY, 1010 SERIES FLOW AND ENERGY COMPUTER, NEMA 4 C 21614 1015N-5M-MK-7

ModBus 1015N-5M

Page Intentional Left Blank

38

1015N-5FM-1

ModBus 1015N-5M

APPENDIX C

APPENDIX C

1015N-5FM-1 ModBus/N2 Protocol Converter Module FM Intrinsically Safe Wiring Diagrams

39

1015N-5FM-1

ModBus 1015N-5M

Page Intentional Left Blank

48

1015N-5FM-1

ModBus 1015N-5M

APPENDIX D

APPENDIX D

1015N-5M ModBus/N2 Protocol Converter Module

DATE/TIME FIELD DECODING The Date and Time functions are hex coded for compression of total data flow. To decode these variables, the following algorithm is used. Date / Time code Bits Time: 0-5 6-11 12-17

Description Seconds Minutes Hours

Hex Range (0-63) (0-63) (0-31)

Valid Range (0-59) (0-59 (0-23)

Date: 0-4 5-8 9-15

Day Month Year +1980

(0-31) (0-15) (0-127)

(1-31) (1-12) (0-127)

Note: Calendar year = 1980 + ‘years since 1980’ Example for Date: 2507 = 010010 1000 Year

Month

00111 Day

Day = 7 Month = 8 Year = 18 + 1980 = 1998 FAULT BIT DECODING

alarm bit definitions A_SPC A_EMPTY A_ALARM A_FAULT A_AER A_MEMRY A_SETUP A_INT A_PIG A_ENAB

1 2 4 8 0x10 0x20 0x40 0x80 0x100 0x200 0x400

spacing (undefined) empty rate alarm fault aeration memory makeup interface pig detect enabled

Fault bits are presented as a 3-digit hex value, which is ASCII packed into a ModBus register pair. The lower ModBus register address contains the first two ASCII characters. The upper ModBus register contains the last ASCII value followed by an ASCII space, 20h. Faults can be determined by examining these four bytes as follows: Status 7FF 3xx 6xx 5xx xEx xCx xxE xxC xxB xx7 Location of the bytes

49

Bytes b1 b2 b3 b4 37 46 46 20 - Good 33 xx xx 20 - Channel disable (x = don’t care) 36 xx xx 20 - Interface 35 xx xx 20 - Pig Detect xx 45 xx 20 - Fault indicated xx 43 xx 20 - Fault, aeration indicated xx xx 45 20 - Spacing indicator xx xx 43 20 - Zeromatc channel fault xx xx 42 20 - Empty Pipe xx xx 37 20 - hi/lo flowrate

The “Status/Alarms” register pair for the meter path, for example 30011-30012 (see supplied Register Map for your flowmeter), would contain bytes 1 thru 4 as {b1b2} in 30011, {b3b4} in 30012. 1015N-5FM-1

ModBus 1015N-5M

Metasys Compatibility Status

Metasys Compatibility Status 1015N-5M ModBus/N2 Protocol Converter Module The following Siemens System 1010 Non-Intrusive Flow and Thermal Energy Flowmeters are listed by Johnson Controls as Metasys Compatible: FUS 1010N Single Channel Flow Meter w/N2 Comm 1015-5M V3.0 FUS 1010DN Dual Channel Flow Meter w/N2 Comm 1015-5M V3.0 FUS 1010MN Four Channel Flow Meter w/N2 Comm 1015-5M V3.0 FUE 1010EN Single Channel Thermal Energy Flow Meter w/N2 Comm 1015-5M V3.0 FUE 1010EDN Dual Channel Thermal Energy Flow Meter w/N2 Comm 1015-5M V3.0

JCI assigns Metasys Compatibility status to products of a specific software/hardware design. Any future software/hardware revisions made to a module or main circuit board, which supports network communications, should be reported to the JCI Metasys Compatibility Program team. For insignificant changes, JCI may simply update the Metasys Compatible Products database and extend Metasys Compatible status to the newly revised product(s). For changes that JCI considers significant (potentially affecting compatibility), either limited re-testing and/or site verification may need to occur before JCI can extend Metasys Compatible status to the newly revised product(s). Other expectations are described in the Metasys Compatible Logo License Agreement

50

1015N-5FM-1