![Omron CS1W-213 - REV 02-2008 Operation Manual Download Page 155](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355155.webp)
130
Writing Data with IOWR
Section 5-4
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
Description
C
S
Area
Range
CIO Area
0000 to 6143
Work Area
W000 to 511
Holding Bit Area
H000 to 511
Auxiliary Area
A000 to 959
Timer Area
T0000 to 4095
Counter Area
C0000 to 4095
DM Area
D00000 to 32767
EM Area
E00000 to 32767
EM Area with bank designa-
tion
En_00000 to 32767 (n=0 to C)
Indirect DM/EM address,
binary
@D00000 to 32767
@E00000 to 32767
@En_00000 to 32767 (n=0 to C)
Indirect DM/EM address,
BCD
*D00000 to 32767
*E00000 to 32767
*En_00000 to 32767 (n=0 to C)
W
IOWR
C
S
W
@IOWR
C
S
W
Specifies the address (Hex) in the PCU to which data will be written.
PCU address (Hex)
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.
First source word
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
0000 to 005F Hex (unit numbers: 0 to 95)
NC213/233
0000 to 005F Hex (unit numbers: 0 to 95)
NC413/433
0000 to 005E Hex (unit numbers: 0 to 94)
Example: Transferring 10 words of data to unit number 3
#00090003 (total number of words to transfer: 0009 (9 words), unit
number: 0003 (No. 3))
Total number of words transferred (Hex)
Destination unit number (Hex)
W+1
W
Summary of Contents for CS1W-213 - REV 02-2008
Page 2: ...CS1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 13: ...xiv ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 43: ...18 Basic Operational Flow Section 2 1 ...
Page 87: ...62 Servo Relay Unit Section 3 7 ...
Page 199: ...174 Z phase Margin Section 6 8 ...
Page 217: ...192 Sample Program Section 7 7 ...
Page 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 377: ...352 Common Parameter Area Appendix C ...