Mitsubishi MELSEC AJ65BT-R2 User Manual page 166

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

Advertisement

7 USING FRAMES WHEN EXCHANGING DATA
2) Transmission/reception data corresponding to F4
The user registration frame section corresponding to the special
character codes F4
H
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
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.
(The calculation method is the same as (a).)
(In case of example)
02
+ 10
+ 41
H
H
The details (arrangement) when transmitting/receiving the
corresponding sum check code if a special character code F4
F9
is contained in the user registration frame, is shown with the
H
statements used in the example.
Special character code
F4
H
F6
H
F7
H
F9
H
7 - 32
to F9
transmits/receives the sum check code
H
User registration
frame
Random data
(Head frame)
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
+ 31
+ AB
+ 12
+ 03
H
H
H
H
Contents during transmission/reception
(arrangement)
Transmission/reception of 01
Transmission/reception of 44
Transmission/reception of "4", "4" from "4"
Transmission/reception of "4"
MELSEC-A
to F9
H
H
User registration
frame (End frame)
03
FF
F4
0D
0A
H
H
H
H
H
E
C
L
Sum
T
)
check
H
code
X
R
F
03
44
01
0D
0A
H
H
H
H
H
H
The progarmmable controller CPU
side is calculated by the R2.
(H)(L)
= 0144
H
H
to
H
, 44
from 44
H
H
H
H

Advertisement

Table of Contents
loading

Table of Contents