Emerson S600 Specification

FloBoss S600+ Modbus Specification Manual
D301904X012
January 2021
FloBoss S600+ Modbus Specification Manual
Remote Automation Solutions
FloBoss S600+ Modbus Specification Manual
D301904X012 January 2021
A well-trained workforce is critical to the success of your operation. Knowing how to correctly install, configure, program, calibrate, and trouble-shoot your Emerson equipment provides your engineers and technicians with the skills and confidence to optimize your investment. Remote Automation Solutions offers a variety of ways for your personnel to acquire essential system expertise. Our full-time professional instructors can conduct classroom training at several of our corporate offices, at your site, or even at your regional Emerson office. You can also receive the same quality training via our live, interactive Emerson Virtual Classroom and save on travel costs. For our complete schedule and further information, contact the Remote Automation Solutions Training Department at 800-338-8158 or email us at education@emerson.com.
ii
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012
January 2021
Contents
1. Introduction 1
2. Physical Transport of Data 1
2.1 TCP Socket ............................................................................................................................................ 1
2.2 Modbus TCP .......................................................................................................................................... 1
2.3 Serial ..................................................................................................................................................... 1
2.4 Types and Capabilities of Serial Ports ..................................................................................................... 2
3. Network Interface 2
4. Modbus 3
4.1 Configuration........................................................................................................................................ 3
4.2 Master .................................................................................................................................................. 3
4.3 Slave ..................................................................................................................................................... 3
5. RTU/ASCII Protocol 4
6. Implemented Modbus Functions 5
6.1 Function 1: Read Output Status ............................................................................................................. 5
6.2 Function 2: Read Input Status ................................................................................................................ 6
6.3 Function 3: Read Output Registers ........................................................................................................ 6
6.4 Function 4: Read Input Registers ........................................................................................................... 7
6.5 Function 5: Write Single Coil ................................................................................................................. 7
6.6 Function 6: Write Single Register ........................................................................................................... 8
6.7 Function 8: Loopback ............................................................................................................................ 8
6.8 Function 15: Write Multiple Coils ........................................................................................................... 9
6.9 Function 16: Write Multiple Registers .................................................................................................... 9
6.10 Function Codes 65, 66, 67, and 68 ...................................................................................................... 10
7. Message Length Mode 11
8. Register Formats 12
8.1 Register: Float ..................................................................................................................................... 12
8.2 Register: Rosemount ........................................................................................................................... 12
8.3 Register: Double ................................................................................................................................. 13
8.4 Register: Phillips Float ......................................................................................................................... 13
8.5 Register: Phillips Double ...................................................................................................................... 13
8.6 Register: INT ....................................................................................................................................... 13
8.7 Register: LONG_INT ............................................................................................................................ 13
8.8 Register: SCALE 0 nnnn ....................................................................................................................... 13
Contents iii
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012 January 2021
8.9 Register: Modicon ............................................................................................................................... 14
9. Enron Functions 15
9.1 Enron Modbus Map ............................................................................................................................. 15
9.2 Special Enron Functions for Events ...................................................................................................... 15
Clear/Acknowledge Modbus Event Log ................................................................................. 15
9.2.1
9.2.2 Event Count Register ............................................................................................................ 15
9.2.3 Alarm Count Register ........................................................................................................... 16
9.2.4 Read Modbus Alarm/Event Log Functions ............................................................................. 16
9.3 Special Enron Functions for Data Log Collection .................................................................................. 18
9.4 Read Report Log Configuration ........................................................................................................... 19
9.5 Read Report Log Data ......................................................................................................................... 20
10. S600+ Modbus Configuration Files 21
10.1 Config File Title ................................................................................................................................... 21
10.1.1 Config File Header ................................................................................................................ 22
10.2 Config File Master Section ................................................................................................................... 23
10.3 Config File Slave N Section .................................................................................................................. 24
10.4 Config File Data ................................................................................................................................... 24
10.5 Config File Data Coil ............................................................................................................................ 25
10.6 Config File Data Input .......................................................................................................................... 25
10.7 Config File Data Registers .................................................................................................................... 25
10.8 Discrete Data Point Format ................................................................................................................. 26
Numeric Data Point Format ................................................................................................................. 27
10.9
iv Contents
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012
January 2021
Contents v
FloBoss S600+ Flow Computer Modbus Specification Manual

1. Introduction

This document describes the Modbus communications protocol on the FloBoss S600+ flow computer. The flow computer has 20 user definable communication tasks. Each of the links may be individually configured.

2. Physical Transport of Data

2.1 TCP Socket

The TCP/IP stream socket supports both master and slave links.
If the unit is the slave on the link it creates a server socket and listens for clients to connect. The TCP/IP address of the slave link is the TCP/IP address of the flow computer.
If the unit is the master on the link it acts as a client and attempts to connect to a remote server machine. When you configure the data link, you specify the TCP/IP address of the slave with which the master must communicate.
D301904X012
January 2021
The S600+ supports communication between networks using a gateway.
Other communication parameters are independent of the mode of data transfer. ASCII and RTU are supported over stream sockets and the Modbus map is independent of the transport mechanism.

2.2 Modbus TCP

This protocol is based on the Modbus/TCP Specification. The connection mechanism is TCP/IP which secures data transfer between any machines connected on a network. The Modbus protocol is encapsulated into the TCP/IP frame.
The data transfer within the Modbus part of the protocol is standard Modbus. The only significant difference is that the Modbus CRC is not use; . Instead the CRC used with the TCP/IP protocol is used.

2.3 Serial

