Mitsubishi Electronics C6 Home Safety Product User Manual


 
9. Exclusive Commands 1
RIRD, RIWT
- 319 -
Function
RIRD
Reads the device data from the designated station CPU.
(1) Control data
Device Item Set data
Setting
range
Set by
(*1)
(S) + 0 Completion status Stores the status when the command is complete.
0 : No error (normal completion)
Other than 0 : Error code
— System
(S) + 1 Station number Designate the station numbers of the local station
and intelligent device station.
0 to 64 User
(S) + 2 Access code
Attribute code
b15 b8 b7 b0
Access code Attribute code
See (1)
and (2).
User
(S) + 3 Device number Designate device start number.
*
2
User
(S) + 4 Number of points
to read
Designate the read data count (in word units).
1 to 480 *
3
1 to 32 *
4
User
*1: User : Data to be set by user before executing exclusive command.
System : The results of the exclusive command executed is stored by the sequencer CPU.
*2: See the manual for the local station or the intelligent device station from which data will be
read.
*3: Indicates the maximum number of data items that can be read.
*4: When the counterpart PLC CPU is other than QCPU (Q mode)/ QCPU (A mode)/ QnACPU/
AnUCPU and reads the PLC CPU device, the setting range will be 1 to 32 words.
(2) Device memory in the PLC CPU
Device type
Device contents Name
Bit Word
Unit Access code
Attribute
code
Input relay X
{
Hexadecimal 01
H
Output relay Y
{
Hexadecimal 02
H
Internal relay M
{
Decimal 03
H
Latch relay L
{
Decimal 83
H
Link relay B
{
Hexadecimal 23
H
Timer (contact) T
{
Decimal 09
H
Timer (coil) T
{
Decimal 0A
H
Timer (present value) T
{
Decimal 0C
H
Retentive timer (contact) T
{
Decimal 89
H
Retentive timer (coil) T
{
Decimal 8A
H
Retentive timer (present value) T
{
Decimal 8C
H
Counter (contact) C
{
Decimal 11
H
Counter (coil) C
{
Decimal 12
H
Counter (present value) C
{
Decimal 14
H
Data register D
{
Decimal 04
H
Link register W
{
Hexadecimal 24
H
File register R
{
Decimal 84
H
Special link relay SB
{
Hexadecimal 63
H
Special link register SW
{
Hexadecimal 64
H
Special relay SM
{
Decimal 43
H
Special register SD
{
Decimal 44
H
05
H
(Note) Devices other than shown above cannot be accessed.
When accessing a bit device, specify it with 0 or a multiple of 16.