Mitsubishi Electronics AJ65bt-r2 Home Theater Server User Manual


 
7 - 31
MELSEC-
A
7 USING FRAMES WHEN EXCHANGING DATA
1) Transmission/reception data corresponding to EEH to F3H
The user registration frame section corresponding to the special
character Nos. EE
H to F3H uses the range, excluding the head frame
of the transmission/reception data (statement), to transmit/receive the
calculated sum check code as binary/ASCII data.
Calculation range
The calculation target is the range from the data following the
user registration frame (1 head frame worth) at the head of the
transmission/reception data to just before the sum check code is
designated.
(Example) Arrangement of data for transmission/reception
02
H
S
T
X
02
H
10
H
D
L
E
10
H
41
H
A
31
H
1(12AB
H
)
AB
H
12
H
03
H
E
T
X
03 FF
H
32
H
01
H
F1
H
0D
H
C
R
0D
H
0A
H
L
F
0A
H
User registration frame
registration code
Transmission/reception
data corresponding to
registration code
Transmission/reception
data code
User registration
frame
(Head frame)
Random data
User registration
frame (End frame)
Sum
check
code
Sum check code
calculation ran
g
e
The programmable controller CPU
side is calculated by the R2.
Calculating the sum check code
This is the value obtained by adding the data in the above range as
binary data.
(In case of example)
(H)(L)
41H + 31H + ABH + 12H + 03H = 0132H
The details (arrangement) when transmitting/receiving the
corresponding sum check code if a registration code FF
H, EEH to
F3
H is contained in the user registration frame, is shown with the
statements used in the example.
Registration code
Contents during transmission/reception
(arrangement)
FFH, EEH Transmission/reception of 01H, 32H from 32H
FFH, F0H Transmission/reception of 32H
FFH, F1H Transmission/reception of "3", "2" from "3"
FFH, F3H Transmission/reception of "2"