Valid

GB/T 19582.2-2008Modbus industrial automation network specification -- Part 2: Modbus protocol implementation guide over serial link (English PDF)

Preview PDF

Also coversGBT19582.2-2008

This is a limited preview

Buy now to download the full PDF (54 pages)

Need quotation for your management?

Get a formal quotation for GB/T 19582.2-2008 in 30 minutes.

Issued by

General Administration of Quality Supervision, Inspection and Quarantine

Level / Type

National · Recommended

Issue date

February 27, 2008

Implementation date

September 1, 2008

Scope

GB/T 19582.2-2008 (Modbus industrial automation network specification -- Part 2: Modbus protocol implementation guide over serial link) is available as an English-translated PDF.

GB/T 19582.2-2008 is the Chinese standard "Modbus industrial automation network specification -- Part 2: Modbus protocol implementation guide over serial link".

Its scope clause reads: Modbus is an application-layer message transport protocol at Layer 7 of the OSI model, providing client/server communication between devices connected to different types of buses or networks.

It also standardizes the protocol over serial links to facilitate the exchange of Modbus requests between a master and one or more slaves. The goal of this Part is to propose a Modbus protocol over serial links for system designers to use when implementing a serial link-based Modbus protocol.

This Part will facilitate interoperability between devices using the Modbus protocol. This Part also supplements GB/T 19582.1-2008, as shown in Figure 1. Clause 9 defines different implementation levels of "Modbus Serial Link".

The specifications for each level are all the requirements that a device must comply to be considered within that level. Figure 1 – Overview of Modbus protocol text.

Its clauses include protocol overview; conventions; consistency; terms and abbreviations; modbus data link layer. It was issued by the General Administration of Quality Supervision, Inspection and Quarantine on 2008-02-27 and took effect on 2008-09-01.

Found what you need?

Document preview — GB/T 19582.2-2008

National Standard of the People's Republic of China

ICS
25.040
Classification
N 10

Issued by: General Administration of Quality Supervision, Inspection and Quarantine

Contents

  • Foreword...3
  • Introduction...5
  • 1 Scope...6
  • 2 Protocol Overview...7
  • 3 Conventions...7
  • 4 Consistency...8
  • 5 Terms and Abbreviations...8
  • 6 Modbus Data Link Layer...9
  • 6.1 Modbus master/slave protocol principle...9
  • 6.2 Modbus addressing rules...11
  • 6.3 Modbus frame description...11
  • 6.4 Master/slave state diagram...12
  • 6.5 Two serial transmission modes...15
  • 6.6 Error check methods...24
  • 7 Physical Layer...25
  • 7.1 Introduction...25
  • 7.2 Data signal transmission rate...26
  • 7.3 Electrical interface...26
  • 7.4 Requirements for multipoint system...33
  • 7.5 Mechanical interface...35
  • 7.6 Cables...38
  • 7.7 Visual diagnostics...39
  • 8 Installation and Documentation...39
  • 8.1 Installation...39
  • 8.2 User guide...40
  • 9 Implementation Levels...41
  • Appendix A (Informative) Management of Serial Link Diagnostic Counters...43
  • Appendix B (Informative) Generation of LRC/CRC...47
  • Bibliography...54

1 Scope

Modbus is an application-layer message transport protocol at Layer 7 of the OSI model, providing client/server communication between devices connected to different types of buses or networks. It also standardizes the protocol over serial links to facilitate the exchange of

Modbus requests between a master and one or more slaves.

The goal of this Part is to propose a Modbus protocol over serial links for system designers to use when implementing a serial link-based Modbus protocol.

This Part will facilitate interoperability between devices using the Modbus protocol.

This Part also supplements GB/T 19582.1-2008, as shown in Figure 1.

Clause 9 defines different implementation levels of "Modbus Serial Link". The specifications for each level are all the requirements that a device must comply to be considered within that level.

Figure 1 – Overview of Modbus protocol text

2 Protocol Overview

This Part describes the Modbus protocol over serial links. The Modbus protocol over serial link is a master-slave protocol. It resides at Layer 2 of the OSI model.

A master-slave system has a master node (master) that issues explicit commands to a slave node (slave) and processes the responses. Slaves do not actively transmit data or communicate with other slaves unless they receive a request from the master.

