![Omron CVM1D Operation Manual Download Page 388](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532388.webp)
CNT
0010
#0100
(090)
j
INC D00000
(030)
j
MOV
0002
*
D00000
(191)
WRIT
#0100
d00001
0003
0200
0200
0001
(041)
BSET
#0000
D00000
D00100
0001
0200
0000
0000
0200
A500
A500
00
C0010
00
C0010
00
01
06
03
00
01
00
01
Error
Flag
Equals
Flag
D00001
to
D00100
CIO 0003
CIO 0002
Sensor: 000000
Sensor
PC
ASCII Unit
Printer or
other external
device
383
Example 2
The following program section shows one way to pass data from a weighing sta-
tion on a conveyor line through an ASCII Unit to a printer or other external de-
vice. Data is input via CIO 0002, stored in D00001 through D00100, and output
via CIO 0003.
Address
Instruction
Operands
00000
LD
000000
00001
LD
C0010
00002
CNT
0010
#0100
00003
LD
000000
00004
j
INC(090)
D00000
00005
j
MOV(030)
0002
*
D00000
00006
LD
C0010
00007
OR
020000
00008
AND NOT
020001
00009
OUT
020000
00010
WRIT(191)
#0100
D00001
0003
00011
AND
A50006
00012
OUT
020001
00013
OUT
000100
00014
BSET(041)
#0000
D00000
D0010
00015
AND
A50003
00016
OUT
000101
5-33-4 I/O WRITE 2: WR2(281)
(281)
WR2
C
S
D
Ladder Symbol
Operand Data Areas
D: Destination word
CIO
S: First source word
CIO, G, A, T, C, DM
C: Control word
CIO, G, A, T, C, #, DM, DR, IR
Description
When the execution condition is OFF, WR2(281) is not executed. When the ex-
ecution condition is ON, WR2(281) writes the specified number of words to the
specified address in a Special I/O Unit via the destination word (D). The word
specified for D is the first of the four words (i.e., the first output word) that serve
as the interface with the Special I/O Unit.
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...