Error Code Treatment For Iord - Omron CJ1W-C113 - REV 02-2008 Operation Manual

Position control units
Table of Contents

Advertisement

Reading Data with IORD
5-5-4

Error Code Treatment for IORD

140
C: Control code, W: Source unit number and total number of data words read,
D: First destination word
Operand
C
PCU address (Hex)
Specifies the address in the PCU address to be read in hexadecimal.
W
Total number of words transferred (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
NC213/233
NC413/433
Example: Reading 12 words of data from unit number 3
#000C0003 (total number of words transferred: 000C (12 words),
unit number: 0003 (3))
D
First destination word
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.
CIO Area (I/O Area etc.)
Work Area
Holding Bit Area
Auxiliary Area
Timer Area
Counter Area
DM Area
EM Area
EM Area with bank designation En_00000 to 32767 (n=0 to C)
Indirect DM/EM address,
binary
Indirect DM/EM address, BCD
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.
Description
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)
Area
0000 to 6143
W000 to 511
H000 to 511
A448 to 959
T0000 to 4095
C0000 to 4095
D00000 to 32767
E00000 to 32767
@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)
Section 5-5
W
Range

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents