Mitsubishi Electric AJ71C24-S6 User Manual page 193

Melsec-4 computer link module
Table of Contents

Advertisement

8. COMMNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
8.1 0.4
Writing data to the special function module buffer memory (ACPU common command)
I
Special function module buffer
memory write command
I
Character area C
b
St. No. :Station number
Designation Method
I
Designation in protocol 1 is shown below.
i
Number of characters
=
(byte length) x 2 0 1-word
data uses 2 characters. Therefore, a 1-byte data is
\
expressed in
2
digits (hexadecimal)
I
POINT
(1) TO designate the byte length, the following condition must be met:
Computer
I
. I
5
byte length
5
128
I
(2) With some special function modules, 2 or 3 bytes are used to
express the data. Therefore, designate the byte length by referring
to the manuals for each individual module.
;
Designation Example
1
I
AJ71 C24
Designation of the special function module
buffer memory address range to be written
To write the data to buffer memory address 27FAH to 27FDH
(4
bytes) of the special-functioA
module (module number 13H) loaded at i/O numbers 120 to 13F in station number
"5".
(Message wait time is
0
msec)
1
NO.
H I L H I L
Indicates that:
Data "01 H " is written to address 27FAH
Data "CDH" is written t o address 27FBH
A
Data "ABH" is written to address 27FCH
Data "EFH" is written to address 27FDH
A
E
I
PC
No.
I
S f .
N O .
HlL
I
I
I
PC
NO.
H I L
waittime
I I I 1
Head address
(5 characters
(hexadecimal))
I I
I
I
I
Byte
length
(2
characters
(hexadecimal))
n
l
L
I
S@alfuncGan modul e
number2cherxtem
(hexadecimd)
H
I
L
i
I I I
I I
Memory
data
to
be
*,itten
8
I
-
8
,
8
,
'
H l L l H l L l
lHlL
I
Sum
check
code
H I L

Advertisement

Table of Contents
loading

Table of Contents