![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532386.webp)
381
5-33-3 I/O WRITE: WRIT(191)
Variations
j
WRIT(191)
(191)
WRIT
N
S
D
S: 1
st
source word
CIO, G, A, T, C, DM
D: Destination word
CIO
N: Words to transfer
CIO, G, A, T, C, #, DM, DR, IR
Operand Data Areas
Ladder Symbol
When the execution condition is OFF, WRIT(191) is not executed. When the
execution condition is ON, WRIT(191) transfers the contents of S through
S+(N–1) to the Special I/O Unit allocated word D. N indicates the number of
words to be read. D indicates the rightmost (first) of the two words allocated for
the Special I/O Unit (i.e., the output word).
N must be BCD. (Special I/O Units can transfer up to 255 words of data.)
D must be in the I/O Area and allocated to a Special I/O Unit.
If a Special I/O Unit is busy and unable to receive data, the data will be written
during the next cycle. To make sure that WRIT(191) execution has been com-
pleted, check EQ (A50006).
A maximum of two READ(190)/WRIT(191) instructions can be used for Slaves
connected to the same Master. If a third instruction is attempted when two
instructions are already being executed, the third instruction will not be executed
and the Carry Flag (A50004) will turn ON. Be sure to control execution of these
instructions so that no more than two are being executed simultaneously for
Units connected under the same Master.
This instruction cannot be used to write data to Special I/O Units mounted to
Slave Racks in SYSMAC BUS Remote I/O Systems. It can be used for Units
mounted to Slave Racks in SYSMAC BUS/2 Systems as long as the the follow-
ing conditions are met.
1, 2, 3...
1. The lot number of the Remote I/O Master Unit and Remote I/O Slave Unit
must be the same as or latter than the following.
1992
October (Y: November; Z: December)
1st
01 X 2
2. The DIP switch on the Remote I/O Slave Unit must be set to “54MH.” (Only
four Slaves can be connected to each Master when this setting is used.)
3. The Special I/O Unit must be one of the following: AD101, CT012, CT041,
ASC04, IDS01-V1, IDS02, IDS21, IDS22, LDP01-V1, or NC222.
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.
Description
Precautions
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...