![background image](http://html1.mh-extra.com/html/omron/cj1w-c113-rev-02-2008/cj1w-c113-rev-02-2008_operation-manual_742339167.webp)
140
Reading Data with IORD
Section 5-5
C: Control code, W: Source unit number and total number of data words read,
D: First destination word
5-5-4
Error Code Treatment for IORD
The following operation will occur when data is correctly read from the Posi-
tion Control Unit using the IORD instruction.
• If error code 8700 already exists, the 8700 error codes will be cleared and
the operation will end.
• If any other error code exists, none of the current error codes will be
changed and the operation will end.
If an IORD format error (8700) occurs when IORD is executed, the 8700 error
code will be output for the X axis only.
Operand
Description
C
W
D
Area
Range
CIO Area (I/O Area etc.)
0000 to 6143
Work Area
W000 to 511
Holding Bit Area
H000 to 511
Auxiliary Area
A448 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 designation 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)
Specifies the address in the PCU address to be read in hexadecimal.
PCU address (Hex)
Specifies the destination unit number from which data will be read
and the total number of words that will be read. The settable ranges
are as follows:
W+1:
0001 to 0080 Hex (128 words)
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: Reading 12 words of data from unit number 3
#000C0003 (total number of words transferred: 000C (12 words),
unit number: 0003 (3))
Total number of words transferred (Hex)
Destination unit number (Hex)
W+1
W
Specifies the first word of the CPU Unit to store the data that will be
read.
Refer to the CPU Unit manuals for more details.
First destination word
Содержание 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 ...