![Omron CVM1D Operation Manual Download Page 383](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532383.webp)
0100
00
(190)
READ
0001
0003
D00010
0000
00
0100
00
Equals
Flag
A500
06
378
4. No more than one READ(190) and/or WRIT(191) cannot be executed for
the same Special I/O Unit at the same time. Be sure the first instruction has
completed execution before starting execution of another
READ(190)/WRIT(191) instruction.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
S is not allocated to a Special I/O Unit.
N is not BCD.
Instruction executed reading more than 255 words from a
Special I/O Unit on a SYSMAC BUS/2 Slave Rack.
CY (A50004):
This Flag operates only for Special I/O Units mounted to
SYSMAC BUS/2 Slave Racks and turns on for the following:
The Special I/O Unit or Slave is busy.
An error has occurred in the Special I/O Unit.
Word operands have been designated for a Special I/O Unit
that requires a constant.
The Slave is not set to 54MH.
The communications path is not normal.
EQ (A50006):
OFF while data is being read; ON when reading has been
completed.
Example
When CIO 000000 is ON in the following example, the number of words speci-
fied in CIO 0001 is read through CIO 0003 (the I/O word allocated to the Special
I/O Unit) and stored at consecutive words starting at D00010.
The following program section uses a self-holding bit to ensure that the read op-
eration is executed even if the Special I/O Unit (or Slave Rack) is busy when
READ(190) is executed. The type of programming is also effective when the
read operation requires more than one cycle. The Equals Flag, which turns ON
when the reading operation is completed, is used to end the execution.
Address
Instruction
Operands
00000
LD
000000
00001
OR
010000
00002
READ(190)
0001
0003
D00010
00003
AND NOT
A50006
00004
OUT
010000
Special I/O Instructions
Section 5-33
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...