Mitsubishi MELSEC L Series User Manual page 214

Communication module
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

FF
FF
FF
FF
An example of the contents (arrangement) of the transmission and reception of the sum check
code is given below.
(Example) Arrangement of data transmitted and received (one first frame and one last
9 - 7
9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION
5) Transmission/reception data corresponding to register codes FF
to FF
+F9
H
H
The sum check code that calculates the subject range for
transmission/reception data (message) is expressed as the binary
code/ ASCII code data listed below, then transmitted and received.
Register code
The lower 2 bytes of the calculated sum check code are transmitted
+ EE
or FF
+ F4
H
H
H
H
and received as 2-byte binary code data.
The lower byte of the calculated sum check code is transmitted and
+ F0
or FF
+ F6
H
H
H
H
received as 1-byte binary code data.
The lower byte of the calculated sum check code is converted to 2-
+ F1
or FF
+ F7
H
H
H
H
digit ASCII code, then transmitted and received.
The lower 4 bits of the calculated sum check code is converted to 1-
+ F3
or FF
+ F9
H
H
H
H
digit ASCII code, then transmitted and received.
frame)
User frame register code
Transmission/reception
data code
• How to calculate the sum check code and data contents transmitted
and received
This is a numeric value obtained by adding data in the above range
as binary data.
(In the case of the example Range 1 ) (H) (L)
Register code
FF
+ EE
01
H
H
FF
+ F0
32
H
H
FF
+ F1
"3" and "2" are transmitted and received, beginning from "3."
H
H
FF
+ F3
"2" is transmitted and received.
H
H
(In the case of the example Range 2 )
02
+ 00
H
Register code
FF
, F4
01
H
H
FF
, F6
6F
H
H
FF
, F7
"6" and "F" are transmitted and received, beginning from "6".
H
H
FF
, F9
"F" is transmitted and received.
H
H
Data contents transmitted and received
User frame
Arbitrary data
(first frame)
02
FF
+01
3B
H
H
H
H
S
Station
;
A
1
(12AB
T
No.
X
02
00
3B
41
31
AB
H
H
H
H
H
Range 1
Range 2
41
+ 31
+ AB
+ 12
H
H
H
Data contents transmitted and received (arrangement)
and 32
are transmitted and received, beginning from 32
H
H
is transmitted and received.
H
+ 3B
+ 41
+ 31
+ AB
H
H
H
H
Data contents transmitted and received (arrangement)
and 6F
are transmitted and received, beginning from 6F
H
H
is transmitted and received.
H
User frame
(last frame)
03
FF
+F1
0D
0A
H
H
H
H
H
E
C
L
Sum
)
T
H
check
X
R
F
code
03
32
01
0D
0A
12
H
H
H
H
H
H
H
+ 03
= 0132
H
H
H
(H) (L)
+ 12
+ 03
= 016F
H
H
H
+EE
H
H
.
H
H
.
H
9 - 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q seriesQj71c24Qj71c24-r2Lj71c24-r2Lj71c24Qj71c24n ... Show all

Table of Contents