![background image](http://html1.mh-extra.com/html/omron/cj1w-c113-rev-02-2008/cj1w-c113-rev-02-2008_operation-manual_742339160.webp)
133
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 6 words of data to unit number 3
#00060003 (total number of words to transfer: 0006 (6 words),
unit number: 0003 (No. 3))
Total number of words transferred (Hex)
Destination unit number (Hex)
W+1
W
Содержание CJ1W-C113 - REV 02-2008
Страница 1: ...Position Control Units Cat No W397 E1 07 SYSMAC CJ1W NC113 213 413 133 233 433 OPERATION MANUAL ...
Страница 2: ...CJ1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 13: ...xiv ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 43: ...16 Control System Principles Section 1 7 ...
Страница 47: ...20 Basic Procedures Section 2 ...
Страница 139: ...112 Examples of Parameter Settings Section 4 9 ...
Страница 173: ...146 Transferring Data with CX Position Section 5 7 ...
Страница 223: ...196 Sample Program Section 7 7 ...
Страница 259: ...232 Sample Program Section 8 10 ...
Страница 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Страница 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Страница 385: ...358 Common Parameter Area Appendix C ...
Страница 399: ...372 Parameter Coding Sheets Appendix E ...