Mitsubishi Electronics AJ65bt-r2 Home Theater Server User Manual


 
7 - 32
MELSEC-
A
7 USING FRAMES WHEN EXCHANGING DATA
2) Transmission/reception data corresponding to F4H to F9H
The user registration frame section corresponding to the special
character codes F4
H to F9H transmits/receives the sum check code
calculated using the range including the user registration frame (head
frame) of the transmission/reception data (statement) as binary
data/ASCII data.
Calculation range
The calculation target is the range from the user registration frame
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
H
FF
H
44
H
01
H
F4
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 progarmmable 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.
(The calculation method is the same as (a).)
(In case of example)
(H)(L)
02H + 10H + 41H + 31H + ABH + 12H + 03H = 0144H
The details (arrangement) when transmitting/receiving the
corresponding sum check code if a special character code F4
H to
F9
H is contained in the user registration frame, is shown with the
statements used in the example.
Special character code
Contents during transmission/reception
(arrangement)
F4H Transmission/reception of 01H, 44H from 44H
F6H Transmission/reception of 44H
F7H Transmission/reception of "4", "4" from "4"
F9H Transmission/reception of "4"