Mitsubishi MELSEC AJ65BT-R2 User Manual page 200

Rs-232c interface module type
Hide thumbs Also See for MELSEC AJ65BT-R2:
Table of Contents

Advertisement

9 PROGRAM EXAMPLES
Data reception
R2 error processing
9 - 4
MELSEC-A
Change to bank 0
Set transmission request
Reset data transmission
flag
Reset transmission
request
Set data reception
enable flag
Change to bank 2
Read reception data size
Store reception data size
in Z
Store data received
from D201
Change to bank 0
Set reception read
complete
Reset reception read
complete
Reset data reception
enable flag
Set the error occurrence
flag
Change to bank 2
Store error code in D10
to D12
Change to bank 0
Turn ON error LED
Error LED

Advertisement

Table of Contents
loading

Table of Contents