Mitsubishi Electric MELDAS C6 Programming Manual page 328

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Function
RIRD
Reads the device data from the designated station CPU.
(1) Control data
Device
Item
(S) + 0
Completion status
(S) + 1
Station number
(S) + 2
Access code
Attribute code
(S) + 3
Device number
(S) + 4
Number of points
to read
*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 contents
Input relay
Output relay
Internal relay
Latch relay
Link relay
Timer (contact)
Timer (coil)
Timer (present value)
Retentive timer (contact)
Retentive timer (coil)
Retentive timer (present value)
Counter (contact)
Counter (coil)
Counter (present value)
Data register
Link register
File register
Special link relay
Special link register
Special relay
Special register
(Note) Devices other than shown above cannot be accessed.
When accessing a bit device, specify it with 0 or a multiple of 16.
9. Exclusive Commands 1
RIRD, RIWT
Set data
Stores the status when the command is complete.
0
: No error (normal completion)
Other than 0 : Error code
Designate the station numbers of the local station
and intelligent device station.
b15
b8 b7
Access code
Designate device start number.
Designate the read data count (in word units).
Device type
Name
Bit
Word
X
Y
M
L
B
T
T
T
T
T
T
C
C
C
D
W
R
SB
SW
SM
SD
- 319 -
Get other manuals https://www.bkmanuals.com
Setting
range
0 to 64
b0
See (1)
and (2).
Attribute code
1 to 480 *
1 to 32 *
Unit
Access code
Hexadecimal
01 H
Hexadecimal
02 H
Decimal
03 H
Decimal
83 H
Hexadecimal
23 H
Decimal
09 H
Decimal
0A H
Decimal
0C H
Decimal
89 H
Decimal
8A H
Decimal
8C H
Decimal
11 H
Decimal
12 H
Decimal
14 H
Decimal
04 H
Hexadecimal
24 H
Decimal
84 H
Hexadecimal
63 H
Hexadecimal
64 H
Decimal
43 H
Decimal
44 H
Set by
(*1)
System
User
User
2
User
*
3
User
4
Attribute
code
05 H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents