Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Chapter 1 Modbus Protocol
Introducing Modbus Protocol
Figure 2Master–Slave Query–Response Cycle
The Two Serial Transmission Modes
RTU Mode
Modbus Message Framing
ASCII Framing
Figure 3ASCII Message Frame
RTU Framing
Figure 4RTU Message Frame
How the Address Field is Handled
How the Function Field is Handled
Contents of the Data Field
Contents of the Error Checking Field
How Characters are Transmitted Serially
Figure 5Bit Order (ASCII)
Figure 6Bit Order (RTU)
Error Checking Methods
Parity Checking
LRC Checking
CRC Checking
Chapter 2 Data and Control Functions
Modbus Function Formats
Figure 7Master Query with ASCII/RTU Framing
Figure 8Slave Response with ASCII/RTU Framing
Field Contents on Modbus Plus
Figure 9Field Contents on Modbus Plus
Function Codes Supported by Controllers
01 Read Coil Status
Figure 10Read Coil Status – Query
Figure 11Read Coil Status – Response
02 Read Input Status
Figure 12Read Input Status – Query
Figure 13Read Input Status – Response
03 Read Holding Registers
Figure 14Read Holding Registers – Query
Figure 15Read Holding Registers – Response
04 Read Input Registers
Figure 16Read Input Registers – Query
Figure 17Read Input Registers – Response
05 Force Single Coil
Figure 18Force Single Coil – Query
Figure 19Force Single Coil – Response
06 Preset Single Register
Figure 20Preset Single Register – Query
Figure 21Preset Single Register – Response
07 Read Exception Status
Figure 22Read Exception Status – Query
Figure 23Read Exception Status – Response
11 (0B Hex) Fetch Comm Event Counter
Figure 24Fetch Communications Event Counter – Query
Figure 25Fetch Communications Event Counter – Response
12 (0C Hex) Fetch Comm Event Log
Figure 26Fetch Communications Event Log – Query
Figure 27Fetch Communications Event Log – Response
15 (0F Hex) Force Multiple Coils
Figure 28Force Multiple Coils – Query
Figure 29Force Multiple Coils – Response
16 (10 Hex) Preset Multiple Registers
Figure 30Preset Multiple Registers – Query
Figure 31Preset Multiple Registers – Response
17 (11 Hex) Report Slave ID
Figure 32Report Slave ID – Query
Figure 33Report Slave ID – Response
20 (14Hex) Read General Reference
Figure 34Read General Reference – Query
21 (15Hex) Write General Reference
Figure 36Write General Reference – Query
Figure 37Write General Reference – Response
22 (16Hex) Mask Write 4X Register
Figure 38Mask Write 4X Register – Query
Figure 39Mask Write 4X Register – Response
23 (17Hex) Read/Write 4X Registers
Figure 40Read/Write 4X Registers – Query
Figure 41Read/Write 4X Registers – Response
24 (18Hex) Read FIFO Queue
Figure 42Read FIFO Queue – Query
Figure 43Read FIFO Queue – Response
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 7|Likes:
Published by Piyush Kamani

More info:

Published by: Piyush Kamani on Jul 20, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 11 are not shown in this preview.
You're Reading a Free Preview
Pages 15 to 69 are not shown in this preview.
You're Reading a Free Preview
Pages 73 to 88 are not shown in this preview.
You're Reading a Free Preview
Pages 92 to 121 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->