Mitsubishi Electric AJ71C24-S6 User Manual page 147

Melsec-4 computer link module
Table of Contents

Advertisement

8. COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(b) Using the JR command (AnACPU dedicated command)
esignation Methodl
Designation in protocol 1 is shown below.
St. No. :Station number
Batch read (bit) command
Character area A
,
.
\
I
I
I
I
i
1
0 (30H)
indicates OFF, and
l
i
t
I
I
I
I
Number of
1 (31 H) indicates ON.
St.
PC
Message
Head device
device points
Sf.
PC
,","gk
A
Omputer
No.
No.
waitf~me
"characters)
(2characters
No.
No.
;
(hexadecimal)
=Ode
H I L H I L
I
I I I I I I
H
I
L
H I L
HIL
H I L
P
I
I
Data of
the
I
\J71 C24
Designation of device
designated number
S1.
PC
of device points
range to be read
;
No.
No.
(Charactemforthe
check
designated number
of
' O d e
H
I
L
H I
L
device points)
H I
L
Character
area
B
To designate the device range, the following conditions must be met:
0
1
5
number of device points
5
256
(setting for 256 points is OOH)
(Head device number)
+
[(number of device points)
-
11
r maximum
device number
I
esianation Examole1
TO read the data at 5 points from X40 to X44 in station "5". (Message wait time is
100
msec.) (Assume that X40 and X43 are OFF and X41, X42, and X44 are ON.)
L
lndicates that X44 is ON
lndicates that X43 is OFF
lndicates that X42 is ON
Computer
1
lndicates that X41 is ON
lndicates that X40 is OFF
E
N
Q
POINTI
The message wait time is designated in the range of 0 to 150 msec in
units of 10 msec, using hexadecimal notation of 0 to FH. Therefore, 100
msec corresponds to "A".
AJ71C24
Check sum is calculated
s
O
~
F
F
J
R
A
E
within this range
0 5
F F / O
1
1
0
t
Check sum is calculated
within this range
A
F
x o o o o 4 o
inl,
~ I H ,
I I ,
a.,
31,
0 3 .
s,,~.
l
r
r
~
~
X
T
o
5
€ 7

Advertisement

Table of Contents
loading

Table of Contents