Link Layer - WEST P8700 User Manual

1/4, 1/8 and 1/16 din plus series controllers & indicators
Table of Contents

Advertisement

Link Layer

A Query (or command) is transmitted from the Modbus Master to the Modbus Slave. The
slave instrument assembles the reply to the master. All of the instruments covered by this
manual are slave devices, and cannot act as a Modbus Master.
A message for either a QUERY or RESPONSE is made up of an inter-message gap followed
by a sequence of data characters. The inter-message gap is at least 3.5 data character
times.
Data is encoded for each character as binary data, transmitted LSB first.
For a QUERY the address field contains the address of the slave destination. The slave
address is given together with the Function and Data fields by the Application layer. The
CRC is generated from the given address, function and data characters.
For a RESPONSE the address field contains the address of the responding slave. The
Function and Data fields are generated by the slave application. The CRC is generated from
the address, function and data characters.
The standard MODBUS RTU CRC-16 calculation employing the polynomial 2
used.
Inter-message
gap
Page 94
1
1
/
-DIN,
/
-DIN &
4
8
MODBUS
MASTER
RESPONSE
Figure 40.
Address
Function
1 character
1 character
Modbus Communications
1
/
- DIN Controllers & Indicators - Product Manual
16
SLAVE
INSTRUMENT
QUERY
Modbus Link Layer
Data
n characters
16
15
2
+2
+2
+1 is
CRC Check
2 characters
59305, Issue 5 – March 2005

Advertisement

Table of Contents
loading

Table of Contents