Mitsubishi MELSEC AJ65BT-R2 User Manual page 176

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

Advertisement

8 OTHER FUNCTIONS
No.
The data received from the external device is stored in the reception area via the OS reception
1)
area.
2)
The forced reception complete request signal (RYn3) turns ON.
3)
The data stored in the OS reception area is stored in the reception area.
4)
The data stored in the reception area is transmitted to the master station automatic update area.
5)
The reception normal/error read request signal (RXn2/RXn3) turns ON.
6)
The forced reception complete request signal (RYn3) turns OFF.
7)
The data stored in the master station buffer memory is read out.
8)
The reception read complete signal (RYn2) turns ON.
9)
The reception normal/error read request signal (RXn2/RXn3) turns OFF.
10) The reception read complete signal (RYn2) turns OFF.
Forced
reception
execution
R2 normal
POINT
The forced reception complete is valid only when not even one reception head
frame No. is designated.
If the reception head frame No. is designated, the forced reception complete
request signal will be ignored.
During forced reception complete, when transmitting the reception data stored in
the OS reception area to the reception area, if the data in the OS reception area
exceeds the reception area size, only the reception data that fits in the reception
area will be stored before completing the reception.
(3) Program
The following shows the program that completes reception forcibly.
The following program assumes that the buffer memory automatic update
function is used.
Refer to Section 5.1 for program conditions.
(a) When using the FROM/TO command with the ACPU/QCPU-A
(A mode)
Details
8 - 4
MELSEC-A
Control side
R2
Program
R2
R2
R2
Program
Program
Program
R2
Program
Set forced reception
complete request (RYn3)
Reset forced reception
complete request (RYn3)
Change to bank 2
Read reception data size
Store reception data
size in Z
Read reception data size
Change to bank 0
Set reception read
complete (RYn2)
Reset reception read
complete (RYn2)

Advertisement

Table of Contents
loading

Table of Contents