beautypg.com

Modbus communication, Implementation basics, Modes of transmission – RLE LD2100 V.2.6 User Manual

Page 67: Slave address field, Odbus, Ommunication, 1 modes of transmission

background image

rletech.com

LD2100 User Guide

67

C

H A P T E R

C

HAPTER

4

M

ODBUS

C

OMMUNICATION

This chapter describes the Modbus communication protocol as supported by the LD2100

Distance Read System. The content includes details and information on how to configure the

LD2100 for communications via Modbus network

5.1. Implementation

Basics

The LD2100 is capable of communicating via the half-duplex EIA-485 serial communication

standard. The LD2100 is configured to act as a slave device on a common network. The EIA-

485 medium allows for multiple devices on a multi-drop network. The LD2100 is a slave only

device and will never initiate a communications sequence.

5.1.1 Modes of Transmission

The Modbus protocol uses ASCII and RTU modes of transmission. The LD2100 supports only

the RTU mode of transmission, with 8 data bits, no parity and one stop bit. Every Modbus

packet consists of four fields:

Slave Address Field

Function Field

Data Field

Error Check Field (Checksum)

5.1.1.1 Slave

Address

Field

The slave address field is one byte in length and identifies the slave device involved in the

transaction. A valid address range is between 1 and 254. The slave address is set from the

Modbus/EIA-485 Configuration web page (see

“EIA-485 Port/Modbus/N2” on page 49

).