Download Modbus for Field Technicians

Transcript
Modbus for Field Technicians
TABLE OF CONTENTS
MODBUS - Introduction ...................................................................................................... 5
1.
There are 4 types of data. ................................................................................... 6
2.
There are (were) a Max of 9999 points of each data type. ................................. 8
3.
5 Digit vs 6 Digit Addressing ................................................................................ 9
4.
What about Scaling in Modbus ......................................................................... 12
5.
Floating Point Numbers in Modbus .................................................................. 13
6.
Byte/Word Order – An ambiguous nightmare .................................................. 14
7.
Bit Order – Sometimes it’s a problem too. ....................................................... 16
8.
Modbus and Gateways ..................................................................................... 17
9.
What about errors / exceptions. ....................................................................... 18
10.
There can only be one master on a Modbus Serial Trunk................................. 20
11.
Multiple Clients of a Modbus slave ................................................................... 21
12.
Old device – slow processors – limited capability............................................. 27
13.
Modbus Ascii, JBUS, Enron and other Variants ................................................. 27
Modbus RS232, RS485 and TCP/IP ................................................................................... 29
14.
How Modbus is Transported............................................................................. 30
15.
Modbus on RS232 ............................................................................................. 31
16.
Modbus on RS485 ............................................................................................. 32
Modbus Resources, Testing and Trouble Shooting .......................................................... 45
17.
What to take to site with you ........................................................................... 46
18.
Trouble Shooting Modbus TCP/IP ..................................................................... 51
Required tools................................................................................................... 51
How to Capture with Wireshark ....................................................................... 52
Capture Filters .................................................................................................. 57
Display Filtering ................................................................................................ 59
Searching .......................................................................................................... 59
19.
Using the CAS Modbus Scanner ........................................................................ 61
Page 3