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

ページ / 264
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 (
R 2
122
H
 to 185
H
) (refer to section 7.2.2) with the sequence program.
R2 buffer memory
address
Name
Details
R 2
 70
H
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)
R 2
 71
H
No. of monitor designation
Set the No. of the set in the monitor designation –1 to 64 (
R 2
 78
H
to F7
H
) 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
R 2
 78
H
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.
R 2
 79
H
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.
R 2
 7A
H
 to F5
H
R 2
 F6
H
Monitor target
designation
R 2
 F7
H
Monitor
designation
–64
Transmission
data
designation
Same as Monitoring setting - 1
R 2
 102
H
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 (
R 2
 1B4
H
) and data size
storage area in OS reception area (
R 2
 1B6
H
).
R 2
 11A
H
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 (
R 2
 1B1
H
).
0
: Infinite wait (default value)
1 to 32767 : Transmission timeout time (
×100ms)