At the physical layer, Modbus systems over serial links can use different physical interfaces (RS485, RS232). The most commonly used physical interface is the TIA/EIA-485 (RS485) two-wire interface. As an additional option, the RS485 four-wire interface can also be used.

When only short-range point-to-point communication is required, the TIA/EIA-232-E (RS232) serial interface can also be used as the physical interface for the Modbus system (see Clause 7).

Figure 2 shows a general representation of the Modbus serial communication stack corresponding to the 7-layer OSI model.

Figure 2 – Modbus protocol and ISO/OSI model

The Modbus application layer message transport protocol, located at Layer 7 of the OSI model, provides client/server communication between devices connected to a bus or network. On a

Modbus serial link, the master of the serial bus acts as the client; and the slave acts as the server.

3 Conventions

In this Part, the following terms are used to define the importance of each specific requirement.

--- "Must"/"Required"

All requirements containing the word "must" are mandatory. The word "must" or the adjective "required" indicates that the item is an absolute requirement for execution.

These terms are underlined.

--- "Shall"/"Recommended"

All recommendations containing "shall" or the adjective "recommended" are desired functions. These recommendations shall be used as guide when selecting different implementation options. Under certain conditions, there may be reasonable grounds to ignore these items; however, their full meaning shall be understood; and various situations shall be carefully considered before selecting different processes. These terms are underlined.

--- "Can"/"optional"

The word "can" or the adjective "optional" indicates that the item is truly optional. For example, one designer can choose to include the item due to specific market needs or to enhance product functionality, while another designer can choose to omit it.

4 Consistency

If an implementation does not meet one or more of the mandatory requirements in the implementation level, then that implementation is not consistent.

If an implementation meets all the mandatory requirements and all the recommended requirements in the implementation level, then that implementation is called "unconditionally consistent."

If an implementation meets all the mandatory requirements but not all the recommended requirements in the implementation level, then that implementation is called "conditionally consistent."

5 Terms and Abbreviations

The following specific terms, symbols, and abbreviations are defined in this Part.

2W (2-Wire). The two-wire configuration defined in the Clause of "Electrical Interfaces", or one of the interfaces therein.

4W (4-Wire). The four-wire configuration defined in the Clause of "Electrical Interfaces", or one of the interfaces therein.

AUI. Attachment Unit Interface.

AWG. American Wire Gauge. Standard method for expressing wire diameter (see Bibliography

[3]).

Common. The common for signals in the EIA/TIA standard. In 2-wire or 4-wire RS485 Modbus networks, it is the common for signals and optional power.

DCE. Data Communication Equipment. A Modbus device that implements an RS232 data circuit terminal unit, e.g., a programmable logic controller adapter.

Device. The same as Modbus device definition.

Driver. Generator or transmitter.

DTE. Data Terminal Equipment. A Modbus device that implements an RS232 data terminal unit, e.g., a programmable terminal or a PC.

ITr. Interface on truck. Physical bus interface on the trunk side.

IDv. Interface on Derivation. Physical bus interface on the device side (or splitter or device branch).

LT. Line Termination.

Modbus Device. Device that implements Modbus over serial link and conform to its technical specifications.

RS232.EIA/TIA-232 standard.

RS485.EIA/TIA-485 standard.

RS485-Modbus. Two-wire or four-wire networks that comply with their technical specifications.

Transceriver [Translator Note. Here it shall be Transceiver]. Transmitter and receiver (or driver and receiver)

6 Modbus Data Link Layer

6.1 Modbus master/slave protocol principle

The Modbus protocol over serial link is a master-slave protocol. At any given time, there can only be one master and one or more (up to 247 slave(s) on the bus. Modbus communication is always initiated by the master. The slave(s) will not send data if it does not receive a request from the master. Slaves cannot communicate with each other. The master can only initiate one

Modbus transaction at a time.

The master sends Modbus requests to slave(s) in two modes.

--- Unicast mode (see Figure 3). The master addresses a single slave. After receiving and processing the request, the slave returns a message (a "response") to the master.

......

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 54 pages — is available in the English PDF.

Referenced standards

How to Download GB/T 19582.2-2008

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
54 pages
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GB/T 19582.2-2008

$765.00