Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-118
5.4 Network Dedicated Instruction
5.4.1 RIRD instruction
J_RIRD, G_RIRD
Control Data
*1 : For G(P)_RIRD, the setting range shall be 0 to 64.
*2 : For details, refer to the manual for the local station or the intelligent device station from which data are
read.
When the random access buffer is specified, specify the start address of the random access buffer as 0.
*3 : The value indicates the maximum number of data to be read.
Specify the value within the buffer memory capacity of the local station or the intelligent device station, or
the receive buffer area setting range set by a parameter.
*4 : When reading device data from the programmable controller CPU other than the QCPU (Q mode),
QCPU (A mode) or QnACPU/AnUCPU, the setting range shall be 1 to 32 words.
(1) Buffer memory of the CC-Link module
Device Item Setting data Setting range Setting side
[0]
Completion status
The instruction completion status is stored.
0 : Normal completion
Other than 0 : Error completion (error code)
For error codes when target station is anything other
than master/local module, refer to the manual of the
target station.
System
[1]
Target station No. Specify the station number of the target station.
0 to 64
*1
0 to 120
User
[2]
Access code,
Attribute code
Specify the access code and attribute code of the
device to be read.
Refer to (1)
and (2).
[3]
Buffer memory address or device No.
Specify the start address of the buffer memory or the
start number of the device.
Within the
device
range*
2
[4]
Number of read points
Specify the number of data to be read (in units of
words).
1 to 32
*3
1 to 480
*4
Buffer memory Access code Attribute code
Buffer in an intelligent device station 00
H
04H
Buffer in a master or local station
Random access buffer
20H
Remote input
21H
Remote output
22H
Remote register
24H
Link special relay
63H
Link special register
64H
s
s
s
b15 b7 b0b8
Access code Attribute code
s
s