Mitsubishi Electronics AJ65bt-r2 ユーザーズマニュアル

ページ / 264
9 - 13
MELSEC-A
9   PROGRAM EXAMPLES
Write transmission data 
using dedicated command
R2 error processing
Set transmission request
Reset data transmission
flag
Reset transmission 
request
Set data reception 
enable flag
Read reception data size
Store data received 
from D201
Set reception read
complete
Reset reception read 
complete
Reset data reception 
enable flag
Set the error occurrence 
flag
Store error code in D10 
to D12
Turn ON error LED
Error LED
Reset SW
Reset error occurrence flag
Error reset request
Error reset complete
Turn OFF error LED
Error LED
Data reception