Using The Transmission/Reception Buffer - Mitsubishi MELSEC AJ65BT-R2 User Manual

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

Advertisement

5 PRELIMINARY INFORMATION

5.5.2 Using the transmission/reception buffer

Programmable controller CPU
2) Intelligent device station access
Bit device
6) Intelligent device station access
8) Initialization request ON
10) Initialization request OFF
1) Control data + initialization data
Word device
Steps 1), 2), 6), 8) and 10) are carried out
with the sequence program.
Initialization using the transmission/reception buffer changes the contents of the R2
buffer memory using the transmission/reception buffer.
By using this operation, the transmission/reception area address and size, the range of
the buffer memory to be automatically updated, and the parameters, etc., can be
changed from the default values.
(1) Before initializing
1) Secure the transmission/reception buffer size by initializing the master
station.
Transmission buffer: Secure the transmission data size + seven words
Reception buffer: Secure the reception data size + seven words
2) Set the R2 mode setting switch to "0" (no automatic update function)
(2) Flow of process
request ON
request OFF
POINT
(1) Steps 1) to 7) are carried out for one write operation.
If writing is to be carried out multiple times because the addresses of the
buffer memories to be written are separated, etc., carry out the steps for each
write operation.
(2) Steps 8) to 11) (initialization) must be carried out when changing R 2 0
112
.
H
Initialization is not required to change the other buffer memories.
Master station
5) Intelligent device station access
complete ON
7) Intelligent device station access
complete OFF
Remote
input (RX)
9) Initialization normal/error complete ON
11) Initialization normal/error complete OFF
Remote
output (RY)
3) Initialization data
Transmission
buffer
4) Control data
Reception
buffer
Steps 3), 4), 5), 7), 9) and 11) are carried out by R2.
∗ When using the RIWT (RISEND) command,
the steps 2) to 7) are carried out automatically.
5 - 15
MELSEC-A
R2
Remote
input (RX)
Remote
output (RY)
Buffer
memory
to
H

Advertisement

Table of Contents
loading

Table of Contents