EasyManua.ls Logo

WEG CFW-09 - Modbus-RTU; Introduction in the Modbus-RTU Protocol; Message Structure in RTU Mode; Transmission Modes

WEG CFW-09
362 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
314
CHAPTER 8 - CFW-09 OPTIONS AND ACCESSORIES
8.14
MODBUS-RTU
8.14.1
Introduction inthe
Modbus-RTU Protocol
The Modbus protocol has beenalreadydeveloped 1979 firstly. Currentlyit is a
wide diffused open protocol, used by several manufacturers in different
equipment. The Modbus-RTU communication of the do CFW-09 has been
developed by considering two documents:
1.
MODBUS Protocol Reference Guide Rev. J, MODICON, June 1996.
2.
MODBUSApplication ProtocolSpecification,MODBUS.ORG, may8
th
2002.
In these documents are defined the format of the messages used by these
elements that are part of the Modbus network, the services (or functions) that
can be made available via network, and also how these elements exchange
the data on the network.
8.14.1.1
Transmission Modes
In the RTU mode each transmitted word has 1 start bit, eight data bits, 1
parity bit (optional) and 1 stop bit (2 stop bits, if parity bit is not used). Thus
the bit sequence for the transmission is as follows:
Two transmission modes aredefined in theprotocol definition:ASCIIand RTU.
The transmission modes define the form how the message bytes are
transmitted. It is not permitted to use the two transmission modes on the
same network.
In the RTU mode each transmitted word has one start bit, eight data bits, 1
paritybit (optional) and 1 stop bit (2 stop bits, if no paritybit is used). Thus the
bit sequence for the transmission of 1 byte is as follows:
Start
B0
B1
B2
B3
B4
B5
B6
B7
Parity or Stop
Stop
Note
:
The RS-232wiring must be laid separately from the power and control cables
in 110/220 V.
NOTE!
You cannot use simultaneously the RS-232 and the RS-485 interface.
TheModbus RTU network operates in Master-Slavesystem andit can consist
of up to 247 slaves but only one Master. The master always initiates the
communication with a question toa slave andthe slave answers the question.
Both messages (question and answer) have the same structure: Address,
Function Code and CRC. Depending on what is being requested, only the
data field has variable length.
8.14.1.2
Message Structure
i
n RTU Mode
Master Query Message
Address (1 byte)
Function Code (1 byte)
Data (n bytes)
CRC (2 bytes)
Address (1 byte)
Function Code (1 byte)
Data (n bytes)
CRC (2 bytes)
Slave Answer Message
Figure 8.51
- Message structure

Table of Contents

Other manuals for WEG CFW-09

Related product manuals