EasyManuals Logo

LSIS XBL-C41A User Manual

LSIS XBL-C41A
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #109 background imageLoading...
Page #109 background image
Chapter 9 Modbus Communication
9-8
9.4.3 Read Holding Registers (03)
(1) Reading word of output area
When reading data of word type of output area, request and response frame is as follows.
Tail of frame is applied in case of ASCII mode.
(a) Request frame
Classification
Station
no.
Function code
(03)
Address Data size Frame error check Tail (CRLF)
Size (byte) 1 1 2 2 2 2
(b) Response frame (When receiving normal frame)
Classification
Station
no.
Function code
(03)
No. of byte Data Frame error check Tail (CRLF)
Size (Byte) 1 1 2 N*2 2 2
(c) Response frame (When receiving abnormal frame)
Classification Station no. Error code
Exceptional
code
Tail (CRLF)
Size (byte) 1 1 1 2
(2) Details of frame
(a) Station no.: indicates the station no. of slave to read word data of output area.
(b) Function code: ‘03’ indicating Read Holding Registers
(c) Address: indicating start address of data to read. It consists of 2 byte. At this time, start address conforms
to modbus address regulation.
(d) Data size: size of data to read, consists of 2 byte
(e) Frame error check: in case of ASCII mode, it uses LRC and in case of STU mode, it uses CRC for error
check. It consists of 2 byte.
(f) Tail: it is applied in case of ASCII mode, CRLF is added after LRC.
(g) No. of byte: no. of byte of data responding
(h) Data: address of request frame is start address and transmits data with byte unit. At this time, since data is
word type, it is double of no. of byte.
(i) Error code: error code is expressed by adding 80(Hex) and in case of reading word of output area, it is
expressed 83(Hex).
(j) Exceptional code: details of error, consists of 1 byte.
(3) Frame example
Example that reads word (108~110) from station number 1 server acting as modbus RTU
(a) Request frame
Classification
Station
no.
Function
code
Address Data size
Error check
Upper byte Lower byte Upper byte Lower byte
Frame 01 03 00 6B 00 03 CRC
(b) Response frame (receiving normal frame)
Classification
Station
no.
Function
code
No. of byte Data Error check
Frame 01 03 06 13 12 3D 12 40 4F CRC
(c) Response frame (receiving abnormal frame)
Classification Station no. Function code Exceptional code Error check
Frame
01
83
04
CRC

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LSIS XBL-C41A and is the answer not in the manual?

LSIS XBL-C41A Specifications

General IconGeneral
BrandLSIS
ModelXBL-C41A
CategoryController
LanguageEnglish

Related product manuals