Mitsubishi Electronics AJ65bt-r2 Home Theater Server User Manual


 
9 - 26
MELSEC-
A
9 PROGRAM EXAMPLES
Change to bank 2
Set initialization request
Reset initialization request
Data transmission (Transmission data :ABCDEF)
Complete initialization
Transmission SW
Pulsate data transmission
switch
Set transmission data size
Set transmission data
(41
H
, 42
H
)
Set transmission data
(43
H
, 44
H
)
Set transmission data
(45
H
, 46
H
)
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 transmission
enable flag
Read reception data size
Store reception data size
in Z
Store data received
from D301
Set data transmission flag
Set the error
occurrence flag