7 - 15
MELSEC-
A
7 USING FRAMES WHEN EXCHANGING DATA
7.4.3 Setting the R2 buffer memory
The items to be set for the buffer memory used when transmitting data (monitor
transmission) at the change of the device or status are explained below.
(1) Buffer memory setting items
The items to be set for the monitor transmission buffer memory are shown below.
When carrying out monitor transmission, set the following areas, and also set the
transmission table to be transmitted in the transmission table designation (
R2
122H to 185H) (refer to section 7.2.2) with the sequence program.
R2 buffer memory
address
Name Details
R2
70H
Monitor interval time
designation
Designate the monitor interval that the R2 monitors the device or
status for detecting the transmission trigger.
0 :Do not carry out monitor transmission (default value)
1 to 32767 :Designate the monitor interval time (
×
100ms)
R2
71H
No. of monitor designation
Set the No. of the set in the monitor designation –1 to 64 (
R2
78H
to F7H) by the user for the R2 to monitor the transmission trigger
detection device or status.
0 :Do not carry out monitor transmission (default value)
1 to 64 :Designate the monitor designation size
R2
78H
Monitor target
designation
Designate a device or status for transmission trigger detection.
When specifying a device, refer to (a) in this section.
When specifying a status, refer to (b) in this section.
R2
79H
Monitor
designation
–1
Transmission
data
designation
Designate which data are to be sent by the AJ65BT-R2 when a
transmission trigger occurs.
For details, refer to (c) in this section.
R2
7AH to F5H
R2
F6H
Monitor target
designation
R2
F7H
Monitor
designation
–64
Transmission
data
designation
Same as Monitoring setting - 1
R2
102H
Word/byte unit designation
Set the unit (word/byte) of the transmission data and reception data
when exchanging data between the R2 and external device.
0 : Word unit (default value)
1 : Byte unit
* This is also used as the unit of the values handled by the actual
transmission data size storage area (
R2
1B4H) and data size
storage area in OS reception area (
R2
1B6H).
R2
11AH
Transmission timeout
designation
Designate the timeout time from when the transmission request
signal (RYn0) turns ON during data transmission (when trigger is
generated during monitor transmission) and the transmission starts
to when the transmission is completed.
When the transmission timeout is applied, the transmission error
complete signal (RXn1) turns ON, and BB11
H is stored in the
transmission error code area (
R2
1B1H).
0 :Infinite wait (default value)
1 to 32767 :Transmission timeout time (
×
100ms)