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
Summary of Contents for CJ1W-C113 - REV 02-2008
Page 2: ...CJ1W 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 27: ...xxviii Conformance to EC Directives 6 ...
Page 43: ...16 Control System Principles Section 1 7 ...
Page 47: ...20 Basic Procedures Section 2 ...
Page 139: ...112 Examples of Parameter Settings Section 4 9 ...
Page 173: ...146 Transferring Data with CX Position Section 5 7 ...
Page 223: ...196 Sample Program Section 7 7 ...
Page 259: ...232 Sample Program Section 8 10 ...
Page 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Page 385: ...358 Common Parameter Area Appendix C ...