Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Felix Lin
OSI Model Modbus
Application Layer
Presentation Layer
Session Layer
Transport Layer
Network Layer
Data Link Layer
Physical...
• Published by Modicon in 1979
• Modbus is a Protocol, NOT RS232 or RS485
neither
• Use for communication between individu...
• ADU – Application Data Unit
– Maxima size is 256Byte (inherited from RS485)
• PDU – Protocol Data Unit
– Maxima size is ...
Primary tables Object type Type
Discretes Input Single bit RO
Coils Single bit RW
Input Registers 16- bit word RO
Holding ...
• Public
– Data Access (Read/Write)
• Bit Access
• Word Access(16bits)
– Diagnostic
– Other
• User Defined
• Reserved for ...
Code Description Type
Bit
Access
0x01 Read Coils Read
0x02 Read Discrete Inputs Read
0x05 Write Single Coil Write
0x15 Wri...
Code Name
0x01 ILLEGAL FUNCTION
0x02 ILLEGAL DATA ADDRESS
0x03 ILLEGAL DATA VALUE
0x04 SERVER DEVICE FAILURE
0x05 ACKNOWLE...
• http://www.modbus.org/
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Computer Network 5. Modbus
Upcoming SlideShare
Loading in …5
×

of

Computer Network 5. Modbus Slide 1 Computer Network 5. Modbus Slide 2 Computer Network 5. Modbus Slide 3 Computer Network 5. Modbus Slide 4 Computer Network 5. Modbus Slide 5 Computer Network 5. Modbus Slide 6 Computer Network 5. Modbus Slide 7 Computer Network 5. Modbus Slide 8 Computer Network 5. Modbus Slide 9 Computer Network 5. Modbus Slide 10 Computer Network 5. Modbus Slide 11 Computer Network 5. Modbus Slide 12 Computer Network 5. Modbus Slide 13 Computer Network 5. Modbus Slide 14 Computer Network 5. Modbus Slide 15 Computer Network 5. Modbus Slide 16 Computer Network 5. Modbus Slide 17 Computer Network 5. Modbus Slide 18 Computer Network 5. Modbus Slide 19 Computer Network 5. Modbus Slide 20
Upcoming SlideShare
Modbus Data Communication Systems
Next
Download to read offline and view in fullscreen.

3 Likes

Share

Download to read offline

Computer Network 5. Modbus

Download to read offline

Introduction to Modbus.

Related Books

Free with a 30 day trial from Scribd

See all

Computer Network 5. Modbus

  1. 1. Felix Lin
  2. 2. OSI Model Modbus Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer Modbus NA NA/Ports NA/TCP NA/IP RS-232/MAC Serial/Ethernet Mapping
  3. 3. • Published by Modicon in 1979 • Modbus is a Protocol, NOT RS232 or RS485 neither • Use for communication between individual equipment • RTU/ASCII • Usually over RS232, RS485 or TCP/IP. • Take TCP 502 port to use
  4. 4. • ADU – Application Data Unit – Maxima size is 256Byte (inherited from RS485) • PDU – Protocol Data Unit – Maxima size is 253Byte (ADU – 1Byte Server Address – 2Byte CRC) • Use big-endian representation
  5. 5. Primary tables Object type Type Discretes Input Single bit RO Coils Single bit RW Input Registers 16- bit word RO Holding Registers 16- bit word RW
  6. 6. • Public – Data Access (Read/Write) • Bit Access • Word Access(16bits) – Diagnostic – Other • User Defined • Reserved for Exception (128~255)
  7. 7. Code Description Type Bit Access 0x01 Read Coils Read 0x02 Read Discrete Inputs Read 0x05 Write Single Coil Write 0x15 Write Multiple Coils Write Word Access (16bits) 0x03 Read Holding Registers Read 0x04 Read Input Register Read 0x06 Write Single Register Write 0x10 Write Multiple Registers Write
  8. 8. Code Name 0x01 ILLEGAL FUNCTION 0x02 ILLEGAL DATA ADDRESS 0x03 ILLEGAL DATA VALUE 0x04 SERVER DEVICE FAILURE 0x05 ACKNOWLEDGE 0x06 SERVER DEVICE BUSY 0x08 MEMORY PARITY ERROR 0x0A GATEWAY PATH UNAVAILABLE 0x0B GATEWAY TARGET DEVICE FAILED TO RESPOND
  9. 9. • http://www.modbus.org/
  • manni3110

    Sep. 4, 2021
  • khaledsalah

    Oct. 17, 2015
  • mkoldov

    Aug. 5, 2014

Introduction to Modbus.

Views

Total views

2,492

On Slideshare

0

From embeds

0

Number of embeds

6

Actions

Downloads

114

Shares

0

Comments

0

Likes

3

×