In serial mode the data links communicate over standard serial lines with these specifications:
Baud rates: 2400, 4800, 9600, 19200, 38400, and 57600
Data bits: 7 (ASCII, required for Modbus ASCII) and 8 (RTU, required for Modbus RTU).
Stop bits: 1, 2
Parity: None, Even, Odd
1
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012 January 2021

2.4 Types and Capabilities of Serial Ports

The S600+ supports the following serial ports:
Com. Port 1: Reserved for the front panel display and keypad.
Com. Port 2: Reserved for the Config600 interface (actually a Modbus slave link)
Com. Ports 3 and Port 4: Dedicated RS-232 with RTS-CST handshaking capabilities
Com. Ports 5, 6, and 7: RS-485/RS-232 capability. RTS line is controlled automatically by the P152 module’s UART and rapid turnaround is possible on the 485 links.
Com. Port 8: Reserved for I/O board communications.
Com. Ports 9, 10, 11, and 12: Dedicated RS-485.

3. Network Interface

The S600+ includes two 10 or 100 MB/s, full-duplex Ethernet interfaces. The system firmware provides a full TCP/IP stack implementation on this interface.
Standard supported features include:
Telnet
FTP
Socket-based Modbus communications
The S600+ supports two gateways, which are configured on NWTK1. The IP addresses of the two network ports
Supported: 193.195.232.1 / 193.195.230.1
Not supported: 193.195.232.1 / 193.195.232.2
must differ in the third octet:
2

4. Modbus

Modbus is the standard interface to the S600+. The protocol is based on Gould/Modicon Modbus. The Config600 configuration software interfaces to the S600+ using Modbus. The link uses the special function code 65, with specially defined S600+ sub-functions to provide file transfer, system edit commands, and other specialized functionality. The S600+ is the slave on this link.

4.1 Configuration

The system firmware supports up to 20 communications links. Links can have individual configurations or can share common parameters or configuration.
Configuration has two parts:
Link Configuration This step defines the data link’s port or socket, its master or slave status, and whether it uses RTU or ASCII. You enter this information using Config600 when the link is initially assigned, but the link configuration can be modified later if required.
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012
January 2021
Map Configuration This step assigns database points and fields to Modbus coils, inputs, and registers using a text file created using Config600’s map builder utilities. You can modify this map later if required.

4.2 Master

In master mode, the device communicates with up to 10 slaves on a single-drop link. You can configure several masters if necessary.

4.3 Slave

In slave mode, the device waits for polls from an external master and responds to polls are requested. You can define several slaves if necessary. The slave address is configurable per link, so a single S600+ can have several slave addresses if required.
3
FloBoss S600+ Flow Computer Modbus Specification Manual
D301904X012 January 2021

5. RTU/ASCII Protocol

The S600+ fully supports both RTU Modbus and ACSII Modbus. A single configuration switch enables you to select one or the other. Other communication parameters exist independently of the ASCII/RTU switch.
RTU Mode In RTU mode, you must configure the link for 8 data bits. No message header or trailers are included. The checksum is the 16-bit CRC specified in the -Modbus specification.
ASCII Mode In ASCII mode, you would normally configure the link for 7 data bits, although the S600+ also supports 8 data bits. The message starts with the ASCII Modbus start character (the colon, or “:”). The checksum is the 8-bit LRC defined in the Modbus specification. The message terminates with the ASCII Modbus trailer characters CR followed by LF.
4
FloBoss S600+ Flow Computer Modbus Specification Manual
Poll Format
Response Format
Note

6. Implemented Modbus Functions

Implemented Modbus functions include:
Function 1: Read Output Status
Function 2: Read Input Status
Function 3: Read Output Registers
Function 4: Read Input Registers
Function 5: Write Single Coil
Function 6: Write Single Register
Function 8: Loopback
Function 15: Write Multiple Coils
Function 16: Write Multiple Registers
D301904X012
January 2021
Function Codes 65, 66, 67, and 68
Each of these functions is described in this section.
Note
These message formats exclude the message header (ASCII only), the CRC/LRC, and message trailer (ASCII only), since these are specific to the data transfer mode.

6.1 Function 1: Read Output Status

Function Code 01 reads the output coils (00001–09999), reading up to 2040 coils per poll in non­extended mode.
Address 1 byte
Function 1 byte
Start Coil 2 bytes
Num Coils 2 bytes
Address 1 byte
Function 1 byte
Byte Count 1 or 2 bytes
: Byte count may be 8-bit or 16-bit
Data byte 1 1 byte (coils 0–7)
Data byte 2 1 byte (coils8–15)
Data byte N 1 byte (coils…)
5
FloBoss S600+ Flow Computer Modbus Specification Manual
Poll Format
Response Format
Note
Poll Format
Response Format
Note
D301904X012 January 2021

6.2 Function 2: Read Input Status

Function Code 02 reads the input coils (10001–19999), reading up to 2040 coils per poll in non­extended mode.
Address 1 byte
Function 1 byte
Start Input 2 bytes
Num Inputs 2 bytes
Address 1 byte
Function 1 byte
Byte Count 1 or 2 bytes
: Byte count may be 8-bit or 16-bit
Data byte 1 1 byte (inputs 0–7)
Data byte 2 1 byte (inputs 8–15)
Data byte N 1 byte (inputs…)

6.3 Function 3: Read Output Registers

Function Code 03 reads the output registers (40001–49999); data can be configured at every address.
Address 1 byte
Function 1 byte
Start Item 2 bytes
Num Items 2 bytes
Address 1 byte
Function 1 byte
Length 1 or 2 bytes
: Length can be 8-bit byte count, 8-bit item count; 16-bit byte count, or 16-bit item count.
Data item 1 2, 4, or 8 bytes
Data item 2 2, 4, or 8 bytes
Data item N 2, 4, or 8 bytes
6
Loading...
+ 23 hidden pages