Serial Transmission Format; Ascii Mode - KROHNE ALTOSONIC V12 Handbook

Ultrasonic gas flowmeter for custody transfer
Hide thumbs Also See for ALTOSONIC V12:
Table of Contents

Advertisement

ALTOSONIC V12
Multiple flowmeters may be connected to the same RS 485 line. In this case only the
terminating resistor in the flowmeter at the end of the line should be connected. The terminating
resistors in the other flowmeters on the line should be disconnected by means of the switch on
the RS 485 driver printed circuit board. Default this switch is set to connect the line terminating
resistor.
Because of the half-duplex operation, the RS 485 communication circuit in the flowmeteris
normally always in data receiving mode. Only in case it is requested to send it will automatically
switch to data transmit mode for the time needed.

10.3 Serial transmission format

Two transmission modes are defined for a Modbus data communication link:
• Modbus ASCII
• Modbus RTU
Both transmission modes are supported, the user can select the desired mode along with the
serial communication parameters (baud rate, parity).
The default configuration of the flowmeter is Modbus RTU communication mode with "standard"
Modbus settings.
For a list of programmable parameters and the default settings of these parameters, refer to
Default settings
same for all controllers in the network.

10.3.1 ASCII mode

In the Modbus message each byte of data is coded as 2 ASCII characters; one to represent the
upper 4 bits and another to represent the lower 4 bits. Each group of 4 bits is represented by a
hexadecimal number, transmitted as an ASCII character from the range 0...9, A...F.
Standard serial communication parameters
Start bits
Data bits
Parity
Stop bits
Error check
field
An advantage of ASCII mode is that it allows for a time interval up to 1 second between
characters without causing a timeout.
A disadvantage of ASCII mode is the larger message length.
01/2019 - 4002643505 - MA ALTOSONIC V12 R05 en
MODBUS PROTOCOL DESCRIPTION AND SET-UP
on page 137. Except for the device addresses all these parameters must be the
1
7
odd/even/none
1 stop bit if parity is used
2 stop bits if no parity is used
Longitudinal Redundancy Check (LRC)
www.krohne.com
10
123

Advertisement

Table of Contents
loading

Table of Contents