Mitsubishi Electric MELSEC iQ-R Series User Manual page 259

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■C24 processing to registered code FFH+E5H
The sum check code that calculates data (message) to be transmitted/received excluding the first one frame and last one
frame is expressed as the ASCII code data and transmitted or received.
• How to calculate the sum check code
Lower one byte of the calculated sum check code is converted into 2-digit ASCII code data, and transmitted and received.
Ex.
Arrangement of data when transmitted/received
User frame
(First frame)
User frame register
02H
code
S
Station
T
X
No.
0
Transmission/
02H 30H
reception data code
Calculation range
30H+31H+31H+37H+37H+30H
■C24 processing to registered code FFH+EBH
The sum check code that calculates the data (message) to be transmitted/received, including the first one frame and
excluding the last one frame, is expressed as the ASCII code data, and transmitted or received.
• How to calculate the sum check code
Lower one byte of the calculated sum check code is converted into 2-digit ASCII code data, and transmitted or received.
Ex.
Arrangement of data when transmitted/received
User frame
(First frame)
User frame register
02H
code
S
Station
T
X
No.
0
Transmission/
02H 30H
reception data code
Calculation range
02H+30H+31H+31H+37H+37H+30H
Arbitrary
User frame
(Last frame)
data
03H FFH+E5H
Sum
E
Read data
T
check
X
code
1
1
7
7
0
3
0
31H 31H 37H 37H 30H
03H
33H 30H
=130H
User frame
Arbitrary data
(Last frame)
03H FFH+EBH
Sum
E
Read data
check
T
X
code
1
1
7
7
0
3
2
31H 31H 37H 37H 30H
03H
33H 32H
=132H
13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION
13.1 User Frame Types and Contents During Communication
13
257

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents