Iowr: Intelligent I/O Write - Omron CJ1W-C113 - REV 02-2008 Operation Manual

Position control units
Table of Contents

Advertisement

Writing Data with IOWR
5-4-2

IOWR: INTELLIGENT I/O WRITE

An explanation of how to use the IOWR instruction is given here.
C: Control code, S: First source word, D: Destination unit number and total
number of words written
Operand
C
PCU address (Hex)
Specifies the address (Hex) in the PCU to which data will be written.
S
First source word
Specifies the first word in the CPU Unit from which data is to be trans-
ferred.
The following areas can be specified as the source start word.
Refer to the CPU Unit manuals for details on each address.
CIO Area
Work Area
Holding Bit Area
Auxiliary Area
Timer Area
Counter Area
DM Area
EM Area
EM Area with bank designa-
tion
Indirect DM/EM address,
binary
Indirect DM/EM address,
BCD
W
Total number of words transferred (Hex)
Specify the destination unit number to which data will be transferred
and the total number of words to transfer. The settable ranges are as
follows:
W+1: 0001 to 0080 Hex (128 words) (Refer to Precautions when
Using IOWR below.)
W:
NC113/133
NC213/233
NC413/433
Example: Transferring 6 words of data to unit number 3
#00060003 (total number of words to transfer: 0006 (6 words),
unit number: 0003 (No. 3))
IOWR
@IOWR
C
S
W
Description
Area
0000 to 6143
W000 to 511
H000 to 511
A000 to 959
T0000 to 4095
C0000 to 4095
D00000 to 32767
E00000 to 32767
En_00000 to 32767 (n=0 to C)
@D00000 to 32767
@E00000 to 32767
@En_00000 to 32767 (n=0 to C)
*D00000 to 32767
*E00000 to 32767
*En_00000 to 32767 (n=0 to C)
W+1
Destination unit number (Hex)
0000 to 005F Hex (unit numbers: 0 to 95)
0000 to 005F Hex (unit numbers: 0 to 95)
0000 to 005E Hex (unit numbers: 0 to 94)
Section 5-4
C
S
W
.
Range
W
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents