0% found this document useful (0 votes)
18 views4 pages

Modbus: - Master - Slave Protocol - 1 Master - Up To 247 Slaves - Process Industry

MODBUS

Uploaded by

Noor Noor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

Modbus: - Master - Slave Protocol - 1 Master - Up To 247 Slaves - Process Industry

MODBUS

Uploaded by

Noor Noor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

MODBUS

• Master – Slave protocol


• 1 Master
• up to 247 Slaves
• Process industry

MODBUS 1

Master and Slave Query/Response Cycle

MODBUS 2

1
Modes of transmission

MODBUS 3

RTU → ASCII

RTU – 1 byte (8 bit)

0001 1010 0000 0000 – 1111 1111

0001 1010 0000 – 1111

‘1’ = 011 0001 ‘A’ = 100 0001 ‘0’ – ‘F’

ASCII – 2 characters (2 * 7 bit)

MODBUS 4

2
RTU mode - CRC Error detection:
Polynomial: x16 + x15 + x2 + 1 (1 1000 0000 0000 0101)

ASCII mode – LRC Error detection: 2’s complement

MODBUS 5

MODBUS protocol

• Remote Terminal Unit (RTU) Framing

• ASCII Framing

MODBUS 6

3
• Address Field
0 = broadcast
1 – 247 = Slave address

• Function Field
Function to perform

• Data Field

MODBUS 7

Example

Read input status of 1610 – 2010 of Slave 1310

Query Address 0D
Function 02
Data 0010 (start address)
0005 (number of inputs)
Response Address 0D
Function 02
Data 01 (number of bytes)
07 (coil-16 = 1, coil-17 = 1, coil-18 = 1
coil-19 = 0, coil-20 = 0)

MODBUS 8

You might also like