9 - 3
MELSEC-
A
9 PROGRAM EXAMPLES
Transmission SW
Data transmission (Transmission data :ABCDEF)
R2 initialization (initialization execution)
R2 initialization (initialization data write)
R2 initialization (initial data read)
Set initial data
read request
Reset initial data
read request
Complete
initialization
Change to bank 2
Change to bank 0
Set reception
timeout time to 2 sec.
Set transmission
timeout time to 2 sec.
Set initialization data
write complete flag
Set initialization
request
Reset initialization
request
Complete
initialization
Pulsate data
transmission switch
Set data
transmission flag
Set transmission
data size
Set transmission
data (41
H
, 42
H
)
Set transmission
data (43
H, 44H)
Set transmission
data (45
H, 46H)
Store transmission
data in automatic
update buffer
Change to bank 2
Set the error
occurrence flag