00
A5000010
(280)
RD2 #020C 0004 D00300
Equals Flag
0000
00 06
0010
00
407
RD2(280) carries out data exchange with the Special I/O Unit via the I/O area, so
the time required to complete execution depends on the I/O refresh interval (i.e.,
the cycle time).
Be sure that there is a Special I/O Unit mounted. If no Special I/O Unit is
mounted, RD2(280) execution will continue without stopping.
As of this printing, the RD2(280) can only be used with the C500-CT021 High-
speed Counter Unit is set to four-word operation (normally, when used with SYS-
MAC BUS).
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Beginning address plus number of words exceeds 100 binary.
Content of *DM word is not BCD when set for BCD.
CY (A50004): An error has occurred at the Special I/O Unit.
EQ (A50006): The read operation has been completed.
Example When CIO 000000 is ON in the following example, the contents of words 02
through 12 in the Special I/O Unit’s memory area are read in order, one word at a
time, through CIO 0004, and the contents that are read are transferred in order
to D00300 through D00311.
Address Instruction Operands
00000 LD 000000
00001 OR 001000
00002 RD2(280)
#020C
0004
D00300
00003 AND NOT A50006
00004 OUT 001000
0 2
Number of words to be read: 12
C: Control Word Contents
Beginning address to be read: Word 02
0 C (Binary data)
Special I/O Instructions Section 5-35