8.
COMMUNICATIONS
WING
DEDICATED
PROTOCOLS MELSEC-A
)eslgnatlon Examples
I
Example
1
:
To
start transmission
of
data, stored
in
buffer memory at addresses
120H
and
121
H,
by
the sequence program. (Station number is
'On,
AJ71
C24
I/O
addresses are
CO
to
DF,
transmission data is designated
in
word units.)
Computer
/
AJ71
C24
appends PC number
'FEW
automatically
AJ71 C24
"1
'
is written if a
transmission error
On-demand
-
command (1)
Data
Is
tranrmittd
bits from the higher bit.
0
TOP
I
Hoooc
I
Ml-m
Request to turn
OFF
error
indicator LED
mp
I
~00oc
I
~~~~
Sets
word unit
for
data transmission
x)
pLs
I
Converts
the
start
signal to PLS
25
c
-1
MOV
1-d
}
Sets tranrmirrion data
t
t
t
(1) Derignates head address
of
the
transmission data storage area and
data length
1
XOC3
I
J
Resets the on-demand error
address lOCH is
'1
".)
(Start is dirabled if the content at
(2)
Starts the on-demand function
Transmission completed flag
t
-1KlIW
Reads the transmisrion error storage
area to check transmission status
YRCUIT
END
Address
10CH
{O
:
Correct transmission
1
:
Data not transmitted
due to an error
n
,'
bd
1
I
Y
-7
cr
3
I
i
I,
Y
L
1
I
~~ ~
8-
110
3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com