Omron SYSMAC CVM1 Series Operation Manual page 396

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Special I/O Instructions
Flags
Example
0000
00
0100
00
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
READ(190)/WRIT(191) instruction.
Note Refer to page 101 for general precautions on operand data areas.
ER (A50003):
CY (A50004):
EQ (A50006):
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.
(190)
READ
0001
0003
Equals
A500
Flag
06
execution
before
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.
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.
OFF while data is being read; ON when reading has been
completed.
D00010
0100
00
Section 5-33
starting
execution
of
Address Instruction
00000
LD
00001
OR
00002
READ(190)
00003
AND NOT
00004
OUT
another
Operands
000000
010000
0001
0003
D00010
A50006
010000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents