Remote Terminal Unit; Modbus Rtu Message Structure - Trane Mobrus RTU TR1 Series Instruction Manual

Table of Contents

Advertisement

Remote
The controllers are setup to communicate on
Terminal
the Modbus network using RTU (Remote
Terminal Unit) mode, with each 8-bit byte in a
Unit
Coding System:
Bits Per Byte:
Error Check Field:
Modbus RTU
A Modbus RTU message is placed by the
Message
transmitting device into a frame with a known
beginning and ending point. This allows
Framing
receiving devices to begin at the start of the
Structure
message, read the address portion, determine
which device is addressed (or all devices, if
the message is broadcast), and to know when
the message is completed. Partial messages
are detected and errors set as a result.
The allowable characters transmitted for all
fields are hexadecimal 0-9, A-F. The adjustable
frequency drives monitor the network bus
continuously, including 'silent' intervals. When
T1-T2-T3-T4
Modbus RTU
Start/Stop Field
Message
Messages start with a silent interval of at least
3.5 character times. This is implemented as a
Framing
multiple of character times at the selected
Structure
network baud rate (shown as Start T1-T2-
(continued)
T3-T4). The first field then transmitted is the
device address. Following the last transmitted
character, a similar interval of at least 3.5
character times marks the end of the
message. A new message can begin after
this interval.
The entire message frame must be transmitted
as a continuous stream. If a silent interval of
8-bit binary, hexadecimal 0-9, A-F
Two hexadecimal characters contained in each 8-bit
field of the message
1 start bit
8 data bits, least significant bit sent first
1 bit for even/odd parity; no bit for no parity
1 stop bit if parity is used; 2 bits if no parity
Cyclical Redundancy Check (CRC)
Start
Address
Function
8 Bits
Typical Modbus RTU Message Structure
message contains two 4-bit hexadecimal
characters. The format for each byte is shown
below.
the first field (the address field) is received, each
drive or device decodes it to determine
whether it is the addressed device.
Modbus RTU messages addressed to zero
are broadcast messages. No response is
needed on broadcast messages.
To ensure the attribute data returned is the
most current, each attribute access must
include one attribute only.
A typical message frame is shown below.
Data
CRC Check
n x 8 Bits
8 Bits
16 Bits
more than 1.5 character times occurs before
completion of the frame, the receiving device
flushes the incomplete message and assumes
that the next byte will be the address field of a
new message.
Similarly, if a new message begins earlier that
3.5 character times following a previous
message, the receiving device will consider it
a continuation of the previous message. This
will cause a timeout (no response from the
slave), since the value in the final CRC field is
not valid for the combined messages.
End
T1-T2-T3-T4
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tr1-svx02a-en

Table of Contents