Examples Of Command And Response Formats - Mitsubishi Electric MELSEC-L SERIES Basic User Manual

Melsec-l ethernet interface module
Hide thumbs Also See for MELSEC-L SERIES:
Table of Contents

Advertisement

(6) End code
An error code is stored in the end code added to a response. For the error codes, refer to the error code list.
(
Page 268, Section 16.7.1) End codes are stored in the communication status storage area of the buffer
memory.
13.4.3

Examples of command and response formats

This section describes examples of command and response formats.
(1) Writing data to a random access buffer upon a write request from a connected
device
(a) Communications using a binary code
• Command format (from the connected device to the E71)
Subheader
62
00
H
H
Random access buffer
Physical address
2680
( 9856)
H
2681
( 9857)
H
2682
( 9858)
H
2689
( 9865)
H
3E7F
(15999)
H
• Response format (from the E71 to the connected device)
CHAPTER 13 COMMUNICATIONS USING A RANDOM ACCESS BUFFER
Start address
Data length
(L)
(H)
(L)
(H)
(L)
00
00
0A
00
34
H
H
H
H
H
(H)
(L)
Logical address
0
( 0)
12
34
H
H
H
1
( 1)
56
78
H
H
H
2
( 2)
9A
BC
H
H
H
9
( 9)
9A
BC
H
H
H
17FF
(6143)
H
Subheader
E2
H
Text (10 words)
(H)
(L)
(H)
(L)
(H)
12
78
56
BC
9A
H
H
H
H
H
(10 words)
End code
00
H
(L)
(H)
BCH 9A
H
163
13

Advertisement

Table of Contents
loading

Table of Contents