9 - 23
MELSEC-
A
9 PROGRAM EXAMPLES
Change to bank 2
Set initialization request
Reset initialization reques
t
Data transmission (Transmission data :ABCDEF)
Complete initialization
Transmission SW
Pulsate data transmission
switch
Set transmission data siz
e
Set transmission data
(41
H
, 42
H
)
Set transmission data
(43
H
, 44
H
)
Set transmission data
(45
H, 46H)
Store transmission data in
automatic update buffer
Change to bank 0
Change to bank 2
Data reception
Set transmission request
Reset data transmission
flag
Reset transmission
request
Set data reception
enable flag
Read reception data size
Store reception data size
in Z
Store data received
from D251
Set data transmission flag
Set the error
occurrence flag