Lantronix EDS2100 EDS1100 / EDS2100 - User Guide - Page 97

: Modbus, Serial Transmission Mode

Page 97 highlights

12: Modbus Modbus ASCII/RTU based serial slave devices can be connected via the ethernet through an existing Modbus TCP/IP network. Any device having access to a given Modbus implementation will be able to perform full range of operations that the implementation supports. Modbus/TCP use a reserved TCP port of 502 and include a single byte function code (1=255) preceded by a 6 byte header: Table 12-1 6 Byte Header of Modbus Application Protocol Transaction ID (2 bytes) Identification of request/response transaction - copied by slave Protocol ID (2 bytes) 0 - Modbus protocol Length (2 bytes) Address (1 byte) Number of following bytes includes the unit identifier Identification of remove slave Serial Transmission Mode Evolution products can be set up to communicate on standard Modbus networks using either RTU or ASCII. Users select the desired mode and serial port communication parameters (baud rate, parity mode, etc) during the line configuration. Table 12-2 Modbus Transmission Modes RTU  Address: 8 bits (0 to 247 decimal, 0 is used for broadcast)  Function: 8 bits (1 to 255, 0 is not valid)  Data: N X 8 bits (N=0 to 252 bytes)  CRC Check: 16 bits ASCII  Address: 2 CHARS  Function: 2 CHARS  Data: N CHARS (N=0 to 252 CHARS)  LRC Check: 2 CHARS The Modbus web pages allow you to check Modbus status and make configuration changes. This chapter contains the following sections:  Modbus Statistics  Modbus Configuration EDS1100/2100 User Guide 97

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152

EDS1100/2100 User Guide
97
12: Modbus
Modbus ASCII/RTU based serial slave devices can be connected via the ethernet through an
existing Modbus TCP/IP network.
Any device having access to a given Modbus implementation
will be able to perform full range of operations that the implementation supports.
Modbus/TCP
use a reserved TCP port of 502 and include a single byte function code (1=255) preceded by a 6
byte header:
Table 12-1
6 Byte Header of Modbus Application Protocol
Serial Transmission Mode
Evolution products can be set up to communicate on standard Modbus networks using either RTU
or ASCII.
Users select the desired mode and serial port communication parameters (baud rate,
parity mode, etc) during the line configuration.
Table 12-2
Modbus Transmission Modes
The Modbus web pages allow you to check Modbus status and make configuration changes.
This
chapter contains the following sections:
Modbus Statistics
Modbus Configuration
Transaction ID (2 bytes)
Identification of request/response transaction - copied by slave
Protocol ID (2 bytes)
0 - Modbus protocol
Length (2 bytes)
Number of following bytes includes the unit identifier
Address (1 byte)
Identification of remove slave
RTU
ASCII
Address:
8 bits (0 to 247 decimal, 0 is used
for broadcast)
Function: 8 bits (1 to 255, 0 is not valid)
Data: N X 8 bits (N=0 to 252 bytes)
CRC Check: 16 bits
Address:
2 CHARS
Function: 2 CHARS
Data: N CHARS (N=0 to 252 CHARS)
LRC Check: 2 CHARS