Mitsubishi MELSEC AJ65BT-R2 User Manual page 165

Rs-232c interface module type
Hide thumbs Also See for MELSEC AJ65BT-R2:
Table of Contents

Advertisement

7 USING FRAMES WHEN EXCHANGING DATA
1) Transmission/reception data corresponding to EE
The user registration frame section corresponding to the special
character Nos. EE
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
User registration
frame
(Head frame)
User registration frame
registration code
Transmission/reception
data corresponding to
registration code
Transmission/reception
data code
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)
41
+ 31
H
The details (arrangement) when transmitting/receiving the
corresponding sum check code if a registration code FF
F3
is contained in the user registration frame, is shown with the
H
statements used in the example.
Registration code
FF
FF
FF
FF
7 - 31
to F3
uses the range, excluding the head frame
H
H
Random data
02
10
H
H
S
D
T
L
A
1 (12AB
X
E
02
10
41
31
AB
12
H
H
H
H
H
Sum check code
calculation range
+ AB
+ 12
+ 03
H
H
H
H
Contents during transmission/reception
, EE
Transmission/reception of 01
H
H
, F0
Transmission/reception of 32
H
H
, F1
Transmission/reception of "3", "2" from "3"
H
H
, F3
Transmission/reception of "2"
H
H
MELSEC-A
User registration
frame (End frame)
03 FF
F1
0D
0A
H
H
H
H
E
C
L
Sum
T
check
)
H
code
X
R
F
03
32
01
0D
0A
H
H
H
H
H
H
The programmable controller CPU
side is calculated by the R2.
(H)(L)
= 0132
H
(arrangement)
, 32
H
H
to F3
H
H
, EE
to
H
H
from 32
H
H

Advertisement

Table of Contents
loading

Table of Contents